Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111426

Summary: media-libs/faac-1.24 fails to compile (missing mp4.h)
Product: Gentoo Linux Reporter: Daniel Drake (RETIRED) <dsd>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED DUPLICATE    
Severity: normal CC: tester
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Drake (RETIRED) gentoo-dev 2005-11-03 16:33:29 UTC
I think there may be a missing dependency.

make[2]: Entering directory `/var/tmp/portage/faac-1.24/work/faac/frontend'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    
-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=387 -MT main.o
-MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    
-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=387 -MT
input.o -MD -MP -MF ".deps/input.Tpo" -c -o input.o input.c; \
then mv -f ".deps/input.Tpo" ".deps/input.Po"; else rm -f ".deps/input.Tpo";
exit 1; fi
main.c:33:18: mp4.h: No such file or directory
main.c: In function `main':
main.c:425: error: `MP4FileHandle' undeclared (first use in this function)
main.c:425: error: (Each undeclared identifier is reported only once
main.c:425: error: for each function it appears in.)
main.c:425: error: parse error before "MP4hFile"
main.c:426: error: `MP4TrackId' undeclared (first use in this function)
main.c:851: error: `MP4hFile' undeclared (first use in this function)
main.c:868: error: `MP4_DETAILS_ERROR' undeclared (first use in this function)
main.c:876: error: `MP4track' undeclared (first use in this function)
main.c:876: error: `MP4_INVALID_DURATION' undeclared (first use in this function)
main.c:876: error: `MP4_MPEG4_AUDIO_TYPE' undeclared (first use in this function)
main.c:971: error: `MP4_INVALID_FILE_HANDLE' undeclared (first use in this function)
main.c:1087: error: `MP4Duration' undeclared (first use in this function)
main.c:1087: error: parse error before "dur"
main.c:1093: error: `dur' undeclared (first use in this function)
main.c:1093: error: `ofs' undeclared (first use in this function)
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/faac-1.24/work/faac/frontend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/faac-1.24/work/faac'
make: *** [all] Error 2

!!! ERROR: media-libs/faac-1.24 failed.
!!! Function src_compile, Line 6273, Exitcode 2
!!! emake failed

Portage 1.589-cvs (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre9
Python:              dev-lang/python-2.4.2 [2.4.2 (#1, Sep 29 2005, 21:02:57)]
distcc: No such file or directory [disabled]
ccache: No such file or directory [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13, 1.1
sys-devel/autoconf:  2.59-r7, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.5, 1.4_p6, 1.6.3
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=387"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer
-mfpmath=387"DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy cvs distlocks sandbox sfperms sign
strict"GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acpi alsa avi bash-completion beepmp bitmap-fonts cdr
cups curl dbus divx4linux dvd eds emboss fbcon flac foomaticdb fortran gcj ggi
gif gnome gpm gstreamer gtk gtk2 hal howl imagemagick imlib java jpeg libg++
libwww mad mmx mmxext mono mozilla moznocompose moznoirc moznomail mp3 mpeg
ncurses nomotif nptl ogg oggvorbis opengl pdflib perl png quicktime readline
real samba sandbox sdl slang sqlite sse ssl tcpd theora tiff truetype
truetype-fonts type1-fonts udev userlocales vorbis win32codecs xine xml2 xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS

Config files: /etc/make.conf, /etc/portage/bashrc, /etc/portage/mirrors,
/etc/portage/package.mask, /etc/portage/package.unmask,
/etc/portage/package.keywords, /etc/portage/profile/virtuals
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-11-03 16:43:52 UTC
The reason I was trying to install faac was because it was being pulled in as a
dependency of media-video/mpeg4ip-1.2

I gave up on that version and went to mpeg4ip-1.3 which doesn't depend on faac.
I noticed that mpeg4ip-1.3 provides mp4.h so it looks like the dependencies
might be the wrong way around here..?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-03 17:33:49 UTC

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