Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84241 - ffmpeg is not multilib-strict safe
Summary: ffmpeg is not multilib-strict safe
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 14:55 UTC by Jeremy Huddleston (RETIRED)
Modified: 2005-03-18 15:29 UTC (History)
3 users (show)

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


Attachments
libdir support (libdir.patch,4.86 KB, patch)
2005-03-15 15:43 UTC, Luca Barbato
Details | Diff
ebuild fixes (libdir-ebuild.patch,1.19 KB, patch)
2005-03-15 16:35 UTC, Luca Barbato
Details | Diff
Patch against ffmpeg-0.4.9-p20050226-r1.ebuild (ffmpeg-0.4.9_p20050226-r1.patch,1.83 KB, patch)
2005-03-15 17:14 UTC, Danny van Dyk (RETIRED)
Details | Diff
ffmpeg-0.4.9_p20050226-r1.ebuild (ffmpeg-0.4.9_p20050226-r1.ebuild,3.68 KB, text/plain)
2005-03-17 14:56 UTC, Chris White (RETIRED)
Details
ffmpeg-libdir-pic.patch (ffmpeg-libdir-pic.patch,5.89 KB, patch)
2005-03-17 14:56 UTC, Chris White (RETIRED)
Details | Diff
ffmpeg-0.4.9_p20050226-r1.ebuild (ffmpeg-0.4.9_p20050226-r1.ebuild,4.12 KB, text/plain)
2005-03-18 02:01 UTC, Jeremy Huddleston (RETIRED)
Details
new gentoo-ffmpeg patch (gentoo-ffmpeg002.patch,7.56 KB, patch)
2005-03-18 14:58 UTC, Daniel Gryniewicz (RETIRED)
Details | Diff
ffmpeg-0.4.9_p20050226-r1.ebuild (ffmpeg-0.4.9_p20050226-r1.ebuild,4.12 KB, text/plain)
2005-03-18 15:20 UTC, Chris White (RETIRED)
Details
gentoo-ffmpeg001.patch (gentoo-ffmpeg001.patch,1.03 KB, patch)
2005-03-18 15:20 UTC, Chris White (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-05 14:55:34 UTC
And the build system is VERY ugly... this is gonna take some time to fix.. =(
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2005-03-06 07:27:51 UTC
We should add a sane -fPIC'ization to the list of whishes regarding the ffmpeg
build system. Probably autotool'izing? :-)
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-06 13:06:45 UTC
Yeah, I'm going to try working with upstream to get this autotoolized... I wonder whose idea it was to just use a Makefile with paths hardcoded in everywhere... sigh...
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-06 13:09:03 UTC
Ooh... I might not need to do so much work afterall... http://sourceforge.net/mailarchive/message.php?msg_id=10805307
Comment 4 Luca Barbato gentoo-dev 2005-03-15 14:39:25 UTC
ffmpeg won't be autotoolized, upstream already rejected that (insane) patch, what's exactly needed?
Comment 5 Luca Barbato gentoo-dev 2005-03-15 15:43:55 UTC
Created attachment 53570 [details, diff]
libdir support

First requirement, make libdir different from an hardcoded $(prefix)/lib
Comment 6 Luca Barbato gentoo-dev 2005-03-15 16:35:48 UTC
Created attachment 53586 [details, diff]
ebuild fixes

here the ebuild fix to use the previously posted patch
Comment 7 Danny van Dyk (RETIRED) gentoo-dev 2005-03-15 17:14:22 UTC
Created attachment 53591 [details, diff]
Patch against ffmpeg-0.4.9-p20050226-r1.ebuild

Luca: I like this one better :-P

phi ffmpeg # qpkg -l ffmpeg | grep "/lib64/" | wc -l
17
phi ffmpeg # qpkg -l ffmpeg | grep "/lib/" | wc -l
0

I think ffpeg is multilib-strict safe with this patch and Luca's
patch to configure.
Comment 8 Chris White (RETIRED) gentoo-dev 2005-03-17 14:56:22 UTC
Created attachment 53734 [details]
ffmpeg-0.4.9_p20050226-r1.ebuild

The ebuild.
Comment 9 Chris White (RETIRED) gentoo-dev 2005-03-17 14:56:54 UTC
Created attachment 53735 [details, diff]
ffmpeg-libdir-pic.patch

The patch.
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-17 15:24:14 UTC
Assigning to chris since he's doing all the work ;p  I'll post an updated ebuild which does static/shared separately as static shouldn't be -fPIC
Comment 11 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-18 02:01:32 UTC
Created attachment 53765 [details]
ffmpeg-0.4.9_p20050226-r1.ebuild

Ok, this one installs static without -fPIC and shared with -fPIC...
Comment 12 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-03-18 14:58:11 UTC
Created attachment 53821 [details, diff]
new gentoo-ffmpeg patch

With this patch (and the ebuild changed to use it), I'm able to emerge this
with USE=dvd.  The static link of ffmpeg_g needs -la52.
Comment 13 Chris White (RETIRED) gentoo-dev 2005-03-18 15:20:26 UTC
Created attachment 53822 [details]
ffmpeg-0.4.9_p20050226-r1.ebuild
Comment 14 Chris White (RETIRED) gentoo-dev 2005-03-18 15:20:55 UTC
Created attachment 53823 [details, diff]
gentoo-ffmpeg001.patch
Comment 15 Chris White (RETIRED) gentoo-dev 2005-03-18 15:21:17 UTC
Use those above ^^
Comment 16 Chris White (RETIRED) gentoo-dev 2005-03-18 15:29:40 UTC
Annnnnd approved :).

Fixed and in cvs.  Thanks for all the hardwork guys :).