RE: make buildworld: "[...] fatal error: 'llvm/Demangle/Demangle.h' file not found", among other errors
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Nov 2025 20:37:42 UTC
ruby R53 <red_M95_at_proton.me> wrote on Date: Wed, 05 Nov 2025 17:50:43 UTC : > I've tried re-cloning my source tree and am still getting this error when trying to build the world, among others. > The full error message is > --- Demangle/ItaniumDemangle.o --- > /usr/src/contrib/llvm-project/llvm/lib/Demangle/ItaniumDemangle.cpp:13:10: fatal error: 'llvm/Demangle/Demangle.h' file not found > > Then, I also get these other ones when building with 16 parallel jobs: > --- Support/ABIBreak.o --- > /usr/src/contrib/llvm-project/llvm/lib/Support/ABIBreak.cpp:9:10: fatal error: 'llvm/Config/abi-breaking.h' file not found > [...] > --- Support/APFloat.o --- > /usr/src/contrib/llvm-project/llvm/lib/Support/APFloat.cpp:14:10: fatal error: 'llvm/ADT/APFloat.h' file not found > [...] > --- main.o --- > /usr/src/usr.sbin/config/main.cc:49:10: fatal error: 'y.tab.h' file not found > [...] > > Is my copy broken, or is there something actually missing on the original repository? Absent also being able to see the command line that supplied the search path additions that were in use, I do not see how to know enough from just the not found messages. Being able to tell the current directory at the time might be involved, depending on what all ends up in the search path. It looks to me like it was expected that: /usr/src/contrib/llvm-project/llvm/include/ would be in the search path and would be the base for finding llvm/Demangle/Demangle.h . (I looked for were all Demangle.h occurred in a local file system of mine.) === Mark Millard marklmi at yahoo.com