The reason I want to force a compiler version is solely because it informs me about ports which might have problems or are WIP
Forcing a compiler without poudriere works just fine for most packages, except rust & kernel modules.
make.conf:
However , when I try to do the same with poudriere and put this in the make.conf it fails to configure with the error,
/usr/local/bin/clang90: not found
Failed build & failed configure.
Altough I compiled clang90 in poudriere.
So it seems clang90 to be compiled but not "installed IN the jail" or "available from the jail" in order to be "used by the jail"
Any ideas ?
PS: I see /bin and /usr/bin in the jail but not a /usr/local/bin ...
So the question is what is the way to add packages to the jail ?
start the jail and chroot into it ?
Maybe better way trying "pkg -j"
After chroot & "pkg install pkg" seemed to be a bootstrapping trick.
But when i restarted poudriere everything I installed manually in the jail was lost.
[This is good from a security point of view but not the behaviour I want]
Forcing a compiler without poudriere works just fine for most packages, except rust & kernel modules.
make.conf:
Code:
CC= /usr/local/bin/clang90
CXX= /usr/local/bin/clang++90
CPP= /usr/local/bin/clang-cpp90
LD= /usr/local/bin/ld.lld90
NM= /usr/local/bin/llvm-nm90
OBJDUMP= /usr/local/bin/llvm-objdump90
STRINGS= /usr/local/bin/llvm-strings90
However , when I try to do the same with poudriere and put this in the make.conf it fails to configure with the error,
/usr/local/bin/clang90: not found
Failed build & failed configure.
Altough I compiled clang90 in poudriere.
So it seems clang90 to be compiled but not "installed IN the jail" or "available from the jail" in order to be "used by the jail"
Any ideas ?
PS: I see /bin and /usr/bin in the jail but not a /usr/local/bin ...
So the question is what is the way to add packages to the jail ?
start the jail and chroot into it ?
Maybe better way trying "pkg -j"
After chroot & "pkg install pkg" seemed to be a bootstrapping trick.
But when i restarted poudriere everything I installed manually in the jail was lost.
[This is good from a security point of view but not the behaviour I want]