Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65190 - emerge mpeg4ip fails at idct
Summary: emerge mpeg4ip fails at idct
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-24 06:10 UTC by Grégoire Favre
Modified: 2004-11-05 16:13 UTC (History)
2 users (show)

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


Attachments
Adjusted ebuild that adds a patch for gcc-3.4, see next attachment (mpeg4ip-1.1.ebuild,1.53 KB, text/plain)
2004-10-02 11:29 UTC, Dominik Stadler (RETIRED)
Details
Patch for mpeg4ip-1.1 to compile with gcc-3.4 (mpeg4ip-1.1-gcc3.4.patch,7.92 KB, text/plain)
2004-10-02 11:30 UTC, Dominik Stadler (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grégoire Favre 2004-09-24 06:10:55 UTC
the end of emerge mpeg4ip is:
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_OBSS_ -DFGSPOSTCLIP -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Werror -O2 -pipe -march=athlon64 -DMPEG4IP -MT idct.lo -MD -MP -MF .deps/idct.Tpo -c idct.cpp  -fPIC -DPIC -o .libs/idct.o
In file included from idct.cpp:93:
idct.hpp: In member function `void idct::readin(const src*, int)':
idct.hpp:57: error: `BLOCK_SIZE' undeclared (first use this function)
idct.hpp:57: error: (Each undeclared identifier is reported only once for each function it appears in.)
idct.hpp: In member function `void idct::writeout(dest*, int)':
idct.hpp:65: error: `BLOCK_SIZE' undeclared (first use this function)
idct.hpp: In member function `void idct::clipWriteout(dest*, int)':
idct.hpp:73: error: `BLOCK_SIZE' undeclared (first use this function)
make[5]: *** [idct.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1/common/video/mpeg4-2000/idct'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1/common/video/mpeg4-2000'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1/common/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1'
make: *** [all] Error 2

!!! ERROR: media-video/mpeg4ip-1.1 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info
Portage 2.0.51_rc1 (default-linux/amd64/gcc34-2004.2, gcc-3.4.2,
glibc-2.3.4.20040808-r0, 2.6.8.1 x86_64)
=================================================================
System uname: 2.6.8.1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
http://www.gigaload.org/gentoo.org/ ftp://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm audiofile avi berkdb bitmap-fonts bonobo bzlib cdr crypt
cups curl dga dio directfb divx4linux doc dvb dvd dvdr encode esd ethereal exif
fbcon fftw flac foomaticdb gdbm gif ginac gmp gnome gpm gtk gtk2 imagemagick
imlib java jpeg libedit libg++ libwww matrox mikmod mng motif mozilla mpeg
multilib ncurses nls oggvorbis opengl oss pam pda pdflib perl png python
quicktime readline scanner sdl slang spell ssl tcltk tcpd tetex theora tiff
truetype unicode xinerama xml2 xmms xprint xv xvid zlib"

And my system is synced from today :)
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2004-10-02 04:06:04 UTC
I see the same error, this seems to be an error in the source of mpeg4ip, see at http://cvs.sourceforge.net/viewcvs.py/mpeg4ip/mpeg4ip/common/video/mpeg4-2000/idct/idct.hpp?r1=1.1&r2=1.2

After changing BLOCKSIZE to IDCT_BLOCKSIZE in the header-file, compilation continues.

I think this either requires a new version from mpeg4ip or a patch in the Gentoo Ebuild to work around this bug.
Comment 2 Dominik Stadler (RETIRED) gentoo-dev 2004-10-02 11:29:30 UTC
Created attachment 40928 [details]
Adjusted ebuild that adds a patch for gcc-3.4, see next attachment
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2004-10-02 11:30:11 UTC
Created attachment 40929 [details]
Patch for mpeg4ip-1.1 to compile with gcc-3.4

With this patch I was able to install mpeg4ip.
Comment 4 Olivier Crete (RETIRED) gentoo-dev 2004-11-05 16:13:53 UTC
thanks for the bug finding and patch.. Sorry it took me so long... but no one had assigned the bug to me....