Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43641 - ffmpeg-0.4.8.20040222 doesn't build on ppc
Summary: ffmpeg-0.4.8.20040222 doesn't build on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High enhancement (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 43639 (view as bug list)
Depends on:
Blocks: 37639
  Show dependency tree
 
Reported: 2004-03-03 13:37 UTC by Joel Martin (RETIRED)
Modified: 2004-03-23 08:58 UTC (History)
4 users (show)

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


Attachments
ebuild for media-video/ffmpeg-0.4.8.20040222.ebuild (ffmpeg-0.4.8.20040222.ebuild,2.57 KB, text/plain)
2004-03-03 13:38 UTC, Joel Martin (RETIRED)
Details
Update to install libpostproc library (ffmpeg-0.4.8.20040222.ebuild,3.37 KB, text/plain)
2004-03-04 13:47 UTC, Joel Martin (RETIRED)
Details
New ebuild: Fix mplayer "undependency" bug (ffmpeg-0.4.8.20040222.ebuild,3.11 KB, text/plain)
2004-03-05 07:21 UTC, Joel Martin (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Martin (RETIRED) gentoo-dev 2004-03-03 13:37:31 UTC
In order to get vlc 0.7.1 linking properly with ffmpeg I needed to use a newer
snapshot of ffmpeg. This version of ffmpeg is the one linked from vlc's site to download in order to build vlc 0.7.1. Notice that it downloads the snapshot from
vlc's site.

In addition I changed the license to LGPL since this is what is noted in the README and COPYING document. Interestingly, they note that enabling a52 or libpostproc makes it GPL. It seems better to me to specify LGPL since this is
in the COPYING document. Also, I yanked a patch that has already gone upstream. I also removed --enablea52bin since this breaks the build.

Other somewhat related bugs: 27051, 35814, 39773, 43639, 43640 and 37639 (where I will submit the ebuild for 0.7.1)

Reproducible: Always
Steps to Reproduce:
Comment 1 Joel Martin (RETIRED) gentoo-dev 2004-03-03 13:38:23 UTC
Created attachment 26794 [details]
ebuild for media-video/ffmpeg-0.4.8.20040222.ebuild
Comment 2 Joel Martin (RETIRED) gentoo-dev 2004-03-04 13:47:37 UTC
Created attachment 26855 [details]
Update to install libpostproc library

Updated ffmpeg ebuild to install the libpostproc library. Originally I had this
split into a seperate ebuild (43639), but after discussion on gentoo-dev I'm
proposing this combined approach.
Comment 3 Joel Martin (RETIRED) gentoo-dev 2004-03-04 13:51:03 UTC
*** Bug 43639 has been marked as a duplicate of this bug. ***
Comment 4 Francois Guimond 2004-03-05 05:00:22 UTC
Note that there's a slight bug in your ebuild...  you put in a condition to prevent building if "<=media-video/mplayer-1.0_pre3-r1" is present.  Don't you mean "<" instead of "<=" ?  This currently excludes even the 'fixed' ebuild for mplayer.

Also, don't mean to be a nitpicker, but since portage provides a functionality for this, wouldn't it be possible to do it in the DEPEND section (adding " !<media-video/mplayer-1.0_pre3-r1" to DEPEND so that earlier versions of mplayer block this ebuild).  As far as I know, this wouldn't create a dependency on mplayer, it would just make ffmpeg be blocked by earlier versions of mplayer, which is what you are doing in your pkg_setup section.
Comment 5 Joel Martin (RETIRED) gentoo-dev 2004-03-05 07:21:32 UTC
Created attachment 26900 [details]
New ebuild: Fix mplayer "undependency" bug

Thanks for the fast catch Francois. I think I had the pkg_setup check correct
when I was using a libpostproc seperate ebuild, and just copied wrong.

But the dependency suggestion is much better. Here is an updated ebuild with
your suggestion incorporated.
Comment 6 Joel Martin (RETIRED) gentoo-dev 2004-03-12 13:22:07 UTC
I have submitted this to the tree. I'm taking ownership of this bug since I created and submitted it. Adding azarah and media-video to CC:
Comment 7 Luca Barbato gentoo-dev 2004-03-14 18:40:28 UTC
there is a problem: seems that the ebuild fails to build on ppc, I'm investigating why that happens, in the mean time the vlc and the ffmpeg ebuilds are -ppc
Comment 8 Joel Martin (RETIRED) gentoo-dev 2004-03-22 08:08:20 UTC
Renamed bug to reflect ongoing ppc work. Assigned to media-video since I don't 
have ppc.
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2004-03-23 08:58:58 UTC
closing with ffmpeg-0.4.8.20040322.ebuild