dhcp fails to build on macports 1.600 on Leopard

Jon Passki jon.passki at hursk.com
Fri Dec 21 10:31:56 PST 2007


Ideas?  Latest sync was this morning.  Running Leopard 10.5.2 on a MacBook Pro.

% uname -a
Darwin XXX 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT
2007; root:xnu-1228.0.2~1/RELEASE_I386 i386
% sudo port --all clean dhcp
--->  Cleaning dhcp
% sudo port -du upgrade dhcp
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/dhcp
DEBUG: dhcp is *not* installed by MacPorts
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/dhcp
DEBUG: Requested variant darwin is not provided by port dhcp.
DEBUG: Requested variant i386 is not provided by port dhcp.
DEBUG: Requested variant macosx is not provided by port dhcp.
DEBUG: Searching for dependency: dhcp
DEBUG: Didn't find receipt, going to depspec regex for: dhcp
DEBUG: Executing org.macports.main (dhcp)
--->  Fetching dhcp
DEBUG: Executing org.macports.fetch (dhcp)
--->  Verifying checksum(s) for dhcp
DEBUG: Executing org.macports.checksum (dhcp)
--->  Checksumming dhcp-3.1.0.tar.gz
DEBUG: Correct (md5) checksum for dhcp-3.1.0.tar.gz
[snip a lot of compiling]

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: 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

Warning: the following items did not execute (for dhcp):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: dhcp 3.1.0_1 exists in the ports tree
DEBUG: dhcp 3.1.0_1 is installed
DEBUG: No need to upgrade! dhcp 3.1.0_1 >= dhcp 3.1.0_1


port installed
The following ports are currently installed:
  apache2 @2.2.6_0 (active)
  apr @1.2.12_0+darwin_9 (active)
  apr-util @1.2.12_0 (active)
  aquaterm @1.0.1_0 (active)
  atk @1.20.0_1 (active)
  bzip2 @1.0.4_1 (active)
  cairo @1.4.12_0 (active)
  curl @7.17.1_0 (active)
  db44 @4.4.20_1 (active)
  docbook-xml @4.5_1 (active)
  docbook-xml-4.1.2 @4.1.2_1 (active)
  docbook-xml-4.2 @4.2_0 (active)
  docbook-xml-4.3 @4.3_0 (active)
  docbook-xml-4.4 @4.4_0 (active)
  docbook-xml-4.5 @4.5_0 (active)
  docbook-xsl @1.72.0_0 (active)
  expat @2.0.1_0 (active)
  fontconfig @2.5.0_0+macosx (active)
  freetype @2.3.5_1 (active)
  gawk @3.1.5_2 (active)
  gd2 @2.0.35_0 (active)
  gettext @0.17_1 (active)
  ghostscript @8.61_0 (active)
  glib2 @2.14.4_1+darwin_9 (active)
  gnupg @1.4.7_0 (active)
  gnuplot @4.2.0_0 (active)
  gsed @4.1.5_2 (active)
  gtk-doc @1.9_0 (active)
  gtk2 @2.12.2_0+x11 (active)
  jpeg @6b_2 (active)
  kermit @8.0.209_0 (active)
  libiconv @1.12_0 (active)
  libmcrypt @2.5.8_0 (active)
  libpcap @0.9.5_1 (active)
  libpng @1.2.24_0 (active)
  libxml2 @2.6.30_0 (active)
  libxslt @1.1.22_0 (active)
  lrzsz @0.12.20_1 (active)
  mhash @0.9.9_0 (active)
  ncurses @5.6_0 (active)
  ncursesw @5.6_0+darwin_9 (active)
  neon @0.26.4_0 (active)
  nmap @4.50_0 (active)
  openssl @0.9.8g_0 (active)
  p5-xml-parser @2.36_0 (active)
  pango @1.18.3_0 (active)
  pcre @7.4_0 (active)
  pdflib @7.0.2_0 (active)
  perl5.8 @5.8.8_0 (active)
  php5 @5.2.5_1+apache2+macosx (active)
  pkgconfig @0.22_0 (active)
  readline @5.2.007_0+darwin_9 (active)
  render @0.9_1 (active)
  scrollkeeper @0.3.14_6 (active)
  sqlite3 @3.5.4_0 (active)
  subversion @1.4.5_0 (active)
  teTeX @3.0_4 (active)
  texi2html @1.76_3 (active)
  texinfo @4.11_0 (active)
  tiff @3.8.2_1+macosx (active)
  wireshark @0.99.6_0+darwin_9 (active)
  Xft2 @2.1.12_0 (active)
  xmlcatmgr @2.2_1 (active)
  xorg-util-macros @1.1.5_0 (active)
  xorg-xproto @7.0.11_1 (active)
  xrender @0.9.0_1 (active)
  zlib @1.2.3_1 (active)

-- 
Cheers,

Jon Passki, Partner
The Hursk Group, LLC

"Obvia conspicimus, nubem pellente Mathesi."

e: jon.passki at hursk.com
ph: 651/222.3020
cal: http://www.google.com/calendar/hosted/hursk.com/embed?src=jon.passki%40hursk.com
pgp: 1BB0 A946 927B 93C3 ED6A  0466 6692 6C2C 84BE 4122


More information about the macports-users mailing list