Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 135560

Summary: media-libs/libmpeg3-1.5.2 fails to build with gcc-4.1.1
Product: Gentoo Linux Reporter: Vasilis Lourdas <bugs>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: johnb, koeglstefan
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vasilis Lourdas 2006-06-04 13:44:31 UTC
Error:
mpeg3title.c:85: warning: incompatible implicit declaration of built-in function 
Comment 1 Vasilis Lourdas 2006-06-04 13:44:31 UTC
Error:
mpeg3title.c:85: warning: incompatible implicit declaration of built-in function memcpy
gcc -c `cat i686/c_flags`  mpeg3vtrack.c -o i686/mpeg3vtrack.o
gcc -c `cat i686/c_flags`  video/getpicture.c -o i686/video/getpicture.o
gcc -c `cat i686/c_flags`  video/headers.c -o i686/video/headers.o
gcc -c `cat i686/c_flags`  video/idct.c -o i686/video/idct.o
gcc -c `cat i686/c_flags`  video/macroblocks.c -o i686/video/macroblocks.o
gcc -c `cat i686/c_flags`  video/mmxtest.c -o i686/video/mmxtest.o
gcc -c `cat i686/c_flags`  video/motion.c -o i686/video/motion.o
gcc -c `cat i686/c_flags`  video/mpeg3video.c -o i686/video/mpeg3video.o
gcc -c `cat i686/c_flags`  video/output.c -o i686/video/output.o
video/output.c:210: warning: integer constant is too large for long type
video/output.c:212: warning: integer constant is too large for long type
video/output.c:214: warning: integer constant is too large for long type
video/output.c:301: warning: integer constant is too large for long type
video/output.c:303: warning: integer constant is too large for long type
video/output.c: In function mpeg3video_ditherframe:
video/output.c:722: error: invalid lvalue in increment
video/output.c:747: error: invalid lvalue in increment
video/output.c:787: error: invalid lvalue in increment
video/output.c:812: error: invalid lvalue in increment
make: *** [i686/video/output.o] Error 1

!!! ERROR: media-libs/libmpeg3-1.5.2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  libmpeg3-1.5.2.ebuild, line 59:   Called die

emerge --info:
Portage 2.1_rc4 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.math.bme.hu http://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://mirror.isp.net.au/pub/gentoo/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 acl acpi alsa apache2 apm arts artswrappersuid asf avi bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib cairo caps cdr chm cli crypt css ctype cups curl dba dbus dlloader dmi doc dri dts dvd dvdr dvdread eds effects emboss encode esd examples exif expat fam fbcon ffmpeg firefox flac flatfile foomaticdb fortran ftp gd gdbm gif gimp gimpprint glx gmp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 hal hddtemp howl iconv imagemagick imap imlib innodb isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal ldap libg++ libsamplerate libwww lm_sensors mad maildir mailwrapper mhash mikmod mime mmx mmxext motif mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mysql mysqli ncurses nls nodrm nomalloccheck nptl nptlonly nsplugin nvidia objc odbc offensive ogg opengl pam pcntl pcre pdf pdflib pear perl php pic plugin png posix postgres postgresi ppds pppd python qt quicktime rar rdesktop readline recode reflection ruby samba sasl scanner sdl server session slang sndfile soap sockets speex spell spl spreadsheet sqlite sse ssl subtitles subversion svga symlink tcltk tcpd tetex threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vda visualization vorbis win32codecs wmf wv wxgtk1 xine xml xmlreader xmlrpc xmlwriter xmms xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2006-06-04 13:47:52 UTC
libmpeg3-1.5.2-r3 has fix for this, just use newer version..
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-04 13:49:18 UTC
See above, reopen if it still doesn't compile.
Comment 4 Vasilis Lourdas 2006-06-04 13:58:30 UTC
Thank you, newer version works fine.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-30 12:27:22 UTC
*** Bug 145625 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-10-21 00:28:31 UTC
*** Bug 152176 has been marked as a duplicate of this bug. ***