Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186637 - media-video/mpeg4ip-1.5.0.1-r2 build fails in type_basic.cpp
Summary: media-video/mpeg4ip-1.5.0.1-r2 build fails in type_basic.cpp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Olivier Crete (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.2
  Show dependency tree
 
Reported: 2007-07-26 00:50 UTC by Paul Taylor
Modified: 2007-10-28 19:21 UTC (History)
4 users (show)

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


Attachments
Patch to allow mpeg4ip-1.5.0.1 to be compiled by GCC 4.2.0 (mpeg4ip-1.5.0.1-gcc42.patch,1.25 KB, patch)
2007-08-07 09:21 UTC, Michael Schnake
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Taylor 2007-07-26 00:50:36 UTC
# emerge mpeg4ip
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) media-video/mpeg4ip-1.5.0.1-r2 to /
 * mpeg4ip-1.5.0.1.tar.gz RMD160 ;-) ...                                  [ ok ]
 * mpeg4ip-1.5.0.1.tar.gz SHA1 ;-) ...                                    [ ok ]
 * mpeg4ip-1.5.0.1.tar.gz SHA256 ;-) ...                                  [ ok ]
 * mpeg4ip-1.5.0.1.tar.gz size ;-) ...                                    [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking mpeg4ip-1.5.0.1.tar.gz ;-) ...                                [ ok ]
>>> Unpacking source...

[snip]

 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -march=athlon64 -O2 -msse3 -mfpmath=sse -pipe -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT type_basic.lo -MD -MP -MF .deps/type_basic.Tpo -c type_basic.cpp  -fPIC -DPIC -o .libs/type_basic.o
