Subject: pkg/37583: devel/libgphoto2 fails to build under Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cheusov@tut.by>
List: pkgsrc-bugs
Date: 12/21/2007 16:40:00
>Number:         37583
>Category:       pkg
>Synopsis:       devel/libgphoto2 fails to build under Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 21 16:40:00 +0000 2007
>Originator:     Aleksey Cheusov
>Release:        Linux
>Organization:
home
>Environment:
>Description:
=> Registering installation for libgphoto2-2.3.1nb4
pkg_admin: libgphoto2-2.3.1nb4: File `/usr/pkg/lib/libgphoto2/print-usb-usermap' is in +CONTENTS but not on filesystem!
libgphoto2-2.3.1nb4 requires installed package jpeg-6bnb4
libgphoto2-2.3.1nb4 requires installed package libexif-0.6.16
libgphoto2-2.3.1nb4 requires installed package libusb-0.1.12nb2
=> Checking file-check results for libgphoto2-2.3.1nb4
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/lib/libgphoto2/print-usb-usermap

>How-To-Repeat:

>Fix:
Either add missed dependancies and/or configuring flags or apply the following patch.

Index: devel/libgphoto2/PLIST.Linux
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libgphoto2/PLIST.Linux,v
retrieving revision 1.3
diff -u -r1.3 PLIST.Linux
--- devel/libgphoto2/PLIST.Linux	2 Jan 2007 18:32:47 -0000	1.3
+++ devel/libgphoto2/PLIST.Linux	21 Dec 2007 13:39:17 -0000
@@ -1,5 +1,5 @@
 @comment $NetBSD: PLIST.Linux,v 1.3 2007/01/02 18:32:47 adam Exp $
-lib/libgphoto2/print-usb-usermap
+@comment lib/libgphoto2/print-usb-usermap
 share/doc/libgphoto2/linux-hotplug/usbcam.console
 share/doc/libgphoto2/linux-hotplug/usbcam.group
 share/doc/libgphoto2/linux-hotplug/usbcam.user