Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25574 - can't emerge media-libs/quicktime4linux-1.6.2 - error in libdv/audio.o
Summary: can't emerge media-libs/quicktime4linux-1.6.2 - error in libdv/audio.o
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 30209 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-30 06:29 UTC by Tristan Henderson
Modified: 2003-10-03 07:57 UTC (History)
1 user (show)

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 Tristan Henderson 2003-07-30 06:29:36 UTC
I can't emerge media-libs/quicktime4linux-1.6.2 on a gentoo-1.2 system:

>>> Unpacking quicktime4linux-1.6.2-src.tar.bz2 to /var/tmp/portage/quicktime4linux-1.6.2/work
 * Applying 1.6.2-gentoo-libmpeg3.patch...                                                                            [ ok ]
 * Applying 1.6.2-gentoo-sharedlib.patch...                                                                           [ ok ]
>>> Source unpacked.
if ! test -d i686/jpeg-mmx-0.1.4 ; then mkdir -p i686/jpeg-mmx-0.1.4 ; fi
if ! test -d i686/libraw1394/src ; then mkdir -p i686/libraw1394/src ; fi
if ! test -d i686/libogg-1.0/src ; then mkdir -p i686/libogg-1.0/src ; fi
if ! test -d i686/libvorbis-1.0/lib ; then mkdir -p i686/libvorbis-1.0/lib ; fi
if ! test -d i686/ffmpeg-0.4.6 ; then mkdir -p i686/ffmpeg-0.4.6 ; fi
if ! test -d i686/ffmpeg-0.4.6/libavcodec ; then mkdir -p i686/ffmpeg-0.4.6/libavcodec ; fi
if ! test -d i686/ffmpeg-0.4.6/libavcodec/i386 ; then mkdir -p i686/ffmpeg-0.4.6/libavcodec/i386 ; fi
if ! test -d i686/ffmpeg-0.4.6/libavcodec/liba52 ; then mkdir -p i686/ffmpeg-0.4.6/libavcodec/liba52 ; 
fi
if ! test -d i686/ffmpeg-0.4.6/libavcodec/mpglib ; then mkdir -p i686/ffmpeg-0.4.6/libavcodec/mpglib ; 
fi
if ! test -d i686/ffmpeg-0.4.6/libavformat ; then mkdir -p i686/ffmpeg-0.4.6/libavformat ; fi
if ! test -d i686/lame-3.92/libmp3lame ; then mkdir -p i686/lame-3.92/libmp3lame ; fi
if ! test -d i686/libdv-0.98/libdv ; then mkdir -p i686/libdv-0.98/libdv ; fi
if ! test -d i686/decore50/intel_mmx/postprocess ; then mkdir -p 
i686/decore50/intel_mmx/postprocess ; fi
if ! test -d i686/encore50 ; then mkdir -p i686/encore50 ; fi
if ! test -d i686/encore50/att_mmx ; then mkdir -p i686/encore50/att_mmx ; fi
if ! test -d i686/encore50/colorspace ; then mkdir -p i686/encore50/colorspace ; fi
if ! test -d i686/encore50/colorspace/intel_mmx ; then mkdir -p i686/encore50/colorspace/intel_mmx 
; fi
if ! test -d i686/encore50/intel_mmx ; then mkdir -p i686/encore50/intel_mmx ; fi
if ! test -d i686/encore50/mbcoding ; then mkdir -p i686/encore50/mbcoding ; fi
if ! test -d i686/encore50/mbmotionestcomp ; then mkdir -p i686/encore50/mbmotionestcomp ; fi
if ! test -d i686/encore50/mbmotionestcomp/intel_mmx ; then mkdir -p 
i686/encore50/mbmotionestcomp/intel_mmx ; fi
if ! test -d i686/encore50/mbprediction ; then mkdir -p i686/encore50/mbprediction ; fi
if ! test -d i686/encore50/mbtransquant ; then mkdir -p i686/encore50/mbtransquant ; fi
if ! test -d i686/encore50/mbtransquant/intel_mmx ; then mkdir -p 
i686/encore50/mbtransquant/intel_mmx ; fi
gcc -c `cat i686/libraw_cflags`  libraw1394/src/errors.c -o i686/libraw1394/src/errors.o
gcc -c `cat i686/libraw_cflags`  libraw1394/src/eventloop.c -o i686/libraw1394/src/eventloop.o
gcc -c `cat i686/libraw_cflags`  libraw1394/src/fcp.c -o i686/libraw1394/src/fcp.o
gcc -c `cat i686/libraw_cflags`  libraw1394/src/iso.c -o i686/libraw1394/src/iso.o
gcc -c `cat i686/libraw_cflags`  libraw1394/src/main.c -o i686/libraw1394/src/main.o
gcc -c `cat i686/libraw_cflags`  libraw1394/src/readwrite.c -o i686/libraw1394/src/readwrite.o
gcc -c `cat i686/c_flags`  libdv-0.98/libdv/audio.c -o i686/libdv-0.98/libdv/audio.o
gcc -c `cat i686/c_flags`  libdv-0.98/libdv/bitstream.c -o i686/libdv-0.98/libdv/bitstream.o
gcc -c `cat i686/c_flags`  libdv-0.98/libdv/dct.c -o i686/libdv-0.98/libdv/dct.o
cpp0: output pipe has been closed
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
gcc: Internal compiler error: program cc1 got fatal signal 11
make: *** [i686/libdv-0.98/libdv/audio.o] Error 1
make: *** Waiting for unfinished jobs....
{standard input}:560: Error: expecting operand after ','; got nothing

