pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52157: libkface can't find opencv



>Number:         52157
>Category:       pkg
>Synopsis:       libkface can't find opencv
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 12 13:40:00 +0000 2017
>Originator:     Simon Burge
>Release:        NetBSD 7.1_STABLE
>Organization:
Not really
>Environment:
	System: NetBSD athlon.thistledown.com.au 7.1_STABLE NetBSD 7.1_STABLE (THOREAU) #12: Sat Apr 8 01:21:38 EST 2017 simonb%thoreau.thistledown.com.au@localhost:/NetBSD/src7/sys/arch/amd64/compile/THOREAU amd64
Architecture: x86_64
Machine: amd64
>Description:
	Trying to build the digikam package on an amd64 netbsd-7 system
	with pkgsrc-2017Q1 gets the following error:

	===> Configuring for libkface-4.13.0nb4
	...
	-- First try at finding OpenCV...
	-- Could NOT find OpenCV (missing:  face) (found version "3.2.0")
	CMake Warning at cmake/modules/MacroOpenCV.cmake:27 (find_package):
	  Found package configuration file:

	    /usr/pkg/share/OpenCV/OpenCVConfig.cmake

	  but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
	  NOT FOUND.
	Call Stack (most recent call first):
	  CMakeLists.txt:37 (DETECT_OPENCV)


	-- Great, found OpenCV on the first try.
	-- OpenCV Root directory is: /usr/pkg/share/OpenCV
	-- OpenCV: Found version 3.2.0 (required: 3.0.0)
	-- OpenCV headers: /usr/pkg/include;/usr/pkg/include/opencv
	-- OpenCV libs   : opencv_core;opencv_highgui;opencv_objdetect;opencv_imgproc
	CMake Error at CMakeLists.txt:121 (message):
	  LibKface cannot be compiled.


	The opencv package is installed:

		athlon 24> pkg_info | grep opencv
		opencv-3.2.0        Library for computer vision problems
		opencv-contrib-face-3.2.0 OpenCV face recognition contributed module

	Unrelated, but if anyone is playing with this package and wants a
	bonus cookie...  There's also this as the build of libkface bombs:

		WARNING: Please add USE_TOOLS+=perl to the package Makefile.

>How-To-Repeat:
	Try to build libkface (or digikam which requires this package)

>Fix:
	None given.

>Unformatted:
 	netbsd-7 branch from 7 Apr 2016, pkgsrc-2017Q1 .


Home | Main Index | Thread Index | Old Index