Whether trying to update world, or emerging madplay separately, the compile always fails. I'm getting the following error soon after the process beings: mkdir .libs gcc -Wall -pipe -march=athlon-tbird -O3 -fomit-frame-pointer -o madplay madplay.o getopt.o getopt1.o version.o resample.o filter.o xing.o player.o audio.o audio_aiff.o audio_cdda.o audio_hex.o audio_null.o audio_raw.o audio_snd.o audio_wave.o audio_esd.o audio_oss.o /usr/lib/libesd.so -L/usr/lib /usr/lib/libaudiofile.so /usr/lib/libasound.so -ldl -lpthread /usr/lib/libmad.so /usr/lib/libid3tag.so -lz -lm resample.o(.text+0x1a4): In function `resample_init': : undefined reference to `mad_f_div' collect2: ld returned 1 exit status distcc[6338] ERROR: compile on localhost failed make[2]: *** [madplay] Error 1 make[2]: Leaving directory `/var/tmp/portage/madplay-0.15.0b-r1/work/madplay-0.15.0b' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/madplay-0.15.0b-r1/work/madplay-0.15.0b' make: *** [all] Error 2 !!! ERROR: media-sound/madplay-0.15.0b-r1 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! make failed I'm not sure what the problem is, but I've tried re-emerging libid3tag and id3lib, I saw there was a problem with autoconf, so I tried re-emerging it, and something involving ldconfig (which I ran prior to the emerge.) Reproducible: Always Steps to Reproduce: 1. emerge madplay 2. 3. Actual Results: madplay fails to compile Expected Results: madplay should compile and install Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23) ================================================================= System uname: 2.4.23 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.13 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1 /share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.noved.org/ http://128.213.5.34/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa cdr crypt cups dvd esd foomaticdb framebuffer gdbm gif gpm gtk gtk2 imap imlib java jpeg libg++ libwww mmx mozilla ncurses oggvorbis opengl oss pam perl png python qt qtmt readline sdl spell ssl tcltk tcpd truetype video_cards_radeon x86 xml2 xmms xv zlib"
Taken from bug 35512 ... -- quote -- re-emerging any soundlibs (esd, asound, alsa) and re-emerging libmad and libid3tag did the trick for me. (For most people re-emerging libmad and libid3tag should be enough.) I think. -- end quote -- This also worked for me; using the following command: # emerge libmad libid3tag madplay
what versions of those libs were installed before you re-emerged them, and what versions were installed by your emerge?
I tried Douglas' suggestion in comment #1, and it worked. Before I tried that trick all the libs and packages required were up to date.
$ ACCEPT_KEYWORDS=~x86 emerge -pv mad xmms-mad Well the emerge order seems right to me: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-libs/libid3tag-0.15.1b [0.15.0b] -debug 330 kB [ebuild U ] media-libs/libmad-0.15.1b [0.15.0b-r1] -debug 490 kB [ebuild U ] media-sound/madplay-0.15.1b [0.15.0b-r1] -debug +nls 575 kB [ebuild U ] media-sound/mad-0.15.1b [0.15.0b] [empty/missing/bad digest] and it compiled fine... I'm hoping your case was isolated, but if you figure out how to reproduce it, please let me know.