Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409197 - media-video/mjpegtools-2.0.0-r1 fails to build on gcc-4.7.0
Summary: media-video/mjpegtools-2.0.0-r1 fails to build on gcc-4.7.0
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
Keywords: PATCH
Depends on:
Blocks: gcc-4.7
  Show dependency tree
Reported: 2012-03-21 16:18 UTC by Branko Badrljica
Modified: 2012-04-08 11:33 UTC (History)
2 users (show)

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

emerge --info (eminfo.txt,7.70 KB, text/plain)
2012-03-21 16:18 UTC, Branko Badrljica
build log (media-video:mjpegtools-2.0.0-r1:20120321-180950.log,209.81 KB, text/plain)
2012-03-21 16:20 UTC, Branko Badrljica
new ebuild (mjpegtools-2.0.0-r2.ebuild,2.04 KB, text/plain)
2012-03-21 16:20 UTC, Branko Badrljica
patch for gcc-4.7.0* (mjpegtools_gcc470.patch,253 bytes, patch)
2012-03-21 16:21 UTC, Branko Badrljica
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Branko Badrljica 2012-03-21 16:18:13 UTC
when building with gcc-4.7.0_rc20120314, build fails with 

"MotionSearcher.hh:2199:3: error: ‘DeleteRegion’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]"

check attached "emerge --info", build log, new ebuild and patch

Reproducible: Always
Comment 1 Branko Badrljica 2012-03-21 16:18:33 UTC
Created attachment 306201 [details]
emerge --info
Comment 2 Branko Badrljica 2012-03-21 16:20:22 UTC
Created attachment 306203 [details]
build log
Comment 3 Branko Badrljica 2012-03-21 16:20:56 UTC
Created attachment 306205 [details]
new ebuild
Comment 4 Branko Badrljica 2012-03-21 16:21:30 UTC
Created attachment 306207 [details, diff]
patch for gcc-4.7.0*
Comment 5 Daniel Pielmeier gentoo-dev 2012-04-08 11:33:52 UTC
+*mjpegtools-2.0.0-r2 (08 Apr 2012)
+  08 Apr 2012; Daniel Pielmeier <>
+  +mjpegtools-2.0.0-r2.ebuild, +files/mjpegtools-2.0.0-gcc470.patch:
+  Add patch to fix building with gcc-4.7. Thanks to Branko BAdrljica in bug
+  #409197.