Opened 16 years ago

Closed 15 years ago

#15892 closed defect (worksforme)

rrdtool-1.3.0 fails to build in Leopard - ld: duplicate symbol _g_bit_nth_lsf

Reported by: jso-pub@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: rrdtool

Description

bash-3.2$ sudo port install rrdtool
--->  Building rrdtool 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_rrdtool/work/rrdtool-1.3.0" && 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   -R/usr/X11R6/lib -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices   -L/opt/local/lib -L/usr/X11R6/lib   -R/usr/X11R6/lib -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices   -o librrd.la -rpath /opt/local/lib -version-info 4:0: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 -lfontconfig -lexpat -lfreetype -lz -lpng12 -lXrender -lX11 -lpixman-1   -lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lfontconfig -lexpat -lfreetype -lz -lpng12 -lXrender -lX11 -lpixman-1   
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.0/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.0/src/./.libs/librrdupd.a)
sed 's,^,_,' < librrd.sym > .libs/librrd-symbols.expsym
/usr/bin/gcc-4.0 -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/librrd.4.0.0.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_getopt.o .libs/librrd.lax/librrdupd.a/rrd_getopt1.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 -L/usr/X11/lib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib /usr/X11/lib/libSM.6.0.0.dylib /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/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib /usr/X11/lib/libX11.6.2.0.dylib /opt/local/lib/libpixman-1.dylib  -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -install_name  /opt/local/lib/librrd.4.dylib -Wl,-compatibility_version -Wl,5 -Wl,-current_version -Wl,5.0  -Wl,-exported_symbols_list,.libs/librrd-symbols.expsym
ld: warning, duplicate dylib /opt/local/lib/libxml2.2.dylib
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
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.
bash-3.2$ 

Change History (5)

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

Owner: changed from macports-tickets@… to markd@…

comment:2 Changed 15 years ago by markd@…

Please test current 1.3.5 rrdtool port. It has several OS X specific bug fixes.

comment:3 Changed 15 years ago by macports@…

See the same issue and solution on wirehark http://trac.macports.org/ticket/13006

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Port: rrdtool added
Resolution: worksforme
Status: newclosed

No followup to comment:2, closing.

Note: See TracTickets for help on using tickets.