Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44945 - media-libs/faad2-2.0 fails to compile
Summary: media-libs/faad2-2.0 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Joel Martin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-17 06:29 UTC by Aniruddha Shankar
Modified: 2004-03-18 06:10 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 Aniruddha Shankar 2004-03-17 06:29:35 UTC
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -MT odcommands.lo -MD -MP -MF .deps/odcommands.Tpo -c odcommands.cpp  -fPIC                        -DPIC -o .libs/odcommands.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -MT odcommands.lo -MD -MP -MF .deps/odcommands.Tpo -c odcommands.cpp -o odco                       mmands.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include   -Wall   -MT qosqualifiers.lo -MD -MP -MF                        ".deps/qosqualifiers.Tpo" \
  -c -o qosqualifiers.lo `test -f 'qosqualifiers.cpp' || echo './'`qosqualifiers.cpp; \
then mv -f ".deps/qosqualifiers.Tpo" ".deps/qosqualifiers.Plo"; \
else rm -f ".deps/qosqualifiers.Tpo"; exit 1; \
fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -MT qosqualifiers.lo -MD -MP -MF .deps/qosqualifiers.Tpo -c qosqualifiers.cp                       p  -fPIC -DPIC -o .libs/qosqualifiers.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -MT qosqualifiers.lo -MD -MP -MF .deps/qosqualifiers.Tpo -c qosqualifiers.cp                       p -o qosqualifiers.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include   -Wall   -MT rtphint.lo -MD -MP -MF ".deps                       /rtphint.Tpo" \
  -c -o rtphint.lo `test -f 'rtphint.cpp' || echo './'`rtphint.cpp; \
