NetBSD Problem Report #52157
From simonb@athlon.thistledown.com.au Wed Apr 12 13:35:40 2017
Return-Path: <simonb@athlon.thistledown.com.au>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id BEE517A170
for <gnats-bugs@gnats.NetBSD.org>; Wed, 12 Apr 2017 13:35:40 +0000 (UTC)
Message-Id: <20170412120642.6E193201AB@athlon.thistledown.com.au>
Date: Wed, 12 Apr 2017 22:06:42 +1000 (AEST)
From: simonb@NetBSD.org
Reply-To: simonb@NetBSD.org
To: gnats-bugs@NetBSD.org
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
>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:/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 .
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.