Any idea what I need to do? Previously no problems with Cxx, but it now fails to build on v1.2.0 built from source. libjulia-debug.so is indeed not present in julia/usr/lib/, but I have no idea how to force it to build...?:
(v1.2) pkg> add Cxx#master
Updating git-repo `https://github.com/JuliaInterop/Cxx.jl.git`
Resolving package versions...
Updating `~/.julia/environments/v1.2/Project.toml`
[a0b5b9ef] + Cxx v0.3.2 #master (https://github.com/JuliaInterop/Cxx.jl.git)
Updating `~/.julia/environments/v1.2/Manifest.toml`
[a0b5b9ef] + Cxx v0.3.2 #master (https://github.com/JuliaInterop/Cxx.jl.git)
Building Cxx → `~/.julia/packages/Cxx/7d2lG/deps/build.log`
┌ Error: Error building `Cxx`:
│ mkdir src
│ curl -Lo src/cfe-6.0.1.src.tar.xz http://releases.llvm.org/6.0.1/cfe-6.0.1.src.tar.xz
│ Not building debug library because corresponding julia DEBUG library does not exist.
│ To build, simply run the build again once the library at
│ /libjulia-debug.so
│ % Total % Received % Xferd Average Speed Time Time Time Current
│ Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0has been built.
100 11.3M 100 11.3M 0 0 27.2M 0 --:--:-- --:--:-- --:--:-- 27.2M
│ mkdir -p src/clang-6.0.1
│ tar -C src/clang-6.0.1 --strip-components=1 -xf src/cfe-6.0.1.src.tar.xz
│ mkdir -p build/clang-6.0.1/
│ cd build/clang-6.0.1/ && \
│ cmake -G "Unix Makefiles" \
│ -DLLVM_BUILD_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release \
│ -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_THREADS=OFF \
│ -DCMAKE_CXX_COMPILER_ARG1="-D_GLIBCXX_USE_CXX11_ABI=1" \
│ -DLLVM_CONFIG=/home/wikphi@ad.cmm.se/julia/usr/bin/../tools/llvm-config -DLLVM_TABLEGEN_EXE=/home/wikphi@ad.cmm.se/julia/usr/bin/../tools/llvm-tblgen ../../src/clang-6.0.1
│ -- The C compiler identification is GNU 9.1.1
│ -- The CXX compiler identification is GNU 9.1.1
│ -- Check for working C compiler: /usr/lib64/ccache/cc
│ -- Check for working C compiler: /usr/lib64/ccache/cc -- works
│ -- Detecting C compiler ABI info
│ -- Detecting C compiler ABI info - done
│ -- Detecting C compile features
│ -- Detecting C compile features - done
│ -- Check for working CXX compiler: /usr/lib64/ccache/c++
│ -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
│ -- Detecting CXX compiler ABI info
│ -- Detecting CXX compiler ABI info - done
│ -- Detecting CXX compile features
│ -- Detecting CXX compile features - done
│ -- Found LLVM_CONFIG as /home/wikphi@ad.cmm.se/julia/usr/tools/llvm-config
│ CMake Error at /home/wikphi@ad.cmm.se/julia/usr/lib/cmake/llvm/LLVMExports.cmake:714 (message):
│ The imported target "llvm-tblgen" references the file
│
│ "/workspace/destdir/tools/llvm-tblgen"
│
│ but this file does not exist. Possible reasons include:
│
│ * The file was deleted, renamed, or moved to another location.
│
│ * An install or uninstall procedure did not complete successfully.
│
│ * The installation package was faulty and contained
│
│ "/home/wikphi@ad.cmm.se/julia/usr/lib/cmake/llvm/LLVMExports.cmake"
│
│ but not all the files it references.
│
│ Call Stack (most recent call first):
│ /home/wikphi@ad.cmm.se/julia/usr/lib/cmake/llvm/LLVMConfig.cmake:157 (include)
│ CMakeLists.txt:70 (include)
│
│
│ -- Configuring incomplete, errors occurred!
│ See also "/home/wikphi@ad.cmm.se/.julia/packages/Cxx/7d2lG/deps/build/clang-6.0.1/CMakeFiles/CMakeOutput.log".
│ make: *** [BuildBootstrap.Makefile:107: build/clang-6.0.1/Makefile] Error 1
│ [ Info: Building julia source build
│ ERROR: LoadError: failed process: Process(`make -j8 -f BuildBootstrap.Makefile BASE_JULIA_BIN=/home/wikphi@ad.cmm.se/julia/usr/bin BASE_JULIA_SRC=/home/wikphi@ad.cmm.se/julia/usr/bin/../..`, ProcessExited(2)) [2]
│
│ Stacktrace:
│ [1] pipeline_error at ./process.jl:813 [inlined]
│ [2] #run#536(::Bool, ::typeof(run), ::Cmd) at ./process.jl:728
│ [3] run(::Cmd) at ./process.jl:726
│ [4] top-level scope at /home/wikphi@ad.cmm.se/.julia/packages/Cxx/7d2lG/deps/build.jl:45
│ [5] include at ./boot.jl:328 [inlined]
│ [6] include_relative(::Module, ::String) at ./loading.jl:1094
│ [7] include(::Module, ::String) at ./Base.jl:31
│ [8] include(::String) at ./client.jl:431
│ [9] top-level scope at none:5
│ in expression starting at /home/wikphi@ad.cmm.se/.julia/packages/Cxx/7d2lG/deps/build.jl:40
│ writing path.jl file
│ Tuning for julia installation at /home/wikphi@ad.cmm.se/julia/usr/bin with sources possibly at /home/wikphi@ad.cmm.se/julia/usr/bin/../..
└ @ Pkg.Operations ~/julia/usr/share/julia/stdlib/v1.2/Pkg/src/backwards_compatible_isolation.jl:647
Any idea what I need to do? Previously no problems with Cxx, but it now fails to build on v1.2.0 built from source. libjulia-debug.so is indeed not present in
julia/usr/lib/
, but I have no idea how to force it to build...?: