[Bug 267376] make installworld does not properly handle MAKEOBJDIRPREFIX correctly
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267376] make installworld does not properly handle MAKEOBJDIRPREFIX correctly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267376] make installworld does not properly handle MAKEOBJDIRPREFIX correctly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267376] make installworld does not properly handle MAKEOBJDIRPREFIX correctly"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267376] make installworld does not properly handle MAKEOBJDIRPREFIX correctly"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Oct 2022 21:42:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267376 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 not 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 install memstick live system, but it fails with an obvious bug that I have been unable 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. 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=mnt/usr/bin/cc LD=/mnt/usr/bin/ld MAKEOBJDIRPREFIX=/mnt/usr/obj make installworld -- You are receiving this mail because: You are the assignee for the bug.