Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121800 - faad2-2.0-r11 compiled cleanly but refuses to recompile
Summary: faad2-2.0-r11 compiled cleanly but refuses to recompile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 121870 122732 122759 137348 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-06 02:49 UTC by Ferdinando Formica
Modified: 2006-06-20 02:49 UTC (History)
7 users (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 Ferdinando Formica 2006-02-06 02:49:22 UTC
I've compiled faad2-2.0-r11 after today's sync, then run revdep-rebuild which tried to recompile it but failed: here's emerge.log:

1139217736:  >>> emerge (5 of 6) media-libs/faad2-2.0-r11 to /
1139217736:  === (5 of 6) Cleaning (media-libs/faad2-2.0-r11::/usr/portage/media-libs/faad2/faad2-2.0-r11.ebuild)
1139217738:  === (5 of 6) Compiling/Merging (media-libs/faad2-2.0-r11::/usr/portage/media-libs/faad2/faad2-2.0-r11.ebuild)
1139217842:  === (5 of 6) Post-Build Cleaning (media-libs/faad2-2.0-r11::/usr/portage/media-libs/faad2/faad2-2.0-r11.ebuild)
1139217843:  >>> AUTOCLEAN: media-libs/faad2
1139217849: === Unmerging... (media-libs/faad2-2.0-r10)
1139217852:  >>> unmerge success: media-libs/faad2-2.0-r10
1139217852:  ::: completed emerge (5 of 6) media-libs/faad2-2.0-r11 to /
1139217852:  >>> emerge (6 of 6) www-client/mozilla-firefox-bin-1.5.0.1 to /
1139217852:  === (6 of 6) Cleaning (www-client/mozilla-firefox-bin-1.5.0.1::/usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.1.ebuild)
1139217855:  === (6 of 6) Compiling/Merging (www-client/mozilla-firefox-bin-1.5.0.1::/usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.1.ebuild)
1139217862:  *** terminating.
1139217906: Started emerge on: Feb 06, 2006 10:25:06
1139217906:  *** emerge --verbose --update --newuse --deep world
1139217925:  *** terminating.
1139217993: Started emerge on: Feb 06, 2006 10:26:33
1139217993:  *** emerge --verbose --update --newuse --deep world
1139218008:  >>> emerge (1 of 1) www-client/mozilla-firefox-bin-1.5.0.1 to /
1139218008:  === (1 of 1) Cleaning (www-client/mozilla-firefox-bin-1.5.0.1::/usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.1.ebuild)
1139218011:  === (1 of 1) Compiling/Merging (www-client/mozilla-firefox-bin-1.5.0.1::/usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.1.ebuild)
1139218018:  *** terminating.
1139218123: Started emerge on: Feb 06, 2006 10:28:43
1139218123:  *** emerge --verbose --update --newuse --deep world
1139218127:  >>> emerge (1 of 1) www-client/mozilla-firefox-bin-1.5.0.1 to /
1139218127:  === (1 of 1) Cleaning (www-client/mozilla-firefox-bin-1.5.0.1::/usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.1.ebuild)
1139218130:  === (1 of 1) Compiling/Merging (www-client/mozilla-firefox-bin-1.5.0.1::/usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.1.ebuild)
1139218135:  *** terminating.
1139218150: Started emerge on: Feb 06, 2006 10:29:10
1139218150:  *** emerge --verbose --update --newuse --deep world
1139218154:  >>> emerge (1 of 1) www-client/mozilla-firefox-bin-1.5.0.1 to /
1139218154:  === (1 of 1) Cleaning (www-client/mozilla-firefox-bin-1.5.0.1::/usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.1.ebuild)
1139218157:  === (1 of 1) Compiling/Merging (www-client/mozilla-firefox-bin-1.5.0.1::/usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.1.ebuild)
1139218217:  === (1 of 1) Post-Build Cleaning (www-client/mozilla-firefox-bin-1.5.0.1::/usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-1.5.0.1.ebuild)
1139218219:  >>> AUTOCLEAN: www-client/mozilla-firefox-bin
1139218224: === Unmerging... (www-client/mozilla-firefox-bin-1.5-r2)
1139218227:  >>> unmerge success: www-client/mozilla-firefox-bin-1.5-r2
1139218227:  ::: completed emerge (1 of 1) www-client/mozilla-firefox-bin-1.5.0.1 to /
1139218227:  *** Finished. Cleaning up...
1139218237:  *** exiting successfully.
1139218239:  *** terminating.
1139218423: Started emerge on: Feb 06, 2006 10:33:43
1139218423:  *** emerge --oneshot =media-libs/faad2-2.0-r11
1139218423:  >>> emerge (1 of 1) media-libs/faad2-2.0-r11 to /
1139218423:  === (1 of 1) Cleaning (media-libs/faad2-2.0-r11::/usr/portage/media-libs/faad2/faad2-2.0-r11.ebuild)
1139218426:  === (1 of 1) Compiling/Merging (media-libs/faad2-2.0-r11::/usr/portage/media-libs/faad2/faad2-2.0-r11.ebuild)
1139218519:  *** terminating.

Actually you see I've also had a problem installing mozilla-firefox-bin, solved anyway.
The error it gives and an emerge --info can be found at http://forums.gentoo.org/viewtopic-t-430806.html

I filed the bug after seeing that there were at least other two users who have the same problem.

Thanks.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-06 02:57:28 UTC
(In reply to comment #0)
> The error it gives and an emerge --info can be found at
> http://forums.gentoo.org/viewtopic-t-430806.html

No... Reopen after you have posted/attached the actual error messages here, also emerge --info is needed.
Comment 2 Ferdinando Formica 2006-02-06 03:04:29 UTC
ok sorry;

# emerge --oneshot =media-libs/faad2-2.0-r11
[...]
Making all in plugins
make[2]: Entering directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins'
Making all in xmms
make[3]: Entering directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins/xmms'
Making all in src
make[4]: Entering directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins/xmms/src'
if /bin/sh ../../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..    `xmms-config --cflags` -Wall `gtk-config --cflags` -DHAVE_GLIB_H=1 -I../../../include -march=pentium4 -Os -pipe -MT libmp4_la-libmp4.lo -MD -MP -MF ".deps/libmp4_la-libmp4.Tpo" -c -o libmp4_la-libmp4.lo `test -f 'libmp4.c' || echo './'`libmp4.c; \
then mv -f ".deps/libmp4_la-libmp4.Tpo" ".deps/libmp4_la-libmp4.Plo"; else rm -f ".deps/libmp4_la-libmp4.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DHAVE_GLIB_H=1 -I../../../include -march=pentium4 -Os -pipe -MT libmp4_la-libmp4.lo -MD -MP -MF .deps/libmp4_la-libmp4.Tpo -c libmp4.c  -fPIC -DPIC -o .libs/libmp4_la-libmp4.o
libmp4.c:12:17: mp4.h: No such file or directory
libmp4.c:26: error: syntax error before "file"
libmp4.c:41: error: syntax error before "file"
libmp4.c: In function `mp4_init':
libmp4.c:92: warning: implicit declaration of function `memset'
libmp4.c: In function `mp4_isFile':
libmp4.c:120: warning: implicit declaration of function `strrchr'
libmp4.c:123: warning: implicit declaration of function `strcasecmp'
libmp4.c: In function `mp4Decode':
libmp4.c:183: error: `MP4FileHandle' undeclared (first use in this function)
libmp4.c:183: error: (Each undeclared identifier is reported only once
libmp4.c:183: error: for each function it appears in.)
libmp4.c:183: error: syntax error before "mp4file"
libmp4.c:188: error: `mp4file' undeclared (first use in this function)
libmp4.c:188: warning: implicit declaration of function `MP4Read'
libmp4.c:190: warning: implicit declaration of function `MP4Close'
libmp4.c:214: error: `MP4Duration' undeclared (first use in this function)
libmp4.c:214: error: syntax error before "duration"
libmp4.c:216: error: `MP4SampleId' undeclared (first use in this function)
libmp4.c:216: error: syntax error before "numSamples"
libmp4.c:220: warning: implicit declaration of function `MP4GetTrackESConfiguration'
libmp4.c:229: warning: passing arg 4 of `faacDecInit2' from incompatible pointer type
libmp4.c:247: error: `duration' undeclared (first use in this function)
libmp4.c:247: warning: implicit declaration of function `MP4GetTrackDuration'
libmp4.c:248: warning: implicit declaration of function `MP4ConvertFromTrackDuration'
libmp4.c:249: error: `MP4_MSECS_TIME_SCALE' undeclared (first use in this function)
libmp4.c:250: error: `numSamples' undeclared (first use in this function)
libmp4.c:250: warning: implicit declaration of function `MP4GetTrackNumberOfSamples'
libmp4.c:254: warning: int format, gulong arg (arg 3)
libmp4.c:262: warning: implicit declaration of function `MP4ConvertToTrackDuration'
libmp4.c:266: error: `sampleID' undeclared (first use in this function)
libmp4.c:266: warning: implicit declaration of function `MP4GetSampleIdFromTime'
libmp4.c:281: warning: implicit declaration of function `MP4ReadSample'
libmp4.c:213: warning: unused variable `avgBitrate'
libmp4.c:335: error: `FILE' undeclared (first use in this function)
libmp4.c:335: error: `file' undeclared (first use in this function)
libmp4.c:348: warning: implicit declaration of function `fopen'
libmp4.c:349: warning: char format, void arg (arg 2)
libmp4.c:356: warning: implicit declaration of function `fclose'
libmp4.c:372: warning: implicit declaration of function `fread'
libmp4.c:385: warning: implicit declaration of function `strncmp'
libmp4.c:388: warning: implicit declaration of function `fseek'
libmp4.c:388: error: `SEEK_SET' undeclared (first use in this function)
libmp4.c:407: warning: passing arg 4 of `faacDecInit' from incompatible pointer type
libmp4.c:445: warning: implicit declaration of function `memmove'
libmp4.c:466: warning: passing arg 4 of `faacDecInit' from incompatible pointer type
make[4]: *** [libmp4_la-libmp4.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins/xmms/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins/xmms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2'
make: *** [all] Error 2

!!! ERROR: media-libs/faad2-2.0-r11 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

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


$ emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r3 i686)
=================================================================
System uname: 2.6.15-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.4.2-r1
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/                                                         http://ftp.rhnet.is/pub/gentoo/                                      ftp://ftp.rhnet.is/pub/gentoo/                                                   http://ftp.easynet.nl/mirror/gentoo/                                            ftp://ftp.easynet.nl/mirror/gentoo/                                           ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/                                http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/                    ftp://mirror.pudas.net/gentoo                                                   ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LDFLAGS="-Wl,-z,now"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx X aac acpi alsa apm arts avi berkdb bitmap-fonts bzip2 cdr crypt cups dga directfb dvd dvdr dvdread eds emboss encode ffmpeg foomaticdb fortran gdbm gif gpm ieee1394 imlib ipv6 jpeg kde kdeenablefinal kdexdeltas libg++ libwww mad mbox mikmod mime mmx motif mozilla mp3 mpeg ncurses nls nptl nsplugin offensive ogg oggvorbis opengl pam pcmcia pdflib perl pic png pnp python qt quicktime readline sdl spell sse ssl symlink tcpd threads tiff truetype truetype-fonts type1-fonts udev usb vorbis wifi win32codecs xine xml2 xmms xv xvid zlib elibc_glibc kernel_linux linguas_it userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, MAKEOPTS
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-02-06 08:40:58 UTC
Hi,

a temporary workaround would be to disable xmms useflag for this package.

Cheers
Poly
Comment 4 Chris Smith 2006-02-06 10:20:32 UTC
Having this problem as well. I decided to remerge all of faad2's dependencies and it worked for me.
emerge xmms id3lib libmp4v2 faad2
Comment 5 Chris Smith 2006-02-06 10:46:30 UTC
Despite the fact that the above remerging worked in my case, it begs the question of why. Why should it have worked? The dependencies were all RDEPEND's. Maybe at least one of these should be listed as a DEPEND (probably libmp4v2) since a successful compile of faad2 was only possible after remerging these.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-06 13:18:06 UTC
*** Bug 121870 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-02-06 13:18:40 UTC
There's something weird here - see Bug 121870 as well.
Comment 8 spiralvoice 2006-02-06 14:19:58 UTC
Same bug here:

Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r3 i686)
=================================================================
System uname: 2.6.15-gentoo-r3 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -fforce-addr -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -fforce-addr -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo http://gentoo.inode.at http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.osuosl.org/ http://ftp.easynet.nl/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi alsa arts asf automount avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia chroot cjk crypt css cups divx4linux dvd dvdr dvdread eds emboss encode faac firefox flac foomaticdb foreign-package fortran freetype ftp gdbm gif glitz gmp gnokii gpm gtk gtk2 hal howl ieee1394 imagemagick imap imlib jack joystick jpeg jpeg2k kde kdeenablefinal lame libg++ libsamplerate libwww lzo lzw-tiff mad matroska mbox mhash mikmod mmx mng mozilla mp3 mpeg mpeg4 mplayer musepack musicbrainz ncurses nls nptl nsplugin ogg oggvorbis ooo-kde openexr opengl oss pam pcre pdflib perl pic png ppds python qt quicktime readline real rtc samba sdl slp sms sndfile spell sse ssl svg tcpd theora tiff transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd visualization vorbis win32codecs xine xinerama xml2 xmms xprint xv xvid xvmc zlib zvbi elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS


 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DHAVE_GLIB_H=1 -I../../../include -march=athlon-xp -O3 -fforce-addr -fomit-frame-pointer -ftracer -pipe -MT libmp4_la-libmp4.lo -MD -MP -MF .deps/libmp4_la-libmp4.Tpo -c libmp4.c  -fPIC -DPIC -o .libs/libmp4_la-libmp4.o
mp4_utils.c:4:17: mp4.h: No such file or directory
mp4_utils.c:18: error: syntax error before "mp4AudioTypes"
mp4_utils.c:18: warning: type defaults to `int' in declaration of `mp4AudioTypes'
mp4_utils.c:20: error: `MP4_MPEG1_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:20: error: initializer element is not constant
mp4_utils.c:20: error: (near initialization for `mp4AudioTypes[0]')
mp4_utils.c:21: error: `MP4_MPEG2_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:21: error: initializer element is not constant
mp4_utils.c:21: error: (near initialization for `mp4AudioTypes[1]')
mp4_utils.c:22: error: `MP4_MPEG2_AAC_MAIN_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:22: error: initializer element is not constant
mp4_utils.c:22: error: (near initialization for `mp4AudioTypes[2]')
mp4_utils.c:23: error: `MP4_MPEG2_AAC_LC_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:23: error: initializer element is not constant
mp4_utils.c:23: error: (near initialization for `mp4AudioTypes[3]')
mp4_utils.c:24: error: `MP4_MPEG2_AAC_SSR_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:24: error: initializer element is not constant
mp4_utils.c:24: error: (near initialization for `mp4AudioTypes[4]')
mp4_utils.c:25: error: `MP4_MPEG4_AUDIO_TYPE' undeclared here (not in a function)
mp4_utils.c:25: error: initializer element is not constant
mp4_utils.c:25: error: (near initialization for `mp4AudioTypes[5]')
mp4_utils.c:27: warning: data definition has no type or storage class
mp4_utils.c:47: error: syntax error before "file"
mp4_utils.c: In function `getAACTrack':
mp4_utils.c:49: warning: implicit declaration of function `MP4GetNumberOfTracks'
mp4_utils.c:49: error: `file' undeclared (first use in this function)
mp4_utils.c:49: error: (Each undeclared identifier is reported only once
mp4_utils.c:49: error: for each function it appears in.)
mp4_utils.c:49: error: `NULL' undeclared (first use in this function)
mp4_utils.c:53: error: `MP4TrackId' undeclared (first use in this function)
mp4_utils.c:53: error: syntax error before "trackID"
mp4_utils.c:54: warning: implicit declaration of function `MP4GetTrackType'
mp4_utils.c:54: error: `trackID' undeclared (first use in this function)
mp4_utils.c:54: warning: initialization makes pointer from integer without a cast
mp4_utils.c:55: warning: implicit declaration of function `strcmp'
mp4_utils.c:55: error: `MP4_AUDIO_TRACK_TYPE' undeclared (first use in this function)
mp4_utils.c:57: error: `u_int8_t' undeclared (first use in this function)
mp4_utils.c:57: error: syntax error before "audiotype"
mp4_utils.c:59: error: `audiotype' undeclared (first use in this function)
mp4_utils.c:61: warning: implicit declaration of function `MP4GetTrackAudioMpeg4Type'
mp4_utils.c:62: warning: implicit declaration of function `printf'
mp4_utils.c: At top level:
mp4_utils.c:81: error: syntax error before "file"
mp4_utils.c: In function `getAudioTrack':
mp4_utils.c:83: error: `file' undeclared (first use in this function)
mp4_utils.c:83: error: `NULL' undeclared (first use in this function)
mp4_utils.c:87: error: `MP4TrackId' undeclared (first use in this function)
mp4_utils.c:87: error: syntax error before "trackID"
mp4_utils.c:88: error: `trackID' undeclared (first use in this function)
mp4_utils.c:88: warning: initialization makes pointer from integer without a cast
mp4_utils.c:89: error: `MP4_AUDIO_TRACK_TYPE' undeclared (first use in this function)
mp4_utils.c: At top level:
mp4_utils.c:96: error: syntax error before "file"
mp4_utils.c: In function `getVideoTrack':
mp4_utils.c:98: error: `file' undeclared (first use in this function)
mp4_utils.c:98: error: `NULL' undeclared (first use in this function)
mp4_utils.c:102: error: `MP4TrackId' undeclared (first use in this function)
mp4_utils.c:102: error: syntax error before "trackID"
mp4_utils.c:103: error: `trackID' undeclared (first use in this function)
mp4_utils.c:103: warning: initialization makes pointer from integer without a cast
mp4_utils.c:104: error: `MP4_VIDEO_TRACK_TYPE' undeclared (first use in this function)
mp4_utils.c: In function `getMP4info':
mp4_utils.c:113: error: `MP4FileHandle' undeclared (first use in this function)
mp4_utils.c:113: error: syntax error before "mp4file"
mp4_utils.c:114: error: `MP4Duration' undeclared (first use in this function)
mp4_utils.c:118: error: `mp4file' undeclared (first use in this function)
mp4_utils.c:118: warning: implicit declaration of function `MP4Read'
mp4_utils.c:121: error: `NULL' undeclared (first use in this function)
mp4_utils.c:122: warning: implicit declaration of function `g_print'
mp4_utils.c:124: error: `MP4TrackId' undeclared (first use in this function)
mp4_utils.c:124: error: syntax error before "trackID"
mp4_utils.c:125: error: `trackID' undeclared (first use in this function)
mp4_utils.c:125: warning: initialization makes pointer from integer without a cast
mp4_utils.c:127: error: `MP4_AUDIO_TRACK_TYPE' undeclared (first use in this function)
mp4_utils.c:129: error: `u_int8_t' undeclared (first use in this function)
mp4_utils.c:129: error: syntax error before "audiotype"
mp4_utils.c:131: error: `audiotype' undeclared (first use in this function)
mp4_utils.c:140: warning: implicit declaration of function `MP4ConvertFromTrackDuration'
mp4_utils.c:141: warning: implicit declaration of function `MP4GetTrackDuration'
mp4_utils.c:143: error: `MP4_MSECS_TIME_SCALE' undeclared (first use in this function)
mp4_utils.c:150: warning: implicit declaration of function `MP4Close'
make[4]: *** [libmp4_la-mp4_utils.lo] Fehler 1
make[4]: *** Warte auf noch nicht beendete Prozesse...
libmp4.c:12:17: mp4.h: No such file or directory
libmp4.c:26: error: syntax error before "file"
libmp4.c:41: error: syntax error before "file"
libmp4.c: In function `mp4_init':
libmp4.c:92: warning: implicit declaration of function `memset'
libmp4.c: In function `mp4_isFile':
libmp4.c:120: warning: implicit declaration of function `strrchr'
libmp4.c:123: warning: implicit declaration of function `strcasecmp'
libmp4.c: In function `mp4Decode':
libmp4.c:183: error: `MP4FileHandle' undeclared (first use in this function)
libmp4.c:183: error: (Each undeclared identifier is reported only once
libmp4.c:183: error: for each function it appears in.)
libmp4.c:183: error: syntax error before "mp4file"
libmp4.c:188: error: `mp4file' undeclared (first use in this function)
libmp4.c:188: warning: implicit declaration of function `MP4Read'
libmp4.c:190: warning: implicit declaration of function `MP4Close'
libmp4.c:214: error: `MP4Duration' undeclared (first use in this function)
libmp4.c:214: error: syntax error before "duration"
libmp4.c:216: error: `MP4SampleId' undeclared (first use in this function)
libmp4.c:216: error: syntax error before "numSamples"
libmp4.c:220: warning: implicit declaration of function `MP4GetTrackESConfiguration'
libmp4.c:229: warning: passing arg 4 of `faacDecInit2' from incompatible pointer type
libmp4.c:247: error: `duration' undeclared (first use in this function)
libmp4.c:247: warning: implicit declaration of function `MP4GetTrackDuration'
libmp4.c:248: warning: implicit declaration of function `MP4ConvertFromTrackDuration'
libmp4.c:249: error: `MP4_MSECS_TIME_SCALE' undeclared (first use in this function)
libmp4.c:250: error: `numSamples' undeclared (first use in this function)
libmp4.c:250: warning: implicit declaration of function `MP4GetTrackNumberOfSamples'
libmp4.c:254: warning: int format, gulong arg (arg 3)
libmp4.c:262: warning: implicit declaration of function `MP4ConvertToTrackDuration'
libmp4.c:266: error: `sampleID' undeclared (first use in this function)
libmp4.c:266: warning: implicit declaration of function `MP4GetSampleIdFromTime'
libmp4.c:281: warning: implicit declaration of function `MP4ReadSample'
libmp4.c:213: warning: unused variable `avgBitrate'
libmp4.c:335: error: `FILE' undeclared (first use in this function)
libmp4.c:335: error: `file' undeclared (first use in this function)
libmp4.c:348: warning: implicit declaration of function `fopen'
libmp4.c:349: warning: char format, void arg (arg 2)
libmp4.c:356: warning: implicit declaration of function `fclose'
libmp4.c:372: warning: implicit declaration of function `fread'
libmp4.c:385: warning: implicit declaration of function `strncmp'
libmp4.c:388: warning: implicit declaration of function `fseek'
libmp4.c:388: error: `SEEK_SET' undeclared (first use in this function)
libmp4.c:407: warning: passing arg 4 of `faacDecInit' from incompatible pointer type
libmp4.c:445: warning: implicit declaration of function `memmove'
libmp4.c:466: warning: passing arg 4 of `faacDecInit' from incompatible pointer type
make[4]: *** [libmp4_la-libmp4.lo] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins/xmms/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins/xmms'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2'
make: *** [all] Fehler 2

!!! ERROR: media-libs/faad2-2.0-r11 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 9 merwan kashouty 2006-02-06 18:54:29 UTC
as chris smith posted "Having this problem as well. I decided to remerge all of faad2's dependencies
and it worked for me.
emerge xmms id3lib libmp4v2 faad2"

this also fixed this for me
Comment 10 Jonathan Heaney 2006-02-06 19:11:27 UTC
I got this here too.  Just re-emerging libmp4v2 enabled faad2 to build properly.
Comment 11 Gerald Fraser 2006-02-08 01:08:18 UTC
Ditto
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-02-08 01:39:09 UTC
Seems like a result of fix for Bug 120799...
Comment 13 Olivier Crete (RETIRED) gentoo-dev 2006-02-08 06:28:21 UTC
alright, the problem is simple, faad2-2.0-r10 would overwrite libmp4v2.so and mp4.h with the xmms flag (that was bug #120799), so when you upgraded to -r11 (and it no longer overwrote it), the lib was no longer there, so you need to remerge the libmp4v2 package to install the lib and then you can build faad2 without problems.

*** This bug has been marked as a duplicate of 120799 ***
Comment 14 Chris Smith 2006-02-08 07:32:40 UTC
Since it needs to build against it shouldn't media-libs/libmp4v2 be listed as a DEPEND in the ebuild instead of an RDEPEND?
Comment 15 Olivier Crete (RETIRED) gentoo-dev 2006-02-08 07:46:47 UTC
Indeed it should, I've made that bug #122129
Comment 16 Attila Stehr 2006-02-11 13:46:34 UTC
me too :-\

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DHAVE_GLIB_H=1 -I../../../include -march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -MT libmp4_la-libmp4.lo -MD -MP -MF .deps/libmp4_la-libmp4.Tpo -c libmp4.c  -fPIC -DPIC -o .libs/libmp4_la-libmp4.o
libmp4.c:12:17: mp4.h: No such file or directory
libmp4.c:26: error: parse error before "file"
libmp4.c:41: error: parse error before "file"
libmp4.c: In function `mp4_init':
libmp4.c:92: warning: implicit declaration of function `memset'
libmp4.c: In function `mp4_isFile':
libmp4.c:120: warning: implicit declaration of function `strrchr'
libmp4.c:123: warning: implicit declaration of function `strcasecmp'
libmp4.c: In function `mp4Decode':
libmp4.c:183: error: `MP4FileHandle' undeclared (first use in this function)
libmp4.c:183: error: (Each undeclared identifier is reported only once
libmp4.c:183: error: for each function it appears in.)
libmp4.c:183: error: parse error before "mp4file"
libmp4.c:188: error: `mp4file' undeclared (first use in this function)
libmp4.c:188: warning: implicit declaration of function `MP4Read'
libmp4.c:190: warning: implicit declaration of function `MP4Close'
libmp4.c:214: error: `MP4Duration' undeclared (first use in this function)
libmp4.c:214: error: parse error before "duration"
libmp4.c:216: error: `MP4SampleId' undeclared (first use in this function)
libmp4.c:216: error: parse error before "numSamples"
libmp4.c:220: warning: implicit declaration of function `MP4GetTrackESConfiguration'
libmp4.c:229: warning: passing arg 4 of `faacDecInit2' from incompatible pointer type
libmp4.c:247: error: `duration' undeclared (first use in this function)
libmp4.c:247: warning: implicit declaration of function `MP4GetTrackDuration'
libmp4.c:248: warning: implicit declaration of function `MP4ConvertFromTrackDuration'
libmp4.c:249: error: `MP4_MSECS_TIME_SCALE' undeclared (first use in this function)
libmp4.c:250: error: `numSamples' undeclared (first use in this function)
libmp4.c:250: warning: implicit declaration of function `MP4GetTrackNumberOfSamples'
libmp4.c:254: warning: int format, different type arg (arg 3)
libmp4.c:262: warning: implicit declaration of function `MP4ConvertToTrackDuration'
libmp4.c:266: error: `sampleID' undeclared (first use in this function)
libmp4.c:266: warning: implicit declaration of function `MP4GetSampleIdFromTime'
libmp4.c:281: warning: implicit declaration of function `MP4ReadSample'
libmp4.c:213: warning: unused variable `avgBitrate'
libmp4.c:335: error: `FILE' undeclared (first use in this function)
libmp4.c:335: error: `file' undeclared (first use in this function)
libmp4.c:348: warning: implicit declaration of function `fopen'
libmp4.c:349: warning: char format, void arg (arg 2)
libmp4.c:356: warning: implicit declaration of function `fclose'
libmp4.c:372: warning: implicit declaration of function `fread'
libmp4.c:385: warning: implicit declaration of function `strncmp'
libmp4.c:388: warning: implicit declaration of function `fseek'
libmp4.c:388: error: `SEEK_SET' undeclared (first use in this function)
libmp4.c:407: warning: passing arg 4 of `faacDecInit' from incompatible pointer type
libmp4.c:445: warning: implicit declaration of function `memmove'
libmp4.c:466: warning: passing arg 4 of `faacDecInit' from incompatible pointer type
make[4]: *** [libmp4_la-libmp4.lo] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins/xmms/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins/xmms'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2/plugins'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0-r11/work/faad2'
make: *** [all] Fehler 2


Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox severe sfperms strict test"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa amd64 artworkextra asf audiofile avi berkdb bitmap-fonts bzip2 bzlib cairo cdda cdio cdr crypt css cups curl dbus dga directfb dlloader dmalloc dnd dpms dts dvd dvdr dvdread dvi eds emacs emboss encode esd exif expat fam fame fat fbcon ffmpeg firefox foomaticdb freetype gcj gdbm ggi gif gimpprint glut gmp gnome gpm gs gstreamer gtk gtk2 gtkhtml hal hardened howl hpn idn imagemagick imlib ipv6 ithreads javascript jpeg jpeg2k kde lcms libsamplerate libwww linuxthreads-tls lzo lzw lzw-tiff matroska mbox memlimit milter mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mpeg mpi nautilus ncurses nls nptl nptlonly ntfs nvidia offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcre pdflib perl png ppds python qt quicktime readline real reiserfs rle sasl sdl slang sndfile spell ssl stream svg symlink tcltk tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd videos vorbis wmf xine xml xml2 xmms xosd xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 17 Olivier Crete (RETIRED) gentoo-dev 2006-02-12 16:56:46 UTC
(In reply to comment #16)
> me too :-\

Did you re-emerge libmp4v2 as recommended in comment #13 ?
Comment 18 Attila Stehr 2006-02-12 17:57:43 UTC
Well, I just wanted to point out that the bug occured on my system too. Reemergeing libmp4v2 worked as workaround. :-)
Comment 19 Jaak Ristioja 2006-02-12 20:55:44 UTC
(In reply to comment #18)
> Well, I just wanted to point out that the bug occured on my system too.
> Reemergeing libmp4v2 worked as workaround. :-)
> 

Same here.
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2006-02-13 14:17:49 UTC
*** Bug 122732 has been marked as a duplicate of this bug. ***
Comment 21 Susie Edgeworth 2006-02-13 14:55:31 UTC
This worked for me as well.  I had tried originally uninstalling faad2 and reinstalling because sometimes that fixes things and I had altered my USE flags.  But that didn't work.  I'm glad this fixes it as I think in my case more than one package depended on this.
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-02-14 01:14:08 UTC
*** Bug 122759 has been marked as a duplicate of this bug. ***
Comment 23 Markus Ullmann (RETIRED) gentoo-dev 2006-02-22 13:26:47 UTC
Confirming bug and workaround on multiple boxes
Comment 24 Drew Winstel 2006-02-26 08:30:15 UTC
Bug and workaround confirmed on amd64 here.
Comment 25 Olivier Crete (RETIRED) gentoo-dev 2006-02-26 16:01:41 UTC
problem has been fixed.. see comment #13 if you still see the problem.
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2006-06-20 02:49:28 UTC
*** Bug 137348 has been marked as a duplicate of this bug. ***