[MacPorts] #61325: unbound @1.12.0_1: Undefined symbols "_arc4random_uniform"

MacPorts noreply at macports.org
Thu Oct 15 15:22:02 UTC 2020


#61325: unbound @1.12.0_1: Undefined symbols  "_arc4random_uniform"
---------------------------+----------------------
  Reporter:  chrstphrchvz  |      Owner:  nerdling
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.3
Resolution:  fixed         |   Keywords:
      Port:  unbound       |
---------------------------+----------------------

Comment (by kencu):

 So using the original legacysupport PortGroup:
 {{{
 PortGroup           legacysupport 1.0
 }}}
 works perfectly, as expected. It finds {{{arc4random_uniform}}} and uses
 it as expected. The link succeeds just fine, the software is built.

 However, using the newly-revised version:
 {{{
 PortGroup           legacysupport 1.1
 }}}
 fails with the missing symbol error.

 The difference seems to be that the original links in the library using
 the shortname {{{-lMacPortsLegacySupport}}} whereas the 1.1 version (for
 some reason) links in with the entire library name instead.

 I'm not sure that's it, but I don't see anything else different.

 Must be the libtool, I guess? Not sure.

 At any rate, the new {{{PortGroup legacysupport 1.1}}} fails sometimes,
 whereas the old one works -- that much we know.

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


More information about the macports-tickets mailing list