pkgsrc-Users archive

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

lang/rust fails on Debian in stage0 on librustc_codegen_llvm



Hi,

Trying to build lang/rust on Debian 9.9, in stage0 on
librustc_codegen_llvm:

  /var/work/lang/rust/work/rustc-1.34.2-src/build/x86_64-unknown-linux-gnu/llvm/build/bin/llvm-config: error while loading shared libraries: libLLVM-8-rust-1.34.2-stable.so: cannot open shared object file: No such file or directory
  thread 'main' panicked at 'command did not execute successfully: "/var/work/lang/rust/work/rustc-1.34.2-src/build/x86_64-unknown-linux-gnu/llvm/build/bin/llvm-config" "--version"

It appears that llvm-config is indeed linked against a libLLVM-8-rust
that cannot be found:

  $ ldd /var/work/lang/rust/work/rustc-1.34.2-src/build/x86_64-unknown-linux-gnu/llvm/build/bin/llvm-config
          linux-vdso.so.1 (0x00007ffcd461c000)
          libLLVM-8-rust-1.34.2-stable.so => not found
          libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc0fe5ef000)
          libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc0fe26d000)
          libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc0fdf69000)
          libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc0fdd52000)
          libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc0fd9b3000)
          /lib64/ld-linux-x86-64.so.2 (0x00007fc0fea26000)

But it does exists:

  $ find /var/work/lang/rust -name libLLVM-8-rust-1.34.2-stable.so
  /var/work/lang/rust/work/rustc-1.34.2-src/build/x86_64-unknown-linux-gnu/llvm/build/lib/libLLVM-8-rust-1.34.2-stable.so
  /var/work/lang/rust/work/rustc-1.34.2-src/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-8-rust-1.34.2-stable.so

The logs are fairly large so I've uploaded them here:

  513K https://sjmulder.nl/tmp/rust/bmake.log
  5.5M https://sjmulder.nl/tmp/rust/work.log

Any ideas?

Sijmen


Home | Main Index | Thread Index | Old Index