Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140765 - gpac-0.4.1_pre20060122-r1 USE flag confusion (aac vs. faad)
Summary: gpac-0.4.1_pre20060122-r1 USE flag confusion (aac vs. faad)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: QAbadiuse
: 142176 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-17 04:26 UTC by Peter Beutner
Modified: 2006-08-01 09:00 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 Peter Beutner 2006-07-17 04:26:52 UTC
Why are there two flags to do one thing (enabling support for aac files)?

It does only work anyways if you enable both of them, because 'aac' pulls in media-libs/faad2 and 'faad' enables the compilation of faad2 support in gpac.
Comment 1 Neil Cathey 2006-07-18 11:39:13 UTC
Also on the topic of USE flags (but not related to aac/faad, so I can create a new bug if necessary):

USE="js" emerge gpac doesn't pull in dev-lang/spidermonkey and without it compilation fails:

[snip]
gcc -shared -Wl,-O1 -Wl,--warn-common -o ../bin/gcc/libgpac.so *.o -lm -ljs -lz -lssl -lcrypto -lpthread -ldl
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljs
collect2: ld returned 1 exit status
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpac-0.4.1_pre20060122-r1/work/gpac/src'
make: *** [lib] Error 2

!!! ERROR: media-video/gpac-0.4.1_pre20060122-r1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  gpac-0.4.1_pre20060122-r1.ebuild, line 117:   Called die

!!! emake failed.
!!! If you need support, post the topmost build error, and the call stack if relevant.

Manually emerging spidermonkey fixes the problem.

Also, should "js" be called "javascript"?  There's already a USE flag called "javascript".
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-30 06:26:33 UTC
*** Bug 142176 has been marked as a duplicate of this bug. ***
Comment 3 Patrick McLean gentoo-dev 2006-08-01 09:00:05 UTC
Fixed, now uses aac USE flag everywhere.