[Bug 245201] lang/rust: Fails to build in Poudriere with "error: could not compile `rustc`"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 31 08:35:32 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245201

            Bug ID: 245201
           Summary: lang/rust: Fails to build in Poudriere with "error:
                    could not compile `rustc`"
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust at FreeBSD.org
          Reporter: marcel at herrbischoff.com
          Assignee: rust at FreeBSD.org
             Flags: maintainer-feedback?(rust at FreeBSD.org)

Setup is Poudriere (3.3.99.20191210) on FreeBSD 12.1 (12.1-RELEASE-p3 GENERIC
amd64) with ZFS. So far, Rust is the only port that fails to build. Below is an
excerpt of the build log, the full log (1.9 MB) is available here:
https://herrbischoff.com/download/rust-1.42.0_1.log

-----

command did not execute successfully:
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-freebsd/stage0/bin/cargo"
"build" "-Zconfig-profile" "--target" "x86_64-unknown-freebsd"
"-Zbinary-dep-depinfo" "-j" "1" "-v" "--release" "--frozen" "--features" "
llvm" "--manifest-path"
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.42.0-src/src/rustc/Cargo.toml"
"--message-format" "json-render-diagnostics"
expected success, got: exit code: 101
Traceback (most recent call last):
  File "x.py", line 11, in <module>
    bootstrap.main()
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.42.0-src/src/bootstrap/bootstrap.py",
line 951, in main
    bootstrap(help_triggered)
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.42.0-src/src/bootstrap/bootstrap.py",
line 937, in bootstrap
    run(args, env=env, verbose=build.verbose)
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.42.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.42.0-src/build/bootstrap/debug/bootstrap
build --jobs=1
*** 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