!!! ERROR: media-libs/quicktime4linux-1.6.2 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)

Same error if I use CFLAGS="-O2" - it appears this package uses its own CFLAGS anyway. I don't 
think it's a hardware problem - memtest86 shows no problems and the error consistently appears 
in the same place (libdv/audio.o) every time. So I guess that it is probably a gcc-2.9.5 bug?

palmer / # emerge info
Portage 2.0.48-r7 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8)
==============================================================
===
System uname: 2.4.21 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 apm avi crypt cups encode libg++ mmx mpeg ncurses pdflib quicktime spell truetype 
xml2 xmms xv berkdb esd gdbm gif gnome-libs gpm gtk imlib java libwww motif oggvorbis pam 
python readline sdl snmp ssl svga tcpd -3dnow alsa apache2 -arts bonobo cdr curses dga dvd 
emacs ethereal evo fbcon gnome gtk2 gtkhtml guile jpeg -kde lcms -lirc -mikmod -moznoxft mysql 
nas -nls odbc -opengl oss pcmcia pda perl pic plotutils png pnp -qt -qtmt samba -slang smooth tcltk 
tetex tiff trusted usb vim-with-x xml X zlib"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe"
CXXFLAGS="-mcpu=i686 -march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
FEATURES="ccache digest sandbox strict"
Comment 1 John Youells 2003-07-30 17:22:54 UTC
The same error occurs here on an i586 (k6-III+) and gcc2.95.3 and I have libdv 0.99 installed... 

CX686 root # emerge quicktime4linux
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/quicktime4linux-1.6.2 to /
>>> md5 src_uri ;-) quicktime4linux-1.6.2-src.tar.bz2
>>> Unpacking source...
>>> Unpacking quicktime4linux-1.6.2-src.tar.bz2 to /var/tmp/portage/quicktime4linux-1.6.2/work
 * Applying 1.6.2-gentoo-libmpeg3.patch...                                [ ok ] * Applying 1.6.2-gentoo-sharedlib.patch...                               [ ok ]>>> Source unpacked.
