Bug 53815 - emerge cdrdao-1.1.8-r1 failed on link with gconfmm-2.0
|
Bug#:
53815
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: amd64@gentoo.org
|
Reported By: mathfox@xs4all.nl
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: emerge cdrdao-1.1.8-r1 failed on link with gconfmm-2.0
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-06-13 09:49 0000
|
Linking of gcdmaster fails with:
g++ -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/atk-1.0 -DORBIT2=1 -pthread -I/usr/include/libgnomeuimm-2.0 -I/usr/lib/libgnomeuimm-2.0/include -I/usr/include/libgnomemm-2.0 -I/usr/lib/libgnomemm-2.0/include -I/usr/include/libgnomecanvasmm-2.0 -I/usr/lib/libgnomecanvasmm-2.0/include -I/usr/include/gconfmm-2.0 -I/usr/lib/gconfmm-2.0/include -I/usr/include/libglademm-2.0 -I/usr/lib/libglademm-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/atk-1.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libbonoboui-2.0 -O2 -o gcdmaster AddFileDialog.o AddSilenceDialog.o AudioCDChild.o AudioCDProject.o AudioCDView.o BlankCDDialog.o CdDevice.o CdTextDialog.o DeviceConfDialog.o DeviceList.o DumpCDProject.o DuplicateCDProject.o gcdmaster.o GenericChild.o GenericView.o guiUpdate.o Icons.o MessageBox.o ProcessMonitor.o ProgressDialog.o Project.o ProjectChooser.o RecordCDSource.o RecordCDTarget.o RecordHDTarget.o RecordTocDialog.o RecordTocSource.o SampleDisplay.o SampleManager.o Settings.o TextEdit.o TocEdit.o TocEditView.o TocInfoDialog.o TrackDataScrap.o TrackInfoDialog.o TrackManager.o xcdrdao.o SoundIF-linux.o -L../dao -ldao -L../paranoia -lcdda_paranoia -L../trackdb -ltrackdb -L../scsilib/export -lscg -lschily -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lgnomeuimm-2.0 -lgnomemm-2.0 -lgnomecanvasmm-2.0 -lgconfmm-2.0 -lglademm-2.0 -lgnomeui-2 -lSM -lICE -lgtkmm-2.0 -lglade-2.0 -lgdkmm-2.0 -latkmm-1.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgobject-2.0 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -Wl,--export-dynamic -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-x11-2.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lnsl
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgconfmm-2.0
collect2: ld returned 1 exit status
make[3]: *** [gcdmaster] Error 1
make[3]: Leaving directory `/var/tmp/portage/cdrdao-1.1.8-r1/work/cdrdao-1.1.8/xdao'
I should have libgconfmm-2.0.<b>2</b> installed according to emerge; in /usr/lib I find the following:
lrwxrwxrwx 1 root root 20 Jun 13 18:01 /usr/lib/libgconfmm-2.0 -> libgconfmm-2.0.1.0.2
lrwxrwxrwx 1 root root 20 Jun 13 18:01 /usr/lib/libgconfmm-2.0.1 -> libgconfmm-2.0.1.0.2
-rwxr-xr-x 1 root root 78992 Jun 13 18:01 /usr/lib/libgconfmm-2.0.1.0.2
-rwxr-xr-x 1 root root 1161 Jun 13 18:01 /usr/lib/libgconfmm-2.0.la
Note that the .so extension is missing from the library file.
Reproducible: Always
Steps to Reproduce:
emerge -uDU world
Actual Results:
Link failure
Expected Results:
link and install ;)
Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040529-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://ftp.du.se/pub/os/gentoo http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt dvd dvdr encode esd foomaticdb
gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mozilla
mpeg ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python qt
quicktime readline sdl slang spell ssl tcltk tcpd tetex truetype xml2 xmms xv zlib"
Error messages from emerge gconfmm
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of
AM_OPTIONS_WXCONFIG
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of
AM_PATH_SMPEG/usr/share/aclocal/sigc++.m4:8: warning: underquoted definition of
AM_PATH_SIGC
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of
AC_PATH_DPS_GUESS_GNUSTEP
/usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of
AC_PATH_DPS_GUESS
/usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of
AC_PATH_DPS_CHECK_LIB
/usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of
AC_PATH_DPS_CHECK_HEADER
/usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of
AC_PATH_DPS_CHECK
/usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_DPS
/usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of
AC_CHECK_DPS_NXAGENT
/usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_DPSET
/usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of
AC_PROG_PSWRAP
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/share/aclocal/lqt.m4:14: warning: underquoted definition of AC_PATH_LQT
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of
AM_PATH_LIBMIKMOD
/usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME
/usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART
/usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of
AM_PATH_LIBOGGFLAC
/usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of
AM_PATH_LIBOGGFLACPP
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC
/usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of
AM_PATH_LIBFLACPP
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of
AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gtk--.m4:10: warning: underquoted definition of
AM_PATH_GTKMM/usr/share/aclocal/gst-element-check-0.6.m4:7: warning: underquoted
definition of AM_GST_ELEMENT_CHECK
/usr/share/aclocal/gpgme.m4:9: warning: underquoted definition of AM_PATH_GPGME
/usr/share/aclocal/gnome--.m4:10: warning: underquoted definition of AM_PATH_GNOMEMM
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gimp.m4:8: warning: underquoted definition of AM_PATH_GIMP
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of
AM_PATH_GDK_PIXBUF
/usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2
/usr/share/aclocal/avifile.m4:21: warning: underquoted definition of AM_PATH_AVIFILE
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of
AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT
I guess I forgot to mention that gconfmm-2.0.2 was installed regardless of the
errors at configuration time.
That is wierd. I can install cdrdao-1.1.8-r1 with gcdmaster with either
version of gconfmm-2.0.1 and gconfmm-2.0.2 on ppc. Probably this is an amd64
bug.
Could you reemerge gconfmm-2.0.2 and try again?
Still the "underquoted definitions"
root # emerge gconfmm
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-cpp/gconfmm-2.0.2 to /
>>> md5 src_uri ;-) gconfmm-2.0.2.tar.bz2
>>> Unpacking source...
>>> Unpacking gconfmm-2.0.2.tar.bz2 to /var/tmp/portage/gconfmm-2.0.2/work
>>> Source unpacked.
amd64
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
...
Okay, that looks more like an amd64 problem. I hand this bug over.
Peter: Please try to emerge dev-cpp/gconfmm-2.6.1. This is the latest version
in portage and i am able to compile cdrdao-1.1.8-r1 against it w/o any
problems.
If it works for you too, please report back ;-)
*** Bug 54277 has been marked as a duplicate of this bug. ***
cdrdao-1.1.8-r1 seems to explicitly demand gconfmm-2.0 (anyway gconfmm-2.0.2
was emerged again when I did an "emerge -uUD world", despite having
gconfmm-2.6.1) To cut the story short: same problem still exists.
Ah, i just looked into cdrdao ebuild. It has a "gnome" USE flag. I'll have a
look @ it lateron... (gone for some hours now).
it does not explicitly depend on gconfmm-2.0.2 here...
On comment #9: No, it isn't explicitely dependent on it, as other dependencies
depend on gconfmm-2.0.*
Nevertheless it seems that this is a gcc-3.4 bug, as I get now the same error
when I compile on my ppc with that version of gcc. I haven't been aware that
amd64 already set this stable.
I currently investigate if glibmm or other libs need an update.
Lars: I can USE="gnome" emerge cdrdao and it neither installs gconfmm-2.0* nor
have i already installed this version! And i use gcc-3.4 too, so i doubt that
this is a gcc-3.4 bug. (Plus: Peter's emerge info sais he's using gcc-3.3 ;-).
The fact that the shared objects' files are missing their extensions is most
probably the problem. IMHO that sound like an error in ./configure/Makefile of
gconfmm-2.0.2.
Peter: Would you please remerge gconfmm-2.0.2 and attach a log of the complete
emerge process ? I bet one of the auto* tools doesnt work properly for some
reason.
Created an attachment (id=33558) [details]
Output of 'emerge =gconfmm-2.0.2'
Did an emerge from gconfmm-2.0.2 again and it certainly looks like automake or
autoconf trouble. You'll find the combined stdout and stderr in the attachment
Hm... You don't happen to have set ACLOCAL_FLAGS, do you ?
[try "echo ${ACLOCAL_FLAGS}".] If you do, try ACLOCAL_FLAGS="" emerge "=gconfmm-2.0.2".
No, I don't have any special enviromnent variables set. No $ACLOCAL_FLAGS.
Would you please try
a) to remerge autoconf and if that doesn't help
b) switch to autoconf-2.59-r4 ?
I re-emerged autoconf, no change when building gconfmm-2.0.2
using autoconf-2.59-r4 still the same underquoted macro's
even reemerging automake brought no change.
I am having the same problem, here is my emerge info if it helps.
I have gconfmm-2.0.2 as well as autoconf-2.59-r3 installed.
anubis / # emerge info
Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 12
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://phzero.net/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt cups dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla moznocompose moznoirc moznoxft mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype xinerama xml2 xmms xv zlib"
anubis / #
This allowed me to merge cdrdao:
USE="-gnome" emerge -uv cdrdao
I haven't looked at the ebuild to see the consequenses of compiling without gnome support.
Sorry, the bug is in the gconfmm library; not in cdrdao. It shows up when
linking the gcdmaster application. (And the 'old' version of cdrdao that I
have; without gnome support works.)
I had this problem also, it seems the problem is with the gconfmm install. I
did this to fix it:
cd /usr/lib
mv libgconfmm-2.0.1.0.2 libgconfmm-2.0.1.0.2.so
rm libgconfmm-2.0
ln -s libgconfmm-2.0.1.0.2.so libgconfmm-2.0.so
rm libgconfmm-2.0.1
ln -s libgconfmm-2.0.1.0.2.so libgconfmm-2.0.1.so
then the cdrdao build works fine.
I have AMD 64 and Larry's solution in Comment 20 worked for me.
I also had luck with Larry's solution in Comment 20
There are two problems with renaming the library files:
1) Portage doesn't know about the change and won't remove them when the package is updated.
2) The libtool metadata file libgconfmm-2.0.la still contains the original filenames.
In my opinion it is much better to try to fix the library build.
gconfmm 2.0.2 should now be fixed. give it some time to reach rsync and
re-emerge gconfmm.
ayanami gconfmm # md5sum gconfmm-2.0.2.ebuild
e6b44a8c3f0ac696a25b7f74eeed71a1 gconfmm-2.0.2.ebuild
that's the md5sum of the fixed ebuild for those of you who want to check.
I don't know whether I should reopen this bug or create a new one...
$ gcdmaster
gcdmaster: error while loading shared libraries: libgconfmm-2.0.1: cannot open shared object file: No such file or directory
Okay, it linked... It even linked to the correct library:
$ldd `which gcdmaster`
...
libgconfmm-2.0.so.1 => /usr/lib/libgconfmm-2.0.so.1 (0x0000002a95a4a000)
...
libgconfmm-2.0.1 => not found
...
But someone seems to need the broken version of the library. (libtool hell)
It appeared that libgnomeuimm was linked against the old version of the
library... reemerging libgnomeuimm solved the problem.