[Pkg-rust-maintainers] Bug#884775: Bug#884775: /usr/bin/rustc: Error Compiling Code: "attempt to use impure library"

Angus Lees gus at debian.org
Sun Mar 11 22:50:52 UTC 2018


tags 884775 + unreproducible notabug
close 884775
thanks

I suspect the original issue was caused by having a non-standard "ld" in
your $PATH - specifically, I suspect it was the guix ld-wrapper[1].  (Or
perhaps a non-standard "cc" that in turn uses this guix ld)

The reply to your stack overflow question[2] suggests
that GUIX_LD_WRAPPER_ALLOW_IMPURITIES=y should disable this assertion in
ld-wrapper.  .. Or of course fiddling with $PATH such that you return to
using the standard Debian gcc/binutils binaries.

If any of that sounds incorrect, please reopen this bug.

[1]
https://github.com/drewc/guix/blob/d34c0ac6e9c669702bc4957faa5ee51f2b9465c3/gnu/packages/ld-wrapper.scm#L142
[2]
https://stackoverflow.com/questions/47737761/rust-on-debian-9-2-error-due-to-impure-library

 - Gus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20180311/d71cd37d/attachment.html>


More information about the Pkg-rust-maintainers mailing list