NetBSD Problem Report #54444

From www@netbsd.org  Wed Aug  7 13:38:12 2019
Return-Path: <www@netbsd.org>
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 078AF7A178
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  7 Aug 2019 13:38:12 +0000 (UTC)
Message-Id: <20190807133810.EC0F97A1C1@mollari.NetBSD.org>
Date: Wed,  7 Aug 2019 13:38:10 +0000 (UTC)
From: clement.bouvier.europe@gmail.com
Reply-To: clement.bouvier.europe@gmail.com
To: gnats-bugs@NetBSD.org
Subject: graphics/sane-backends does not install on macos
X-Send-Pr-Version: www-1.0

>Number:         54444
>Category:       pkg
>Synopsis:       graphics/sane-backends does not install on macos
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    macos-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 07 13:40:00 +0000 2019
>Closed-Date:    Wed Aug 07 15:52:57 +0000 2019
>Last-Modified:  Wed Aug 07 15:55:01 +0000 2019
>Originator:     clement bouvier
>Release:        current
>Organization:
>Environment:
macOS Mojave 10.14.6
>Description:
graphics/sane-backends does not install on macos.

=> Checking file-check results for sane-backends-1.0.27
ERROR: ************************************************************
ERROR: The following files are in /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg but not in the PLIST:
ERROR:         /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg/lib/sane/libsane-kvs40xx.1.so
ERROR:         /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg/lib/sane/libsane-kvs40xx.a
ERROR:         /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg/lib/sane/libsane-kvs40xx.la
ERROR:         /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg/lib/sane/libsane-kvs40xx.so
ERROR:         /Users/cbouvier/prj/pkgsrc/graphics/sane-backends/work/.destdir/Users/cbouvier/pkg/man/man5/sane-kvs40xx.5

>How-To-Repeat:
install graphics/sane-backends
>Fix:
 Adding a PLIST variable "kvs40xx" with lib/sane/libsane-kvs40xx.la and man/man5/sane-kvs40xx.5 in PLIST solves the problem.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/sane-backends/Makefile,v
retrieving revision 1.69
diff -u -r1.69 Makefile
--- Makefile	15 May 2018 13:19:50 -0000	1.69
+++ Makefile	7 Aug 2019 13:35:52 -0000
@@ -25,13 +25,14 @@

 .include "../../mk/bsd.prefs.mk"

-PLIST_VARS+=		mustek pint sm3600
+PLIST_VARS+=		mustek pint sm3600 kvs40xx

 .if (${OPSYS} == "SunOS") || (${OPSYS} == "Linux") || (${OPSYS} == "DragonFly") || (${OPSYS} == "FreeBSD")
 PLIST.sm3600=		yes
 .elif (${OPSYS} == "Darwin")
 PLIST.mustek=		yes
 PLIST.sm3600=		yes
+PLIST.kvs40xx=          yes
 .else
 PLIST.pint=		yes
 PLIST.sm3600=		yes
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/sane-backends/PLIST,v
retrieving revision 1.33
diff -u -r1.33 PLIST
--- PLIST	15 May 2018 14:58:08 -0000	1.33
+++ PLIST	7 Aug 2019 13:35:52 -0000
@@ -71,6 +71,7 @@
 lib/sane/libsane-kodakaio.la
 lib/sane/libsane-kvs1025.la
 lib/sane/libsane-kvs20xx.la
+${PLIST.kvs40xx}lib/sane/libsane-kvs40xx.la
 lib/sane/libsane-leo.la
 lib/sane/libsane-lexmark.la
 lib/sane/libsane-ma1509.la
@@ -156,6 +157,7 @@
 man/man5/sane-kodakaio.5
 man/man5/sane-kvs1025.5
 man/man5/sane-kvs20xx.5
+${PLIST.kvs40xx}man/man5/sane-kvs40xx.5
 man/man5/sane-leo.5
 man/man5/sane-lexmark.5
 man/man5/sane-ma1509.5

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Wed, 07 Aug 2019 15:35:04 +0000
Responsible-Changed-Why:
macOS problem


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 07 Aug 2019 15:52:57 +0000
State-Changed-Why:
Applied, thanks for the patch!


From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/54444 CVS commit: pkgsrc/graphics/sane-backends
Date: Wed, 7 Aug 2019 15:52:13 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Wed Aug  7 15:52:13 UTC 2019

 Modified Files:
 	pkgsrc/graphics/sane-backends: Makefile PLIST

 Log Message:
 sane-backends: PLIST fix for Darwin, which apparently enables another backend
 (it's unclear why it only gets enabled on OS X)

 From clement bouvier in PR pkg/54444.


 To generate a diff of this commit:
 cvs rdiff -u -r1.69 -r1.70 pkgsrc/graphics/sane-backends/Makefile
 cvs rdiff -u -r1.33 -r1.34 pkgsrc/graphics/sane-backends/PLIST

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.