Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217773 - >=media-video/mplayer-1.0_rc2_p26450 fails to compile on non-x86
Summary: >=media-video/mplayer-1.0_rc2_p26450 fails to compile on non-x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 215006
  Show dependency tree
 
Reported: 2008-04-15 09:58 UTC by Jeroen Roovers (RETIRED)
Modified: 2008-05-21 05:11 UTC (History)
5 users (show)

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


Attachments
media-video:mplayer-1.0_rc2_p26450:20080415-090048.log.bz2 (20080415-090048.log.bz2,29.31 KB, application/x-bzip2)
2008-04-15 09:59 UTC, Jeroen Roovers (RETIRED)
Details
virdiq's build.log and emerge.info (virdiq_mplayer_debug.tar.bz2,29.22 KB, application/x-bzip2)
2008-04-15 13:58 UTC, virdiq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2008-04-15 09:58:41 UTC
[ebuild     U ] media-video/mplayer-1.0_rc2_p26450 [1.0_rc2_p25993] USE="X a52
aac aalib alsa amrnb amrwb arts bidi bl cddb cdparanoia cpudetection
custom-cflags dga directfb dts dv dvd enca encode esd fbcon ftp ggi gif gtk
iconv ipv6 jack jpeg libcaca live lzo mad mp3 musepack nas opengl oss png
pulseaudio rtc samba sdl speex tga theora truetype unicode v4l v4l2 vidix
vorbis xanim xscreensaver xv xvid xvmc (-3dnow) (-3dnowext) (-altivec) -bindist
-cdio -debug -doc -dvb -joystick -ladspa (-lirc) -md5sum (-mmx) (-mmxext) -mp2
-nemesi (-openal) -pnm -quicktime -radio -rar (-real) -srt (-sse) (-sse2)
(-ssse3) (-svga) -teletext -tivo (-win32codecs) (-x264) -xinerama -zoran
(-livecd%)" VIDEO_CARDS="(-mga) (-s3virge) (-tdfx) (-vesa)" 0 kB [1]

Portage 2.1.5_rc3 (default-linux/hppa/2007.0, gcc-4.1.2, glibc-2.7-r2, 2.6.24-gentoo-r4-JeR parisc)
=================================================================
System uname: 2.6.24-gentoo-r4-JeR parisc PA8700 (PCX-W2)
Timestamp of tree: Tue, 15 Apr 2008 04:45:02 +0000
distcc 2.18.3 hppa2.0-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="hppa"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distlocks fixpackages notitles parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en nl he"
MAKEOPTS="-j4"
PKGDIR="/keeps/gentoo/packages/elmer"
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/alt/portage-tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility ads alsa amr amrnb amrwb ao aoss apache2 ares arts asf async asyncns audiofile audit automount avfs bash-completion berkdb bidi bittorrent bl bluetooth bzip2 c++ cairo caps catalogs cblas cdb cddb cdparanoia cdr chardet cjk cli cpudetection cracklib crypt cups curl custom-cflags dbtool dbus device-mapper dga dia directfb djbfft domainkeys dts dv dvd dvdr dvdread dxr3 edl elf emacs enca encode esd examples exif expat fam fame fastbuild fastcgi fbcon ffmpeg filter flac fontconfig foomaticdb fortran ftp gadu galago gd gdbm geoip ggi gif gimp gimpprint glep glib glut gmp gnome gnutls gphoto2 gpm gs gsl gtk gtk2 gtkhtml hal hesiod hppa ical icecast iconv idea idn imagemagick imlib immqt-bc inquisitio ipv6 isdnlog jack javascript jingle jpeg jpeg2k kde kerberos lapack lcms ldap leim libcaca libnotify libsamplerate libwww live logrotate logwatch lua lzo mad matroska memcache mhash midi mikmod mmap mng modplug motif mozbranding mp3 mpi mssql mudflap musepack mysql nas ncurses netpbm network-cron nfconntrack nfs nls nntp nptl nptlonly nsplugin offensive ogg openexr opengl openmp oss ots overlays pam pango pbs pch pcre pdf pdo-external perl php pic plotutils plugins png portage portaudio postgres povray ppds pppd pulseaudio python pyzord qdbm qt3 qt3support quotas raw readline recode reflection rpc rrdtool rtc ruby samba sasl scanner scim sdl seamonkey server session sid slang slp sms sndfile snmp soundex speex spell spl sqlite ssl startup-notification suhosin svg swat sysfs syslog talkfilters tcl tcpd test tga theora threads thunar-vfs tidy tiff timidity tk tools truetype twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vanim vcd vidix vim-syntax vorbis wavpack webdav webinstall winbind wlan wma wmf xanim xattr xchattext xcomposite xface xml xml2 xmpi xorg xpm xrandr xscreensaver xsettings xulrunner xv xvid xvmc zip zip-external zlib" ALSA_CARDS="ad1889 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" USERLAND="GNU" VIDEO_CARDS="stifb fbdev matrox"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-15 09:59:46 UTC
Created attachment 149783 [details]
media-video:mplayer-1.0_rc2_p26450:20080415-090048.log.bz2

Build log for HPPA
Comment 2 virdiq 2008-04-15 13:54:30 UTC
I've got a different compilation error with media-video/mplayer-1.0_rc2_p26450 than what is described here.

