Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Sep 2019 12:08:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240388] lang/rust: fails to build: error: Could not compile `rustdoc`.
Message-ID:  <bug-240388-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240388

            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@FreeBSD.org
          Reporter: novel@FreeBSD.org
          Assignee: rust@FreeBSD.org
             Flags: maintainer-feedback?(rust@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@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=3D1` environment variable to display a backt=
race.

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=3D2 -C debuginfo=3D0 -C linker=3Dcc -C debug-assertions=3Dn -C
link-args=3D-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-fr=
eebsd/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=3Denv, verbose=3Dbuild.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/bo=
otstrap
build --verbose --config ./config.toml --jobs 4
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/rust

--=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-240388-7788>