media-video/mplayer-1.0_rc4_p20101114 fails to compile without quicktime use flag set Reproducible: Always Steps to Reproduce: 1. USE=-quicktime emerge mplayer Actual Results: After the two massively long lines in the build log (they begin with "i686-pc-linux-gnu-gcc -o mplayer command.o" and "i686-pc-linux-gnu-gcc -o mencoder mencoder.o" respectively, and in a successful build, they are the last two lines before ">>> Source compiled.", the log concludes with: loader/module.o: In function `MODULE_GetProcAddress': module.c:(.text+0x19a): undefined reference to `report_entry' module.c:(.text+0x1a4): undefined reference to `report_ret' module.c:(.text+0x1ae): undefined reference to `wrapper_target' module.c:(.text+0x1b3): undefined reference to `wrapper' loader/module.o: In function `LoadLibraryExA': module.c:(.text+0xc5e): undefined reference to `report_entry' module.c:(.text+0xc68): undefined reference to `report_ret' module.c:(.text+0xc73): undefined reference to `wrapper_target' module.c:(.text+0xc79): undefined reference to `wrapper' collect2: ld returned 1 exit status make: *** [mencoder] Error 1 make: *** Waiting for unfinished jobs.... loader/module.o: In function `MODULE_GetProcAddress': module.c:(.text+0x19a): undefined reference to `report_entry' module.c:(.text+0x1a4): undefined reference to `report_ret' module.c:(.text+0x1ae): undefined reference to `wrapper_target' module.c:(.text+0x1b3): undefined reference to `wrapper' loader/module.o: In function `LoadLibraryExA': module.c:(.text+0xc5e): undefined reference to `report_entry' module.c:(.text+0xc68): undefined reference to `report_ret' module.c:(.text+0xc73): undefined reference to `wrapper_target' module.c:(.text+0xc79): undefined reference to `wrapper' collect2: ld returned 1 exit status make: *** [mplayer] Error 1 emake failed * ERROR: media-video/mplayer-1.0_rc4_p20101114 failed (compile phase): * died running emake, base_src_make * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2852: Called base_src_compile * environment, line 584: Called base_src_make * environment, line 622: Called die * The specific snippet of code: * emake "$@" || die "died running emake, $FUNCNAME"; * * If you need support, post the output of 'emerge --info =media-video/mplayer-1.0_rc4_p20101114', * the complete build log and the output of 'emerge -pqv =media-video/mplayer-1.0_rc4_p20101114'. * The complete build log is located at '/var/log/portage/media-video:mplayer-1.0_rc4_p20101114:20110618-154914.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer-1.0_rc4_p20101114/temp/environment'. * S: '/var/tmp/portage/media-video/mplayer-1.0_rc4_p20101114/work/mplayer-1.0_rc4_p20101114' Expected Results: To compile. After multiple failures, I did "USE=+quicktime emerge mplayer" and it compiled fine. $ emerge -p --info Portage 2.1.9.42 (default/linux/x86/10.0/desktop/kde, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.38-gentoo-r6-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.2 Timestamp of tree: Sat, 18 Jun 2011 15:00:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.36.1 sys-libs/glibc: 2.12.2 virtual/os-headers: 0 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="R X a52 aac aalib accessibility acpi additions alsa aspell ass audio audiofile berkdb bookmarks bwscheduler bzip2 cairo caps cdio cdr chm classic client consolekit cracklib crypt css cups cxx dbus device-mapper dga directfb djvu downloadorder dri dvd dvdnav dvdr encode exceptions exif expat fam fbcon ffmpeg flac fontconfig fortran gallium gcj gecko ggi gif glib glibc-omitfp gmp gphoto2 gpm gstreamer gtk handbook hardcoded-tables holidays hpn iconv idea imap imlib infowidget ipc ipfilter ipv6 jabber javascript jbig jit joystick jpeg kde lcms less libkms libwww live lm_sensors logviewer lzma mad matroska mbox mdns-bundled memlimit midi mmx mmxext mp3 mpeg mta mudflap nas ncurses net netapi network nls no-old-linux nodrm nptl nptlonly ntp ocamlopt offlinehelp ofx ogg opengl openmedia openmp oscar osdmenu pcre pdf perl pm-utils png policykit ps qt3support quotes raptor readline recursion-limit redland rss rtc rtmp scanfolder scanner sdl search sensord server shm silc smbclient smtp sndfile sound speex spell sqlite sse sse2 ssl ssse3 stats subversion svg sysfs tcpd theora threads threadsafe tiff tremor truetype udev unicode upnp urandom usb userlocales utils vcd video vorbis wav webdav-neon webinterface wps x86 xcb xinerama xml xorg xpdf-headers xv xvid yahoo zlib zrtp" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Oops. Seems I forgot this (this is with USE=-quicktime): $ emerge -pv =media-video/mplayer-1.0_rc4_p20101114 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-video/mplayer-1.0_rc4_p20101114 USE="X a52 aalib alsa ass cdio dga directfb dvd dvdnav encode fbcon ggi gif iconv ipv6 joystick jpeg live mad mmx mmxext mp3 nas network opengl osdmenu png real rtc rtmp sdl shm speex sse sse2 ssse3 theora tremor truetype unicode vorbis xinerama xv xvid -3dnow -3dnowext (-altivec) -amr (-aqua) -bidi -bindist -bl (-bluray) -bs2b -cddb -cdparanoia -cpudetection -custom-cpuopts -debug -dirac -doc -dts -dv -dvb -dxr3 -enca -esd -faac -faad -ftp -gsm -jack -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -lzo -md5sum -mng -mpg123 -nut -openal -oss -pnm -pulseaudio -pvr -quicktime* -radio -rar -samba -schroedinger -tga -toolame -twolame -v4l -v4l2 -vdpau -vidix -vpx -win32codecs -x264 -xanim -xscreensaver -xvmc -zoran" VIDEO_CARDS="-mga -s3virge -tdfx -vesa" 0 kB
Please attach full build.log
Probably fixed in upstream SVN r33756
I had done revdep-rebuild before I tested this but apparently something got missed (or something else went wrong that I don't understand). I subsequently did emerge -e world, and after that, the problem has disappeared. Wish I had saved the failed build log (just out of curiosity), but I didn't. Sorry to bother you, and thanks.
Created attachment 285857 [details] compressed log file of failed build Managed to replicate this on another machine. First of all: # revdep-rebuild -p * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing binaries and libraries broken by a package update * will be emerged. * Collecting system binaries and libraries * Generated new 1_files.rr * Collecting complete LD_LIBRARY_PATH * Generated new 2_ldpath.rr * Checking dynamic linking consistency [ 100% ] * Dynamic linking on your system is consistent... All done. USE=-quicktime emerge mplayer fails (as shown in log). USE=quicktime emerge mplayer builds fine. USE=-quicktime emerge mplayer fails again. I won't erase any more logs in case you request them. :)
should be fixed these days (at least in 1.0_rc4_p20111215)