[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
Thu Apr 8 14:12:44 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:  g5pw
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.4
Resolution:          |   Keywords:  big sur
      Port:  rust    |
---------------------+----------------------

Comment (by ehjmx):

 {{{
 port -v installed | grep libssh
 }}}

 gives me


 {{{
   libssh2 @1.9.0_0 (active) platform='darwin 20' archs='arm64'
 date='2021-04-07T22:49:49+0200'
 }}}

 I did check the other dependencies and here are the results

 {{{
 port -v installed | grep pkgconfig
 }}}

 gives me


 {{{
   pkgconfig @0.29.2_0+universal platform='darwin 20' archs='arm64 x86_64'
 date='2021-04-05T10:44:21+0200'
   pkgconfig @0.29.2_0 (active) platform='darwin 20' archs='arm64'
 date='2021-04-08T14:21:51+0200'
 }}}


 {{{
 port -v installed | grep ninja
 }}}

 gives me

 {{{
   ninja @1.10.2_0 (active) platform='darwin 20' archs='arm64'
 date='2021-04-04T13:07:29+0200'
 }}}


 {{{
 port -v installed | grep cmake
 }}}

 gives me


 {{{
 cmake @3.19.7_0 (active) platform='darwin 20' archs='arm64'
 date='2021-04-07T22:43:39+0200'
 }}}


 {{{
 port -v installed | grep git
 }}}

 gives me

 {{{
 git @2.31.1_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_28
 (active) platform='darwin 20' archs='arm64' date='2021-04-07T22:47:27+0200
 }}}


 {{{
 mesa @19.0.8_1+osmesa+python27 (active) platform='darwin 20' archs='arm64'
 date='2021-03-21T16:47:27+0100'
   python2_select @0.0_3 (active) platform='darwin 20' archs='noarch'
 date='2021-03-21T18:01:13+0100'
   python3_select @0.0_2 (active) platform='darwin 20' archs='noarch'
 date='2021-03-21T16:20:10+0100'
   python27 @2.7.18_2 (active) platform='darwin 20' archs='arm64'
 date='2021-04-07T22:44:20+0200'
   python38 @3.8.9_0 (active) platform='darwin 20' archs='arm64'
 date='2021-04-05T08:19:52+0200'
   python39 @3.9.4_0 (active) platform='darwin 20' archs='arm64'
 date='2021-04-07T22:40:50+0200'
   python_select @0.3_9 (active) platform='darwin 20' archs='noarch'
 date='2021-03-21T16:20:10+0100'
   xorg-libxcb @1.14_0+python39 (active) platform='darwin 20' archs='arm64'
 date='2021-04-08T16:00:29+0200'
   xorg-xcb-proto @1.14.1_0+python39 (active) platform='darwin 20'
 archs='noarch' date='2021-03-21T16:24:05+0100'
   youtube-dl @2021.03.14_0+ffmpeg+python39 (active) platform='darwin 20'
 archs='noarch' date='2021-03-21T17:13:54+0100'
 }}}



 cctools gives


 {{{
 cctools @949.0.1_0+xcode (active) platform='darwin 20' archs='noarch'
 date='2021-04-04T13:07:29+0200'
 }}}

 For me my whole build environment looks arm64 only. Could it be that rust
 calls the architecture aarch64-apple-darwin while the clang tries to link
 it with arm64?

 Attached you find the latest main.log with all the dependencies beeing
 arm64

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


More information about the macports-tickets mailing list