Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556450 - media-video/ffmpeg-2.6.3 build fix for sys-libs/uclibc
Summary: media-video/ffmpeg-2.6.3 build fix for sys-libs/uclibc
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-01 13:39 UTC by René Rhéaume
Modified: 2015-08-22 09:46 UTC (History)
0 users

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


Attachments
ffmpeg-2.6.3-uclibc.patch (ffmpeg-2.6.3-uclibc.patch,891 bytes, patch)
2015-08-01 13:40 UTC, René Rhéaume
Details | Diff
ffmpeg-2.6.3.ebuild.patch (ffmpeg-2.6.3.ebuild.patch,299 bytes, patch)
2015-08-01 13:42 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume 2015-08-01 13:39:18 UTC
FFmpeg 2.6.3 fails to build on uclibc as is because the latter lacks fe*except functions.

I made a patch which tests if a double-precision float number can be converted to a 32-bit integer before trying instead of trying the conversion then checking if an exception was raised (that check is using a missign function).

Reproducible: Always

Steps to Reproduce:
1. emeerge -1 ffmpeg
2.
3.
Actual Results:  
emake failed (compile phase)

Expected Results:  
FFmpeg updated on system
Comment 1 René Rhéaume 2015-08-01 13:40:13 UTC
Created attachment 408114 [details, diff]
ffmpeg-2.6.3-uclibc.patch
Comment 2 René Rhéaume 2015-08-01 13:42:45 UTC
Created attachment 408116 [details, diff]
ffmpeg-2.6.3.ebuild.patch
Comment 3 Alexis Ballier gentoo-dev 2015-08-03 09:01:31 UTC
please submit the patch upstream for review:
https://www.ffmpeg.org/developer.html#Submitting-patches-1
Comment 4 Alexis Ballier gentoo-dev 2015-08-22 09:46:34 UTC
(In reply to Alexis Ballier from comment #3)
> please submit the patch upstream for review:
> https://www.ffmpeg.org/developer.html#Submitting-patches-1

please do