[MacPorts] #69161: rust @1.71.1: Undefined symbols on Mac OS X 10.6.8 CoreDuo (was: rust won't build on Mac OS X 10.6.8 CoreDuo)

MacPorts noreply at macports.org
Tue Jan 23 07:38:48 UTC 2024


#69161: rust @1.71.1: Undefined symbols on Mac OS X 10.6.8 CoreDuo
-------------------------+---------------------------------
  Reporter:  leeeoooooo  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  i386 snowleopard
      Port:  rust        |
-------------------------+---------------------------------
Changes (by ryandesign):

 * owner:  (none) => MarcusCalhoun-Lopez
 * keywords:  rust i386 => i386 snowleopard
 * status:  new => assigned


Old description:

> This is Mac OS X 10.6.8 on a 32-bit-ONLY CoreDuo "Yonah: CPU
> I don't now remember what I was trying to install, but it certainly
> wasn't rust.
> Rust was a dependency, and it won't build. I'm not sure why.
> Please see log.

New description:

 This is Mac OS X 10.6.8 on a 32-bit-ONLY CoreDuo "Yonah" CPU.
 I don't now remember what I was trying to install, but it certainly wasn't
 rust.
 Rust was a dependency, and it won't build. I'm not sure why.
 Please see log.

--

Comment:

 rust seems to break all the time unless you use an extremely recent
 version of macOS. I recommend avoiding it on unsupported macOS versions,
 or in general, if possible.

 {{{
   = note: Undefined symbols for architecture i386:
             "___mpls_closedir", referenced from:
 llvm::sys::fs::detail::directory_iterator_increment(llvm::sys::fs::detail::DirIterState&)
 in librustc_llvm-e0dfc3518f302824.rlib(Path.cpp.o)
 std::__1::__shared_ptr_emplace<llvm::sys::fs::detail::DirIterState,
 std::__1::allocator<llvm::sys::fs::detail::DirIterState>
 >::~__shared_ptr_emplace() in librustc_llvm-
 e0dfc3518f302824.rlib(Path.cpp.o)
 std::__1::__shared_ptr_emplace<llvm::sys::fs::detail::DirIterState,
 std::__1::allocator<llvm::sys::fs::detail::DirIterState>
 >::~__shared_ptr_emplace() in librustc_llvm-
 e0dfc3518f302824.rlib(Path.cpp.o)
 std::__1::__shared_ptr_emplace<llvm::sys::fs::detail::DirIterState,
 std::__1::allocator<llvm::sys::fs::detail::DirIterState>
 >::__on_zero_shared() in librustc_llvm-e0dfc3518f302824.rlib(Path.cpp.o)
             "___mpls_readdir", referenced from:
 llvm::sys::fs::detail::directory_iterator_increment(llvm::sys::fs::detail::DirIterState&)
 in librustc_llvm-e0dfc3518f302824.rlib(Path.cpp.o)
             "___mpls_opendir", referenced from:
 llvm::sys::fs::detail::directory_iterator_construct(llvm::sys::fs::detail::DirIterState&,
 llvm::StringRef, bool) in librustc_llvm-e0dfc3518f302824.rlib(Path.cpp.o)
           ld: symbol(s) not found for architecture i386
           clang: error: linker command failed with exit code 1 (use -v to
 see invocation)

 Did not run successfully: exit status: 1
 }}}

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


More information about the macports-tickets mailing list