Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust does not build with rust #45317

Closed
tpgxyz opened this issue Oct 16, 2017 · 11 comments
Closed

Rust does not build with rust #45317

tpgxyz opened this issue Oct 16, 2017 · 11 comments
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Comments

@tpgxyz
Copy link

tpgxyz commented Oct 16, 2017

Hi,

i'm trying to build rust-1.21.0 without bootstrap mode, so rust should compile with rust-1.21.0

Unfortunately this does not work. Please help.

Full logs:
http://file-store.openmandriva.org/api/v1/file_stores/dfe43b7ab055ca3c597d750d6415287a24e9b554.log?show=true

 Documenting std v0.0.0 (file:///builddir/build/BUILD/rustc-1.21.0-src/src/libstd)
/builddir/build/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: symbol lookup error: /builddir/build/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: undefined symbol: _ZN10syntax_pos10SPAN_DEBUG17ha34b79c810a6090aE
/builddir/build/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: symbol lookup error: /builddir/build/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: undefined symbol: _ZN10syntax_pos10SPAN_DEBUG17ha34b79c810a6090aE
/builddir/build/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: symbol lookup error: /builddir/build/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: undefined symbol: _ZN10syntax_pos10SPAN_DEBUG17ha34b79c810a6090aE
error: Could not document `std_unicode`.
Caused by:
  process didn't exit successfully: `/builddir/build/BUILD/rustc-1.21.0-src/build/bootstrap/debug/rustdoc --crate-name std_unicode src/libstd_unicode/lib.rs --target x86_64-unknown-linux-gnu -o /builddir/build/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/doc -L dependency=/builddir/build/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern core=/builddir/build/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcore-8b801ab614755e29.rlib` (exit code: 127)
warning: build failed, waiting for other jobs to finish...
error: Could not document `core`.
@kennytm
Copy link
Member

kennytm commented Oct 16, 2017

Hi, could you show your config.toml and the command that performs the compilation?

@kennytm kennytm added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Oct 16, 2017
@tpgxyz
Copy link
Author

tpgxyz commented Oct 17, 2017

@kennytm Where to find it ?

cat path_to_that_file

@kennytm
Copy link
Member

kennytm commented Oct 17, 2017

@tpgxyz /builddir/build/BUILD/rustc-1.21.0-src/config.toml. But never mind, looks like it is built using ./configure.

@tpgxyz
Copy link
Author

tpgxyz commented Oct 17, 2017

@kennytm do you want me to do anything ?

@kennytm
Copy link
Member

kennytm commented Oct 17, 2017

Nope for me.

@flukejones
Copy link
Contributor

Just wanted to confirm this: can't build without full-bootstrap = true using either 1.20.0 or 1.21.0. You can see the logs here

All non-default options in config.toml are:

[llvm]
ccache = true
ninja = true

[build]
build = "<rust-triple>" # things in < > are replaced at build time via sed
host = ["<rust-triple>"]
target = ["<rust-triple>"]

cargo = "<cargo-bin>"
rustc = "/usr/bin/rustc"
vendor = true

full-bootstrap = false # change to true builds successfully

verbose = 0

[install]
prefix = "<prefix>"
sysconfdir = "/etc"
bindir = "<bindir>"
libdir = "<libdir>"
mandir = "<mandir>"
docdir = "<docdir>"

[rust]
codegen-units = 0
debuginfo = true

use-jemalloc = false
debug-jemalloc = false

channel = "stable"
rpath = false

codegen-tests = false

Relevant part of build log(?):

[ 2352s] Uplifting stage1 test (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[ 2352s] Copying stage2 test from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
[ 2352s] Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[ 2352s] Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
[ 2353s] Building rustdoc for stage2 (x86_64-unknown-linux-gnu)
[ 2353s]     Finished release [optimized] target(s) in 0.0 secs
[ 2353s] Documenting book redirect pages (x86_64-unknown-linux-gnu)
[ 2355s] Documenting standalone (x86_64-unknown-linux-gnu)
[ 2355s] Documenting stage2 std (x86_64-unknown-linux-gnu)
[ 2356s]  Documenting core v0.0.0 (file:///home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/src/libcore)
[ 2356s]  Documenting std_unicode v0.0.0 (file:///home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/src/libstd_unicode)
[ 2356s]  Documenting alloc v0.0.0 (file:///home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/src/liballoc)
[ 2356s]  Documenting collections v0.0.0 (file:///home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/src/libcollections)
[ 2356s]  Documenting std v0.0.0 (file:///home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/src/libstd)
[ 2356s] /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: symbol lookup error: /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: undefined symbol: _ZN62_$LT$rustc_driver..monitor..Sink$u20$as$u20$std..io..Write$GT$5write17h1a99b858079f30a8E
[ 2356s] /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: symbol lookup error: /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: undefined symbol: _ZN62_$LT$rustc_driver..monitor..Sink$u20$as$u20$std..io..Write$GT$5write17h1a99b858079f30a8E
[ 2356s] error: Could not document `alloc`.
[ 2356s] 
[ 2356s] Caused by:
[ 2356s]   process didn't exit successfully: `/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/bootstrap/debug/rustdoc --crate-name alloc src/liballoc/lib.rs --target x86_64-unknown-linux-gnu -o /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/doc -L dependency=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern std_unicode=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libstd_unicode-24d077784ff294bb.rlib --extern core=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcore-a607da81e1566936.rlib` (exit code: 127)
[ 2356s] warning: build failed, waiting for other jobs to finish...
[ 2356s] error: Could not document `core`.
[ 2356s] 
[ 2356s] Caused by:
[ 2356s]   process didn't exit successfully: `/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/bootstrap/debug/rustdoc --crate-name core src/libcore/lib.rs --target x86_64-unknown-linux-gnu -o /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/doc -L dependency=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/release/deps` (exit code: 127)
[ 2356s] warning: build failed, waiting for other jobs to finish...
[ 2356s] /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: symbol lookup error: /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: undefined symbol: _ZN62_$LT$rustc_driver..monitor..Sink$u20$as$u20$std..io..Write$GT$5write17h1a99b858079f30a8E
[ 2356s] /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: symbol lookup error: /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: undefined symbol: _ZN62_$LT$rustc_driver..monitor..Sink$u20$as$u20$std..io..Write$GT$5write17h1a99b858079f30a8E
[ 2356s] error: Could not document `std_unicode`.
[ 2356s] 
[ 2356s] Caused by:
[ 2356s]   process didn't exit successfully: `/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/bootstrap/debug/rustdoc --crate-name std_unicode src/libstd_unicode/lib.rs --target x86_64-unknown-linux-gnu -o /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/doc -L dependency=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern core=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcore-a607da81e1566936.rlib` (exit code: 127)
[ 2356s] warning: build failed, waiting for other jobs to finish...
[ 2356s] error: Could not document `std`.
[ 2356s] 
[ 2356s] Caused by:
[ 2356s]   process didn't exit successfully: `/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/bootstrap/debug/rustdoc --crate-name std src/libstd/lib.rs --target x86_64-unknown-linux-gnu -o /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/doc --cfg feature="backtrace" --cfg feature="panic-unwind" --cfg feature="panic_unwind" -L dependency=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern unwind=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libunwind-99d160586f71fd24.rlib --extern alloc=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/liballoc-8fd871d342558b7c.rlib --extern rustc_lsan=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_lsan-e6f2d1b913a282b6.rlib --extern alloc_system=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/liballoc_system-5c3db1423b91616a.rlib --extern panic_unwind=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libpanic_unwind-5b1e62694efc0852.rlib --extern panic_abort=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libpanic_abort-0cc2df9d41cfd96b.rlib --extern rustc_asan=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_asan-1987e47656049a1d.rlib --extern std_unicode=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libstd_unicode-24d077784ff294bb.rlib --extern core=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcore-a607da81e1566936.rlib --extern rand=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librand-c81546f616bee1cb.rlib --extern rustc_tsan=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_tsan-13cb24012ec74735.rlib --extern libc=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/liblibc-01818c88b0095d9d.rlib --extern rustc_msan=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_msan-e51f1649c6f22854.rlib --extern compiler_builtins=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-48849975bde268ae.rlib --extern collections=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcollections-91cfb51397c0c99a.rlib` (exit code: 127)
[ 2356s] warning: build failed, waiting for other jobs to finish...
[ 2356s] /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: symbol lookup error: /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc: undefined symbol: _ZN62_$LT$rustc_driver..monitor..Sink$u20$as$u20$std..io..Write$GT$5write17h1a99b858079f30a8E
[ 2356s] error: Could not document `collections`.
[ 2356s] 
[ 2356s] Caused by:
[ 2356s]   process didn't exit successfully: `/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/bootstrap/debug/rustdoc --crate-name collections src/libcollections/lib.rs --target x86_64-unknown-linux-gnu -o /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/doc -L dependency=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern alloc=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/liballoc-8fd871d342558b7c.rlib --extern core=/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcore-a607da81e1566936.rlib` (exit code: 127)
[ 2356s] 
[ 2356s] 
[ 2356s] command did not execute successfully: "/home/abuild/rpmbuild/BUILD/cargo-0.22.0-x86_64-unknown-linux-gnu/cargo/bin/cargo" "doc" "-j" "12" "--target" "x86_64-unknown-linux-gnu" "--release" "--frozen" "--features" "panic-unwind backtrace" "--manifest-path" "/home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/src/libstd/Cargo.toml" "--no-deps" "-p" "alloc" "-p" "collections" "-p" "core" "-p" "std" "-p" "std_unicode"
[ 2356s] expected success, got: exit code: 101
[ 2356s] 
[ 2356s] 
[ 2356s] failed to run: /home/abuild/rpmbuild/BUILD/rustc-1.21.0-src/build/bootstrap/debug/bootstrap doc --config config.toml

I maintain the openSUSE packaging of Rust - this is probably the first release that has ever given me trouble.

@Mark-Simulacrum
Copy link
Member

Is there a chance you could try to reproduce with a more minimal approach? Something like checking out master, and then giving us a specific set of instructions that cause this failure? That would help to debug it on our side. Thanks!

@flukejones
Copy link
Contributor

flukejones commented Oct 20, 2017 via email

@infinity0
Copy link
Contributor

I see this failure both with Debian QA and tests.reproducible-builds.org as well, for 1.21. However just last week the Debian buildds succeeded with the same version of the package, but with slightly older build-dependencies.

I will try setting full-bootstrap = true when I get some time but it also says "You shouldn't ever need to set this option to true."

config.toml (abbreviated, and before m4 macro expansion):

[build]
submodules = false
vendor = true
locked-deps = false

build = "DEB_BUILD_RUST_TYPE"
host = ["DEB_HOST_RUST_TYPE"]
target = ["DEB_TARGET_RUST_TYPE"]

docs = false

[install]
prefix = "/usr"

[target.DEB_BUILD_RUST_TYPE]
llvm-config = "LLVM_DESTDIR/usr/lib/llvm-LLVM_VERSION/bin/llvm-config"
#.. and etc for DEB_*_RUST_TYPE ..

[rust]
use-jemalloc = false

channel = "RELEASE_CHANNEL"

debuginfo = true
debuginfo-lines = true
rpath = false

The differences in installed-build-dependencies between the failure vs success was:

--- build-ok.txt	2017-11-02 01:19:54.152117397 +0100
+++ build-fail.txt	2017-11-02 01:18:13.342764166 +0100
@@ -4,12 +4,12 @@
 autotools-dev 20161112.1+nmu1
 binfmt-support 2.1.8-1
 bsdmainutils 9.0.14
-cargo 0.20.0-2
+cargo 0.22.0-1~exp1
 cmake 3.9.3-1
 cmake-data 3.9.3-1
-debhelper 10.10.4
+debhelper 10.10.5
 dh-autoreconf 14
-dh-strip-nondeterminism 0.039-1
+dh-strip-nondeterminism 0.040-1
 file 1:5.32-1
 gdb 7.12-6+b1
 gettext 0.19.8.1-4
@@ -33,17 +33,17 @@
 liberror-perl 0.17025-1
 libexpat1 2.2.3-1
 libffi-dev 3.2.1-6
-libfile-stripnondeterminism-perl 0.039-1
+libfile-stripnondeterminism-perl 0.040-1
 libgit2-26 0.26.0+dfsg.1-1.1
-libglib2.0-0 2.54.1-1
-libgssapi-krb5-2 1.15.2-1
+libglib2.0-0 2.54.2-1
+libgssapi-krb5-2 1.15.2-2
 libhttp-parser2.1 2.1-2+b1
 libicu57 57.1-8
 libjsoncpp1 1.7.4-3
-libk5crypto3 1.15.2-1
+libk5crypto3 1.15.2-2
 libkeyutils1 1.5.9-9.1
-libkrb5-3 1.15.2-1
-libkrb5support0 1.15.2-1
+libkrb5-3 1.15.2-2
+libkrb5support0 1.15.2-2
 libldap-2.4-2 2.4.45+dfsg-1
 libldap-common 2.4.45+dfsg-1
 libllvm4.0 1:4.0.1-8
@@ -53,7 +53,7 @@
 libmagic-mgc 1:5.32-1
 libmpdec2 2.4.2-1
 libncurses5 6.0+20170902-1
-libnghttp2-14 1.26.0-1
+libnghttp2-14 1.27.0-1
 libpcre2-8-0 10.22-3
 libpipeline1 1.4.2-1
 libpopt0 1.16-10+b2
@@ -75,8 +75,8 @@
 libssh2-1 1.8.0-1
 libssl1.0.2 1.0.2l-2
 libssl1.1 1.1.0f-5
-libstd-rust-1.20 1.20.0+dfsg1-3
-libstd-rust-dev 1.20.0+dfsg1-3
+libstd-rust-1.21 1.21.0+dfsg1-2
+libstd-rust-dev 1.21.0+dfsg1-2
 libtimedate-perl 2.3000-2
 libtinfo-dev 6.0+20170902-1
 libtool 2.4.6-2
@@ -86,6 +86,7 @@
 llvm-4.0-dev 1:4.0.1-8
 llvm-4.0-runtime 1:4.0.1-8
 llvm-4.0-tools 1:4.0.1-8
+lsb-base 9.20170808
 m4 1.4.18-1
 man-db 2.7.6.1-2
 mime-support 3.60
@@ -96,5 +97,5 @@
 python2.7-minimal 2.7.14-2
 python-minimal 2.7.14-1
 readline-common 7.0-3
-rustc 1.20.0+dfsg1-3
+rustc 1.21.0+dfsg1-2
 zlib1g-dev 1:1.2.8.dfsg-5

@infinity0
Copy link
Contributor

src/librustc_driver/lib.rs and src/librustdoc/test.rs both define exactly the same struct Sink(Arc<Mutex<Vec<u8>>>) and exactly the same code for impl Write for Sink, and that is mentioned in the error message. Could this be causing some sort of symbol naming conflict?

@XAMPPRocky XAMPPRocky added T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. C-bug Category: This is a bug. labels Jan 22, 2018
@Mark-Simulacrum
Copy link
Member

Since this is quite an old issue and we've not seen anyone chiming in for a while, I'm going to close this issue -- but if this is still a problem we can definitely reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

6 participants