[Pkg-rust-maintainers] Bug#899087: rustc: Missing dependency on libllvm

Mike Hommey mh+reportbug at glandium.org
Sat May 19 03:32:16 BST 2018


Package: rustc
Version: 1.25.0+dfsg1-1
Severity: important

I was running firefox configure in a fresh chroot on a porterbox, and
was welcome with this error:
 error: couldn't load codegen backend "/usr/lib/rustlib/s390x-unknown-linux-gnu/codegen-backends/librustc_trans-llvm.so": "libLLVM-6.0.so.1: cannot open shared object file: No such file or directory"

And the reason for that is that no rust packages have a dependency that
pulls libLLVM-6.0.so.1. Another, probably related, problem, is that the
codegen-backends libraries are in the libstd-rust-dev package, but they
are not development libraries, they are entirely part of the rust
compiler runtime, and should be in the rustc package, or a librustc
package.

Mike



More information about the Pkg-rust-maintainers mailing list