if ! test -d i586/jpeg ; then mkdir -p i586/jpeg ; fi
if ! test -d i586/libraw1394/src ; then mkdir -p i586/libraw1394/src ; fi
if ! test -d i586/libogg-1.0/src ; then mkdir -p i586/libogg-1.0/src ; fi
if ! test -d i586/libvorbis-1.0/lib ; then mkdir -p i586/libvorbis-1.0/lib ; fi
if ! test -d i586/ffmpeg-0.4.6 ; then mkdir -p i586/ffmpeg-0.4.6 ; fi
if ! test -d i586/ffmpeg-0.4.6/libavcodec ; then mkdir -p i586/ffmpeg-0.4.6/libavcodec ; fi
if ! test -d i586/ffmpeg-0.4.6/libavcodec/i386 ; then mkdir -p i586/ffmpeg-0.4.6/libavcodec/i386 ; fi
if ! test -d i586/ffmpeg-0.4.6/libavcodec/liba52 ; then mkdir -p i586/ffmpeg-0.4.6/libavcodec/liba52 ; fi
if ! test -d i586/ffmpeg-0.4.6/libavcodec/mpglib ; then mkdir -p i586/ffmpeg-0.4.6/libavcodec/mpglib ; fi
if ! test -d i586/ffmpeg-0.4.6/libavformat ; then mkdir -p i586/ffmpeg-0.4.6/libavformat ; fi
if ! test -d i586/lame-3.92/libmp3lame ; then mkdir -p i586/lame-3.92/libmp3lame ; fi
if ! test -d i586/libdv-0.98/libdv ; then mkdir -p i586/libdv-0.98/libdv ; fi
if ! test -d i586/decore50/intel_mmx/postprocess ; then mkdir -p i586/decore50/intel_mmx/postprocess ; fi
if ! test -d i586/encore50 ; then mkdir -p i586/encore50 ; fi
if ! test -d i586/encore50/att_mmx ; then mkdir -p i586/encore50/att_mmx ; fi
if ! test -d i586/encore50/colorspace ; then mkdir -p i586/encore50/colorspace ; fi
if ! test -d i586/encore50/colorspace/intel_mmx ; then mkdir -p i586/encore50/colorspace/intel_mmx ; fi
if ! test -d i586/encore50/intel_mmx ; then mkdir -p i586/encore50/intel_mmx ; fi
if ! test -d i586/encore50/mbcoding ; then mkdir -p i586/encore50/mbcoding ; fi
if ! test -d i586/encore50/mbmotionestcomp ; then mkdir -p i586/encore50/mbmotionestcomp ; fi
if ! test -d i586/encore50/mbmotionestcomp/intel_mmx ; then mkdir -p i586/encore50/mbmotionestcomp/intel_mmx ; fi
if ! test -d i586/encore50/mbprediction ; then mkdir -p i586/encore50/mbprediction ; fi
if ! test -d i586/encore50/mbtransquant ; then mkdir -p i586/encore50/mbtransquant ; fi
if ! test -d i586/encore50/mbtransquant/intel_mmx ; then mkdir -p i586/encore50/mbtransquant/intel_mmx ; fi
gcc -c `cat i586/libraw_cflags`  libraw1394/src/errors.c -o i586/libraw1394/src/errors.o
gcc -c `cat i586/libraw_cflags`  libraw1394/src/eventloop.c -o i586/libraw1394/src/eventloop.o
gcc -c `cat i586/libraw_cflags`  libraw1394/src/fcp.c -o i586/libraw1394/src/fcp.o
gcc -c `cat i586/libraw_cflags`  libraw1394/src/iso.c -o i586/libraw1394/src/iso.o
gcc -c `cat i586/libraw_cflags`  libraw1394/src/main.c -o i586/libraw1394/src/main.o
gcc -c `cat i586/libraw_cflags`  libraw1394/src/readwrite.c -o i586/libraw1394/src/readwrite.o
gcc -c `cat i586/c_flags`  libdv-0.98/libdv/audio.c -o i586/libdv-0.98/libdv/audio.o
libdv-0.98/libdv/audio.c:26: dv_types.h: No such file or directory
In file included from libdv-0.98/libdv/audio.c:34:
libdv-0.98/libdv/audio.h:29: dv_types.h: No such file or directory
make: *** [i586/libdv-0.98/libdv/audio.o] Error 1
 
