From nobody Wed Oct 26 21:42:41 2022 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 4MyMjZ0ZZsz4g8pQ for ; Wed, 26 Oct 2022 21:42:42 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MyMjY60qTz4FJ0 for ; Wed, 26 Oct 2022 21:42:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MyMjY57C2zYgg for ; Wed, 26 Oct 2022 21:42:41 +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 29QLgf1d061044 for ; Wed, 26 Oct 2022 21:42:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29QLgfle061042 for bugs@FreeBSD.org; Wed, 26 Oct 2022 21:42:41 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 267376] make installworld does not properly handle MAKEOBJDIRPREFIX correctly Date: Wed, 26 Oct 2022 21:42:41 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rkoberman@gmail.com 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 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666820561; 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=OqpS8Y1eaKnfm0adtPTgWBw3lDLt0NMPEbCkJeDG1eU=; b=Gq4vZih/CV7l2Jxg2QeP9Qt+kM8S3CNLiPwfit1AaUH5jd/I1sTsx/0zqkRPLQ7YLU9cbW blXJkttryNkapSUMkuzchWt7I5D31Y36Jgy5D1YJAdf4iJCl4zhulzR7m0TZBWShrIPmIJ XZGSkZijLiVxxlZPgJJDc3Se6p1oFJLyVx8TC7JEZJScOYAeMK1v4SBE1zsAiJbD29Aj0g 1cWC8hHZJFjg6FJZMW//V6Z3NJwqhsxmpNzxpACUsy2JCKRXWpzKl/pgXMD9Ey5JyZ+rS8 Zk0fM0q6byEnWtjwgOjOqO+vdLa5PE0dD1SjnD+Xr+9VO2JWxkwYBGXYzubsPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666820561; a=rsa-sha256; cv=none; b=KS2fwgFOiLNpG67JKDGBHzxYO1oNKM0zdf81Qw9BzzhhkCSuhp+ilhnb6hVK4YXpi5a0o3 o+hDtuZchTbazkp9D/0yzkNBhNkuHLjM89urAFrZa1u/aweQTTJMf7UmKXpNMuyA1SeZnA CCKm/vIR42pZTmGni1FE5/FOLtllN8xCuParL+RnXzi/SpyGWBkve2Tc4Gdmx1V/WNtl9b kEiDv+x5xNbBhPoEq9HPjgojUdr/zSyAL8FPvlPPud+bFU2sQud/kk3NksVowIsgqn7cLn Q5UjXiCKFinhI3EEzD/KSxKdAyjsLB85Ne7EKqnJmJGEp7a33n4EIYPEv6xYdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267376 Bug ID: 267376 Summary: make installworld does not properly handle MAKEOBJDIRPREFIX correctly Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: rkoberman@gmail.com I need to repair a system that panicked during "make installworld". It looks like this happened during installing stand. In any case, the system would n= ot boot and conf.lua was there, but very little will run and another "make installworld" dies immediately with errors from rtld. Since my /usr/obj directory was OK, I thought I could install from the inst= all memstick live system, but it fails with an obvious bug that I have been una= ble to figure out. In Makefile.inc1, the script tries to pull in $OBJTOP/toolchain-metadata.mk, but reports that $MAKEOBJDIRPREFIX does not contain an object directory. So I checked the value of $OBJTOP. $MAKEOBJDIRPREFIX was set to "/mnt/usr/obj", but OBJTOP was "/mnt/usr/obj/mnt/usr/src/amd64.amd64". Note the extra /mnt in middle.=20 Clearly the generation of OPBJTOP is broken. I've tried tracking this down,= but have, so far, failed. (See /usr/src/Makefile.inc1 line 105 and 106 The system is running the Live CD (memstick) from Oct 7. The command is: CC=3Dmnt/usr/bin/cc LD=3D/mnt/usr/bin/ld MAKEOBJDIRPREFIX=3D/mnt/usr/obj ma= ke installworld --=20 You are receiving this mail because: You are the assignee for the bug.=