Re: unknown (doubled?) poudriere jail below /usr/obj/usr/local/...
El día Wednesday, December 26, 2018 a las 09:49:20AM +0100, Matthias Apitz escribió: > > Hello, > > I've update on December 23 an amd64 system to r342378 and > created a new ZFS jail and ports within poudriere with: > > # poudriere jail -c -j freebsd-r342378 -m svn+http -v head@r342378 > # poudriere ports -c -p ports-20181223 -m svn -U svn://svn.freebsd.org/ports/ > > The relevant values from poudriere.conf are: > > I did (just for test) a 2nd jail creation as: # poudriere jail -c -j freebsd-r342378test -m svn+http -v head@r342378 this checks out the source tree to /usr/local/poudriere/jails/freebsd-r342378test/usr/src and compiles it to /usr/obj/usr/local/poudriere/jails/freebsd-r342378test/usr ... one can also see this in the run of the compiler, here an example: ... c++ -O2 -pipe -I/usr/obj/usr/local/poudriere/jails/freebsd-r342378test/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm -I/usr/local/poudriere/jails/freebsd-r342378test/usr/src/lib/clang/include -I/usr/local/poudriere/jails/freebsd-r342378test/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/local/poudriere/jails/freebsd-r342378test/usr/src/amd64.amd64/tmp\" -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser -DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=LLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections -fdata-sections -gline-tables-only -MD -MF.depend.X86FoldTablesEmitter.o -MTX86FoldTablesEmitter.o -Qunused-arguments -I/usr/obj/usr/local/poudriere/jails/freebsd-r342378test/usr/src/amd64.amd64/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/local/poudriere/jails/freebsd-r342378test/usr/src/contrib/llvm/utils/TableGen/X86FoldTablesEmitter.cpp -o X86FoldTablesEmitter.o ... Is this pollution of /usr/obj with the poudriere jail intention? And can this be removed later? For my original jail 'freebsd-r342378' I moved away '/usr/obj/usr/local' to '/local-UNKNOWN' and the jail is still working fine (compiled fice hours www/chromium). Please, poudriere folks help me to understand this? Is this new with some version (I have not found anything in /usr/ports/UPDATING or in the man page). It was not this way in version r314251 (in March 2017). Thanks matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, Druschba instead of Nazis, to live instead of to survive. signature.asc Description: PGP signature
unknown (doubled?) poudriere jail below /usr/obj/usr/local/...
Hello, I've update on December 23 an amd64 system to r342378 and created a new ZFS jail and ports within poudriere with: # poudriere jail -c -j freebsd-r342378 -m svn+http -v head@r342378 # poudriere ports -c -p ports-20181223 -m svn -U svn://svn.freebsd.org/ports/ The relevant values from poudriere.conf are: ZPOOL=poudriere #NO_ZFS=yes ZROOTFS=/poudriere BASEFS=/usr/local/poudriere POUDRIERE_DATA=${BASEFS}/data Since then I compiled some 1800 ports with: # poudriere bulk -f /usr/local/etc/poudriere-list -J 4 -j freebsd-r342378 -p ports-20181223 All went fine. While checking something, I now see the poudriere jail also below /usr/obj/usr/local: [root@jet ~]# ls -li /usr/local/poudriere/jails/ /usr/obj/usr/local/poudriere/jails/ /usr/local/poudriere/jails/: total 3 4 drwxr-xr-x 17 root wheel 21 Mar 4 2017 freebsd-r314251 4 drwxr-xr-x 18 root wheel 22 Dec 23 21:30 freebsd-r342378 /usr/obj/usr/local/poudriere/jails/: total 4 31300766 drwxrwxr-x 3 root wheel 512 Dec 23 19:22 freebsd-r342378 The mounts are: [root@jet ~]# mount /dev/da0p2 on / (ufs, local, journaled soft-updates) devfs on /dev (devfs, local, multilabel) poudriere on /poudriere (zfs, local, nfsv4acls) poudriere/poudriere on /poudriere/poudriere (zfs, local, nfsv4acls) poudriere/poudriere/jails on /poudriere/poudriere/jails (zfs, local, nfsv4acls) poudriere/poudriere/ports on /poudriere/poudriere/ports (zfs, local, nfsv4acls) poudriere/mydata on /usr/home/guru/zdata (zfs, local, nfsv4acls) poudriere/mydata/r338641 on /usr/home/guru/zdata/r338641 (zfs, local, nfsv4acls) poudriere/poudriere/jails/freebsd-r314251 on /usr/local/poudriere/jails/freebsd-r314251 (zfs, local, noatime, nfsv4acls) poudriere/poudriere/jails/freebsd-r342378 on /usr/local/poudriere/jails/freebsd-r342378 (zfs, local, noatime, nfsv4acls) poudriere/poudriere/ports/ports-20170304 on /usr/local/poudriere/ports/ports-20170304 (zfs, local, noatime, nfsv4acls) poudriere/poudriere/ports/ports-20181223 on /usr/local/poudriere/ports/ports-20181223 (zfs, local, noatime, nfsv4acls) What does this structure below '/usr/obj/usr/local/poudriere/jails/' mean? Can I remove this? Thanks for some light on this. matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, Druschba instead of Nazis, to live instead of to survive. signature.asc Description: PGP signature