media-sound/twolame-0.3.12 fails to compile every time. I've rebuilded flac and libsndfile. Done revdep-rebuild. Enabled vorbis, flac, twolame global flags and tested. Still the same error in compilation. Reproducible: Always Steps to Reproduce: 1. emerge -av1 media-sound/twolame Actual Results: Fails to compile. ... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build -I../build/ -I../libtwolame/ -O0 -pipe -fomit-frame-pointer -march=native -std=c99 -Wunused -Wall -MT audioin_sndfile.o -MD -MP -MF .deps/audioin_sndfile.Tpo -c -o audioin_sndfile.o audioin_sndfile.c mv -f .deps/audioin_raw.Tpo .deps/audioin_raw.Po mv -f .deps/frontend.Tpo .deps/frontend.Po mv -f .deps/audioin_sndfile.Tpo .deps/audioin_sndfile.Po /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../build/ -I../libtwolame/ -O0 -pipe -fomit-frame-pointer -march=native -std=c99 -Wunused -Wall -lsndfile -Wl,-O1 -o twolame frontend.o audioin_raw.o audioin_sndfile.o ../libtwolame/libtwolame.la -lm -lm mkdir .libs x86_64-pc-linux-gnu-gcc -I../build/ -I../libtwolame/ -O0 -pipe -fomit-frame-pointer -march=native -std=c99 -Wunused -Wall -Wl,-O1 -o .libs/twolame frontend.o audioin_raw.o audioin_sndfile.o /usr/lib64/libsndfile.so ../libtwolame/.libs/libtwolame.so -lm /usr/lib64/libsndfile.so: undefined reference to `vorbis_version_string' collect2: ld returned 1 exit status make[1]: *** [twolame] Error 1 make[1]: Leaving directory `/mnt/ebuild/working/portage/media-sound/twolame-0.3.12/work/twolame-0.3.12/frontend' make: *** [all-recursive] Error 1 ... Expected Results: To actually compile. emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 26 Aug 2009 15:30:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1, 3.1.1 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -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/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ http://cesium.di.uminho.pt/pub/gentoo/ ftp://cesium.di.uminho.pt/pub/gentoo/ ftp://ftp.dei.uc.pt/pub/linux/gentoo/ " LANG="pt_PT.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="pt en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/mnt/ebuild/working" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/roslin /usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib acl acpi administrator alsa amd64 avahi bash-completion berkdb binary-drivers bittorrent bluetooth bonjour branding bzip2 cairo cdb cdda cddax cddb cdr cdrom chm cleartype cli cmake consolekit cracklib crypt curl dbus desktopglobe dri dts dvd dvdr eds emboss encode esd eselect evo ffmpeg firefox flac fortran gdbm gentoo gif gnome google-gadgets gpm gstreamer gtk gzip hal howl-compat icc iconv ipv6 isdnlog java john joystick jpeg jpeg2k kde kde4 kqemu ldap libnotify lm_sensors-arts lzma lzo mad mdnsresponder-compat mikmod mmx mng mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nvidia ogg openal opengl openmp openssl pam pcre pdf perl phonon plasma png policykit ppds pppd pt pulseaudio python qt3 qt3support qt4 qtdesigner qtscript quicktime radio rar readline reflection reiser4 reiserfs rss samba sdl session spell spl sse sse2 sse3 ssl ssse3 startup-notification subtitles svg sysfs tcpd themes threads thumbnail thunar tiff transcode truetype unicode unzip upnp usb v4l v4l2 vcd vcdinfo vde vim vim-syntax vim-with-x vorbis webkit wifi x264 xcb xcomposite xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please attach the complete build.log
Created attachment 202613 [details] build.log
The problem was from my configuration. It seams that I somehow had some program installed a version of libsndfile.so on /usr/local/lib64, so it was trying to link with the wrong library. The thing that made me not detect was the fact that the build log keeps telling me that the problem was on /usr/lib64/libsndfile.so, and not on /usr/local/lib64/libsndfile.so. The problem was solved by removing /usr/local/lib64/libsndfile.so of course. Thanks for the time spent(if any), and sorry for the wrong bug report.