I recently upgraded from 12.4 to 13.5. Now I am in the process of rebuilding the ports.
One of the ports I have been unable to build is llvm19 (requirement for new postgresql):
Any hints how to get it compiled would be appreciated.
I have tried like 3 times by now. What makes it harder, is that compiling llvm takes hours.
One of the ports I have been unable to build is llvm19 (requirement for new postgresql):
Code:
[ 87% 9175/10475] /usr/bin/c++ -DMLIR_INCLUDE_TESTS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/ports/devel/llvm19/work-default/.build/tools/mlir/examples/transform-opt -I/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/mlir/examples/transform-opt -I/usr/ports/devel/llvm19/work-default/.build/include -I/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/llvm/include -I/usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/mlir/include -I/usr/ports/devel/llvm19/work-default/.build/tools/mlir/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -fno-exceptions -funwind-tables -MD -MT tools/mlir/examples/transform-opt/CMakeFiles/mlir-transform-opt.dir/mlir-transform-opt.cpp.o -MF tools/mlir/examples/transform-opt/CMakeFiles/mlir-transform-opt.dir/mlir-transform-opt.cpp.o.d -o tools/mlir/examples/transform-opt/CMakeFiles/mlir-transform-opt.dir/mlir-transform-opt.cpp.o -c /usr/ports/devel/llvm19/work-default/llvm-project-19.1.7.src/mlir/examples/transform-opt/mlir-transform-opt.cpp
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/llvm19
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/llvm19
Any hints how to get it compiled would be appreciated.
I have tried like 3 times by now. What makes it harder, is that compiling llvm takes hours.