Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145625 - emerging media-libs/libmpeg3-1.5.2 and -r1 fails
Summary: emerging media-libs/libmpeg3-1.5.2 and -r1 fails
Status: RESOLVED DUPLICATE of bug 135560
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 10:20 UTC by Stefan Kögl
Modified: 2006-08-30 12:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kögl 2006-08-30 10:20:48 UTC
emerging media-libs/libmpeg3-1.5.2 and media-libs/libmpeg3-1.5.2-r1 fails with the following error

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: Warnung: Ganzzahlkonstante ist zu gro
Comment 1 Stefan Kögl 2006-08-30 10:20:48 UTC
emerging media-libs/libmpeg3-1.5.2 and media-libs/libmpeg3-1.5.2-r1 fails with the following error

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: Warnung: Ganzzahlkonstante ist zu groß für »long«-Typ
video/output.c:212: Warnung: Ganzzahlkonstante ist zu groß für »long«-Typ
video/output.c:214: Warnung: Ganzzahlkonstante ist zu groß für »long«-Typ
video/output.c:301: Warnung: Ganzzahlkonstante ist zu groß für »long«-Typ
video/output.c:303: Warnung: Ganzzahlkonstante ist zu groß für »long«-Typ
video/output.c: In Funktion »mpeg3video_ditherframe«:
video/output.c:722: Fehler: Ungültiger L-Wert in Erhöhung
video/output.c:747: Fehler: Ungültiger L-Wert in Erhöhung
video/output.c:787: Fehler: Ungültiger L-Wert in Erhöhung
video/output.c:812: Fehler: Ungültiger L-Wert in Erhöhung
make: *** [i686/video/output.o] Fehler 1

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

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.



emerge --info
Portage 2.1.1_pre5-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3 , 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Genuine Intel(R) CPU 3.06GHz
Gentoo Base System version 1.12.4
Last Sync: Wed, 30 Aug 2006 17:00:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc1-r6
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays"
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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_EN.UTF-8"
LC_ALL="de_AT.UTF-8"
LINGUAS="de en"
MAKEOPTS="-j2"
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 X alsa apache2 apm avi bash-completion berkdb bitmap-fonts cairo cdr cli crypt cups dlloader doc dri dvd dvdr eds elibc_glibc emboss encode esd foomaticdb fortran gcj gdbm gif gnome gstreamer gtk gtk2 hal imlib input_devices_kbd input_devices_keyboard input_devices_mouse isdnlog java jikes jpeg kernel_linux libg++ libwww linguas_de linguas_en mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd tetex threads truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_fglrx video_cards_vga vorbis xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-30 10:25:37 UTC
Reopen with error messages in English. Also, try without -funroll-loops -fprefetch-loop-arrays.
Comment 3 Stefan Kögl 2006-08-30 11:40:40 UTC
error message was

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 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  libmpeg3-1.5.2.ebuild, line 59:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


removing CFLAG-options (the two mentioned by Jakub Moc, as well as all the others mentioned above) didn't solve the problem.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-30 12:27:22 UTC
Fixed in 1.5.2-r3

*** This bug has been marked as a duplicate of 135560 ***