From owner-freebsd-ports-bugs@freebsd.org Sat Feb 17 21:31:53 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA836F11808 for ; Sat, 17 Feb 2018 21:31:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 386086DB61 for ; Sat, 17 Feb 2018 21:31:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7B8441E083 for ; Sat, 17 Feb 2018 21:31:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1HLVqLc076010 for ; Sat, 17 Feb 2018 21:31:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1HLVqJd076008 for freebsd-ports-bugs@FreeBSD.org; Sat, 17 Feb 2018 21:31:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225994] lang/rust - update bootstrap to 1.23 Date: Sat, 17 Feb 2018 21:31:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: truckman@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rust@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter blocked flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 21:31:54 -0000 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 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.=