[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
Tue Apr 13 15:24:16 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:17 herbygillot]:
 > According to your log file, the problem you're having is in compiling
 `rls`; Rust itself (`rustc`) and its standard library have built just
 fine.
 >
 > `rls` requires OpenSSL, but on your system for some reason, it's also
 looking for symbols in `libssh2`.
 > I don't know why, but perhaps it may have to do with custom variants
 you've set while installing ports on your system.
 >
 > I would first try to rebuild `libssh2` from scratch.
 >
 > {{{
 > sudo port uninstall libssh2
 > sudo port build libssh2
 > sudo port install libssh2
 > }}}
 >
 > The ideal thing afterwards would be to rebuild `openssl` as well.

 I did as suggested and did the same three steps for openssl. Sill building
 rls fails. As I don't see any difference in the main log before and after
 doing the rebuilds should I still attach it?

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


More information about the macports-tickets mailing list