Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635004 - media-video/ffmpegthumbnailer-2.2.0 does not build with GCC 4.9 due to missing std::to_string
Summary: media-video/ffmpegthumbnailer-2.2.0 does not build with GCC 4.9 due to missin...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-21 15:55 UTC by René Rhéaume
Modified: 2019-06-12 10:24 UTC (History)
0 users

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


Attachments
ffmpegthumbnailer-2.2.0-to_string.patch (ffmpegthumbnailer-2.2.0-to_string.patch,706 bytes, patch)
2017-10-21 15:55 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 2017-10-21 15:55:39 UTC
Created attachment 499556 [details, diff]
ffmpegthumbnailer-2.2.0-to_string.patch

media-video/ffmpegthumbnailer does not build on GCC 4.9.x because its C++11 support is incomplete. In this specific package, std::to_string is not implemented. The following patch works around this by using a stringstream object.
Comment 1 Andreas Sturmlechner gentoo-dev 2017-10-21 16:12:27 UTC
This is unlikely to get accepted upstream, which will be the prerequisite for adding this patch to the ebuild. I can only recommend to make the upgrade to latest stable GCC sooner than later.

@video, should the ebuild check for min active gcc version instead?
Comment 2 Andreas Sturmlechner gentoo-dev 2017-10-21 17:02:49 UTC
Please attach your build.log and emerge --info.