[Bug 240388] lang/rust: fails to build: error: Could not compile `rustdoc`.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Sep 7 12:08:53 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240388
Bug ID: 240388
Summary: lang/rust: fails to build: error: Could not compile
`rustdoc`.
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: rust at FreeBSD.org
Reporter: novel at FreeBSD.org
Assignee: rust at FreeBSD.org
Flags: maintainer-feedback?(rust at FreeBSD.org)
build started at Sat Sep 7 05:57:15 +04 2019
port directory: /usr/ports/lang/rust
package name: rust-1.37.0
building for: FreeBSD current-local-job-04 13.0-CURRENT FreeBSD 13.0-CURRENT
1300045 amd64
maintained by: rust at FreeBSD.org
Makefile ident: $FreeBSD: head/lang/rust/Makefile 510684 2019-09-01
07:26:54Z tobik $
Poudriere version: 3.3.2
Host OSVERSION: 1300045
Jail OSVERSION: 1300045
....
Compiling parking_lot_core v0.4.0
Compiling num_cpus v1.8.0
Compiling tempfile v3.0.5
Compiling parking_lot v0.7.1
Compiling rustdoc v0.0.0
(/wrkdirs/usr/ports/lang/rust/work/rustc-1.37.0-src/src/librustdoc)
thread 'rustc' panicked at 'failed to get current_exe: No such file or
directory (os error 2)', src/librustc/session/filesearch.rs:139:23
note: run with `RUST_BACKTRACE=1` environment variable to display a 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/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.37.0 running on x86_64-unknown-freebsd
note: compiler flags: -Z external-macro-backtrace -Z unstable-options -C
opt-level=2 -C debuginfo=0 -C linker=cc -C debug-assertions=n -C
link-args=-Wl,-rpath,$ORIGIN/../lib --crate-type lib
note: some of the compiler flags provided by cargo are hidden
error: Could not compile `rustdoc`.
To learn more, run the command again with --verbose.
command did not execute successfully:
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.37.0-src/build/x86_64-unknown-freebsd/stage0/bin/cargo"
"build" "--target" "x86_64-unknown-freebsd" "-j" "4" "--release" "--frozen"
"--manifest-path"
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.37.0-src/src/tools/rustdoc/Cargo.toml"
expected success, got: exit code: 101
Traceback (most recent call last):
File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.37.0-src/x.py", line 11, in
<module>
bootstrap.main()
File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.37.0-src/src/bootstrap/bootstrap.py",
line 847, in main
bootstrap(help_triggered)
File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.37.0-src/src/bootstrap/bootstrap.py",
line 833, in bootstrap
run(args, env=env, verbose=build.verbose)
File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.37.0-src/src/bootstrap/bootstrap.py",
line 141, in run
raise RuntimeError(err)
RuntimeError: failed to run:
/wrkdirs/usr/ports/lang/rust/work/rustc-1.37.0-src/build/bootstrap/debug/bootstrap
build --verbose --config ./config.toml --jobs 4
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/rust
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list