emerge media-libs/tunepimp-0.5.3 fails while at configure stage: checking for compress in -lz... yes checking for XML_ExpatVersion in -lexpat... yes checking for curl_global_init in -lcurl... yes checking for ofa_get_version in -lofa... no * * The Open Fingerprint Architecture library library needs * to be installed. Please download the library from * http://www.musicdns.org/downloads * configure: error: "Cannot build. Stop." !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/media-libs/tunepimp-0.5.3/work/libtunepimp-0.5.3/config.log * * ERROR: media-libs/tunepimp-0.5.3 failed. * Call stack: * ebuild.sh, line 1648: Called dyn_compile * ebuild.sh, line 988: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * tunepimp-0.5.3.ebuild, line 48: Called econf * ebuild.sh, line 591: Called die * * econf failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/tunepimp-0.5.3/temp/build.log'. * I have tried reemerging media-libs/libofa, but the result is the same. Reproducible: Always Steps to Reproduce: 1.run 'sudo emerge media-libs/tunepimp' 2. 3. Actual Results: Econf fails Expected Results: Econf succeeds My emerge --info: Portage 2.1.3_rc9 (default-linux/amd64/2006.1, gcc-4.2.0, glibc-2.6-r0, 2.6.20-gentoo x86_64) ================================================================= System uname: 2.6.20-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ Gentoo Base System release 1.12.10 Timestamp of tree: Mon, 23 Jul 2007 01:30:01 +0000 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/conf.d /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/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 arts bash-completion berkdb bitmap-fonts boundschecking cli cracklib crypt cups dbus doc dri fortran gdbm gpm iconv ipv6 isdnlog jpeg kde libg++ midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl png ppds pppd python qt4 readline reflection session source spl ssl startup-notification tcpd threads truetype truetype-fonts type1-fonts unicode xinerama xorg zlib" ALSA_CARDS="hda-intel" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 125943 [details] Complete emerge build log
Created attachment 125944 [details] Complete configure log.
How did you emerge tunepimp? The ebuild has libofa as both DEPEND and RDEPEND. Please post the output of qlist -Iv libofa, eix libofa or emerge -pv libofa.
Mixing gcc versions won't fly. <snip> /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../lib64/libofa.so: undefined reference to `__cxa_free_exception@CXXABI_1.3' /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../lib64/libofa.so: undefined reference to `__cxa_begin_catch@CXXABI_1.3' /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../lib64/libofa.so: undefined reference to `std::terminate()@GLIBCXX_3.4' /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../lib64/libofa.so: undefined reference to `std::__throw_bad_alloc()@GLIBCXX_3.4' /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../lib64/libofa.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4' </snip> *** This bug has been marked as a duplicate of bug 64615 ***
From the configure log: <snip> configure:20328: x86_64-pc-linux-gnu-gcc -o conftest -march=athlon64 -O2 -pipe -msse3 -Wall -O2 -Wall -O2 -Wl,-O1 conftest.c -lofa -Wl,-O1 -lexpat -lcurl >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../lib64/libofa.so, not found (try using -rpath or -rpath-link) </snip> So I added a symlink to libstdc++.so.6 in /usr/lib64 ln -s /usr/lib64/gcc/x86_64-pc-linux-gnu/4.2.0/libstdc++.so.6 libstdc++.so.6 Solved.