[Pkg-rust-maintainers] Build fails with "found two different crates with name `std`"

Ximin Luo infinity0 at debian.org
Thu Feb 22 05:31:00 UTC 2018


John Paul Adrian Glaubitz:
> On 02/19/2018 12:04 PM, John Paul Adrian Glaubitz wrote:
>>> Is full-bootstrap set to `true` in your config.toml? I had to do that for a previous bug, but you could maybe try setting it to `false` and see if it changes anything. (The chances are low though, so prefer to try better leads if you can think of them.)
>>
>> I will try that now. Thanks for the heads-up!
> 
> It does seem this actually resolved the problem for me.
> 
> So, when you're building rustc 1.24, you will probably have to set
> this to "false" again.
> 

Thanks for testing that, and it looks like Fedora ran into the same issue: https://github.com/rust-lang/rust/issues/48319

"I think this is from an unfortunate interaction from Fedora using --enable-full-bootstrap for #47469, and some lib-path hacking we're doing to reduce duplication. We currently replace every rustlib/$target/lib/libfoo.so with a symlink to /usr/lib64/libfoo.so. [..]"

We also do a similar thing on Debian, so I think this also applies to us. I'll make sure to disable that option when packaging 1.24. (I'm on holiday atm but I'll try to do it on the 26th or 27th.)

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Pkg-rust-maintainers mailing list