Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 409197

Summary: media-video/mjpegtools-2.0.0-r1 fails to build on gcc-4.7.0
Product: Gentoo Linux Reporter: brankob
Component: [OLD] GCC PortingAssignee: Daniel Pielmeier <billie>
Status: RESOLVED FIXED    
Severity: normal CC: media-tv, media-video
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    
Attachments: emerge --info
build log
new ebuild
patch for gcc-4.7.0*

Description brankob 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 brankob 2012-03-21 16:18:33 UTC
Created attachment 306201 [details]
emerge --info
Comment 2 brankob 2012-03-21 16:20:22 UTC
Created attachment 306203 [details]
build log
Comment 3 brankob 2012-03-21 16:20:56 UTC
Created attachment 306205 [details]
new ebuild
Comment 4 brankob 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 <billie@gentoo.org>
+  +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.