!!! ERROR: media-libs/quicktime4linux-1.6.2 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)
 
CX686 root # emerge --info
Portage 2.0.48-r7 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8)
=================================================================
System uname: 2.4.20-gentoo-r5 i586 AMD-K6(tm)-III Processor
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss apm avi crypt encode jpeg libg++ mikmod mmx mpeg pdflib quicktime spell xml2 xmms xv arts berkdb bonobo cdr esd gdbm gif gnome-libs gpm guile imlib java kde libwww motif mozilla nls oggvorbis opengl pam perl png python qt readline scanner sdl slang ssl svga tcpd tiff X gtk gtk2 gnome 3dnow 3dfx voodoo3 matrox truetype prebuilt cups alsa tcltk ncurses"
COMPILER=""
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6 -Os -fomit-frame-pointer -pipe"
CXXFLAGS="-march=k6 -Os -fomit-frame-pointer -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache fixpackages"
 
Comment 2 John Youells 2003-08-04 18:41:51 UTC
maybe not the same error ... as above, but in the same module .... the file that is not found in the error <dv_types.h> is in the same directory as audio.c and it's mot being found. 
Comment 3 SpanKY gentoo-dev 2003-08-06 06:15:09 UTC
i added the -I's to the latest ebuild ... try it again please
Comment 4 Tristan Henderson 2003-08-06 09:22:03 UTC
I still get the same error:

if ! test -d i686/encore50 ; then mkdir -p i686/encore50 ; fi
if ! test -d i686/encore50/att_mmx ; then mkdir -p i686/encore50/att_mmx ; fi
if ! test -d i686/encore50/colorspace ; then mkdir -p i686/encore50/colorspace ; fi
if ! test -d i686/encore50/colorspace/intel_mmx ; then mkdir -p i686/encore50/colorspace/intel_mmx ; fi
if ! test -d i686/encore50/intel_mmx ; then mkdir -p i686/encore50/intel_mmx ; fi
if ! test -d i686/encore50/mbcoding ; then mkdir -p i686/encore50/mbcoding ; fi
if ! test -d i686/encore50/mbmotionestcomp ; then mkdir -p i686/encore50/mbmotionestcomp ; fi
if ! test -d i686/encore50/mbmotionestcomp/intel_mmx ; then mkdir -p i686/encore50/mbmotionestcomp/intel_mmx ; fi
if ! test -d i686/encore50/mbprediction ; then mkdir -p i686/encore50/mbprediction ; fi
if ! test -d i686/encore50/mbtransquant ; then mkdir -p i686/encore50/mbtransquant ; fi
if ! test -d i686/encore50/mbtransquant/intel_mmx ; then mkdir -p i686/encore50/mbtransquant/intel_mmx ; fi
gcc -c `cat i686/libraw_cflags`  libraw1394/src/errors.c -o i686/libraw1394/src/errors.o
gcc -c `cat i686/libraw_cflags`  libraw1394/src/eventloop.c -o i686/libraw1394/src/eventloop.o
gcc -c `cat i686/libraw_cflags`  libraw1394/src/fcp.c -o i686/libraw1394/src/fcp.o
gcc -c `cat i686/libraw_cflags`  libraw1394/src/iso.c -o i686/libraw1394/src/iso.o
gcc -c `cat i686/libraw_cflags`  libraw1394/src/main.c -o i686/libraw1394/src/main.o
gcc -c `cat i686/libraw_cflags`  libraw1394/src/readwrite.c -o i686/libraw1394/src/readwrite.o
gcc -c `cat i686/c_flags`  libdv-0.98/libdv/audio.c -o i686/libdv-0.98/libdv/audio.o
gcc: Internal compiler error: program cc1 got fatal signal 11
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
make: *** [i686/libdv-0.98/libdv/audio.o] Error 1

