From nobody Thu Oct 02 17:47:26 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cczlM3H3Cz69f9y for ; Thu, 02 Oct 2025 17:47:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cczlM1ydvz4016 for ; Thu, 02 Oct 2025 17:47:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759427247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0X/FWFAhHbQr2Z+sBtB3d9JTRAbZfaBatJHIrY/UJEY=; b=EbsiV4M/oxF1JvzRWELH4oV6lpR2SqHlEia93AdonGanPaypobF+EEcsIgeN9Mq9FnBwZw RfX+iLqfG4tMxIUBEss94B84NSXA6lXbxmSYblgSmhThgvD6pDfWonOi8CQjCmHzR8+gB8 keT976tKfz4L6ah8lCyz1HabaofuaFOY7D3iXMLtfHe81WjuGoFC2iiTiz6KzlYST6AG1b v3yLgOuroJKT4VBZ/BUbyVdx2ol8TktYs0VcfMRdpf6xFHGkxpl3n5olzQljZWzvFxgC5S /3yXfnh9R/WSQmcfjxsxGmmHApdrQPgK7FVkDt9y8PZUDs+fZ9C2z+hsIoEIAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759427247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0X/FWFAhHbQr2Z+sBtB3d9JTRAbZfaBatJHIrY/UJEY=; b=OhiIYKqZ/eTWmQf40MI4fPPrx1p0iu1tAVlvrwykIhUlAY21lqdrNlrtkwLndqpOUbqq2n oFAtD7uuendcnAEB0XdLlvzk2ofOseJozW1WIRMdDpsYfNbQa227RSOMDux6fkEh+NiiOO L11A53HwQJJfzsHhvE+XdyglSOPzLNcPGkS5WRS9rc0agSDxj1Du9gdXmirVIfrj0JaAmy oWfQ71vXjRZJXPozXXrDEcw6IQ8QV6vGQ5op/PTm4YVH7YZbLZXRKbg9Y1P7zjktNYRbxp B4m4lLXXPCBHhIDhMaJNUsguW5/xjhA9LHwW/LH68CDZ6m0Ekm9cYOFUULwvFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759427247; a=rsa-sha256; cv=none; b=uKK6Qbp3HEdkaoX5gDiWqdoUVqXOYmQZFfYHl6I/LwajES22OB4kq5yz6FxaZL5L9/hHTK cA5DxRU1tOKegTSxvLsERkcU5e6XqoVG2aYclB6VJNFxvCThxQjlUN/sCWMnj8h1cWNIYH OEMFUdaKSX1U41gYVjtFogBa+j4RBrmcyFq4/qYTv56XauFU8X/rbU89jjKOYMtce8POdU bCUH1Blh402+fQhdFG31Lj4dF52Y2vn2UDdi28JgjN+AnQss6J9RUDOSHoOCZjRzpVcdKD WfV5nUVrq3MkuHaffEt9sV00qSc2H87taG1GWK4TNz/myVB0lsFTwYMCYaxdVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cczlM1Bd7z2pY for ; Thu, 02 Oct 2025 17:47:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 592HlQH8023914 for ; Thu, 2 Oct 2025 17:47:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 592HlQNo023913 for bugs@FreeBSD.org; Thu, 2 Oct 2025 17:47:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Thu, 02 Oct 2025 17:47:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yasu@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289969 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=3D= cc matches the source tree. Not bootstrapping a cross-compiler. make[1]: /usr/src/Makefile.inc1:372: SYSTEM_LINKER: Determined that LD=3Dld 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=3D/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 ha= ve 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]#=20 ---------------------------------------------------------------------- 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. --=20 You are receiving this mail because: You are the assignee for the bug.=