[MacPorts] #59771: rust 1.39.0 : Failed to build rust: command execution failed

MacPorts noreply at macports.org
Thu Nov 28 21:45:06 UTC 2019


#59771: rust 1.39.0 : Failed to build rust: command execution failed
-----------------------+--------------------
 Reporter:  homer3018  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.2
 Keywords:             |       Port:  rust
-----------------------+--------------------
 HI all. I've just upgraded to Catalina, and I've also upgraded MacPorts to
 2.6.2 along with Xcode. I was previously on Mojave and I had no issue
 building what I need to build. At the moment I'm just trying to get my
 MacPorts configurations working nicely again so I've started with
 {{{
 $ sudo port selfupdate
 $ sudo port upgrade outdated
 }}}

 The self update runs fine, and the upgrade outdated starts correctly until
 a dependency for rust (I think it's from cargo) is found and thus trying
 to build it.
 It fails every time and since I'm not that familiar with MacPorts I've no
 idea what's the issue.
 To ensure having a log as clean as possible I've done that before posting
 this ticket:
 {{{
 $ sudo port clean rust
 $ sudo port -v install rust
 }}}

 Not too sure if it's useful but this is the very end of the output from
 the `upgrade outdated`command :
 {{{
 --->  Cleaning gtk3
 --->  Computing dependencies for rust
 --->  Fetching distfiles for rust
 --->  Attempting to fetch rustc-1.39.0-src.tar.gz from https://static
 .rust-lang.org/dist
 --->  Attempting to fetch rust-std-1.38.0-x86_64-apple-darwin.tar.gz from
 https://static.rust-lang.org/dist
 --->  Attempting to fetch rustc-1.38.0-x86_64-apple-darwin.tar.gz from
 https://static.rust-lang.org/dist
 --->  Attempting to fetch cargo-0.39.0-x86_64-apple-darwin.tar.gz from
 https://static.rust-lang.org/dist
 --->  Verifying checksums for rust
 --->  Extracting rust
 --->  Applying patches to rust
 --->  Configuring rust
 --->  Building rust
 Error: Failed to build rust: command execution failed
 Error: 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.
 Error: Problem while installing rust
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 --->  Some of the ports you installed have notes:
   gindent has the following notes:
     This port installs 'gnuindent' and 'gnutexinfo2man' symlinks to
 maintain backwards compatibility with the previous 'indent' port. Please
 switch to 'gindent' and 'gtexinfo2man' at your convenience.
 }}}

 My apologies if this ticket does meet your standard, this is my first time
 (and I've read the guidelines). Attached is the log file.

 Thanks ahead of time for your help.

-- 
Ticket URL: <https://trac.macports.org/ticket/59771>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list