rrdtool breaking
Brian Matzon
brian at matzon.dk
Tue Mar 4 14:03:20 PST 2008
getting the following output when upgrading (Darwin 8.11.1 Darwin Kernel
Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007;
root:xnu-792.25.20~1/RELEASE_I386 i386 i386):
---> Building rrdtool with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sou
rces_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.2.27"
&& gnumake all " returned error 2
Command output: creating rrdtool
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..
-DRRD_DEFAULT_FONT=\"/opt/local/share/rrdtool/fonts/DejaVuSansMono-Rom
an.ttf\" -DNUMVERS=1.2027 -I/opt/local/include
-I/opt/local/include/libart-2.0 -I/opt/local/include/freetype2 -I/opt/l
ocal/include/libpng -D_THREAD_SAFE -I/usr/include/libart-2.0
-I/usr/include/freetype2 -O2 -fno-strict-aliasing -Wall -s
td=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W
inline -W -fno-common -DPIC -MT rrdupdate.o -MD -MP -MF
".deps/rrdupdate.Tpo" -c -o rrdupdate.o rrdupdate.c; \
then mv -f ".deps/rrdupdate.Tpo" ".deps/rrdupdate.Po"; else rm -f
".deps/rrdupdate.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2
-fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -
Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -W -fno-common -DPIC
-L/opt/local/lib -o rrdupdate rrdupdate.o librrdupd.la
/usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic
-Wshadow -Wpointer-arith -Wcast-align -Wmissing-pro
totypes -Wmissing-declarations -Wnested-externs -Winline -W -fno-common
-DPIC -o rrdupdate rrdupdate.o -L/opt/local/lib
./.libs/librrdupd.a
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..
-DRRD_DEFAULT_FONT=\"/opt/local/share/rrdtool/fonts/DejaVuSansMono-Rom
an.ttf\" -DNUMVERS=1.2027 -I/opt/local/include
-I/opt/local/include/libart-2.0 -I/opt/local/include/freetype2 -I/opt/l
ocal/include/libpng -D_THREAD_SAFE -I/usr/include/libart-2.0
-I/usr/include/freetype2 -O2 -fno-strict-aliasing -Wall -s
td=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W
inline -W -fno-common -DPIC -MT rrd_cgi.o -MD -MP -MF
".deps/rrd_cgi.Tpo" -c -o rrd_cgi.o rrd_cgi.c; \
then mv -f ".deps/rrd_cgi.Tpo" ".deps/rrd_cgi.Po"; else rm -f
".deps/rrd_cgi.Tpo"; exit 1; fi
rrd_cgi.c: In function 'main':
rrd_cgi.c:422: warning: format '%d' expects type 'int', but argument 2
has type 'size_t'
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2
-fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -
Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -W -fno-common -DPIC
-L/opt/local/lib -o rrdcgi rrd_cgi.o librrd.la
/usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic
-Wshadow -Wpointer-arith -Wcast-align -Wmissing-pro
totypes -Wmissing-declarations -Wnested-externs -Winline -W -fno-common
-DPIC -o .libs/rrdcgi rrd_cgi.o -L/opt/local/li
b ./.libs/librrd.dylib /opt/local/lib/libfreetype.dylib
/opt/local/lib/libpng12.dylib -lz /opt/local/lib/libart_lgpl_2.d
ylib -lm
creating rrdcgi
Making all in doc
ln -s ../bindings/perl-shared/RRDs.pm RRDs.pod
ln -s ../bindings/perl-piped/RRDp.pm RRDp.pod
Making all in examples
sed 's,@''exec_prefix@,/opt/local,' cgi-demo.cgi.in > cgi-demo.cgi
chmod a+x cgi-demo.cgi
Making all in bindings
Making all in tcl
echo "package ifneeded Rrd 1.2.27 \"load
/opt/local/lib/tclrrd1.2.27[info sharedlibextension]\"" > pkgIndex.tcl
/usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic
-Wshadow -Wpointer-arith -Wcast-align -Wmissing-pro
totypes -Wmissing-declarations -Wnested-externs -Winline -W -fno-common
-DPIC -O2 -fno-strict-aliasing -Wall -std=gnu99
-pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -
W -fno-common -DPIC -fno-common -I at TCL_INC_DIR@ -I../../src
-DUSE_TCL_STUBS -c tclrrd.c -DVERSION=\"1.2.27\"
/usr/bin/gcc-4.0 -dynamiclib -O2 -fno-strict-aliasing -Wall -std=gnu99
-pedantic -Wshadow -Wpointer-arith -Wcast-align -
Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W
-fno-common -DPIC -L/opt/local/lib -Wl,-single_
module -L../../src/.libs -L../../src -L/opt/local/lib tclrrd.o -o
tclrrd1.2.27.dylib -lrrd_th -lm -L/opt/local/lib -ltc
lstub8.5 -L/opt/local/lib
ld: Undefined symbols:
_rrd_lastupdate
/usr/bin/libtool: internal link edit command failed
gnumake[3]: *** [tclrrd1.2.27.dylib] Error 1
gnumake[2]: *** [all-recursive] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
Error: Unable to upgrade port: 1
More information about the macports-users
mailing list