Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219193 - media-plugins/mythmusic-0.21_p17015 doesn't include aac support when aac USE-flag is set
Summary: media-plugins/mythmusic-0.21_p17015 doesn't include aac support when aac USE-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 20:48 UTC by Michael Cramer
Modified: 2009-01-10 13:08 UTC (History)
2 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 Michael Cramer 2008-04-24 20:48:23 UTC
emerge -pv mythmusic

These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R   ] media-plugins/mythmusic-0.21_p17015  USE="aac cdr fftw libvisual mmx opengl sdl -debug" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB


>>> Compiling source in /var/tmp/portage/media-plugins/mythmusic-0.21_p17015/work/mythplugins-0.21 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-mythbrowser --disable-mythcontrols --disable-mythflix --disable-mythgallery --disable-mythgame --enable-mythmusic --disable-mythnews --disable-mythphone --disable-mythvideo --disable-mythweather --disable-mythweb --disable-mytharchive --disable-mythzoneminder --disable-mythmovies --enable-aac --enable-fftw --enable-sdl --enable-opengl --build=i686-pc-linux-gnu

Configuration settings: 
 
        MythArchive    plugin will not be built
        MythBrowser    plugin will not be built
        MythControls   plugin will not be built
        MythFlix       plugin will not be built
        MythGallery    plugin will not be built
        MythGame       plugin will not be built
        MythMusic      plugin will be built
        MythNews       plugin will not be built
        MythPhone      plugin will not be built
        MythVideo      plugin will not be built
        MythWeather    plugin will not be built
        MythZoneMinder plugin will not be built
        MythMovies     plugin will not be built
        OpenGL         support will be included in MythMusic
        libvisual      support will be included in MythMusic
        FFTW v.3       support will be included in MythMusic
        SDL            support will be included in MythMusic
        AAC            support will not be included in MythMusic


when looking at the configure script aac support is only enabled if libfaad AND libmp4ff AND faad.h are present. but faad2 doesn't install such a library, a directory in the source for mp4ff is available but nothing is installed.

emerge -pv faad2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/faad2-2.6.1  USE="-drm" 0 kB 


equery files faad2
[ Searching for packages matching faad2... ]
* Contents of media-libs/faad2-2.6.1:
/usr
/usr/bin
/usr/bin/faad
/usr/include
/usr/include/faad.h
/usr/include/neaacdec.h
/usr/lib
/usr/lib/libfaad.a
/usr/lib/libfaad.la
/usr/lib/libfaad.so -> libfaad.so.1.0.0
/usr/lib/libfaad.so.1 -> libfaad.so.1.0.0
/usr/lib/libfaad.so.1.0.0
/usr/share
/usr/share/doc
/usr/share/doc/faad2-2.6.1
/usr/share/doc/faad2-2.6.1/AUTHORS.bz2
/usr/share/doc/faad2-2.6.1/ChangeLog.bz2
/usr/share/doc/faad2-2.6.1/NEWS.bz2
/usr/share/doc/faad2-2.6.1/README.bz2
/usr/share/doc/faad2-2.6.1/README.linux.bz2
/usr/share/doc/faad2-2.6.1/TODO.bz2


so something isn't work correctly here

Reproducible: Always
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2008-04-25 13:37:20 UTC
did you compile mythtv with aac use flag?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2008-06-02 16:28:35 UTC
http://bugzilla.livna.org/show_bug.cgi?id=1040

It's an issue with how MythMusic uses libfaad2. Basically it's trying to link to an internal library which no longer exists since its been brought internally.
Comment 3 Tim Jordan 2008-12-25 09:16:08 UTC
if we add an extra patch as below it works and cures the mythmusic issue until myth change their aac handling

--- common/mp4ff/Makefile.am_orig	2006-08-27 18:02:47.000000000 -0700
+++ common/mp4ff/Makefile.am	2006-08-27 18:03:12.000000000 -0700
@@ -1,4 +1,4 @@
-noinst_LTLIBRARIES = libmp4ff.la
+lib_LTLIBRARIES = libmp4ff.la
 
 libmp4ff_la_CFLAGS = -DUSE_TAGGING=1
Comment 4 Tim Jordan 2008-12-25 09:57:44 UTC
scrub that exports the library but mythmusic still doesn't build
Comment 5 Steve Dibb (RETIRED) gentoo-dev 2009-01-10 13:08:03 UTC
dropped aac support