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

Bug 493530

Summary: media-libs/opencv-2.4.7: USE="-openmp" is broken
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: [OLD] KDEAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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? :)