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

Bug 260172

Summary: media-libs/opencv-1.0.0-r1 fails to build
Product: Gentoo Linux Reporter: Richard Li <admin>
Component: New packagesAssignee: Thomas Anderson (tanderson) (RETIRED) <tanderson>
Status: RESOLVED FIXED    
Severity: normal CC: chris.c.hogan, eduardhc
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
environment
emerge --info

Description Richard Li 2009-02-24 20:38:02 UTC
Emerge fails.
Comment 1 Richard Li 2009-02-24 20:38:50 UTC
Created attachment 183061 [details]
build.log
Comment 2 Richard Li 2009-02-24 20:39:09 UTC
Created attachment 183063 [details]
environment
Comment 3 Richard Li 2009-02-24 20:39:23 UTC
Created attachment 183064 [details]
emerge --info
Comment 4 Eduard Huguet 2009-03-01 22:57:29 UTC
Same here. This library seems to be a dependency of kipi-plugins when using USE flag 'redeye'.
Comment 5 Christopher Hogan 2009-03-02 02:52:58 UTC
This bug is caused by bug 258652.

Currently, swig-1.3.36 is stable and swig-1.3.38 is in testing.

The patch introduced in bug 258652 fixes compilation with swig-1.3.38. However, it breaks compilation with swig-1.3.36.

To work around it, upgrade to swig-1.3.38, or comment out "epatch "${FILESDIR}"/${P}-fix-swig.patch" in the ebuild.

I chose to comment out the patch and OpenCV compiled fine with swig-1.3.36
Comment 6 Richard Li 2009-03-02 05:47:16 UTC
Works for me. Thanks.

(In reply to comment #5)
> This bug is caused by bug 258652.
> 
> Currently, swig-1.3.36 is stable and swig-1.3.38 is in testing.
> 
> The patch introduced in bug 258652 fixes compilation with swig-1.3.38. However,
> it breaks compilation with swig-1.3.36.
> 
> To work around it, upgrade to swig-1.3.38, or comment out "epatch
> "${FILESDIR}"/${P}-fix-swig.patch" in the ebuild.
> 
> I chose to comment out the patch and OpenCV compiled fine with swig-1.3.36
> 

Comment 7 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2009-03-02 18:51:57 UTC
Thanks for the bug report and the hint at the problem.

I've bumped the required swig version to 1.3.38 so we won't have this problem anymore.