Creating a stable/15 jail like this: poudriere jail -c -v stable/15 -a amd64 -j 15amd64 -m src=/usr/src/ fails like this: -------------------------------------------------------------- >>> Installing everything started on Fri Nov 14 09:59:19 CET 2025 -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install make[3]: /usr/obj/usr/src/amd64.amd64/toolchain-metadata.mk:1: Using cached toolchain metadata from build at mybox.here on Fr. 14 Nov. 2025 07:46:17 CET --- realinstall_subdir_lib --- ===> lib (install) --- realinstall_subdir_libexec --- ===> libexec (install) --- realinstall_subdir_libexec/atf --- ===> libexec/atf (install) --- realinstall_subdir_libexec/atf/atf-check --- ===> libexec/atf/atf-check (install) --- _proginstall --- --- realmaninstall-MAN --- --- _proginstall --- install -N /usr/src/etc -s -o root -g wheel -m 555 atf-check /poudriere/jails/15amd64/usr/libexec/atf-check --- realinstall_subdir_libexec/atf/atf-check/tests --- ===> libexec/atf/atf-check/tests (install) --- realmaninstall-MAN --- install -N /usr/src/etc -o root -g wheel -m 444 atf-check.1.gz /poudriere/jails/15amd64/usr/share/man/man1/ --- _debuginstall --- install -N /usr/src/etc -o root -g wheel -m 444 atf-check.debug /poudriere/jails/15amd64/usr/lib/debug/usr/libexec/atf-check.debug install: atf-check.debug: No such file or directory *** [_debuginstall] Error code 71 make[6]: stopped making "install" in /usr/src/libexec/atf/atf-check --- realinstall_subdir_libexec/atf/atf-check/tests --- *** [realinstall_subdir_libexec/atf/atf-check/tests] Error code 6 make[6]: stopped making "install" in /usr/src/libexec/atf/atf-check make[6]: 2 errors make[6]: stopped making "install" in /usr/src/libexec/atf/atf-check make[5]: stopped making "install" in /usr/src/libexec/atf make[4]: stopped making "install" in /usr/src/libexec make[3]: stopped making "install" in /usr/src --- realinstall_subdir_lib --- make[3]: stopped making "install" in /usr/src make[2]: stopped making "reinstall" in /usr/src 0.14 real 0.13 user 0.04 sys *** [installworld] Error code 2 make[1]: stopped making "installworld" in /usr/src make[1]: 1 error make[1]: stopped making "installworld" in /usr/src make: stopped making "installworld" in /usr/src/ [00:00:05] Error: /usr/local/share/poudriere/jail.sh:installworld:12:Failed to 'make installworld' [00:00:05] Error while creating jail, cleaning up. [00:00:05] Removing 15amd64 jail... done BTW I prefere -------------------------------------------------------------- >>> Installing everything started on Fri Nov 14 09:59:19 CET 2025 -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install make[3]: /usr/obj/usr/src/amd64.amd64/toolchain-metadata.mk:1: Using cached toolchain metadata from build at bpbws61.local on Fr. 14 Nov. 2025 07:46:17 CET --- realinstall_subdir_lib --- ===> lib (install) --- realinstall_subdir_libexec --- ===> libexec (install) --- realinstall_subdir_libexec/atf --- ===> libexec/atf (install) --- realinstall_subdir_libexec/atf/atf-check --- ===> libexec/atf/atf-check (install) --- _proginstall --- --- realmaninstall-MAN --- --- _proginstall --- install -N /usr/src/etc -s -o root -g wheel -m 555 atf-check /poudriere/jails/15amd64/usr/libexec/atf-check --- realinstall_subdir_libexec/atf/atf-check/tests --- ===> libexec/atf/atf-check/tests (install) --- realmaninstall-MAN --- install -N /usr/src/etc -o root -g wheel -m 444 atf-check.1.gz /poudriere/jails/15amd64/usr/share/man/man1/ --- _debuginstall --- install -N /usr/src/etc -o root -g wheel -m 444 atf-check.debug /poudriere/jails/15amd64/usr/lib/debug/usr/libexec/atf-check.debug install: atf-check.debug: No such file or directory *** [_debuginstall] Error code 71 make[6]: stopped making "install" in /usr/src/libexec/atf/atf-check --- realinstall_subdir_libexec/atf/atf-check/tests --- *** [realinstall_subdir_libexec/atf/atf-check/tests] Error code 6 make[6]: stopped making "install" in /usr/src/libexec/atf/atf-check make[6]: 2 errors make[6]: stopped making "install" in /usr/src/libexec/atf/atf-check make[5]: stopped making "install" in /usr/src/libexec/atf make[4]: stopped making "install" in /usr/src/libexec make[3]: stopped making "install" in /usr/src --- realinstall_subdir_lib --- make[3]: stopped making "install" in /usr/src make[2]: stopped making "reinstall" in /usr/src 0.14 real 0.13 user 0.04 sys *** [installworld] Error code 2 make[1]: stopped making "installworld" in /usr/src make[1]: 1 error make[1]: stopped making "installworld" in /usr/src make: stopped making "installworld" in /usr/src/ [00:00:05] Error: /usr/local/share/poudriere/jail.sh:installworld:12:Failed to 'make installworld' [00:00:05] Error while creating jail, cleaning up. [00:00:05] Removing 15amd64 jail... done
(In reply to p5B2EA84B3 from comment #1) Could you try to reproduce it with ports-mgmt/poudriere-devel?
(In reply to Denis Shaposhnikov from comment #2) Thank you Denis for responding so fast here on Bugzilla, and thank you for improving Poudriere. I appreciate your work very much. I gave up on the "original" Poudriere ports because of persistent unresponsiveness to PRs and attempts to improve ports-mgmt/poudriere-devel. There it is frustrating and a waste of time, effort and energy. I do appreciate that you are making a difference. Now for the purpose of debugging I did install ports-mgmt/poudriere-devel: poudriere version poudriere-git-3.4.99.20251026 Trying to create a new jail with the same command line as above results in exactly the same error output. Well that's what I expected, but what to do now? As I'm broken with the author of the original I'm not going to write any further PRs there.
(In reply to p5B2EA84B3 from comment #3) I guess the problem is that "make buildworld" is using /etc/src.conf and poudriere (running "make installworld") isn't. Does it work if you do 'cp /etc/src.conf /usr/local/etc/poudriere/15amd64-src.conf'?
(In reply to Herbert J. Skuhra from comment #4) Sorry, the correct command should be: cp /etc/src.conf /usr/local/etc/poudriere.d/15amd64-src.conf'
(In reply to Herbert J. Skuhra from comment #5) Thank you Herbert. You were right, there was a missing /usr/local/etc/poudriere.d/15amd64-src.conf But after correcting this there is still this failure: nstall -N /usr/src/etc -l h -o root -g wheel -m 444 /poudriere/jails/15amd64/usr/share/openssl/man/man7/X25519.7.gz /poudriere/jails/15amd64/usr/share/openssl/man/man7/X448.7.gz install -N /usr/src/etc -l h -o root -g wheel -m 444 /poudriere/jails/15amd64/usr/share/openssl/man/man7/openssl_user_macros.7.gz /poudriere/jails/15amd64/usr/share/openssl/man/man7/OPENSSL_API_COMPAT.7.gz install -N /usr/src/etc -l h -o root -g wheel -m 444 /poudriere/jails/15amd64/usr/share/openssl/man/man7/openssl_user_macros.7.gz /poudriere/jails/15amd64/usr/share/openssl/man/man7/OPENSSL_NO_DEPRECATED.7.gz make[5]: stopped making "install" in /usr/src/secure/lib make[4]: stopped making "install" in /usr/src/secure make[3]: stopped making "install" in /usr/src make[2]: stopped making "reinstall" in /usr/src 10.13 real 22.70 user 14.59 sys *** [installworld] Error code 2 make[1]: stopped making "installworld" in /usr/src make[1]: 1 error make[1]: stopped making "installworld" in /usr/src make: stopped making "installworld" in /usr/src/ [00:00:15] Error: /usr/local/share/poudriere/jail.sh:installworld:12:Failed to 'make installworld' [00:00:15] Error while creating jail, cleaning up. [00:00:15] Removing 15amd64 jail... done Trying to get around this I ended up building and installing the latest stable/15 on the system with no src.conf at all. poudriere jail -c -v stable/15 -a amd64 -j 15amd64 -m src=/usr/src/ stopps exactly like above. If that commandline should work there must be something wrong. I run out of ideas.
(In reply to p5B2EA84B3 from comment #3) > I gave up on the "original" Sorry man, I understand you. Unfortunately this issue is out of my knowledge. That's why I suggest try ports-mgmt/poudriere-devel first and create an issue in upstream's repo after that. May be somebody will suggest a workaround there.
(In reply to p5B2EA84B3 from comment #6) Hmm, I cannot reproduce this issue. [00:01:13] Recording filesystem state for clean... done [00:01:13] Jail 15amd64 15.0-STABLE 1500501 amd64 is ready to be used The log doesn't show the actual error. Have you deleted the jail? What's in your /etc/make.conf /etc/src-env.conf? Does it work if you also copy both files to /usr/local/etc/poudriere.d/? See poudriere(8): Create optional make.conf/src.conf/srv-env.conf. You can also try (after removing the jailname-xxx.conf from poudriere.d): # export MAKEOBJDIRPREFIX=/usr/obj/poudriere # poudriere jail -c -v stable/15 -a amd64 -j 15amd64 -b -m src=/usr/src/ Or: # export MAKEOBJDIRPREFIX=/usr/obj/poudriere # export SRCCONF=/dev/null # export SRC_ENV_CONF=/dev/null # export __MAKE_CONF=/dev/null # make -j$(nproc) buildworld # poudriere jail -c -v stable/15 -a amd64 -j 15amd64 -m src=/usr/src/