Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493530 - media-libs/opencv-2.4.7: USE="-openmp" is broken
Summary: media-libs/opencv-2.4.7: USE="-openmp" is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-07 13:56 UTC by Nikoli
Modified: 2013-12-07 14:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2013-12-07 13:56:53 UTC
>>> Configuring source in /var/package-manager/tmp/portage/media-libs/opencv-2.4.7/work/opencv-2.4.7 ...
 * ERROR: media-libs/opencv-2.4.7::gentoo failed (configure phase):
 *   Please switch to an openmp compatible compiler


Instead of
use openmp && tc-has-openmp || die "Please switch to an openmp compatible compiler"

ebuild should have:
if use openmp; then
tc-has-openmp || die "Please switch to an openmp compatible compiler"
fi
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2013-12-07 14:31:17 UTC
Fixed. How are your quizzes going? :)