Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364339 - media-video/gnome-mplayer-1.0.2 fails to compile with gcc-4.6
Summary: media-video/gnome-mplayer-1.0.2 fails to compile with gcc-4.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.6
  Show dependency tree
 
Reported: 2011-04-21 11:28 UTC by Billy DeVincentis
Modified: 2011-04-22 11:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,30.26 KB, text/plain)
2011-04-21 15:09 UTC, Billy DeVincentis
Details
directory for overlay (gnome-mplayer.tar.gz,3.84 KB, application/x-gzip)
2011-04-21 19:58 UTC, Billy DeVincentis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Billy DeVincentis 2011-04-21 11:28:49 UTC
Gui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -Wall -g -DGTK2_12_ENABLED -DGLIB2_14_ENABLED -DGIO_ENABLED -DHAVE_ASOUNDLIB -DHAVE_GCONF -DNOTIFY_ENABLED  -DHAVE_MUSICBRAINZ -march=native -O2 -pipe -avoid-version -shared -Wl,-O1 -Wl,--as-needed -o libgnome-mplayer-properties-page.so libgnome_mplayer_properties_page_so-nautilus_property_page.o -pthread -lnautilus-extension -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   
x86_64-pc-linux-gnu-gcc: error: unrecognized option ‘-avoid-version’
make[3]: *** [libgnome-mplayer-properties-page.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/media-video/gnome-mplayer-1.0.2/work/gnome-mplayer-1.0.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/gnome-mplayer-1.0.2/work/gnome-mplayer-1.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/gnome-mplayer-1.0.2/work/gnome-mplayer-1.0.2'
make: *** [all] Error 2
emake failed
 * ERROR: media-video/gnome-mplayer-1.0.2 failed (compile phase):
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3147:  Called gnome2_src_compile
 *   environment, line 2437:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 * 
 * If you need support, post the output of 'emerge --info =media-video/gnome-mplayer-1.0.2',
 * the complete build log and the output of 'emerge -pqv =media-video/gnome-mplayer-1.0.2'.
 * The complete build log is located at '/var/tmp/portage/media-video/gnome-mplayer-1.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/gnome-mplayer-1.0.2/temp/environment'.
 * S: '/var/tmp/portage/media-video/gnome-mplayer-1.0.2/work/gnome-mplayer-1.0.2'

>>> Failed to emerge media-video/gnome-mplayer-1.0.2, Log file:

>>>  '/var/tmp/portage/media-video/gnome-mplayer-1.0.2/temp/build.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (media-video/gnome-mplayer-1.0.2::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/media-video/gnome-mplayer-1.0.2/temp/build.log'


Reproducible: Always




Linux1 billydv # emerge --info
Portage 2.2.0_alpha30 (default/linux/amd64/10.0/desktop, gcc-4.6.0, libc-0-r0, 2.6.38-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 21 Apr 2011 07:30:01 +0000
app-shells/bash:     4.2_p8
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
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2, 4.6.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
virtual/os-headers:  0
Repositories: gentoo miscellaneous
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch preserve-libs 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"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j17 -l24"
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"
PORTDIR_OVERLAY="/usr/portage/local/miscellaneous"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib accessibility acl acpi aften alsa amd64 animate archive ares artworkextra audio audiofile avahi bash-completion beep berkdb bidi bittorrent bluetooth bookmarks branding bzip2 cairo cdda cddb cdio cdr chm cli clucene consolekit corefonts cpudetection cracklib crypt css cups curl cxx dbus declarative deprecated designer-plugin device-mapper dga directfb discouraged doc dri dts dv dvb dvd dvdnav dvdr ebook eds elisp emacs emboss emerald encode esd eselect examples exif expat extra-tools extras fam fat fax fbcon fbcondecor ffmpeg firefox flac flash fltk fontconfig foomaticdb fortran ftp fts3 fuse gcj gd gdbm gdu ggi gif gimp glep glib gnome gnutls gphoto2 gpm gstreamer gtk handbook hddtemp hfs hpcups hpijs html httpd hyperestraier iconv idn imagemagick imlib inkjar inotify ipv6 jack jadetex java jfs joystick jpeg jpeg2k kde kdrive kerberos konqueror lame lcms ldap libcaca libnotify libsamplerate lirc live lm_sensors mad mail matroska md5sum mdnsresponder-compat mikmod mime mjpeg mmx mmxext mng modules mono mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nas nautilus ncurses networking new-login nls npp nptl nptlonly nsplugin ntfs objc odbc offensive ogg openal openexr opengl openmp osdmenu pam pango pcre pdf perl plasma png policykit postgres ppds pppd ps pulseaudio python qt3support qt4 quicktime raptor rar rdesktop readline realmedia reflection regex reiser4 reiserfs reports samba sametime scanner script sdl secure-delete semantic-desktop servletapi session sip skins slang slp smbclient smp sndfile snmp sound speech speex spell sql sqlite sse sse2 ssl startup-notification static-ppds stream subversion svg swat sysfs syslog tcpd templates themes theora threads thumbnail tidy tiff timidity tk tools truetype udev unicode unsupported usb utils v4l2 vcd vdpau vdr video vlm vorbis wav wavpack weather webkit wmf x264 xattr xcb xcomposite xfs xine xml xorg xpm xscreensaver xulrunner xv xvid xvmc 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 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" 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 joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia nv vesa" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Linux1 billydv #
Comment 1 Rafał Mużyło 2011-04-21 12:47:10 UTC
Either paste full command or attach complete build log.
Comment 2 Billy DeVincentis 2011-04-21 15:09:14 UTC
Created attachment 270787 [details]
build.log
Comment 3 Rafał Mużyło 2011-04-21 18:54:05 UTC
When upstream decided several months ago to stop using libtool, they failed to clean up automake files properly.
The fix is in the upstream repository - '-avoid-version' needs to be removed from that Makefile.am
Comment 4 Billy DeVincentis 2011-04-21 19:56:05 UTC
Yes it's fixed in 1.0.3
renaming ebuild and patch work to emerge it. Attaching a folder for overlay.
Comment 5 Billy DeVincentis 2011-04-21 19:58:44 UTC
Created attachment 270809 [details]
directory for overlay
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-04-22 02:31:32 UTC
(In reply to comment #5)
> Created attachment 270809 [details]
> directory for overlay

gnome-mplayer/
gnome-mplayer/metadata.xml
gnome-mplayer/files/
gnome-mplayer/files/gnome-mplayer-1.0.3-implicit_declaration.patch
gnome-mplayer/ChangeLog
gnome-mplayer/gnome-mplayer-1.0.3.ebuild
gnome-mplayer/Manifest

What is that exactly? Why is it here? Why not attach a simple diff of everything that should change, leaving out everything that should not.
Comment 7 Billy DeVincentis 2011-04-22 11:04:26 UTC
I simply included the folder for anyone who might have gotten stuck with this issue. The ebuild was nothing more than a rename and the patch was renamed to match the new version. Although most gentoo users are capable of this there are some newbies who appreciate a simple quick fix to a problem. Removing such an attachment on your part is ARROGANT!!!
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2011-04-22 11:09:00 UTC
only correct.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2011-04-22 11:13:27 UTC
1.0.3 in tree
Comment 10 Billy DeVincentis 2011-04-22 11:16:53 UTC
Thank you!!