Opened 17 years ago

Closed 17 years ago

Last modified 10 years ago

#13131 closed defect (duplicate)

libgnome doesn't compile-duplicate symbol failure

Reported by: vmcgarry@… Owned by: rhwood@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: libgnome Cc: vmcgarry@…
Port:

Description

From the log near the end:

generating symbol list for `libgnome-2.la' /usr/bin/nm -p .libs/libgnometypebuiltins.o .libs/gnome-config.o .libs/gnome-sound.o .libs/gnome-triggers.o .libs/gnome-program.o .libs/gnome-help.o .libs/gnome-exec.o .libs/gnome-gconf.o .libs/gnome-i18n.o .libs/gnome-url.o .libs/gnome-util.o .libs/gnome-score.o .libs/gnome-init.o | sed -n -e 's/.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* ' | sort | uniq > .libs/libgnome-2.exp /usr/bin/grep -E -e "[_].*" ".libs/libgnome-2.exp" > ".libs/libgnome-2.expT" mv -f ".libs/libgnome-2.expT" ".libs/libgnome-2.exp" sed -e "s,#.*" -e "s,[ ]*" -e "s,\(..*\),_&," < .libs/libgnome-2.exp > .libs/libgnome-2-symbols.expsym gcc -dynamiclib -o .libs/libgnome-2.0.2000.1.dylib .libs/libgnometypebuiltins.o .libs/gnome-config.o .libs/gnome-sound.o .libs/gnome-triggers.o .libs/gnome-program.o .libs/gnome-help.o .libs/gnome-exec.o .libs/gnome-gconf.o .libs/gnome-i18n.o .libs/gnome-url.o .libs/gnome-util.o .libs/gnome-score.o .libs/gnome-init.o -L/opt/local/lib /opt/local/lib/libgnomevfs-2.dylib /opt/local/lib/libxml2.dylib /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib /opt/local/lib/libssl.dylib /opt/local/lib/libcrypto.dylib /opt/local/lib/libz.dylib /opt/local/lib/libhowl.dylib /opt/local/lib/libbonobo-2.dylib /opt/local/lib/libORBitCosNaming-2.dylib /opt/local/lib/libbonobo-activation.dylib /opt/local/lib/libgconf-2.dylib /opt/local/lib/libORBit-2.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libesd.dylib /opt/local/lib/libaudiofile.dylib -lm /opt/local/lib/libpopt.dylib -Wl,-framework -Wl,CoreAudio -install_name /opt/local/lib/libgnome-2.0.dylib -compatibility_version 2001 -current_version 2001.1 ld: duplicate symbol _g_bit_nth_lsf in .libs/gnome-config.o and .libs/libgnometypebuiltins.o

collect2: ld returned 1 exit status make[3]: * [libgnome-2.la] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] 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_gnome_libgnome/work/libgnome-2.20.1.1" && make all " returned error 2 Command output: from /opt/local/include/libbonobo-2.0/libbonobo.h:36,

from gnome-init.c:51:

/opt/local/include/glib-2.0/glib/gi18n.h:25:1: warning: "_" redefined In file included from gnome-init.c:41: /opt/local/include/glib-2.0/glib/gi18n-lib.h:30:1: warning: this is the location of the previous definition In file included from /opt/local/include/libbonobo-2.0/bonobo/bonobo-i18n.h:39,

from /opt/local/include/libbonobo-2.0/bonobo/bonobo-generic-factory.h:16, from /opt/local/include/libbonobo-2.0/libbonobo.h:36, from gnome-init.c:51:

/opt/local/include/glib-2.0/glib/gi18n.h:26:1: warning: "Q_" redefined In file included from gnome-init.c:41: /opt/local/include/glib-2.0/glib/gi18n-lib.h:31:1: warning: this is the location of the previous definition gnome-init.c: In function 'libgnome_module_info_get': gnome-init.c:535: warning: initialization discards qualifiers from pointer target type

gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./.. -Wall -Wmissing-prototypes -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -DG_DISABLE_DEPRECATED -DLIBGNOME_PREFIX=\"/opt/local\" -DLIBGNOME_LIBDIR=\"/opt/local/lib\" -DLIBGNOME_DATADIR=\"/opt/local/share\" -DLIBGNOME_LOCALSTATEDIR=\"/opt/local/var\" -DLIBGNOME_SYSCONFDIR=\"/opt/local/etc\" -DLIBGNOME_LOCALEDIR=\"/opt/local/share/locale\" -DGNOMEVFSVERSION=\"2.20.0\" -DGNOME_EXPLICIT_TRANSLATION_DOMAIN=GETTEXT_PACKAGE -DG_LOG_DOMAIN=\"Gnome\" -I/opt/local/include -O2 -MT gnome-init.lo -MD -MP -MF .deps/gnome-init.Tpo -c gnome-init.c -o gnome-init.o >/dev/null 2>&1

mv -f .deps/gnome-init.Tpo .deps/gnome-init.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -version-info 2000:1:2000 -no-undefined -export-symbols-regex "[_].*" -L/opt/local/lib -o libgnome-2.la -rpath /opt/local/lib libgnometypebuiltins.lo gnome-config.lo gnome-sound.lo gnome-triggers.lo gnome-program.lo gnome-help.lo gnome-exec.lo gnome-gconf.lo gnome-i18n.lo gnome-url.lo gnome-util.lo gnome-score.lo gnome-init.lo -Wl,-framework,CoreAudio -L/opt/local/lib -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv -lesd -laudiofile -lm -lpopt generating symbol list for `libgnome-2.la' /usr/bin/nm -p .libs/libgnometypebuiltins.o .libs/gnome-config.o .libs/gnome-sound.o .libs/gnome-triggers.o .libs/gnome-program.o .libs/gnome-help.o .libs/gnome-exec.o .libs/gnome-gconf.o .libs/gnome-i18n.o .libs/gnome-url.o .libs/gnome-util.o .libs/gnome-score.o .libs/gnome-init.o | sed -n -e 's/.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* ' | sort | uniq > .libs/libgnome-2.exp /usr/bin/grep -E -e "[_].*" ".libs/libgnome-2.exp" > ".libs/libgnome-2.expT" mv -f ".libs/libgnome-2.expT" ".libs/libgnome-2.exp" sed -e "s,#.*" -e "s,[ ]*" -e "s,\(..*\),_&," < .libs/libgnome-2.exp > .libs/libgnome-2-symbols.expsym gcc -dynamiclib -o .libs/libgnome-2.0.2000.1.dylib .libs/libgnometypebuiltins.o .libs/gnome-config.o .libs/gnome-sound.o .libs/gnome-triggers.o .libs/gnome-program.o .libs/gnome-help.o .libs/gnome-exec.o .libs/gnome-gconf.o .libs/gnome-i18n.o .libs/gnome-url.o .libs/gnome-util.o .libs/gnome-score.o .libs/gnome-init.o -L/opt/local/lib /opt/local/lib/libgnomevfs-2.dylib /opt/local/lib/libxml2.dylib /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib /opt/local/lib/libssl.dylib /opt/local/lib/libcrypto.dylib /opt/local/lib/libz.dylib /opt/local/lib/libhowl.dylib /opt/local/lib/libbonobo-2.dylib /opt/local/lib/libORBitCosNaming-2.dylib /opt/local/lib/libbonobo-activation.dylib /opt/local/lib/libgconf-2.dylib /opt/local/lib/libORBit-2.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libesd.dylib /opt/local/lib/libaudiofile.dylib -lm /opt/local/lib/libpopt.dylib -Wl,-framework -Wl,CoreAudio -install_name /opt/local/lib/libgnome-2.0.dylib -compatibility_version 2001 -current_version 2001.1 ld: duplicate symbol _g_bit_nth_lsf in .libs/gnome-config.o and .libs/libgnometypebuiltins.o

collect2: ld returned 1 exit status make[3]: * [libgnome-2.la] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for libgnome): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 17 years ago by rhwood@…

Resolution: duplicate
Status: newclosed

Duplicate of #13006

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 10 years ago by jmroot (Joshua Root)

Cc: rhwood@… removed
Note: See TracTickets for help on using tickets.