pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/clang fails to build (NetBSD 9/aarch64)



Hi!

During my usual pkg_rolling-replace run, I noticed that lang/clang (14.0.6) now fails to build. I have a NetBSD-9 userland on a Pinebook Pro (thus evbarm-aarch64):

/usr/pkgsrc/lang/clang/work/clang-14.0.6.src/lib/Interpreter/IncrementalParser.cpp: In lambda function: /usr/pkgsrc/lang/clang/work/clang-14.0.6.src/lib/Interpreter/IncrementalParser.cpp:56:28: error: 'state_not_recoverable' is not a member of 'std::errc'
                 std::errc::state_not_recoverable,
                            ^~~~~~~~~~~~~~~~~~~~~
[ 61%] Building CXX object lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o --- lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o --- *** [lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o] Error code 1

make[2]: stopped in /usr/pkgsrc/lang/clang/work/clang-14.0.6.src/build
1 error

Any ideas? I assume this is compiled with the system gcc (7.5.0), is that too old now to build clang?

--
Benny


Home | Main Index | Thread Index | Old Index