Re: unknown (doubled?) poudriere jail below /usr/obj/usr/local/...

From: Matthias Apitz <guru_at_unixarea.de>
Date: Wed, 26 Dec 2018 18:35:04 +0100
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_at_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_at_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, ✉ guru_at_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.

Received on Wed Dec 26 2018 - 16:35:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC