Opened 16 years ago

Closed 15 years ago

#19362 closed defect (worksforme)

error installing rrdtool

Reported by: traf@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: rrdtool

Description (last modified by mf2k (Frank Schima))

bash-3.2# port install rrdtool
--->  Building rrdtool
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_rrdtool/work/rrdtool-1.3.6" && gnumake all " returned error 2
Command output: gnumake  all-recursive
Making all in po
file=`echo de | sed 's,.*/,,'`.gmo \
	  && rm -f $file && /opt/local/bin/msgfmt -o $file de.po
Making all in src
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0  -O2 -D_GNU_SOURCE -fno-strict-aliasing -Wall -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wold-style-definition -W  -fno-common -DPIC  -L/opt/local/lib -L/opt/local/lib -L/usr/X11R6/lib     -L/opt/local/lib -L/usr/X11R6/lib     -o librrd.la -rpath /opt/local/lib -version-info 4:5:0 -export-symbols librrd.sym hash_32.lo pngsize.lo rrd_create.lo rrd_graph.lo rrd_graph_helper.lo rrd_version.lo rrd_last.lo rrd_lastupdate.lo rrd_first.lo rrd_restore.lo rrd_xport.lo rrd_gfx.lo rrd_dump.lo rrd_fetch.lo rrd_resize.lo rrd_tune.lo librrdupd.la -lxml2 -lcairo -lcairo -lcairo  -lcairo -lSM -lICE -lfreetype -lz -lfontconfig -lexpat -lpng12 -lXrender -lX11   -lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lfreetype -lz -lfontconfig -lexpat -lpng12 -lXrender -lX11   
rm -fr  .libs/librrd.lax
rm -fr .libs/librrd.lax
mkdir .libs/librrd.lax
rm -fr .libs/librrd.lax/librrdupd.a
mkdir .libs/librrd.lax/librrdupd.a
Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.3.6/src/./.libs/librrdupd.a
(cd .libs/librrd.lax/librrdupd.a && ar x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.3.6/src/./.libs/librrdupd.a)
sed 's,^,_,' < librrd.sym > .libs/librrd-symbols.expsym
/usr/bin/gcc-4.0 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs/librrd.4.0.5.dylib  .libs/hash_32.o .libs/pngsize.o .libs/rrd_create.o .libs/rrd_graph.o .libs/rrd_graph_helper.o .libs/rrd_version.o .libs/rrd_last.o .libs/rrd_lastupdate.o .libs/rrd_first.o .libs/rrd_restore.o .libs/rrd_xport.o .libs/rrd_gfx.o .libs/rrd_dump.o .libs/rrd_fetch.o .libs/rrd_resize.o .libs/rrd_tune.o  .libs/librrd.lax/librrdupd.a/rrd_diff.o .libs/librrd.lax/librrdupd.a/rrd_error.o .libs/librrd.lax/librrdupd.a/rrd_format.o .libs/librrd.lax/librrdupd.a/rrd_hw.o .libs/librrd.lax/librrdupd.a/rrd_hw_math.o .libs/librrd.lax/librrdupd.a/rrd_hw_update.o .libs/librrd.lax/librrdupd.a/rrd_info.o .libs/librrd.lax/librrdupd.a/rrd_nan_inf.o .libs/librrd.lax/librrdupd.a/rrd_not_thread_safe.o .libs/librrd.lax/librrdupd.a/rrd_open.o .libs/librrd.lax/librrdupd.a/rrd_parsetime.o .libs/librrd.lax/librrdupd.a/rrd_rpncalc.o .libs/librrd.lax/librrdupd.a/rrd_update.o   -L/opt/local/lib -L/usr/X11R6/lib -lc /opt/local/lib/libxml2.dylib /opt/local/lib/libz.dylib /opt/local/lib/libpangocairo-1.0.dylib /usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libICE.dylib /usr/X11R6/lib/libX11.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libcairo.dylib /usr/X11/lib/libSM.6.0.0.dylib -L/usr/X11/lib /usr/X11/lib/libICE.6.3.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib /usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib  -install_name  /opt/local/lib/librrd.4.dylib -compatibility_version 5 -current_version 5.5 -Wl,-single_module -Wl,-exported_symbols_list,.libs/librrd-symbols.expsym
ld: duplicate symbol _g_bit_nth_lsf in .libs/rrd_graph_helper.o and .libs/rrd_graph.o

collect2: ld returned 1 exit status
gnumake[2]: *** [librrd.la] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: rrdtool removed
Owner: changed from macports-tickets@… to markd@…
Port: rrdtool added

comment:2 Changed 16 years ago by markd@…

What OS version and Xcode do you have? It works fine for me on 10.5/Intel/Xcode 3.1.2. Also, rrdtool has been upgraded to 1.3.7, though I suspect that update won't fix anything in this case.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 15 years ago by markd@…

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.