[MacPorts] #62655: rust @1.51.0_1 fails to build under macOS 11.2.3 :info:destroot = note: Undefined symbols for architecture arm64

MacPorts noreply at macports.org
Wed Apr 7 12:38:03 UTC 2021


#62655: rust @1.51.0_1 fails to build under macOS 11.2.3 :info:destroot   = note:
Undefined symbols for architecture arm64
---------------------+--------------------
 Reporter:  ehjmx    |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.6.4
 Keywords:  big sur  |       Port:  rust
---------------------+--------------------
 My system:
 macOS 11.2.3
 macports 2.6.4
 Apple M1 (arm64) MacBookPro with 16GB RAM.

 rust at 1.51.0_1 builds under macOS 11.2.3 but fails during the "Staging rust
 into destroot" process with the following error:


 {{{
 --->  Staging rust into destroot
 Error: Failed to destroot 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: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port rust failed
 }}}

 Accordin to the attached main.log the error occures during "compiling
 openssl-sys v0.9.58". Compiling openssl-sys v0.9.58 fails with:

 {{{
 :info:destroot   = note: Undefined symbols for architecture arm64:
 }}}

 This failure leads to this error:

 {{{
 :info:destroot -------------
 :info:destroot error: could not compile `rls`
 }}}

 and in the end to the stagging error:


 {{{
 info:destroot Exit code: 2
 :error:destroot Failed to destroot rust: command execution failed
 :debug:destroot Error code: CHILDSTATUS 84222 2
 :debug:destroot Backtrace: command execution failed
 :debug:destroot     while executing
 :debug:destroot "system {*}$notty {*}$nice $fullcmdstring"
 :debug:destroot     invoked from within
 :debug:destroot "command_exec destroot"
 :debug:destroot     (procedure "portdestroot::destroot_main" line 2)
 :debug:destroot     invoked from within
 :debug:destroot "$procedure $targetname"
 }}}

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


More information about the macports-tickets mailing list