Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337454 - media-libs/libmpeg2-0.5.1 build fails with "AltiVec argument passed to unprototyped function"
Summary: media-libs/libmpeg2-0.5.1 build fails with "AltiVec argument passed to unprot...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High critical (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-15 08:22 UTC by Wouter Vanwalleghem
Modified: 2010-09-17 09:45 UTC (History)
0 users

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


Attachments
/var/tmp/portage/media-libs/libmpeg2-0.5.1/temp/build.log (build.log,56.76 KB, text/plain)
2010-09-15 08:23 UTC, Wouter Vanwalleghem
Details
/var/tmp/portage/media-libs/libmpeg2-0.5.1/temp/environment (environment,95.56 KB, text/plain)
2010-09-15 08:28 UTC, Wouter Vanwalleghem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wouter Vanwalleghem 2010-09-15 08:22:29 UTC
emerge of media-libs/libmpeg2-0.5.1 fails:

motion_comp_altivec.c:1004: error: AltiVec argument passed to unprototyped function
motion_comp_altivec.c:1005: error: AltiVec argument passed to unprototyped function
make[2]: *** [libmpeg2arch_la-motion_comp_altivec.lo] Error 1


Reproducible: Always

Steps to Reproduce:
1. emerge -v libmpeg2
2. watch compile fail




emerge --info =media-libs/libmpeg2-0.5.1
Portage 2.1.8.3 (default/linux/powerpc/ppc32/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 ppc)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-ppc-7447A,_altivec_supported-with-gentoo-1.12.13
Timestamp of tree: Tue, 14 Sep 2010 18:15:02 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://de-mirror.org/distro/gentoo/ http://gentoo.virginmedia.com/ http://gentoo.wheel.sk/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl en_GB en_US es_ES"
MAKEOPTS="-j2"
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.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa automount bash-completion berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups curl cxx dbus dri dts dvb dvd dvdr eds emboss encode esd evo exif faac faad fam ffmpeg firefox flac fontconfig fpx fuse gdbm gdu gif gimp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk hal hdri iconv ieee1394 ipv6 jadetex jbig jpeg jpeg2k lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap mythtv nautilus ncurses nls nptl nptlonly nptonly ogg openexr opengl openmp oss pam pango pcre pdf perl png policykit postgres ppc ppds pppd pulseaudio python q32 q8 qt3support qt4 raw readline reflection ruby samba sdl semantic-desktop session smp spell ssl startup-notification svg sysfs tcpd theora threads tiff timezone truetype unicode usb v4l v4l2 vim-pager vim-with-x vorbis webkit wmf x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl en_GB en_US es_ES" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

emerge -pqv =media-libs/libmpeg2-0.5.1
[ebuild  N    ] media-libs/libmpeg2-0.5.1  USE="X sdl"
Comment 1 Wouter Vanwalleghem 2010-09-15 08:23:37 UTC
Created attachment 247430 [details]
/var/tmp/portage/media-libs/libmpeg2-0.5.1/temp/build.log
Comment 2 Wouter Vanwalleghem 2010-09-15 08:28:06 UTC
Created attachment 247432 [details]
/var/tmp/portage/media-libs/libmpeg2-0.5.1/temp/environment
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-09-15 08:33:15 UTC
has nothing to do with gnome...
Comment 4 Wouter Vanwalleghem 2010-09-17 09:45:33 UTC
using the still unstable media-libs/libmpeg2-0.5.1-r1 (by putting ~ppc into /etc/portage/package.keywords) is a work-around as this unstable version has an altivec patch that fixes the problem