Date: Sun, 12 Apr 2026 12:40:02 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 294436] bmake: Linux cross-build fails, MAKEOBJDIR issue Message-ID: <bug-294436-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294436 Bug ID: 294436 Summary: bmake: Linux cross-build fails, MAKEOBJDIR issue Product: Base System Version: 16.0-CURRENT Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: ivy@FreeBSD.org CC: sjg@FreeBSD.org building main 82ff1c334b97 on Alpine Linux v3.23, the build fails due to ${MAKEOBJDIR} apparently being set wrong: % MAKEOBJDIRPREFIX=/obj/test tools/build/make.py --cross-bindir /usr/bin --cross-compiler-type clang -j24 TARGET=powerpc TARGET_ARCH=powerpc64le buildworld bmake: /src/bsd/main/share/mk/src.sys.obj.mk:117: Cannot use MAKEOBJDIR=${.CURDIR:S,^${SRCTOP},${OBJTOP},} Unset MAKEOBJDIR to get default: MAKEOBJDIR='${.CURDIR:S,^${SRCTOP},${OBJTOP},}' in /src/bsd/main/share/mk/src.sys.env.mk:95 in /src/bsd/main/share/mk/local.sys.env.mk:63 in /src/bsd/main/share/mk/sys.mk:46 bmake: stopped making "buildworld" in /src/bsd/main this seems to be caused by the bmake-20260313 import; reverting to src c5961b6fcfe0 (the last commit prior to the import) fixes the problem. -- 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-294436-227>
