NetBSD Problem Report #36619
From martin@duskware.de Mon Jul 9 10:24:00 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 798C463B874
for <gnats-bugs@gnats.netbsd.org>; Mon, 9 Jul 2007 10:24:00 +0000 (UTC)
Message-Id: <20070709102119.D060063B874@narn.NetBSD.org>
Date: Mon, 9 Jul 2007 10:21:19 +0000 (UTC)
From: raymond.meyer@rambler.ru
Reply-To: raymond.meyer@rambler.ru
To: netbsd-bugs-owner@NetBSD.org
Subject: devel/libgphoto2 fails to build on Solaris 10
X-Send-Pr-Version: www-1.0
>Number: 36619
>Category: pkg
>Synopsis: devel/libgphoto2 fails to build on Solaris 10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 09 10:25:00 +0000 2007
>Closed-Date: Sun Oct 27 18:58:49 +0000 2019
>Last-Modified: Sun Oct 27 19:00:01 +0000 2019
>Originator: raymond
>Release:
>Organization:
>Environment:
SunOS e450 5.10 Generic_118833-33 sun4u sparc SUNW,Ultra-4
>Description:
During configure stage I get the following error:
checking for libusb-config... no
configure: error:
PKG_CONFIG_PATH=
LIBUSB_LIBS=
LIBUSB_CFLAGS=
* Fatal: libgphoto2 port access library by default requires libusb >= 0.1.5 to build.
* You must explicitly disable libusb to build libgphoto2_port without it.
*
* Possible solutions:
* - call configure with --with-libusb=no or --without-libusb
* - set PKG_CONFIG_PATH to adequate value
* - call configure with LIBUSB_LIBS=.. and LIBUSB_CFLAGS=..
* - call configure with one of the --with-libusb parameters
* - get libusb and install it
configure: error: ./configure failed for libgphoto2_port
*** Error code 1
Stop.
bmake: stopped in /opt/pkgsrc/devel/libgphoto2
>How-To-Repeat:
>Fix:
Modify Makefile to pass --without-libusb to configure script
[root@e450] diff -u Makefile.orig Makefile
--- Makefile.orig Mon Jul 9 11:10:11 2007
+++ Makefile Mon Jul 9 11:10:34 2007
@@ -23,6 +23,7 @@
# Keep this in sync with buildlink3.mk!
.if ${OPSYS} == "SunOS"
PLIST_SUBST+= HAVE_LIBUSB="@comment "
+CONFIGURE_ARGS+= --without-libusb
.else
.include "../../devel/libusb/buildlink3.mk"
PLIST_SUBST+= HAVE_LIBUSB=""
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Tue, 10 Jul 2007 00:23:11 +0000
Responsible-Changed-Why:
Solaris-specific problem.
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 27 Oct 2019 18:58:49 +0000
State-Changed-Why:
applied, thanks for the patch and sorry for the delay.
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/36619 CVS commit: pkgsrc/devel/libgphoto2
Date: Sun, 27 Oct 2019 18:58:06 +0000
Module Name: pkgsrc
Committed By: maya
Date: Sun Oct 27 18:58:06 UTC 2019
Modified Files:
pkgsrc/devel/libgphoto2: Makefile
Log Message:
libgphoto2: fix build on sunos by force-failing the libusb configure test.
from raymond meyer in PR pkg/36619
To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 pkgsrc/devel/libgphoto2/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.