[MacPorts] #62656: rust @1.51.0 does not build on 10.9: Dyld: lazy symbol binding failed: Symbol not found: _linkat (OS 10.9)

MacPorts noreply at macports.org
Tue Apr 13 13:34:04 UTC 2021


#62656: rust @1.51.0 does not build on 10.9: Dyld: lazy symbol binding failed:
Symbol not found: _linkat (OS 10.9)
-------------------------+-----------------------
  Reporter:  cave-canem  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.99
Resolution:              |   Keywords:  mavericks
      Port:  rust        |
-------------------------+-----------------------

Comment (by cave-canem):

 I tried to do what aeiouaeiouaeiouaeiouaeiouaeiou recommended: changed
 line #1085 in
 {{{
 /distfiles/rust/rustc-1.51.0-src.tar.gz/library/std/src/sys/unix/fs.rs
 }}}
 to

 {{{
 if # [cfg ( any (target_os = "vxworks", target_os = "redox", target_os =
 "android", target_os = "macos"))] {
 }}}

 Result:

 {{{
 dyld: lazy symbol binding failed: Symbol not found: _linkat
   Referenced from: /opt/MacPorts/var/macports/build/_opt_macports-
 ports_lang_rust/rust/work/rustc-1.51.0-src/build/stage0-x86_64/bin/cargo
   Expected in: /usr/lib/libSystem.B.dylib

 dyld: Symbol not found: _linkat
   Referenced from: /opt/MacPorts/var/macports/build/_opt_macports-
 ports_lang_rust/rust/work/rustc-1.51.0-src/build/stage0-x86_64/bin/cargo
   Expected in: /usr/lib/libSystem.B.dylib
 }}}

 '''See attached debug log''' file "new_main.log.tar.gz".

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


More information about the macports-tickets mailing list