Opened 2 weeks ago

Closed 13 days ago

#60240 closed defect (fixed)

ntp: needs Portgroup: legacysupport to build on SnowLeopard

Reported by: grumpybozo (Bill Cole) Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: snowleopard Cc:
Port: ntp

Description (last modified by ryandesign (Ryan Schmidt))

The telltale fatal error from an attempt to build ntp:

   Undefined symbols for architecture i386:
     "_strnlen", referenced from:
         _refclock_save_lcode in libntpd.a(ntp_refclock.o)
   ld: symbol(s) not found for architecture i386

The build works with this line added to the Portfile:

   PortGroup   legacysupport  1.0

Change History (3)

comment:1 Changed 2 weeks ago by ryandesign (Ryan Schmidt)

Cc: danielluke removed
Description: modified (diff)
Owner: set to danielluke
Status: newassigned

Agreed.

When you already know the fix for an issue, you can make it easier for us to accept that fix by submitting it as a pull request.

comment:3 Changed 13 days ago by Bill Cole <18053819+grumpybozo@…>

Resolution: fixed
Status: assignedclosed

In 5d27896f4bbfbaf5eb5e7c50955244f735e457b0/macports-ports (master):

sysutils/ntp: add PortGroup legacysupport

Fixes build on Snow Leopard
Closes: #60240

Note: See TracTickets for help on using tickets.