[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
Sun Apr 11 08:56:09 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):

 Replying to [comment:14 herbygillot]:
 > > and rust can't build on arm64
 >
 > Just curious, the current version of Rust in MacPorts (1.51.0) does
 indeed build for arm64... perhaps I'm missing something?

 I just tried to build rust 1.51.0 on arm64 and it still fails. I will
 attach the main.log so that you can take a look.

 I again cleaned up some universal binaries and now glib2 +x11 and libffi
 are arm64 only.

 As already stated I need the openssl at 1.0 as universal binary for
 Powershell. So if this breaks the build I'm fine with it.

 However I can confirm that rust 1.50 did indeed install fine on my M1
 MacBookPro.

 Would it help if I update rustc to 1.51 in the portfile? Is a sudo port
 clean rust sufficient or should I clean some directories manually?

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


More information about the macports-tickets mailing list