#1592 closed defect (fixed)
dnstracer fails to build
Reported by: | rekoil@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Installed darwinports yesterday from CVS, attempted to install dnstracer from the ports collection today. port returned the following error:
dyn-39:~ rekoil$ sudo port install dnstracer Password: ---> Fetching dnstracer ---> Attempting to fetch dnstracer-1.7.tar.gz from http://www.mavetju.org/download/ ---> Verifying checksum for dnstracer ---> Extracting dnstracer ---> Configuring dnstracer ---> Building dnstracer with target all Error: Target com.apple.build returned: shell command "cd "/Users/rekoil/cvsroot/darwinports/dports/ net/dnstracer/work/dnstracer-1.7" && CFLAGS="-DBIND_8_COMPAT=1" gnumake all" returned error 2 Command output: cd . && /bin/sh /Users/rekoil/cvsroot/darwinports/dports/net/dnstracer/work/ dnstracer-1.7/missing --run autoheader configure.in:10: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst configure.in:35: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET configure.in:59: warning: do not use m4_regexp: use regexp or m4_bregexp cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
gnumake all-am
source='dnstracer.c' object='dnstracer.o' libtool=no \
depfile='.deps/dnstracer.Po' tmpdepfile='.deps/dnstracer.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -O2 -c test -f dnstracer.c || echo './'
dnstracer.c
gcc -Wall -g -O2 -o dnstracer dnstracer.o
ld: Undefined symbols:
_res_9_init
gnumake[1]: * [dnstracer] Error 1
gnumake: * [all] Error 2
dyn-39:~ rekoil$
The BIND8 compatibility was in the wrong place, and a fix has now been checked in for this port; be sure to update your DP then it should build fine.