!!! ERROR: media-libs/quicktime4linux-1.6.2 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)

Anyway, it now looks like virtual/quicktime is provided by media-libs/libquicktime by default, so I think that I will unmerge quicktime4linux and use libquicktime instead...
Comment 5 SpanKY gentoo-dev 2003-09-02 20:39:59 UTC
could you guys try out 2.0.0 ?
Comment 6 Tristan Henderson 2003-09-04 03:17:42 UTC
I'm afraid I still get the same error with 2.0.0:

>>> emerge (1 of 1) media-libs/quicktime4linux-2.0.0 to /
>>> md5 src_uri ;-) quicktime4linux-2.0.0-src.tar.bz2
>>> Unpacking source...
>>> Unpacking quicktime4linux-2.0.0-src.tar.bz2 to /var/tmp/portage/quicktime4linux-2.0.0/work
 * Applying 2.0.0-gentoo-libmpeg3.patch...                                [ ok ]
>>> Source unpacked.
gcc -c `cat i686/c_flags`  libdv-0.99/libdv/audio.c -o i686/libdv-0.99/libdv/audio.o
gcc: Internal compiler error: program cc1 got fatal signal 11
make: *** [i686/libdv-0.99/libdv/audio.o] Error 1

!!! ERROR: media-libs/quicktime4linux-2.0.0 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)

