Date: Sat, 17 Feb 2018 21:31:50 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225994] lang/rust - update bootstrap to 1.23 Message-ID: <bug-225994-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225994 Bug ID: 225994 Summary: lang/rust - update bootstrap to 1.23 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: rust@FreeBSD.org Reporter: truckman@FreeBSD.org Blocks: 225899 Flags: maintainer-feedback?(rust@FreeBSD.org) Assignee: rust@FreeBSD.org There is a bug in the gmake jobserver implmentation that can cause it do deadlock when it is configured to use pselect(), which it is on FreeBSD. T= he upstream fix is to make the jobserver pipe descriptor non-blocking.=20 Unfortunately the jobserver implementation in rust was not updated for compatibility until version 1.23. With the patch to gmake to fix the deadl= ock problem, the rust bootstrap fails like this: Compiling rls-data v0.12.0 Compiling syntax_pos v0.0.0 (file:///wrkdirs/usr/ports/lang/rust/work/rustc-1.23.0-src/src/libsyntax_po= s) error: failed to acquire jobserver token Caused by: Resource temporarily unavailable (os error 35) thread 'main' panicked at 'command did not execute successfully: "/wrkdirs/usr/ports/lang/rust/work/rustc-1.23.0-src/build/x86_64-unknown-fr= eebsd/stage0/bi n/cargo" "build" "--target" "x86_64-unknown-freebsd" "--release" "--frozen" "--features" " jemalloc llvm" "--manifest-path" "/wrkdirs/usr/ports/lang/ru= st/w ork/rustc-1.23.0-src/src/rustc/Cargo.toml" "--message-format" "json" expected success, got: exit code: 101', src/bootstrap/compile.rs:882:8 note: Run with `RUST_BACKTRACE=3D1` for a backtrace. Traceback (most recent call last): File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.23.0-src/x.py", line 20, = in <module> bootstrap.main() File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.23.0-src/src/bootstrap/bootstrap= .py", line 758, in main bootstrap() File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.23.0-src/src/bootstrap/bootstrap= .py", line 749, in bootstrap run(args, env=3Denv, verbose=3Dbuild.verbose) File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.23.0-src/src/bootstrap/bootstrap= .py", line 148, in run raise RuntimeError(err) RuntimeError: failed to run: /wrkdirs/usr/ports/lang/rust/work/rustc-1.23.0-src/build/bootstrap/debug/bo= otstrap build --verbose --config ./config.toml --jo bs 8 *** Error code 1 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225899 [Bug 225899] [exp-run] devel/gmake: parallel builds sometimes deadlock --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225994-13>