When I try to 'emerge beep-media-player' it fails: x86_64-pc-linux-gnu-gcc -O3 -march=athlon64 -pipe -ftracer -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops -o .libs/beep beep-skin.o beep-util.o beep-output.o beep-fft.o beep-input.o beep-effect.o beep-general.o beep-visualization.o beep-fullscreen.o beep-pluginenum.o beep-playlist.o beep-controlsocket.o beep-dock.o beep-widget.o beep-sbutton.o beep-pbutton.o beep-tbutton.o beep-textbox.o beep-menurow.o beep-hslider.o beep-monostereo.o beep-vis.o beep-svis.o beep-number.o beep-playback.o beep-playstatus.o beep-playlist_list.o beep-playlist_slider.o beep-playlist_popup.o beep-eq_graph.o beep-eq_slider.o beep-main.o beep-logger.o beep-xml_document.o beep-mainwin.o beep-skinwin.o beep-prefswin.o beep-playlistwin.o beep-equalizer.o beep-glade.o beep-hints.o beep-about.o beep-softvolume.o beep-getopt.o beep-getopt1.o beep-urldecode.o beep-mkdtemp.o beep-iir.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -Wl,--export-dynamic -lSM -lICE -lX11 -L//usr/lib /usr/lib/libglade-2.0.so /usr/lib/libxml2.so -lz ../libbeep/.libs/libbeep.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/libgthread-2.0.so -lpthread /usr/lib/libpango-1.0.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib /usr/lib/libglade-2.0.so: undefined reference to `g_return_if_fail_warning' collect2: ld returned 1 exit status make[4]: *** [beep] Error 1 make[4]: Leaving directory `/var/tmp/portage/beep-media-player-0.9.7-r2/work/bmp-0.9.7/beep' Reproducible: Didn't try Steps to Reproduce: 1.'emerge beep-media-player' 2. 3. Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r 0, 2.6.9-gentoo-r14 x86_64) ================================================================= System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 15 2005, 09:09:35) ] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.9.4, 1.7.9-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon64 -pipe -ftracer" 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/shar e/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/sh are/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/tex mf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon64 -pipe -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.snt.utwente. nl/pub/os/linux/gentoo http://mirror.pudas.net/gentoo http://linux.rz.ruhr-uni-b ochum.de/download/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups curl esd f77 fam font- server foomaticdb fortran gif gpm gtk imagemagick imlib jabber java jp2 jpeg lib www lzw lzw-tiff mad motif mp3 msn ncurses network nls ogg oggvorbis opengl oss pam perl png ppds python qt readline sdl ssl tcltk tcpd tetex tiff truetype true type-fonts type1-fonts usb userlocales xinerama xml xml2 xmms xpm xrandr xv zlib " Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
The problem appears to be in libglade, which is a dependency of beep-media-player, an undefined reference is found in the linking stage. Could you try running revdep-rebuild? This should pick up the failure and fix it for you automatically. If you don't have revdep-rebuild on your system yet, emerge gentoolkit.
revdep-rebuild didn't do anything other than reemerge static apps, e.g. opera-static (is that a bug?). b-m-p still fails to build.
Okay, could you remerge libglade manually in this case?
Remerging libglade fixed the problem. Thanks.