Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220025 - sci-geosciences/grass-6.2.3 ebuild does not work with ffmpeg use flag
Summary: sci-geosciences/grass-6.2.3 ebuild does not work with ffmpeg use flag
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-02 10:41 UTC by Martin May
Modified: 2008-05-04 10:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,10.99 KB, text/plain)
2008-05-02 10:42 UTC, Martin May
Details
config.log (config.log,23.72 KB, text/plain)
2008-05-02 10:44 UTC, Martin May
Details
emerge --info (emerge-info.txt,4.32 KB, text/plain)
2008-05-02 10:44 UTC, Martin May
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin May 2008-05-02 10:41:23 UTC
Apparently the configure script does not find the header files of ffmpeg.

-------8<-----------
checking for location of FFMPEG includes... /usr/include/ffmpeg
configure: error: *** FFMPEG includes directory /usr/include/ffmpeg does not exist.
-------8<-----------

Regards
Martin
Comment 1 Martin May 2008-05-02 10:42:38 UTC
Created attachment 151598 [details]
build.log
Comment 2 Martin May 2008-05-02 10:44:16 UTC
Created attachment 151599 [details]
config.log

It claims: Please attach the following file when seeking support ...
Comment 3 Martin May 2008-05-02 10:44:53 UTC
Created attachment 151600 [details]
emerge --info
Comment 4 Steve Arnold archtester gentoo-dev 2008-05-03 03:43:34 UTC
This is what I get in my build log with media-video/ffmpeg-0.4.9_p20070616-r2:

checking whether to use FFMPEG... yes
checking for location of FFMPEG includes... /usr/include/ffmpeg
checking for avcodec.h... yes
checking for location of FFMPEG library... /usr/lib64
checking for avcodec_init in -lavcodec... yes

and all the include files are right where they're supposed to be.  Does /usr/include/ffmpeg exist?
Comment 5 Martin May 2008-05-03 08:48:07 UTC
Emerging media-video/ffmpeg-0.4.9_p20080326 it does not - you are right. With media-video/ffmpeg-0.4.9_p20070616-r2 it works. Sorry, my fault - media-video/ffmpeg-0.4.9_p20080326 is masked. Sometimes I am a little bit too used to unmask ebuilds.
Comment 6 Steve Arnold archtester gentoo-dev 2008-05-04 01:09:46 UTC
Okay, I've updated  the 6.2.3 ebuild to depend on the new ffmpeg stuff, and it seems to work.  If you've already rebuilt your other stuff for new ffmpeg, then please try the updated grass ebuild.
Comment 7 Martin May 2008-05-04 10:32:22 UTC
I tried both:

emerge =sci-geosciences/grass-6.2.1
-> works and forces ffmpeg to media-video/ffmpeg-0.4.9_p20070616

emerge =sci-geosciences/grass-6.2.3
-> works with USE="-ffmpeg"
-> works with USE="+ffmpeg" forcing ffmpeg to media-video/ffmpeg-0.4.9_p20080326 (hard masked ebuild)