pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47211: install problems with gutenprint-libs



>Number:         47211
>Category:       pkg
>Synopsis:       install problems with gutenprint-libs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 18 09:05:00 +0000 2012
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzone 5.11 oi_151a7 i86pc i386 i86pc

>Description:
after a successful build of gutenprint-cups, bmake install fails on a shared 
directory file with cups found in PLIST "etc/cups/command.types"

here is an extract from the install:
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Installing for gutenprint-lib-5.2.9nb6
...
...
=> Automatic manual page handling
pkg_create: can't stat 
`/tmp/pkgsrc/print/gutenprint-lib/work/.destdir/opt/pkg/etc/cups/command.types'
===> Building binary package for gutenprint-lib-5.2.9nb6
=> Creating binary package 
/home/richard/src/pkgsrc/packages/All/gutenprint-lib-5.2.9nb6.tgz
pkg_create: can't stat 
`/tmp/pkgsrc/print/gutenprint-lib/work/.destdir/opt/pkg/etc/cups/command.types'
pkg_create: lstat failed for file etc/cups/command.types: No such file or 
directory
*** Error code 2

Stop.
bmake: stopped in /home/richard/src/pkgsrc/print/gutenprint-lib
*** Error code 1

Stop.
bmake: stopped in /home/richard/src/pkgsrc/print/gutenprint-lib
>How-To-Repeat:
bmake clean
bmake 
bmake install
>Fix:
a partial fix is the following:
diff --git a/print/gutenprint-lib/PLIST b/print/gutenprint-lib/PLIST
index f345d8a..4808159 100644
--- a/print/gutenprint-lib/PLIST
+++ b/print/gutenprint-lib/PLIST
@@ -2,7 +2,6 @@
 bin/cups-calibrate
 bin/escputil
 bin/testpattern
-etc/cups/command.types
 include/gutenprint/array.h
 include/gutenprint/bit-ops.h
 include/gutenprint/channel.h

as command.types is not installed into PKG_SYSCONFBASE/cups, in this case 
richard@devzone:~/src/pkgsrc/print/gutenprint-lib$ bmake show-var 
VARNAME=PKG_SYSCONFBASE
/etc/opt/pkg
richard@devzone:~/src/pkgsrc/print/gutenprint-lib$ ls /etc/opt/pkg/cups/
cupsd.conf        gstoraster.convs  interfaces        ppd               
snmp.conf         ssl





Home | Main Index | Thread Index | Old Index