NetBSD Problem Report #52157

From  Wed Apr 12 13:35:40 2017
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id BEE517A170
	for <>; Wed, 12 Apr 2017 13:35:40 +0000 (UTC)
Message-Id: <>
Date: Wed, 12 Apr 2017 22:06:42 +1000 (AEST)
Subject: libkface can't find opencv
X-Send-Pr-Version: 3.95

>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
Not really
	System: NetBSD 7.1_STABLE NetBSD 7.1_STABLE (THOREAU) #12: Sat Apr 8 01:21:38 EST 2017 amd64
Architecture: x86_64
Machine: amd64
	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:


	  but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
	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.

	Try to build libkface (or digikam which requires this package)

	None given.

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

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.