New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13271 (closed defect: fixed)

Opened 3 years ago

Last modified 16 months ago

dhcp 3.1.0 fails to build on Mac OS X 10.5 Leopard

Reported by: frysco-macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: blair@…, jon.passki@…
Port:

Description

I am unable to compile dhcp from macports on 10.5.0 using the latest version. The compilation falls over with undefined symbols. I've tried this using a completely blank ports installation and it always fails in the same place.

Below is the compilation attempt: gryphon:~ root# date Mon Nov 12 16:45:10 PST 2007 gryphon:~ root# port installed No ports are installed. gryphon:~ root# port selfupdate MacPorts base version 1.520 installed Downloaded MacPorts base version 1.520 The MacPorts installation is not outdated and so was not updated selfupdate done! gryphon:~ root# port install dhcp ---> Fetching dhcp ---> Verifying checksum(s) for dhcp ---> Extracting dhcp ---> Configuring dhcp ---> Building dhcp with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0" && make all " returned error 2 Command output: gcc -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0/includes -D_PATH_DHCPD_DB="\"/opt/local/var/db/dhcpd/dhcpd.leases\"" -D_PATH_DHCPD_CONF="\"/opt/local/etc/dhcp/dhcpd.conf\"" -D_PATH_DHCPD_PID="\"/opt/local/var/run/dhcpd.pid\"" -c -o mdb.o mdb.c gcc -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0/includes -D_PATH_DHCPD_DB="\"/opt/local/var/db/dhcpd/dhcpd.leases\"" -D_PATH_DHCPD_CONF="\"/opt/local/etc/dhcp/dhcpd.conf\"" -D_PATH_DHCPD_PID="\"/opt/local/var/run/dhcpd.pid\"" -c -o stables.o stables.c gcc -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0/includes -D_PATH_DHCPD_DB="\"/opt/local/var/db/dhcpd/dhcpd.leases\"" -D_PATH_DHCPD_CONF="\"/opt/local/etc/dhcp/dhcpd.conf\"" -D_PATH_DHCPD_PID="\"/opt/local/var/run/dhcpd.pid\"" -c -o salloc.o salloc.c gcc -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0/includes -D_PATH_DHCPD_DB="\"/opt/local/var/db/dhcpd/dhcpd.leases\"" -D_PATH_DHCPD_CONF="\"/opt/local/etc/dhcp/dhcpd.conf\"" -D_PATH_DHCPD_PID="\"/opt/local/var/run/dhcpd.pid\"" -c -o ddns.o ddns.c gcc -g -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dhcp/work/dhcp-3.1.0/includes -D_PATH_DHCPD_DB="\"/opt/local/var/db/dhcpd/dhcpd.leases\"" -D_PATH_DHCPD_CONF="\"/opt/local/etc/dhcp/dhcpd.conf\"" -D_PATH_DHCPD_PID="\"/opt/local/var/run/dhcpd.pid\"" -c -o dhcpleasequery.o dhcpleasequery.c gcc -o dhcpd dhcpd.o dhcp.o bootp.o confpars.o db.o class.o failover.o omapi.o mdb.o stables.o salloc.o ddns.o dhcpleasequery.o ../common/libdhcp.a ../minires/libres.a ../omapip/libomapi.a ../dst/libdst.a Undefined symbols:

"_trace_mr_send$UNIX2003", referenced from:

_MRres_nsend in libres.a(res_send.o)

"_trace_mr_select$UNIX2003", referenced from:

_MRres_nsend in libres.a(res_send.o)

"_trace_mr_recvfrom$UNIX2003", referenced from:

_MRres_nsend in libres.a(res_send.o)

"_trace_mr_close$UNIX2003", referenced from:

_MRres_nsend in libres.a(res_send.o) _MRres_nclose in libres.a(res_send.o)

"_trace_mr_read$UNIX2003", referenced from:

_MRres_nsend in libres.a(res_send.o) _MRres_nsend in libres.a(res_send.o) _MRres_nsend in libres.a(res_send.o)

"_trace_mr_connect$UNIX2003", referenced from:

_MRres_nsend in libres.a(res_send.o) _MRres_nsend in libres.a(res_send.o)

"_trace_mr_bind$UNIX2003", referenced from:

_MRres_nsend in libres.a(res_send.o)

ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [dhcpd] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History

Changed 3 years ago by nox@…

  • summary changed from Unable to compile dhcp - Undefined symbols to dhcp fails to build on Mac OS X 10.5 Leopard

Changed 3 years ago by blair@…

I have a fix for that that I'll commit in the next few days.

Changed 3 years ago by ryandesign@…

  • cc jon.passki@… added
  • summary changed from dhcp fails to build on Mac OS X 10.5 Leopard to dhcp 3.1.0 fails to build on Mac OS X 10.5 Leopard

Changed 3 years ago by ryandesign@…

  • cc blair@… added

Changed 3 years ago by synfinatic@…

Hi Blair, any chance you can commit that fix soon? This bug is killing me.

Changed 3 years ago by jon.passki@…

Blair,

I would really appreciate it too if you could commit the bug change. Anything I can do to help out, such as testing it?

Jon

Changed 3 years ago by dlb@…

Blair,

This is also holding me up and I would be willing to help text the fix if that will help get it committed.

Thanks - David

Changed 3 years ago by blair@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in r32412.

Changed 16 months ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.