Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Build tools: pax problem with fix
As I mentioned before, my cross build keeps failing on macOS. It fails while building tools, and only with make jobs > 1.
pax: Cannot link file /dist/tools.aarch64/include/nbinclude/./algor/elf_machdep.h to itself
pax: Cannot link file /dist/tools.aarch64/include/nbinclude/./evbarm/disklabel.h to itself
pax: Cannot link file /dist/tools.aarch64/include/nbinclude/./atari/elf_machdep.h to itself
pax: Cannot link file /dist/tools.aarch64/include/nbinclude/./atari/elf_machdep.h to itself
Cleaning stale cache files Darwin-25.1.0-arm64 != none
pax: Cannot link to /dist/tools.aarch64/include/nbinclude/./next68k/elf_machdep.h from /dist/tools.aarch64/include/nbinclude/./sun3/elf_machdep.h (File exists)
pax: Cannot link to /dist/tools.aarch64/include/nbinclude/./next68k/elf_machdep.h from /dist/tools.aarch64/include/nbinclude/./x68k/elf_machdep.h (File exists)
This change allows me to build successfully:
--- tools/Makefile.nbincludes 29 Mar 2025 23:37:00 -0000 1.13
+++ tools/Makefile.nbincludes 8 Oct 2025 09:12:35 -0000
@@ -33,7 +33,9 @@
HOST_CPPFLAGS+= -I${TOOLDIR}/include -I${TOOLDIR}/include/nbinclude
-beforedepend:
+beforedepend: ${TOOLDIR}/include/nbinclude/machine
+
+${TOOLDIR}/include/nbinclude/machine:
${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude
${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude/sys
${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude/ufs
Commit? Comments? :)
Kind regards,
Adam
Home |
Main Index |
Thread Index |
Old Index