[MacPorts] #58848: Error: Failed to build rust: command execution failed

MacPorts noreply at macports.org
Sat Aug 17 13:21:39 UTC 2019


#58848: Error: Failed to build rust: command execution failed
----------------------+--------------------
  Reporter:  dmitriz  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:  rust
      Port:  rust     |
----------------------+--------------------

Comment (by dmitriz):

 Upon closer inspection, all files have been seemingly correctly downloaded
 from the macports mirrors without failures during each retry, following
 the failures that only occurred for https://static.rust-lang.org/dist

 The actual build errors started after all the downloads from the line 214
 in the log and below:

 {{{
 :info:build error: Unknown option
 :info:build Traceback (most recent call last):
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.36.0-src/src/bootstrap/bootstrap.py",
 line 864, in <module>
 :info:build     main()
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.36.0-src/src/bootstrap/bootstrap.py",
 line 847, in main
 :info:build     bootstrap(help_triggered)
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.36.0-src/src/bootstrap/bootstrap.py",
 line 818, in bootstrap
 :info:build     build.build_bootstrap()
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.36.0-src/src/bootstrap/bootstrap.py",
 line 648, in build_bootstrap
 :info:build     run(args, env=env, verbose=self.verbose)
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.36.0-src/src/bootstrap/bootstrap.py",
 line 141, in run
 :info:build     raise RuntimeError(err)
 :info:build RuntimeError: failed to run:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.36.0-src/build/stage0-x86_64/bin/cargo
 build --manifest-path
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.36.0-src/src/bootstrap/Cargo.toml
 --frozen
 :info:build make: *** [all] Error 1ยง
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.36.0-src'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/work/rustc-1.36.0-src"
 && /usr/bin/make -j8 -w all VERBOSE=1 BOOTSTRAP_ARGS="-v -j8"
 :info:build Exit code: 2
 :error:build Failed to build rust: command execution failed
 :debug:build Error code: CHILDSTATUS 99060 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust/main.log
 for details.
 version:1
 }}}


 That seems to indicate that the errors are not due to the downloads?

-- 
Ticket URL: <https://trac.macports.org/ticket/58848#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list