Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601058 - kde-libs/libkface-16.08.03 USE="contrib" with media-libs/opencv-3.1.0-r6 - .../work/libkface-16.08.3/src/recognition-opencv-lbph/facerec_borrowed.h:144:10: error: ‘void KFaceIface::LBPHFaceRecognizer::predict(cv::InputArray, cv::Ptr<cv::face::PredictColle
Summary: kde-libs/libkface-16.08.03 USE="contrib" with media-libs/opencv-3.1.0-r6 - .....
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-11-28 09:57 UTC by Mike Hiretsky
Modified: 2016-11-29 07:44 UTC (History)
0 users

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


Attachments
build.log (build.log,49.53 KB, text/plain)
2016-11-28 09:57 UTC, Mike Hiretsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hiretsky 2016-11-28 09:57:55 UTC
Created attachment 454578 [details]
build.log

After the update of libkface-16.08.03

diff --git a/kde-apps/libkface/libkface-16.08.3.ebuild b/kde-apps/libkface/libkface-16.08.3.ebuild
index ea2fa95..5ae95e4 100644
--- a/kde-apps/libkface/libkface-16.08.3.ebuild
+++ b/kde-apps/libkface/libkface-16.08.3.ebuild
@@ -19,11 +19,12 @@ DEPEND="
 	$(add_qt_dep qtsql)
 	$(add_qt_dep qtwidgets)
 	$(add_qt_dep qtxml)
-	media-libs/opencv:=[contrib(+)]
+	media-libs/opencv:=
+	|| ( <media-libs/opencv-3.0.0 >=media-libs/opencv-3.1.0-r6[contrib] )
 "
 RDEPEND="${DEPEND}"
 
-PATCHES=( "${FILESDIR}/${PN}-15.12.2-opencv3.1.patch" )
+PATCHES=( "${FILESDIR}/${PN}-16.08.3-opencv3.2-gentoo-3.1.patch" ) # not upstreamable like that
 
 src_configure() {
 	local mycmakeargs=(

libkface failed to compile
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-11-28 10:04:26 UTC
/var/calculate/tmp/portage/kde-apps/libkface-16.08.3/work/libkface-

Wrong distro.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-11-28 10:05:47 UTC
Oh, there is a patch.
Comment 3 Andreas Sturmlechner gentoo-dev 2016-11-28 12:39:32 UTC
Then calculate uses a different opencv-3.1.0-r6 than Gentoo. Because the build issue you are describing was fixed _by_ that patch.
Comment 4 Andreas Sturmlechner gentoo-dev 2016-11-28 18:51:18 UTC
Indeed, Calculate's opencv-3.1.0-r6 uses a different contrib snapshot. Closing this.
Comment 5 Mike Hiretsky 2016-11-29 07:44:06 UTC
Thanks. Ebuild works. libkface is compiled with opencv-3.1.0-r6::gentoo sucessfully.