Date: Thu, 29 Apr 2021 00:04:14 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 255475] lang/rust: fails to build on 12/amd64 Message-ID: <bug-255475-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255475 Bug ID: 255475 Summary: lang/rust: fails to build on 12/amd64 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: portmaster@bsdforge.com Flags: maintainer-feedback?(rust@FreeBSD.org) Assignee: rust@FreeBSD.org As I was fixing one of my ports. During the gtk3 build depends I ran into this: =3D=3D=3D> spidermonkey78-78.7.0_3 depends on file: /usr/local/bin/python= 3.7 - found =3D=3D=3D> spidermonkey78-78.7.0_3 depends on package: rust>=3D1.35 - not= found =3D=3D=3D> Building for rust-1.51.0 rustup not detected: [Errno 2] No such file or directory: 'rustc': 'rustc' falling back to auto-detect running: /usr/ports/lang/rust/work/bootstrap/bin/cargo build --manifest-path /usr/ports/lang/rust/work/rustc-1.51.0-src/src/bootstrap/Cargo.toml --verbo= se --frozen error: failed to run `rustc` to learn about target-specific information Caused by: process didn't exit successfully: `/usr/ports/lang/rust/work/bootstrap/bin/rustc - --crate-name ___ --print=3Dfile-names -Cdebuginfo=3D2 -C linker=3Dcc -Wrust_2018_idioms -Wunused_lifetimes --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=3Dsysroot --print=3Dcfg` (exit code: 101) --- stderr thread 'rustc' panicked at 'failed to get current_exe: No such file or directory (os error 2)', compiler/rustc_session/src/filesearch.rs:133:19 stack backtrace: note: Some details are omitted, run with `RUST_BACKTRACE=3Dfull` for a ve= rbose backtrace. error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=3DC-bug%2C+I-ICE%2C+T-c= ompiler&template=3Dice.md note: rustc 1.50.0 running on x86_64-unknown-freebsd note: compiler flags: -C debuginfo=3D2 -C linker=3Dcc --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type stati= clib --crate-type proc-macro query stack during panic: end of query stack Traceback (most recent call last): File "x.py", line 27, in <module> bootstrap.main() File "/usr/ports/lang/rust/work/rustc-1.51.0-src/src/bootstrap/bootstrap.= py", line 1123, in main bootstrap(help_triggered) File "/usr/ports/lang/rust/work/rustc-1.51.0-src/src/bootstrap/bootstrap.= py", line 1096, in bootstrap build.build_bootstrap() File "/usr/ports/lang/rust/work/rustc-1.51.0-src/src/bootstrap/bootstrap.= py", line 855, in build_bootstrap run(args, env=3Denv, verbose=3Dself.verbose) File "/usr/ports/lang/rust/work/rustc-1.51.0-src/src/bootstrap/bootstrap.= py", line 153, in run raise RuntimeError(err) RuntimeError: failed to run: /usr/ports/lang/rust/work/bootstrap/bin/cargo build --manifest-path /usr/ports/lang/rust/work/rustc-1.51.0-src/src/bootstrap/Cargo.toml --verbo= se --frozen *** Error code 1 Any clues? This is a 12/amd64 jail with a git checkout of ports as of today: 2021-04-28 (git info/revision/status return nothing) Thanks! :-) --Chris --=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-255475-7788>