Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219196 - media-plugins/mythphone-0.21_p17105 missing dep for USE="festival" and wrong include directory
Summary: media-plugins/mythphone-0.21_p17105 missing dep for USE="festival" and wrong ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 21:17 UTC by Michael Cramer
Modified: 2009-01-10 13:08 UTC (History)
0 users

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 21:17:56 UTC
emerge -pv mythphone

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

Calculating dependencies... done!
[ebuild   R   ] media-plugins/mythphone-0.21_p17105  USE="festival mmx -debug" 0 kB 

>>> Compiling source in /var/tmp/portage/media-plugins/mythphone-0.21_p17105/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 --disable-mythmusic --disable-mythnews --enable-mythphone --disable-mythvideo --disable-mythweather --disable-mythweb --disable-mytharchive --disable-mythzoneminder --disable-mythmovies --enable-festival --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 not be built
        MythNews       plugin will not be built
        MythPhone      plugin will 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
        FESTIVAL       support will not be included in MythPhone


looking in the configure script, festival support is only enabled if libraries from speech-tools, festival AND libtermcap are available. libtermcap must be a dep when festival is requested. this library is provided by the sys-libs/libtermcap-compat ebuild. when this library is present configure includes festival support

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-plugins/mythphone-0.21_p17105/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 --disable-mythmusic --disable-mythnews --enable-mythphone --disable-mythvideo --disable-mythweather --disable-mythweb --disable-mytharchive --disable-mythzoneminder --disable-mythmovies --enable-festival --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 not be built
        MythNews       plugin will not be built
        MythPhone      plugin will 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
        FESTIVAL       support will be included in MythPhone

-------------------------------------------------------------------------------

another problem with the festival support is now, when support will be included, compiling fails, because of not finding some header files from speech-tools. This is because in configure script the include path is set to /usr/include/speech_tools, but speechtools in portage installs the header files in /usr/include/sppech-tools, difference is the underscore which should be a minus. replacing these two entries in the configure script fixes this build issue. mybe both things can be changed together

Reproducible: Always
Comment 1 Michael Cramer 2008-04-24 21:31:16 UTC
sorry i was a little bit to fast, the check for libtermcap can be completly
removed in the configure script, also the entry in the lib line which is added
to config.pro in the mythphone section. it is not needed at all. so forget what
i've written about a new dep.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2008-06-02 16:00:42 UTC
So what's the right solution here? If we need to patch something upstream then it's best to open an upstream ticket at http://svn.mythtv.org and link it in the URL field of this bug.