type_basic.cpp:320: error: '<anonymous>' has incomplete type
type_basic.cpp:320: error: invalid use of 'Void'
type_basic.cpp:320: error: prototype for 'Void CMotionVector::setToZero(<type error>)' does not match any in class 'CMotionVector'
./../include/basic.hpp:441: error: candidate is: Void CMotionVector::setToZero()
type_basic.cpp:326: error: '<anonymous>' has incomplete type
type_basic.cpp:326: error: invalid use of 'Void'
type_basic.cpp:326: error: prototype for 'Void CMotionVector::scaleup(<type error>)' does not match any in class 'CMotionVector'
./../include/basic.hpp:450: error: candidate is: Void CMotionVector::scaleup()
make[6]: *** [type_basic.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -march=athlon64 -O2 -msse3 -mfpmath=sse -pipe -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT type_grayf.lo -MD -MP -MF .deps/type_grayf.Tpo -c type_grayf.cpp  -fPIC -DPIC -o .libs/type_grayf.o
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -march=athlon64 -O2 -msse3 -mfpmath=sse -pipe -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT type_grayc.lo -MD -MP -MF .deps/type_grayc.Tpo -c type_grayc.cpp  -fPIC -DPIC -o .libs/type_grayc.o
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -march=athlon64 -O2 -msse3 -mfpmath=sse -pipe -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT type_grayf.lo -MD -MP -MF .deps/type_grayf.Tpo -c type_grayf.cpp -o type_grayf.o >/dev/null 2>&1
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -march=athlon64 -O2 -msse3 -mfpmath=sse -pipe -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT type_grayc.lo -MD -MP -MF .deps/type_grayc.Tpo -c type_grayc.cpp -o type_grayc.o >/dev/null 2>&1
make[6]: Leaving directory `/var/tmp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1/common/video/iso-mpeg4/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1/common/video/iso-mpeg4'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1/common/video/iso-mpeg4'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1/common/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1'
make: *** [all] Error 2
 *
 * ERROR: media-video/mpeg4ip-1.5.0.1-r2 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   mpeg4ip-1.5.0.1-r2.ebuild, line 134:   Called die
 *
 * make failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-video/mpeg4ip-1.5.0.1-r2/temp/build.log'.
Comment 1 Paul Taylor 2007-07-26 00:50:46 UTC
Output from emerge --info:

# emerge --info
Portage 2.1.3_rc9 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 25 Jul 2007 21:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -mfpmath=sse -pipe"
CHOST="x86_64-pc-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -msse3 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_AU"
LC_ALL="en_AU"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr asf audiofile bash-completion berkdb bitmap-fonts bzip2 bzlib cairo cdparanoia cdr cdrom chroot clamav clamd cli cracklib crypt cups curl dbus dmi dpms dri dts dv dvb dvd dvdr dvdread eds emboss encode evo exif expat extrafilters fam fame fbcon ffmpeg flac foomaticdb fortran gdbm gif gimpprint glitz glut gmp gpm gps gsl gstreamer gtk hal iconv id3 idn imagemagick imap imlib ipod ipv6 isdnlog jack java jbig jpeg jpeg2k junit kde ladspa lame lcms libg++ libsamplerate lirc lm_sensors lzo mad mailwrapper midi mjpeg mmap mmx mng mp3 mp4 mp4live mpeg mpeg2 mpeg4 msn mudflap musepack musicbrainz ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp pam pcre pda pdf perl pic png pppd python qt3 qt3support qt4 quicktime readline reflection regex rle schedule sdk sdl server session slang smp sndfile speex spell spl sqlite sse sse2 ssl svg symlink tcpd test theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vim vim-syntax visualization vorbis vorbis-psy wavpack wmf xcb xcomposite xine xml xml2 xorg xpm xprint xscreensaver xv xvid xvmc yv12 zlib" ALSA_CARDS="emu10k1" 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Marios Andreopoulos 2007-07-30 12:43:53 UTC
Strange enough I get exactly the same error on my x86 machine. On my amd64 machine it compiles perfectly though.
Even more mysterious is that I get the same error when I try to compile the old stable mpeg4ip-1.4.1.
The error remains even if I don't use any USE flags and independently of optimisations (tried -O2 and -O3).


Emerge output of the x86 machine:
>>> Emerging (2 of 2) media-video/mpeg4ip-1.5.0.1-r2 to /
 * mpeg4ip-1.5.0.1.tar.gz RMD160 ;-) ...
...
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -march=pentium4 -O2 -fomit-frame-pointer -pipe -funit-at-a-time -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT tools_entropy_huffman.lo -MD -MP -MF .deps/tools_entropy_huffman.Tpo -c tools_entropy_huffman.cpp -o tools_entropy_huffman.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include   -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall  -D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -march=pentium4 -O2 -fomit-frame-pointer -pipe -funit-at-a-time -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT type_basic.lo -MD -MP -MF ".deps/type_basic.Tpo" -c -o type_basic.lo type_basic.cpp; \
        then mv -f ".deps/type_basic.Tpo" ".deps/type_basic.Plo"; else rm -f ".deps/type_basic.Tpo"; exit 1; fi
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -march=pentium4 -O2 -fomit-frame-pointer -pipe -funit-at-a-time -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT type_basic.lo -MD -MP -MF .deps/type_basic.Tpo -c type_basic.cpp  -fPIC -DPIC -o .libs/type_basic.o
type_basic.cpp:320: error: '<anonymous>' has incomplete type
type_basic.cpp:320: error: invalid use of 'Void'
type_basic.cpp:320: error: prototype for 'Void CMotionVector::setToZero(<type error>)' does not match any in class 'CMotionVector'
./../include/basic.hpp:441: error: candidate is: Void CMotionVector::setToZero()
type_basic.cpp:326: error: '<anonymous>' has incomplete type
type_basic.cpp:326: error: invalid use of 'Void'
type_basic.cpp:326: error: prototype for 'Void CMotionVector::scaleup(<type error>)' does not match any in class 'CMotionVector'
./../include/basic.hpp:450: error: candidate is: Void CMotionVector::scaleup()
make[6]: *** [type_basic.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory `/Mariospure/emergeTemp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1/common/video/iso-mpeg4/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/Mariospure/emergeTemp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1/common/video/iso-mpeg4'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/Mariospure/emergeTemp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1/common/video/iso-mpeg4'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/Mariospure/emergeTemp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1/common/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Mariospure/emergeTemp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Mariospure/emergeTemp/portage/media-video/mpeg4ip-1.5.0.1-r2/work/mpeg4ip-1.5.0.1'
make: *** [all] Error 2

!!! ERROR: media-video/mpeg4ip-1.5.0.1-r2 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  mpeg4ip-1.5.0.1-r2.ebuild, line 134:   Called die

!!! make failed
Comment 3 Marios Andreopoulos 2007-07-30 12:44:59 UTC
And x86 machine info:
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.5-r4, 2.6.20-gentoo-r6-ElectraWS i686)
=================================================================
System uname: 2.6.20-gentoo-r6-ElectraWS i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 29 Jul 2007 01:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe -funit-at-a-time"
CHOST="i686-pc-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distclean distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB el en el_GR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/bin"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/Mariospure/emergeTemp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/personal /usr/portage/local/layman/liquidx /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/pro-audio /usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/zugaina /usr/portage/local/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aiglx alsa aom apache2 asf avi bash-completion berkdb bitmap-fonts bluetooth boost browserplugin bzip2 cairo calendar cddb cdparanoia cdr cli cracklib crypt cups dbus dio divx4linux doc dri dts dv dvd dvdr dvdread eds emboss encode esd ethereal evo examples exif fam fbcon festival ffmpeg firefox flac flash fortran ftp gcj gd gdbm gif gimp gimpprint gnutls gpm gps gtk gtk2 hal icc iconv id3 ieee1394 imagemagick imlib ipv6 isdnlog jack java javascript jdbc jikes jpeg jpeg2k junit kde kdehiddenvisibility kdepim kdexdeltas kerberos kexi kipi ladspa lame lcms ldap libg++ libsamplerate lirc lm_sensors logrotate mad matroska mbox memlimit mhash midi mikmod mime ming mmx modplug mozilla mp3 mpeg mpeg2 mplayer msn mudflap musepack musicbrainz mysql mysqli nas ncurses network nfs nls nocd nptl nptlonly nsplugin nvidia obex odbc offensive ogg openexr opengl openmp pam pch pcre pdf pdflib perl php plotutils png portaudio posix pppd prelude pulseaudio python qt qt3 qt3support qt4 quicktime readline real recode reflection samba scanner sdl session slp smp smtp sndfile snmp sockets socks5 sox spell spl sql sqlite sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vhosts vorbis win32codecs wxwindows x264 x86 xattr xcomposite xine xinerama xlib xml xml2 xorg xprint xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB el en el_GR" LIRC_DEVICES="pctv" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Paul Taylor 2007-07-30 14:12:26 UTC
I should mention that I encountered the problem during an "emerge -e world" (which I do periodically, usually after a gcc update.)