Build log and emerge --info output is attached.
Comment 3 virdiq 2008-04-15 13:58:31 UTC
Created attachment 149808 [details]
virdiq's build.log and emerge.info
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-15 15:40:41 UTC
(In reply to comment #2)
> I've got a different compilation error with media-video/mplayer-1.0_rc2_p26450
> than what is described here.

Then why didn't you file a new bug report?

> Build log and emerge --info output is attached.

Your build appears to be ignoring your sane CFLAGS of "-march=native -O2 -pipe" and uses "-O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer" instead.
Comment 5 Randall Wald 2008-04-15 20:53:56 UTC
I have the same problem as virdiq; I've opened a new bug at http://bugs.gentoo.org/show_bug.cgi?id=217858
Comment 6 Steve Dibb (RETIRED) gentoo-dev 2008-04-16 19:00:45 UTC
Can someone on non-x86 try out media-video/mplayer-1.0_rc2_p26454 for me
Comment 7 Markus Rothe (RETIRED) gentoo-dev 2008-04-16 19:44:15 UTC
still failing the same way (PowerPC64)
Comment 8 virdiq 2008-04-16 22:36:13 UTC
What happens if you disable the cpudetection USE flag before compiling mplayer?
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-17 03:07:39 UTC
(In reply to comment #7)
> still failing the same way (PowerPC64)

Same for HPPA.

(In reply to comment #8)
> What happens if you disable the cpudetection USE flag before compiling mplayer?

Fails exactly the same way.
Comment 10 Steve Dibb (RETIRED) gentoo-dev 2008-04-17 04:01:02 UTC
(In reply to comment #7)
> still failing the same way (PowerPC64)
> 

Alright, third time's the charm, try this:

 mplayer-1.0_rc2_p26454-r2
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-17 04:41:42 UTC
(In reply to comment #10)
> Alright, third time's the charm, try this:
> 
>  mplayer-1.0_rc2_p26454-r2

It builds and runs on HPPA:

                                                                               -[ebuild   R   ] media-video/mplayer-1.0_rc2_p26454-r2  USE="X a52 aac aalib alsa amrnb amrwb arts bidi bl cddb cdparanoia cpudetection custom-cflags dga directfb dts dv dvd enca encode esd fbcon ftp ggi gif gtk iconv ipv6 jack jpeg libcaca live lzo mad mp3 musepack nas opengl oss png pulseaudio rtc samba sdl speex tga theora truetype unicode v4l v4l2 vidix vorbis xanim xscreensaver xv xvid xvmc (-3dnow) (-3dnowext) (-altivec) -bindist -cdio -debug -doc -dvb -joystick -ladspa (-lirc) -md5sum (-mmx) (-mmxext) -mp2 -nemesi (-openal) -pnm -quicktime -radio -rar (-real) -srt (-sse) (-sse2) (-ssse3) (-svga) -teletext -tivo (-win32codecs) (-x264) -xinerama -zoran" VIDEO_CARDS="(-mga) (-s3virge) (-tdfx) (-vesa)" 0 kB [1]
Comment 12 Markus Rothe (RETIRED) gentoo-dev 2008-04-17 06:18:32 UTC
this version either did not reach the code failing last revision or failed afterwards:


cpu_state.c: In function 'mpeg2_cpu_state_init':
cpu_state.c:129: error: 'state_save_altivec' undeclared (first use in this function)
cpu_state.c:129: error: (Each undeclared identifier is reported only once
cpu_state.c:129: error: for each function it appears in.)
cpu_state.c:130: error: 'state_restore_altivec' undeclared (first use in this function)


it shouldn't use altivec on this machine at all (old power3 without altivec support):


[ebuild  N    ] media-video/mplayer-1.0_rc2_p26454-r2  USE="X a52 alsa dvd encode esd gif gtk iconv ipv6 jpeg mad mp3 opengl png quicktime sdl theora truetype unicode vorbis xscreensaver xv (-3dnow) (-3dnowext) -aac -aalib -altivec -amrnb -amrwb -arts -bidi -bindist -bl -cddb -cdio -cdparanoia -cpudetection -custom-cflags -debug -dga (-directfb) -doc -dts -dv (-dvb) -enca -fbcon -ftp -ggi -jack -joystick -ladspa -libcaca -lirc -live -lzo -md5sum (-mmx) (-mmxext) -mp2 -musepack -nas -nemesi -openal -oss -pnm -pulseaudio -radio (-rar) (-real) -rtc -samba -speex -srt (-sse) (-sse2) (-ssse3) (-svga) -teletext -tga -tivo -v4l -v4l2 -vidix (-win32codecs) -x264 -xanim -xinerama -xvid (-xvmc) -zoran" VIDEO_CARDS="mga (-s3virge) (-tdfx) (-vesa)"
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-21 15:57:35 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > Alright, third time's the charm, try this:
> > 
> >  mplayer-1.0_rc2_p26454-r2
> 
> It builds and runs on HPPA:

Barring regressions, this ought to do it for HPPA.
Comment 14 Steve Dibb (RETIRED) gentoo-dev 2008-05-21 05:11:48 UTC
ppc, sparc should both build now with mplayer-1.0_rc2_p26753-r1