emerge'ing dev-cpp/libgnomeuimm-2.0.0 fails with "/usr/lib/libgnomemm-2.0: file not recognized: Is a directory collect2: ld returned 1 exit status". libgnomemm-2.0 is a directory, the library it wants is called libgnomemm-2.0.1. I tried moving libgnomemm-2.0 to something else and then making a link libgnomemm-2.0 that points to libgnomemm-2.0.1, the actual lib. Then the compile fails because it needs the files that were in the dir. I tried changing the Makefile to want gnomemm-2.0.1 instead of -2.0, but then ld can't find -2.0.1. Don't know if this has anything to do with it, but when I try to emerge the app, the compile dies with "libtool.m4 and ltmain.sh have a version mismatch!", so I change VERSION=1.5 in the work/scripts/ltmain.sh to =1.5.10. Reproducible: Always Steps to Reproduce: 1.emerge =libgnomeuimm-2.0 2.after libgnomeuimm source unpacks and gets patched, interrupt process 3.fix ltmain.sh 4.continue running emerge (I can also reproduce the same errors when I try to manually build the app, I just don't have to fix the ltmain.sh file.) Actual Results: *normal configure stuff* Making all in tools make[1]: Entering directory `/var/tmp/portage/libgnomeuimm-2.0.0/work/libgnomeuimm-2.0.0/tools' Making all in extra_defs_gen make[2]: Entering directory `/var/tmp/portage/libgnomeuimm-2.0.0/work/libgnomeuimm-2.0.0/tools/extra_defs_gen' if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../libgnomeui -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I//usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -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/pango-1.0 -I/usr/include/freetype2 -I//usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/libgnomemm-2.0 -I//usr/lib/libgnomemm-2.0/include -I/usr/include/gtkmm-2.0 -I//usr/lib/gtkmm-2.0/include -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -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/libglade-2.0 -march=k8 -pipe -O2 -MT generate_defs_libgnomeui.o -MD -MP -MF ".deps/generate_defs_libgnomeui.Tpo" \ -c -o generate_defs_libgnomeui.o `test -f 'generate_defs_libgnomeui.cc' || echo './'`generate_defs_libgnomeui.cc; \ then mv -f ".deps/generate_defs_libgnomeui.Tpo" ".deps/generate_defs_libgnomeui.Po"; \ else rm -f ".deps/generate_defs_libgnomeui.Tpo"; exit 1; \ fi /bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-g++ -march=k8 -pipe -O2 -o generate_extra_defs generate_defs_libgnomeui.o -Wl,--export-dynamic -pthread -L//usr/lib -L/usr/X11R6/lib64 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomemm-2.0 -lgnome-2 -lpopt -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lgnomecanvasmm-2.0 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgconfmm-2.0 -lgconf-2 -lORBit-2 -lgthread-2.0 -lglademm-2.0 -lgtkmm-2.0 -lglade-2.0 -lgdkmm-2.0 -latkmm-1.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgtk-x11-2.0 -lxml2 -lpthread -lz -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 -lgtkmm_generate_extra_defs-2.0 mkdir .libs x86_64-pc-linux-gnu-g++ -march=k8 -pipe -O2 -o generate_extra_defs generate_defs_libgnomeui.o -Wl,--export-dynamic -pthread -L//usr/lib -L/usr/X11R6/lib64 /usr/lib/libgnomeui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/lib/libgnomemm-2.0 -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libaudiofile.so //usr/lib/libasound.so /usr/lib/libgnomevfs-2.so -lssl -lcrypto -lresolv -lrt /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libgnomecanvasmm-2.0 /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgconfmm-2.0.so /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgthread-2.0.so /usr/lib/libglademm-2.0.so /usr/lib/libgtkmm-2.0.so /usr/lib/libglade-2.0.so /usr/lib/libgdkmm-2.0.so /usr/lib/libatkmm-1.0.so /usr/lib/libpangomm-1.0.so /usr/lib/libglibmm-2.0.so /usr/lib/libxml2.so -lpthread -lz -lm /usr/lib/libgtkmm_generate_extra_defs-2.0.so /usr/lib/libsigc-1.2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -ldl //usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.so -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,//usr/lib -Wl,--rpath -Wl,//usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3 -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,//usr/lib -Wl,--rpath -Wl,//usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3 /usr/lib/libgnomemm-2.0: file not recognized: Is a directory collect2: ld returned 1 exit status make[2]: *** [generate_extra_defs] Error 1 make[2]: Leaving directory `/var/tmp/portage/libgnomeuimm-2.0.0/work/libgnomeuimm-2.0.0/tools/extra_defs_gen' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libgnomeuimm-2.0.0/work/libgnomeuimm-2.0.0/tools' make: *** [all-recursive] Error 1 !!! ERROR: dev-cpp/libgnomeuimm-2.0.0 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Emerged successfully. Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r1 x86_64) ================================================================= System uname: 2.6.10-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 22 2004, 00:51:56)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.8.5-r2, 1.7.9, 1.9.3, 1.5, 1.6.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d aalib acl acpi aim alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzlib calendar cdr crypt cups dga dio dvd emacs encoder esd ethereal exif f77 fam fftw flac foomaticdb fortran ftp gd gdbm gif ginac gnome gnutls gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 joystick jp2 jpeg lcms lesstif libwww lirc lzw lzw-tiff maildir mikmod mime mmap mng mozilla mpeg msn multilib ncurses nls nptl offensive oggvorbis openal opengl oscar oss pam perl plotutils png posix ppds python quicktime readline samba sdl sharedmem sndfile sockets sox speex spell ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb userlocales wmf xine xml2 xmms xpm xrandr xv xvid yahoo zlib"
*** Bug 77003 has been marked as a duplicate of this bug. ***
*** Bug 77055 has been marked as a duplicate of this bug. ***
libtool forgetting to tag it ? no further reports, amd64 only.
just for the record, gnomeuimm-2.6.0 installs fine here.
Right. But libgnomeuimm-2.0.0 is needed for certain apps, namely, gnometoaster. Probably for most other gtk1 things.
Well, libgnomeuimm-2.0.0 (and all the way through gtoaster) installed fine here, too. [18:15:14 thanatos] ~# emerge info Portage 2.0.51.20-r5 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r2 x86_64) ================================================================= System uname: 2.6.11-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.2 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/storage/portage/distfiles" FEATURES="autoconfig distlocks sandbox strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/portage/overlays/ebuilds" SYNC="rsync://rsync.fprintf.net/gentoo-portage" USE="amd64 X aac acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt cscope cups curl dga dvd dvdr encode esd ethereal fam flac font-server foomaticdb gd gdbm gif gnome gnutls gpm gstreamer gtk gtk2 guile hal imagemagick imap imlib ipv6 jabber jp2 jpeg ldap libclamav libg++ libwww lzo lzw lzw-tiff mad maildir matroska mikmod mime mmap mng mono mozilla mp3 mpeg mpi mysql ncurses nls nptl odbc offensive ogg oggvorbis opengl oscar oss pam pdflib perl php png python quicktime readline real rtc samba sasl sdl sharedmem soap speex spell ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wmf xface xinerama xml2 xpm xrandr xsl xv xvid zlib" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
This appears to have been an amd64 libtool issue that has since been fixed.