then mv -f ".deps/rtphint.Tpo" ".deps/rtphint.Plo"; \
else rm -f ".deps/rtphint.Tpo"; exit 1; \
fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -MT rtphint.lo -MD -MP -MF .deps/rtphint.Tpo -c rtphint.cpp  -fPIC -DPIC -o                        .libs/rtphint.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -MT rtphint.lo -MD -MP -MF .deps/rtphint.Tpo -c rtphint.cpp -o rtphint.o >/d                       ev/null 2>&1
/bin/sh ../../libtool --mode=link g++ -Wall     -o libmp4v2.la -rpath /usr/lib  atom_co64.lo atom_cprt.lo atom_ctts.lo atom_dimm.lo ato                       m_dinf.lo atom_dmax.lo atom_dmed.lo atom_dref.lo atom_drep.lo atom_edts.lo atom_elst.lo atom_enca.lo atom_encv.lo atom_esds.lo atom_fre                       e.lo atom_frma.lo atom_ftyp.lo atom_hdlr.lo atom_hinf.lo atom_hmhd.lo atom_hnti.lo atom_iKMS.lo atom_iSFM.lo atom_iods.lo atom_maxr.lo                        atom_mdat.lo atom_mdhd.lo atom_mdia.lo atom_meta.lo atom_mfhd.lo atom_minf.lo atom_moof.lo atom_moov.lo atom_mp4a.lo atom_mp4s.lo atom_                       mp4v.lo atom_mvex.lo atom_mvhd.lo atom_nmhd.lo atom_nump.lo atom_payt.lo atom_pmax.lo atom_root.lo atom_rtp.lo atom_schi.lo atom_schm.l                       o atom_sdp.lo atom_sinf.lo atom_smhd.lo atom_snro.lo atom_stbl.lo atom_stco.lo atom_stdp.lo atom_stsc.lo atom_stsd.lo atom_stsh.lo atom                       _stss.lo atom_stsz.lo atom_stts.lo atom_tfhd.lo atom_tims.lo atom_tkhd.lo atom_tmax.lo atom_tmin.lo atom_tpyl.lo atom_traf.lo atom_trak                       .lo atom_tref.lo atom_treftype.lo atom_trex.lo atom_trpy.lo atom_trun.lo atom_tsro.lo atom_udta.lo atom_url.lo atom_urn.lo atom_vmhd.lo                        descriptors.lo isma.lo mp4atom.lo mp4container.lo mp4.lo mp4descriptor.lo mp4file.lo mp4file_io.lo mp4info.lo mp4meta.lo mp4property.l                       o mp4track.lo mp4util.lo ocidescriptors.lo odcommands.lo qosqualifiers.lo rtphint.lo  
g++ -shared -nostdlib /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/crtbeginS.o  .l                       ibs/atom_co64.o .libs/atom_cprt.o .libs/atom_ctts.o .libs/atom_dimm.o .libs/atom_dinf.o .libs/atom_dmax.o .libs/atom_dmed.o .libs/atom_                       dref.o .libs/atom_drep.o .libs/atom_edts.o .libs/atom_elst.o .libs/atom_enca.o .libs/atom_encv.o .libs/atom_esds.o .libs/atom_free.o .l                       ibs/atom_frma.o .libs/atom_ftyp.o .libs/atom_hdlr.o .libs/atom_hinf.o .libs/atom_hmhd.o .libs/atom_hnti.o .libs/atom_iKMS.o .libs/atom_                       iSFM.o .libs/atom_iods.o .libs/atom_maxr.o .libs/atom_mdat.o .libs/atom_mdhd.o .libs/atom_mdia.o .libs/atom_meta.o .libs/atom_mfhd.o .l                       ibs/atom_minf.o .libs/atom_moof.o .libs/atom_moov.o .libs/atom_mp4a.o .libs/atom_mp4s.o .libs/atom_mp4v.o .libs/atom_mvex.o .libs/atom_                       mvhd.o .libs/atom_nmhd.o .libs/atom_nump.o .libs/atom_payt.o .libs/atom_pmax.o .libs/atom_root.o .libs/atom_rtp.o .libs/atom_schi.o .li                       bs/atom_schm.o .libs/atom_sdp.o .libs/atom_sinf.o .libs/atom_smhd.o .libs/atom_snro.o .libs/atom_stbl.o .libs/atom_stco.o .libs/atom_st                       dp.o .libs/atom_stsc.o .libs/atom_stsd.o .libs/atom_stsh.o .libs/atom_stss.o .libs/atom_stsz.o .libs/atom_stts.o .libs/atom_tfhd.o .lib                       s/atom_tims.o .libs/atom_tkhd.o .libs/atom_tmax.o .libs/atom_tmin.o .libs/atom_tpyl.o .libs/atom_traf.o .libs/atom_trak.o .libs/atom_tr                       ef.o .libs/atom_treftype.o .libs/atom_trex.o .libs/atom_trpy.o .libs/atom_trun.o .libs/atom_tsro.o .libs/atom_udta.o .libs/atom_url.o .                       libs/atom_urn.o .libs/atom_vmhd.o .libs/descriptors.o .libs/isma.o .libs/mp4atom.o .libs/mp4container.o .libs/mp4.o .libs/mp4descriptor                       .o .libs/mp4file.o .libs/mp4file_io.o .libs/mp4info.o .libs/mp4meta.o .libs/mp4property.o .libs/mp4track.o .libs/mp4util.o .libs/ocides                       criptors.o .libs/odcommands.o .libs/qosqualifiers.o .libs/rtphint.o  -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 -Wl,--rpa                       th -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib -L/usr/i686-pc-linu                       x-gnu/lib -L/usr/i686-pc-linux-gnu/bin -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../.                       ./i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../.. /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so -lm -                       lc -lgcc_s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/crtendS.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../crtn.o  -Wl,-soname -Wl                       ,libmp4v2.so.0 -o .libs/libmp4v2.so.0.0.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld:.libs/atom_stsh.o: file format not recognized; treating a                       s linker script
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld:.libs/atom_stsh.o:1: syntax error
collect2: ld returned 1 exit status
make[3]: *** [libmp4v2.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/faad2-2.0/work/faad2/common/mp4v2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0/work/faad2/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0/work/faad2'
make: *** [all] Error 2

!!! ERROR: media-libs/faad2-2.0 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! (no error message)


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




splat root # emerge info              
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://localhost/portage
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi acpi4linux alsa apm arts artswrappersuid avi berkdb
crypt dga directfb encode esd fam fbcon flac flash foomaticdb gdbm ggi gif gnome
gphoto2 gpm gstreamer gtk gtk2 imap imlib java javascript jpeg kde ldap libg++
libwww mad maildir matroska mikmod mldonkeypango mmx mng motif mozilla
mozinterfaceinfo moznoirc mozp3p mozsvg mpeg mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png prelude python qt quicktime readline samba sdl slang
speex spell sse ssl svga tcltk tcpd tiff truetype unicode usb x86 xml2 xmms xv zlib"
Comment 1 Joel Martin (RETIRED) gentoo-dev 2004-03-17 13:38:59 UTC
Hmm, that's bizzare. Can you try re-syncing your tree and then merging with slightly less agressive options? If you still run into the problem, can you post (as an attachment please!) a complete log of your emerge output?

Try something like this:
ACCEPT_KEYWORDS="~x86" CFLAGS="-O2 -mcpu=i486 -pipe" CHOST="i486-pc-linux-gnu" MAKEOPTS="-j1" emerge faad2 2>&1 |tee /root/faad2.log

"2>&1 |tee /root/faad2.log" <-- shows the output on screen and dumps it to the file /root/faad2.log.
Thanks.
Comment 2 Aniruddha Shankar 2004-03-18 03:50:08 UTC
Synced my tree and it built fine! Thanks for the help, Joel :)

Aniruddha Shankar
New Delhi, India
Comment 3 Joel Martin (RETIRED) gentoo-dev 2004-03-18 06:10:16 UTC
Excellent! I thought it was probably something like that.
I'm closing this bug.