[MacPorts] #64437: ux-trie fails to build on 10.5.8

MacPorts noreply at macports.org
Sat Jan 22 15:30:12 UTC 2022


#64437: ux-trie fails to build on 10.5.8
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  PowerPC, Leopard, ppc64
      Port:  ux-trie       |
---------------------------+-------------------------------------

Comment (by ryandesign):

 The log shows the reason why the pthread test fails is because it tries to
 compile the test with `-Wl,-Bstatic` and `-Wl,-Bdynamic` and the linker
 doesn't understand those flags:
 {{{
 err: ld: unknown option: -Bstatic
 }}}
 I hadn't heard of `-Bstatic` or `-Bdynamic` before. They may not be
 intended for use on macOS. When I configure this port on macOS 10.15, it
 succeeds, and it does not try to use those flags.

 This port uses the weird waf build system with which I am not very
 familiar. It looks like the bundled `waf` python script includes some
 embedded compressed data at the end. After the configure step has been
 run, this data has been unpacked into the
 .waf-1.6.8-3e3391c5f23fbabad81e6d17c63a1b1e directory. Within that
 directory, within the waflib/Tools directory, I see some scripts including
 gcc.py and gxx.py that mention `-Bstatic` and `-Bdynamic`. I don't know
 why they're getting used in your situation but not in mine.

 You may have to ask the developers of waf for assistance with this.

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


More information about the macports-tickets mailing list