{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline inserted
Comment 7 Andrew Bevitt 2003-09-16 22:59:27 UTC
Are you still using GCC 2.* ?

I tried compiling this yesterday and today and have some interesting results

gcc-3.3.1-r1 -- Fails with similar errors to John Youells.
gcc-3.3      -- Fails with asm impossible reloads
gcc-3.4(cvs) -- Fails identically to the first bug,
gcc-3.3.1-r2 -- Works perfectly, even no segfaulting as is mentioned in other bugs, one of the only times so far this version is working nicely.
Comment 8 Tristan Henderson 2003-09-17 11:49:02 UTC
Yes, I am still using gcc-2.95.3. Have you tried building it with gcc-3.2.x?
Comment 9 SpanKY gentoo-dev 2003-10-02 01:43:21 UTC
please try 2.0.0-r1
Comment 10 Tristan Henderson 2003-10-02 06:36:28 UTC
I still get the same error, but this time on a different file (see below).
If it's a gcc-2.95 problem, maybe this package should be removed from default-1.0?

>>> Unpacking source...
>>> Unpacking quicktime4linux-2.0.0-src.tar.bz2 to /var/tmp/portage/quicktime4linux-2.0.0-r1/work
 * Applying 2.0.0-external-libs.patch...                                
  [ ok ]
>>> Source unpacked.
flag-o-matic
gcc -c `cat i686/c_flags`  decore50/debug.c -o i686/decore50/debug.o
gcc -c `cat i686/c_flags`  decore50/decore.c -o i686/decore50/decore.o
decore50/decore.c: In function `decore':
decore50/decore.c:262: warning: passing arg 3 of `decore_frame' from incompatible
pointer type
decore50/decore.c: At top level:
decore50/decore.c:290: warning: static declaration for `decore_init' follows
non-static
decore50/decore.c: In function `decore_setoutput':
decore50/decore.c:449: warning: assignment from incompatible pointer type
gcc -c `cat i686/c_flags`  decore50/getbits.c -o i686/decore50/getbits.o
gcc -c `cat i686/c_flags`  decore50/mp4_vars.c -o i686/decore50/mp4_vars.o
gcc -c `cat i686/c_flags`  decore50/mp4_block.c -o i686/decore50/mp4_block.o
gcc -c `cat i686/c_flags`  decore50/mp4_decoder.c -o i686/decore50/mp4_decoder.o
gcc -c `cat i686/c_flags`  decore50/mp4_header.c -o i686/decore50/mp4_header.o
gcc -c `cat i686/c_flags`  decore50/mp4_iquant.c -o i686/decore50/mp4_iquant.o
gcc -c `cat i686/c_flags`  decore50/mp4_mblock.c -o i686/decore50/mp4_mblock.o
gcc -c `cat i686/c_flags`  decore50/mp4_picture.c -o i686/decore50/mp4_picture.o
decore50/mp4_picture.c: In function `PictureDisplay':
decore50/mp4_picture.c:437: warning: passing arg 6 of pointer to function
from incompatible pointer type
decore50/mp4_picture.c:451: warning: passing arg 6 of pointer to function
from incompatible pointer type
gcc -c `cat i686/c_flags`  decore50/mp4_predict.c -o i686/decore50/mp4_predict.o
gcc -c `cat i686/c_flags`  decore50/mp4_recon.c -o i686/decore50/mp4_recon.o
gcc -c `cat i686/c_flags`  decore50/mp4_tables.c -o i686/decore50/mp4_tables.o
gcc -c `cat i686/c_flags`  decore50/mp4_vld.c -o i686/decore50/mp4_vld.o
gcc -c `cat i686/c_flags`  decore50/basic_prediction.c -o i686/decore50/basic_prediction.o
gcc -c `cat i686/c_flags`  decore50/clearblock.c -o i686/decore50/clearblock.o
gcc -c `cat i686/c_flags`  decore50/idct.c -o i686/decore50/idct.o
gcc -c `cat i686/c_flags`  decore50/postprocess.c -o i686/decore50/postprocess.o
gcc -c `cat i686/c_flags`  decore50/transferidct.c -o i686/decore50/transferidct.o
gcc -c `cat i686/c_flags`  decore50/yuv2rgb.c -o i686/decore50/yuv2rgb.o
gcc -c `cat i686/c_flags`  encore50/bitstream.c -o i686/encore50/bitstream.o
gcc -c `cat i686/c_flags`  encore50/encore.c -o i686/encore50/encore.o
gcc -c `cat i686/c_flags`  encore50/mom_access.c -o i686/encore50/mom_access.o
gcc -c `cat i686/c_flags`  encore50/mom_util.c -o i686/encore50/mom_util.o
gcc -c `cat i686/c_flags`  encore50/mot_code.c -o i686/encore50/mot_code.o
gcc -c `cat i686/c_flags`  encore50/mot_est_comp.c -o i686/encore50/mot_est_comp.o
gcc: Internal compiler error: program cc1 got fatal signal 11
make: *** [i686/encore50/mot_est_comp.o] Error 1

!!! ERROR: media-libs/quicktime4linux-2.0.0-r1 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)

Calculating dependencies  ...done!
>>> emerge (1 of 1) media-libs/quicktime4linux-2.0.0-r1 to /
>>> md5 src_uri ;-) quicktime4linux-2.0.0-src.tar.bz2
{standard input}: Assembler messages:
{standard input}:723: Warning: partial line at end of file ignored
Comment 11 SpanKY gentoo-dev 2003-10-02 06:45:55 UTC
i imagine the error is related to -ffast-math -mno-ieee-fp that the package
inserts into the CFLAGS ...

if you go into /var/tmp/portage/quicktime4linux-2.0.0-r1/work/quicktime4linux-2.0.0
and remove those 2 flags from the makefile and then run `make` does it get
farther ?
Comment 12 Tristan Henderson 2003-10-02 06:52:07 UTC
Yes, it gets a bit further if I remove those two flags. Still doesn't compile,
but at least we are getting somewhere :-)

palmer quicktime4linux-2.0.0 # make
gcc -c `cat i686/c_flags`  encore50/mot_est_mb.c -o i686/encore50/mot_est_mb.o
gcc -c `cat i686/c_flags`  encore50/mot_util.c -o i686/encore50/mot_util.o
gcc -c `cat i686/c_flags`  encore50/putvlc.c -o i686/encore50/putvlc.o
gcc -c `cat i686/c_flags`  encore50/rate_ctl.c -o i686/encore50/rate_ctl.o
gcc -c `cat i686/c_flags`  encore50/text_bits.c -o i686/encore50/text_bits.o
gcc -c `cat i686/c_flags`  encore50/text_code.c -o i686/encore50/text_code.o
gcc -c `cat i686/c_flags`  encore50/text_code_mb.c -o i686/encore50/text_code_mb.o
gcc -c `cat i686/c_flags`  encore50/text_dct.c -o i686/encore50/text_dct.o
gcc -c `cat i686/c_flags`  encore50/vop_code.c -o i686/encore50/vop_code.o
gcc -c `cat i686/c_flags`  atom.c -o i686/atom.o
gcc -c `cat i686/c_flags`  avi_hdrl.c -o i686/avi_hdrl.o
gcc -c `cat i686/c_flags`  avi_ix.c -o i686/avi_ix.o
avi_ix.c: In function `quicktime_write_ix':
avi_ix.c:100: parse error before `*'
avi_ix.c:105: `indx' undeclared (first use in this function)
avi_ix.c:105: (Each undeclared identifier is reported only once
avi_ix.c:105: for each function it appears in.)
make: *** [i686/avi_ix.o] Error 1
palmer quicktime4linux-2.0.0 # 
Comment 13 SpanKY gentoo-dev 2003-10-02 08:57:54 UTC
i just noticed on the homepage it says 'min requirements: gcc-3.2' ... well
i dont buy that ;)

