Date: Thu, 02 Oct 2025 17:47:26 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 289969] `make -j 8 buildworld buildkernel update-packages` doesn't work as is expected Message-ID: <bug-289969-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289969 Bug ID: 289969 Summary: `make -j 8 buildworld buildkernel update-packages` doesn't work as is expected Product: Base System Version: 16.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yasu@freebsd.org CC: ivy@FreeBSD.org If we invoke `make -j 8 buildworld buildkernel update-packages` in /usr/src, then it is expected that buildworld, buildkernel and update-packages are invoked in this order. But if build is from scratch it fails as below. ---------------------------------------------------------------------- root@rolling-vm-freebsd5[147]# make -j 8 -s buildworld buildkernel update-packages make[1]: /usr/src/Makefile.inc1:367: SYSTEM_COMPILER: Determined that CC=cc matches the source tree. Not bootstrapping a cross-compiler. make[1]: /usr/src/Makefile.inc1:372: SYSTEM_LINKER: Determined that LD=ld matches the source tree. Not bootstrapping a cross-linker. -------------------------------------------------------------- >>> World build started on Fri Oct 3 02:22:20 JST 2025 -------------------------------------------------------------- -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- pkg: Unable to determine the ABI, none of the ABI_FILEs can be read. pkg: Cannot parse configuration file! make[3]: /usr/src/Makefile.inc1:1989: warning: Command "pkg -o ABI_FILE=/usr/obj/usr/src/amd64.amd64/worldstage/usr/bin/uname config ABI" exited with status 1 make[5]: /usr/src/Makefile.inc1:109: A build is required first. You may have the wrong MAKEOBJDIRPREFIX set. in make[5] in directory "/usr/src" make[5]: stopped making "stageworld" in /usr/src --- stageworld --- make[4]: stopped making "stageworld" in /usr/src --- stage-packages-world --- *** [stage-packages-world] Error code 2 make[3]: stopped making "real-update-packages" in /usr/src --- stagekernel --- make[4]: stopped making "stagekernel" in /usr/src --- stage-packages-kernel --- *** [stage-packages-kernel] Error code 2 make[3]: stopped making "real-update-packages" in /usr/src make[3]: 2 errors make[3]: stopped making "real-update-packages" in /usr/src --- real-update-packages --- make[2]: stopped making "real-update-packages" in /usr/src --- update-packages --- *** [update-packages] Error code 2 make[1]: stopped making "update-packages" in /usr/src make[1]: 1 error make[1]: stopped making "update-packages" in /usr/src --- update-packages --- make: stopped making "buildworld buildkernel update-packages" in /usr/src --- _worldtmp --- *** [_worldtmp] Error code 6 make[1]: stopped making "buildworld" in /usr/src make[1]: 1 error make[1]: stopped making "buildworld" in /usr/src --- buildworld --- make: stopped making "buildworld buildkernel update-packages" in /usr/src root@rolling-vm-freebsd5[148]# ---------------------------------------------------------------------- It seems update-packages is invoked before both buidlworld and buildkernel have finished. And if it is correct then Maikefiles should be changed so update-packages is invoked after they have finished. Cc-ing ivy who is actively working with pkgbase. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289969-227>
