emerge gwhere-0.2.1-r1 fails Reproducible: Always Steps to Reproduce: 1. emerge =x11-misc/gwhere-0.2.1-r1 emerge log: ... gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../intl -I../../../src -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -DGTK_ENABLE_BROKEN -Wall -Wp,-MD,.deps/mpc.pp -c mpc.c -fPIC -DPIC -o .libs/mpc.lo mv -f .libs/mp3.lo mp3.lo /bin/sh ../../../libtool --mode=link gcc -march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -DGTK_ENABLE_BROKEN -Wall -o libgwplugindescriptionavi.la -rpath /usr/share/gwhere/plugins/descr 'glib-config --cflags gmodule' -fPIC -version-info 1:0:0 avi.lo ../../../src/tools/libgwtools.a -lz *** Warning: Linking the shared library libgwplugindescriptionavi.la against the *** static library ../../../src/tools/libgwtools.a is not portable! rm -fr .libs/libgwplugindescriptionavi.la .libs/libgwplugindescriptionavi.* .libs/libgwplugindescriptionavi.* gcc -shared avi.lo ../../../src/tools/libgwtools.a -lz -Wl,-soname -Wl,libgwplugindescriptionavi.so.1 -o .libs/libgwplugindescriptionavi.so.1.0.0 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../intl -I../../../src -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -DGTK_ENABLE_BROKEN -Wall -Wp,-MD,.deps/mpc.pp -c mpc.c -o mpc.o >/dev/null 2>&1 (cd .libs && rm -f libgwplugindescriptionavi.so.1 && ln -s libgwplugindescriptionavi.so.1.0.0 libgwplugindescriptionavi.so.1) (cd .libs && rm -f libgwplugindescriptionavi.so && ln -s libgwplugindescriptionavi.so.1.0.0 libgwplugindescriptionavi.so) ar cru .libs/libgwplugindescriptionavi.a ../../../src/tools/libgwtools.a avi.o ../../../src/tools/libgwtools.a ranlib .libs/libgwplugindescriptionavi.a creating libgwplugindescriptionavi.la mv -f .libs/mpc.lo mpc.lo (cd .libs && rm -f libgwplugindescriptionavi.la && ln -s ../libgwplugindescriptionavi.la libgwplugindescriptionavi.la) /bin/sh ../../../libtool --mode=link gcc -march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -DGTK_ENABLE_BROKEN -Wall -o libgwplugindescriptiondescript_ion.la -rpath /usr/share/gwhere/plugins/descr 'glib-config --cflags gmodule' -fPIC -version-info 1:0:0 descript_ion.lo ../../../src/tools/libgwtools.a -lz /bin/sh ../../../libtool --mode=link gcc -march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -DGTK_ENABLE_BROKEN -Wall -o libgwplugindescriptionfile_id_diz.la -rpath /usr/share/gwhere/plugins/descr 'glib-config --cflags gmodule' -fPIC -version-info 1:0:0 file_id_diz.lo ../../../src/tools/libgwtools.a -lz *** Warning: Linking the shared library libgwplugindescriptiondescript_ion.la against the *** static library ../../../src/tools/libgwtools.a is not portable! rm -fr .libs/libgwplugindescriptiondescript_ion.la .libs/libgwplugindescriptiondescript_ion.* .libs/libgwplugindescriptiondescript_ion.* *** Warning: Linking the shared library libgwplugindescriptionfile_id_diz.la against the *** static library ../../../src/tools/libgwtools.a is not portable! rm -fr .libs/libgwplugindescriptionfile_id_diz.la .libs/libgwplugindescriptionfile_id_diz.* .libs/libgwplugindescriptionfile_id_diz.* gcc -shared descript_ion.lo ../../../src/tools/libgwtools.a -lz -Wl,-soname -Wl,libgwplugindescriptiondescript_ion.so.1 -o .libs/libgwplugindescriptiondescript_ion.so.1.0.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/tools/libgwtools.a(gwstring.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../../../src/tools/libgwtools.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [libgwplugindescriptiondescript_ion.la] Error 1 make[4]: *** Waiting for unfinished jobs.... gcc -shared file_id_diz.lo ../../../src/tools/libgwtools.a -lz -Wl,-soname -Wl,libgwplugindescriptionfile_id_diz.so.1 -o .libs/libgwplugindescriptionfile_id_diz.so.1.0.0 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../src/tools/libgwtools.a(gwstring.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../../../src/tools/libgwtools.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[4]: *** [libgwplugindescriptionfile_id_diz.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/x11-misc/gwhere-0.2.1-r1/work/gwhere-0.2.1/src/plugins/descr' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-misc/gwhere-0.2.1-r1/work/gwhere-0.2.1/src/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-misc/gwhere-0.2.1-r1/work/gwhere-0.2.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-misc/gwhere-0.2.1-r1/work/gwhere-0.2.1' make: *** [all-recursive-am] Error 2
Hmm works for me... please reopen with your emerge --info and with a full emerge log attached.
Created attachment 121175 [details] emerge build log
# emerge --info Portage 2.1.2.7 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 x86_64) ================================================================= System uname: 2.6.20-gentoo-r8 x86_64 AMD Turion(tm) 64 Mobile Technology MK-36 Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 03 Jun 2007 07:20:01 +0000 dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at" LC_ALL="en_US.UTF-8" LINGUAS="en sk" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gentoo.ynet.sk/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa amd64 anthy apm asf audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cddb cdparanoia cdr cjk cli cracklib crypt cups curl dbus djvu dmi dri dts dvd dvdr dvdread eds emboss encode evo exif fam fbcon ffmpeg firefox flac gdbm gif glitz glut gnome gpm gtk gtk2 guile hal hddtemp iconv icq idn imagemagick immqt-bc ipv6 isdnlog java jpeg jpeg2k kerberos krb4 lcms libcaca libg++ libnotify libwww lm_sensors logrotate lzo mad madwifi matroska midi mikmod mmap mmx mmxext mng mp3 mp4 mpeg mplayer mudflap musepack musicbrainz ncurses network networkmanager nls nptl nptlonly nsplugin offensive ogg oggvorbis opengl openmp pam pcre pdf perl pmu png pppd python qt3support quicktime readline reflection rtc samba sdl session slang speex spell spl sse sse2 ssl svg tcpd theora tiff timidity totem truetype truetype-fonts type1-fonts unicode usb vim vim-syntax vorbis x264 xine xinerama xml xml2 xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sk" USERLAND="GNU" VIDEO_CARDS="fglrx radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
From your emerge log: checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... found This is the only difference I could see from my (working) log, well that and the missing -fPIC flag in the cc lines further down, but they might be a result of that missing automake/aclocal. Seems to me like your automake installation is borked. Try and reemerge automake (perhaps all the installed versions?) and try again. If not attach your configure.log and emerge --info --verbose. Might shed some light on the issue if the automake reemerge doesn't fix it.
Created attachment 121344 [details] config.log
Thanks for support, Togge! Unfortunately, re-emerging all versions of automake didn't help. I tried to look into configure script but I didn't understand at all all that mumbo-jumbo :-) # equery list automake [ Searching for package 'automake' in all categories among: ] * installed packages [I--] [ ] sys-devel/automake-1.5 (1.5) [I--] [ ] sys-devel/automake-1.7.9-r1 (1.7) [I--] [ ] sys-devel/automake-1.8.5-r3 (1.8) [I--] [ ] sys-devel/automake-1.9.6-r2 (1.9) [I--] [ ] sys-devel/automake-1.10 (1.10) [I--] [ ] sys-devel/automake-wrapper-3-r1 (0)
Created attachment 121345 [details] emerge --verbose --info
Your build log: cd ../.. && /var/tmp/portage/x11-misc/gwhere-0.2.1-r1/work/gwhere-0.2.1/missing automake --gnu src/tools/Makefile Mine: cd ../.. && automake --gnu src/tools/Makefile cd ../.. \ && CONFIG_FILES=src/tools/Makefile CONFIG_HEADERS= /bin/sh ./config.status creating src/tools/Makefile This still makes me think that something is wrong with your setup. My final tip is try and change your path from: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin" to (from my chroot) PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin" if this doesn't work I'm afraid I have to let someone else take this :(
Ha! It worked! Thank you very much, Togge, you're a saver! I tried in /var/tmp/portage/x11-misc/gwhere-0.2.1-r1/work/gwhere-0.2.1: # export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin then # automake am-wrapper: /usr/bin/automake-1.4 is missing or not executable. Please try emerging the correct version of automake. So I installed the missing automake-1.4 # emerge -av1 =sys-devel/automake-1.4* And it compiled! Now I just need to solve the "missing catalog plugin" problem.... ;)
Emerging automake-1.4 fixed the bug for me, gwhere-0.2.1 was able to emerge succesfully. So I think the problem is that gwhere-0.2.1 does not specifically state a build dependency on automake-1.4
As stated in comment #10 gwhere needs automake version 1.4.
gwhere removed from portage.