Marios - can you compare your x86 and amd64 boxes' emerge --info output and see what differences there may be? (Apart from architecture, of course.)  That might give a clue as to what might be to blame (gcc?)  Thanks.
Comment 5 Marios Andreopoulos 2007-07-30 15:18:19 UTC
I've tried to make my machines as identical as possible: almost common USE flags, almost common package.keywords etc.
The main difference I guess is that the x86 system is 14 months older than the amd64.


Here is the emerge --info of the amd64 machine which emerges mpeg4ip-1.5.0.1-r2 without problems:
Portage 2.1.2.7 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.19-gentoo-r5-Hephaestus x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5-Hephaestus x86_64 AMD Sempron(tm) Processor 2800+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 30 Jul 2007 14:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe -funit-at-a-time"
CHOST="x86_64-pc-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache confcache distclean distlocks icc metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB el"
MAKEOPTS="-j2"
PKGDIR="/Installs/portagePackages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/personal /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/pro-audio /usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/portage/local/layman/zugaina /usr/portage/local/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 aom apache2 asf avi bash-completion berkdb bitmap-fonts bluetooth boost browserplugin bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus dio divx4linux doc dri dts dvd dvdr dvdread eds emboss encode esd ethereal examples exif fam fbcon ffmpeg firefox flac flash fortran ftp gcj gd gdbm gif gimp gimpprint gnutls gpm gstreamer gtk2 hal iconv id3 ieee1394 imagemagick imlib isdnlog jack java javascript jpeg jpeg2k junit kde kdeenablefinal kdehiddenvisibility kdepim kdexdeltas kexi kipi lame ldap libg++ libsamplerate lirc lm_sensors logrotate mad matroska mbox memlimit mhash midi mikmod mime ming mozilla mp3 mpeg mpeg2 mpi mplayer msn mudflap musepack musicbrainz mysql mysqli nas ncurses network nfs nls nocd nptl nptlonly nsplugin nvidia offensive ogg openexr opengl openmp pam pch pcre pda pdflib perl php plotutils png portaudio posix ppds pppd prelude pulseaudio python qt qt3 qt4 quicktime readline recode reflection samba scanner sdl session slp sndfile snmp sockets socks5 spell spl sql sqlite ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vhosts vorbis wavpack x264 xcomposite xine xlib xml xml2 xorg xprint 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB el" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 James M Leddy 2007-08-06 05:27:22 UTC
What compiler is everyone using?  I had this problem using gcc-4.2.0, but I've since downgraded to 4.1.2 and I am now able to compile.  Maybe I'll investigate and ask around on the gcc list.  For now I just downgraded for that one package, and I'm upgrading to 4.2.0 to continue my emerge -uD --newuse world.  I hoped this helped someone.
Comment 7 Michael Schnake 2007-08-07 09:21:45 UTC
Created attachment 127145 [details, diff]
Patch to allow mpeg4ip-1.5.0.1 to be compiled by GCC 4.2.0

I had the same error, and the attached patch (found at http://lists.pld-linux.org/mailman/pipermail/pld-cvs-commit/Week-of-Mon-20061211/133119.html) cures it.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2007-08-19 01:27:30 UTC
nice patch - thanks Paul. patch works for me(tm)
Comment 9 Marios Andreopoulos 2007-08-19 23:47:07 UTC
Thanx! That worked for me too.
Comment 10 Todd Partridge 2007-09-22 08:27:46 UTC
appreciate the patch
Comment 11 Patrizio Bassi 2007-10-16 18:51:21 UTC
patch works, can it be commeted to cvs please?
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2007-10-28 19:21:57 UTC
Applied to 1.5.0.1-r2.