Subject: pkg/31172: LPRng package broken (2.0/2.0.2)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mkb@incubus.de>
List: pkgsrc-bugs
Date: 09/06/2005 21:27:00
>Number:         31172
>Category:       pkg
>Synopsis:       LPRng package broken (2.0/2.0.2)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 06 21:27:00 +0000 2005
>Originator:     Matthias Buelow
>Release:        2.0.2/i386
>Organization:
>Environment:
NetBSD 2.0.2 i386

>Description:
The NetBSD 2.0.2 (actually retrieved from 2.0 directory since there
are no 2.0.2 i386 packages) LPRng binary package is broken:

# checkpc -f
/usr/tmp/print/LPRng-core/work/.tools/bin/chown: not found
/usr/tmp/print/LPRng-core/work/.tools/bin/chgrp: not found
/usr/tmp/print/LPRng-core/work/.tools/bin/chown: not found
/usr/tmp/print/LPRng-core/work/.tools/bin/chgrp: not found
/usr/tmp/print/LPRng-core/work/.tools/bin/chown: not found
/usr/tmp/print/LPRng-core/work/.tools/bin/chgrp: not found
/usr/tmp/print/LPRng-core/work/.tools/bin/chown: not found
/usr/tmp/print/LPRng-core/work/.tools/bin/chgrp: not found

I don't know why this is botched. /usr/tmp probably existed on the
package builder's machine and for some reason the path made it into
the lprng executables. I'll now build it myself from pkgsrc.

>How-To-Repeat:
PKG_PATH=ftp://ftp.de.netbsd.org/pub/NetBSD/packages/2.0/i386/All
export PKG_PATH
pkg_add LPRng
(edit printcap etc., making sure checkpc actually has
something to fix in the spool dir...)
checkpc -f

>Fix: