Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260172 - media-libs/opencv-1.0.0-r1 fails to build
Summary: media-libs/opencv-1.0.0-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Thomas Anderson (tanderson) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-24 20:38 UTC by Richard Li
Modified: 2009-03-02 18:51 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,318.61 KB, text/plain)
2009-02-24 20:38 UTC, Richard Li
Details
environment (environment,115.40 KB, text/plain)
2009-02-24 20:39 UTC, Richard Li
Details
emerge --info (info.txt,11.37 KB, text/plain)
2009-02-24 20:39 UTC, Richard Li
Details

Note You need to log in before you can comment on or make changes to this bug.
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.