i just made a gcc2 patch that fixes the segfault and the compile errors ...
emerge sync (make sure a gcc2 patch is applied during src_unpack) and try
again ?
Comment 14 Tristan Henderson 2003-10-02 12:26:03 UTC
OK, it seems to get much further now, but then bombs out because of libmpeg3?
I guess this is because it is trying to use external libs now.

gcc -c `cat i686/c_flags`  stsdtable.c -o i686/stsdtable.o
gcc -c `cat i686/c_flags`  stss.c -o i686/stss.o
gcc -c `cat i686/c_flags`  stsz.c -o i686/stsz.o
gcc -c `cat i686/c_flags`  stts.c -o i686/stts.o
gcc -c `cat i686/c_flags`  tkhd.c -o i686/tkhd.o
gcc -c `cat i686/c_flags`  trak.c -o i686/trak.o
gcc -c `cat i686/c_flags`  twos.c -o i686/twos.o
gcc -c `cat i686/c_flags`  udta.c -o i686/udta.o
gcc -c `cat i686/c_flags`  ulaw.c -o i686/ulaw.o
gcc -c `cat i686/c_flags`  util.c -o i686/util.o
gcc -c `cat i686/c_flags`  v308.c -o i686/v308.o
gcc -c `cat i686/c_flags`  v408.c -o i686/v408.o
gcc -c `cat i686/c_flags`  v410.c -o i686/v410.o
gcc -c `cat i686/c_flags`  vmhd.c -o i686/vmhd.o
gcc -c `cat i686/c_flags`  vorbis.c -o i686/vorbis.o
gcc -c `cat i686/c_flags`  wma.c -o i686/wma.o
gcc -c `cat i686/c_flags`  wmx2.c -o i686/wmx2.o
gcc -c `cat i686/c_flags`  workarounds.c -o i686/workarounds.o
gcc -c `cat i686/c_flags`  yuv2.c -o i686/yuv2.o
gcc -c `cat i686/c_flags`  yuv4.c -o i686/yuv4.o
gcc -c `cat i686/c_flags`  yv12.c -o i686/yv12.o
ar rcs i686/libquicktime.a `cat i686/objs`
gcc -c `cat i686/c_flags`  dump.c -o i686/dump.o
gcc -o i686/qtdump i686/dump.o i686/libquicktime.a -logg -lmpeg3 -lmp3lame
-ldv -ljpeg -lvorbis -lvorbisenc -lavcodec -lpng -lz -lpthread -lglib -ldl
-lm
/usr/lib/libmpeg3.so: undefined reference to `a52_init'
/usr/lib/libmpeg3.so: undefined reference to `a52_frame'
/usr/lib/libmpeg3.so: undefined reference to `a52_block'
/usr/lib/libmpeg3.so: undefined reference to `a52_samples'
/usr/lib/libmpeg3.so: undefined reference to `a52_free'
/usr/lib/libmpeg3.so: undefined reference to `a52_dynrng'
/usr/lib/libmpeg3.so: undefined reference to `a52_syncinfo'
collect2: ld returned 1 exit status
make: *** [i686/qtdump] Error 1

!!! ERROR: media-libs/quicktime4linux-2.0.0-r1 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)

palmer:/> etcat -v media-libs/libmpeg3
[ Results for search key : media-libs/libmpeg3 ]
[ Applications found : 1 ]

*  media-libs/libmpeg3 :
        [   ] media-libs/libmpeg3-1.5-r1 (0)
        [ ~I] media-libs/libmpeg3-1.5.1 (0)
Comment 15 SpanKY gentoo-dev 2003-10-02 12:39:52 UTC
yeah i wanted to verify that that error wasnt just on my box ;)

one last time ! :)
sync up and this should be fixed ...
Comment 16 Tristan Henderson 2003-10-02 15:42:53 UTC
Nope, still getting the same error :-( Tried syncing twice: this is what
I'm using:

ls -lR /usr/portage/media-libs/quicktime4linux/
/usr/portage/media-libs/quicktime4linux/:
total 28
-rw-r--r--    1 root     root         2872 Oct  2 12:07 ChangeLog
-rw-r--r--    1 root     root         1162 Oct  2 14:52 Manifest
drwxr-xr-x    2 root     root         4096 Oct  2 15:53 files
-rw-r--r--    1 root     root          886 Sep  6 20:16 quicktime4linux-1.5.5-r1.ebuild
-rw-r--r--    1 root     root         1123 Sep  6 20:16 quicktime4linux-1.6.2.ebuild
-rw-r--r--    1 root     root         1335 Oct  2 15:53 quicktime4linux-2.0.0-r1.ebuild
-rw-r--r--    1 root     root         1124 Sep  2 23:39 quicktime4linux-2.0.0.ebuild

/usr/portage/media-libs/quicktime4linux/files:
total 44
-rw-r--r--    1 root     root          647 Jul 26 18:30 1.6.2-gentoo-libmpeg3.patch
-rw-r--r--    1 root     root         1072 Jul 26 18:30 1.6.2-gentoo-sharedlib.patch
-rw-r--r--    1 root     root         1785 Oct  2 15:53 2.0.0-external-libs.patch
-rw-r--r--    1 root     root         1007 Oct  2 11:57 2.0.0-gcc2.patch
-rw-r--r--    1 root     root          663 Sep  2 23:39 2.0.0-gentoo-libmpeg3.patch
-rw-r--r--    1 root     root          969 Sep  2 23:39 2.0.0-gentoo-sharedlib.patch
-rw-r--r--    1 root     root           74 Jul 26  2002 digest-quicktime4linux-1.5.5-r1
-rw-r--r--    1 root     root          150 Jul 26 18:30 digest-quicktime4linux-1.6.2
-rw-r--r--    1 root     root           79 Sep  2 23:39 digest-quicktime4linux-2.0.0
-rw-r--r--    1 root     root           79 Oct  2 04:43 digest-quicktime4linux-2.0.0-r1
-rw-r--r--    1 root     root          420 Jul 26  2002 quicktime_makefile.patch
Comment 17 SpanKY gentoo-dev 2003-10-02 19:32:16 UTC
*** Bug 30209 has been marked as a duplicate of this bug. ***
Comment 18 Tristan Henderson 2003-10-03 05:29:42 UTC
It compiles now! Excellent! Thanks for all your help.
Comment 19 SpanKY gentoo-dev 2003-10-03 07:57:23 UTC
excellent :)

i'm just glad this ugly beast has been finally cleaned up ;)