[MacPorts] #69138: rust @1.75.0 : Does not build on macOS 10.11.6 - missing _getentropy and _clock_gettime

MacPorts noreply at macports.org
Sat Jan 20 12:51:20 UTC 2024


#69138: rust @1.75.0 : Does not build on macOS 10.11.6 - missing  _getentropy and
_clock_gettime
-----------------------+---------------------------------
 Reporter:  snowflake  |      Owner:  MarcusCalhoun-Lopez
     Type:  defect     |     Status:  assigned
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.8.99
 Keywords:             |       Port:  rust
-----------------------+---------------------------------
 Here's the error:
 {{{
 :info:build           Undefined symbols for architecture x86_64:
 :info:build             "_getentropy", referenced from:
 :info:build
 std::sys::unix::rand::imp::fill_bytes::h1e6f730ecd7d963f in std-
 35a9205a1c5a5
 e53.std.d632d37dc9be385b-cgu.13.rcgu.o
 :info:build             "_clock_gettime", referenced from:
 :info:build
 std::sys::unix::time::Timespec::now::h767a5632f4dda4a4
 (.llvm.219440299164370
 3167) in std-35a9205a1c5a5e53.std.d632d37dc9be385b-cgu.11.rcgu.o
 :info:build           ld: symbol(s) not found for architecture x86_64
 :info:build           clang: error: linker command failed with exit code 1
 (use -v to see invocation)
 :info:build
 }}}

 I will also upload the last 100 lines of the log which show linker
 warnings. There are a lot of them but I don't think it is affecting the
 build.

-- 
Ticket URL: <https://trac.macports.org/ticket/69138>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list