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

Bug 27187

Summary: faad2 hopelessly outdated
Product: Gentoo Linux Reporter: Derk-Jan Hartman <thedj>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://faac.sourceforge.net
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 30145, 30147    

Description Derk-Jan Hartman 2003-08-23 13:26:07 UTC
First of all faad2-1.1 is still masked in gentoo. Really no reason for that as far as i can c.
Secondly after faad2-1.2 now there's already faad2-2.0

Please upgrade faad2, since 1.1 still has some incompatibilities with certain aac audio 
streams. faad2-2.0 plays almost every aac file in the world.

Reproducible: Always
Steps to Reproduce:
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-23 16:32:31 UTC
*** Bug 27197 has been marked as a duplicate of this bug. ***
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-08-24 05:23:01 UTC
i can't see any 1.2 release
Comment 3 Derk-Jan Hartman 2003-08-24 10:23:38 UTC
oh, it wasn't ofiicially release i see, there was just a 1.2 API cvs release and now a 2.0 
API.   i think 1.2 got renamed.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-09-12 07:40:34 UTC
libaac.c: In function `aac_decode':
libaac.c:278: warning: passing arg 3 of `faacDecInit' makes pointer from integer without a cast
libaac.c:278: warning: passing arg 4 of `faacDecInit' from incompatible pointer type
libaac.c:278: error: too many arguments to function `faacDecInit'
libaac.c:315: error: too many arguments to function `faacDecDecode'
make[4]: *** [libaac.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/faad2-2.0_rc1/work/plugins/xmms/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/faad2-2.0_rc1/work/plugins/xmms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/faad2-2.0_rc1/work/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/faad2-2.0_rc1/work'
make: *** [all-recursive-am] Error 2

I'm getting compile errors on this.  If someone has a good ebuild for this, please post it.  The 1.2 version you referred to seems to be faac and not faad2
Comment 5 Reuben Nelson 2003-09-26 14:56:33 UTC
The error is caused by "faad.h" being picked up from faad2 1.1 rather than
from faad2 2.0. The signature for these two functions changed between the
two versions. The libaac.c file should probably be patched to make sure it
point to the "faad.h" included in the tarball. I've gotten this to work manually
on my Solaris system, but I'm still inexperienced with .ebuilds.
Comment 6 Roy Marples (RETIRED) gentoo-dev 2003-10-02 03:19:31 UTC
faad2 ignores the USE -xmms flag which I have set.

This is a problem as it tries to build against xmms and borks!

:(
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-10-02 04:34:12 UTC
closing as 2.0_rc1 is in
other bugs are in depend