Opened 3 years ago

Closed 3 years ago

#62892 closed defect (fixed)

haproxy: builds failing for MacOS releases 10.10 and earlier; undefined symbol _macports_legacy_sysconf

Reported by: mascguy (Christopher Nielsen) Owned by: aphor (Jeremy McMillan)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cjones051073 (Chris Jones)
Port: haproxy

Description

This port is failing to build on earlier MacOS releases, with the following link error:

Undefined symbols for architecture x86_64:
  "_macports_legacy_sysconf", referenced from:
      ___thread_init in thread.o

https://ports.macports.org/port/haproxy/builds

Change History (5)

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Summary: haproxy: builds failing for MacOS releases 10.10 and earlier; undefined symbolhaproxy: builds failing for MacOS releases 10.10 and earlier; undefined symbol _macports_legacy_sysconf

comment:2 Changed 3 years ago by kencu (Ken)

we can't really see what is going on, so we'll have to open up the full build information to see (silent rules, VERBOSE=1, etc)...

But I imagine it is not linking in the legacysupport library.

comment:3 Changed 3 years ago by cjones051073 (Chris Jones)

A number of things where going wrong, mostly related to the makefile build it was using.

https://github.com/macports/macports-ports/commit/a195e9f86b6b74fcf91adee8ece06cceb24c36b0

comment:4 Changed 3 years ago by kencu (Ken)

Is it required now to specifically disable compiler wrapping if it is not wanted?

comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

While some of the buildbots are still behind, jobs for 10.8 and 10.6 completed successfully. Also tested in VMs for 10.9 and 10.10, and they succeeded as well.

Closing as fixed. Thanks @CJones!

Note: See TracTickets for help on using tickets.