From owner-freebsd-ports-bugs@freebsd.org Sun Jan 27 11:53:50 2019 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 A8EE914A6D06 for ; Sun, 27 Jan 2019 11:53:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 33B4293E05 for ; Sun, 27 Jan 2019 11:53:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E5B7D14A6CFE; Sun, 27 Jan 2019 11:53:49 +0000 (UTC) Delivered-To: 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 C2F3014A6CFD for ; Sun, 27 Jan 2019 11:53:49 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B18B93DFD for ; Sun, 27 Jan 2019 11:53:49 +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 4216216F5E for ; Sun, 27 Jan 2019 11:53:48 +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 x0RBrmDj005602 for ; Sun, 27 Jan 2019 11:53:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x0RBrmAM005601 for ports-bugs@FreeBSD.org; Sun, 27 Jan 2019 11:53:48 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: ports-bugs@FreeBSD.org Subject: [Bug 235241] lang/rust does not build on amd64 12.0 (bootstrap is for wrong version) Date: Sun, 27 Jan 2019 11:53:47 +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: pr@aoek.com 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 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.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2019 11:53:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235241 Bug ID: 235241 Summary: lang/rust does not build on amd64 12.0 (bootstrap is for wrong version) Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: rust@FreeBSD.org Reporter: pr@aoek.com Flags: maintainer-feedback?(rust@FreeBSD.org) Assignee: rust@FreeBSD.org lang/cargo does not build on 12.0 amd64. This is annoying since this preven= ts firefox from building. How to reproduce: cd /usr/ports/lang/rust && make Output: [...] extracting cargo-0.32.0-x86_64-unknown-freebsd/cargo/share/doc/cargo/LICENSE-APACHE extracting cargo-0.32.0-x86_64-unknown-freebsd/cargo/share/doc/cargo/LICENSE-MIT extracting cargo-0.32.0-x86_64-unknown-freebsd/cargo/share/doc/cargo/LICENSE-THIRD-PAR= TY extracting cargo-0.32.0-x86_64-unknown-freebsd/cargo/share/doc/cargo/README.md extracting cargo-0.32.0-x86_64-unknown-freebsd/cargo/manifest.in extracting cargo-0.32.0-x86_64-unknown-freebsd/cargo/etc/bash_completion.d/cargo extracting cargo-0.32.0-x86_64-unknown-freebsd/cargo/bin/cargo extracting cargo-0.32.0-x86_64-unknown-freebsd/cargo/share/zsh/site-functions/_cargo running: /usr/ports/lang/rust/work/rustc-1.32.0-src/build/x86_64-unknown-freebsd/sta= ge0/bin/cargo build --manifest-path /usr/ports/lang/rust/work/rustc-1.32.0-src/src/bootstrap/Cargo.toml --frozen Traceback (most recent call last): File "/usr/ports/lang/rust/work/rustc-1.32.0-src/x.py", line 20, in bootstrap.main() File "/usr/ports/lang/rust/work/rustc-1.32.0-src/src/bootstrap/bootstrap.= py", line 853, in main=20=20 bootstrap(help_triggered) File "/usr/ports/lang/rust/work/rustc-1.32.0-src/src/bootstrap/bootstrap.= py", line 824, in bootstrap build.build_bootstrap() File "/usr/ports/lang/rust/work/rustc-1.32.0-src/src/bootstrap/bootstrap.= py", line 652, in build_bootstrap run(args, env=3Denv, verbose=3Dself.verbose) File "/usr/ports/lang/rust/work/rustc-1.32.0-src/src/bootstrap/bootstrap.= py", line 151, in run=20=20=20 raise RuntimeError(err) RuntimeError: failed to run: /usr/ports/lang/rust/work/rustc-1.32.0-src/build/x86_64-unknown-freebsd/sta= ge0/bin/cargo build --manifest-path /usr/ports/lang/rust/work/rustc-1.32.0-src/src/bootstrap/Cargo.toml --frozen *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/rust *** Error code 1 Stop. make: stopped in /usr/ports/lang/rust FACTS: The error is not clear, so if you execute by hand the failing command you g= et some more info: /usr/ports/lang/rust # /usr/ports/lang/rust/work/rustc-1.32.0-src/build/x86_64-unknown-freebsd/sta= ge0/bin/cargo build --manifest-path /usr/ports/lang/rust/work/rustc-1.32.0-src/src/bootstrap/Cargo.toml --frozen Bad system call (core dumped) cargo bootstrap does not work, and with a reason: it's built for 10.3 when = we are on 12.0 now, in fact: :/usr/ports/lang/rust # file /usr/ports/lang/rust/work/rustc-1.32.0-src/build/x86_64-unknown-freebsd/sta= ge0/bin/cargo /usr/ports/lang/rust/work/rustc-1.32.0-src/build/x86_64-unknown-freebsd/sta= ge0/bin/cargo: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically link= ed, interpreter /libexec/ld-elf.so.1, for FreeBSD 10.3, FreeBSD-style, with debug_info, not stripped SPECULATION: Suggested action: either rebuild the bootstrap for 12.0 or have cargo be a = port on its own that builds for the current OS version. --=20 You are receiving this mail because: You are the assignee for the bug.=