Subject: pkg/12350: pkgtools/digest fails man page install
To: None <gnats-bugs@gnats.netbsd.org>
From: Kimmo Suominen <kim@tac.nyc.ny.us>
List: netbsd-bugs
Date: 03/07/2001 17:11:35
>Number:         12350
>Category:       pkg
>Synopsis:       pkgtools/digest fails man page install
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 07 14:12:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Kimmo Suominen
>Release:        2000-03-06 (pkgsrc and pkg_install tools)
>Organization:
Kimmo Suominen
>Environment:
System: NetBSD oxygene.gw.com 1.5S NetBSD 1.5S (GW-GENERIC) #5: Sat Feb 17 01:38:22 EST 2001 kim@oxygene.gw.com:/net/hrothgar/src-1/NetBSD/cvsroot/src/sys/arch/sparc/compile/GW-GENERIC sparc
Architecture: sparc
Machine: sparc
>Description:
The pkgtools/digest package does not handle manual pages correctly:

===> Installing for digest-20010302
install -r -p -c -s   -o root -g wheel -m 555 digest /usr/pkg/bin/digest
gzip -cf digest.cat1 > /usr/pkg/man/cat1/digest.0.gz
===> [Automatic manual page handling]
===> Compressing manual pages for digest-20010302
/usr/pkg/man/man1/digest.1: No such file or directory
*** Error code 1

My guess is that it has a BSD style Makefile and picks up the MANINSTALL
setting from /etc/mk.conf.  There are several packages that already handle
this correctly, e.g. "comms/kermit".  It is tiring to have to fix this
over and over as new packages are introduced...
>How-To-Repeat:
Well, I was trying to build amanda...
>Fix:
Look at comms/kermit on how to handle MANINSTALL correctly.
>Release-Note:
>Audit-Trail:
>Unformatted: