Subject: pkg/4937: MANCOMPRESSED breaks when PREFIX != /usr/pkg
To: None <>
From: Chris Jones <>
List: netbsd-bugs
Date: 02/04/1998 12:23:51
>Number:         4937
>Category:       pkg
>Synopsis:       MANCOMPRESSED breaks when PREFIX != /usr/pkg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb  4 11:35:01 1998
>Originator:     Chris Jones
Chris Jones                          
           Mad scientist in training...
"Is this going to be a stand-up programming session, sir, or another bug hunt?"
>Release:        <NetBSD-current source date>1.3
System: NetBSD 1.3 NetBSD 1.3 (PMAX) #0: Wed Jan 28 15:23:19 MST 1998 pmax

/usr/share/mk/	$NetBSD:,v 1997/12/20 23:01:51 perry Exp $
/usr/share/mk/	$NetBSD:,v 1.3 1997/09/25 19:09:35 thorpej Exp $

I've got PREFIX set to /usr/local, and I can't install team.  It breaks
when it gets to the man pages, because it tries to uncompress them in
/usr/pkg/man instead of /usr/local/man.

Script started on Wed Feb  4 12:18:45 1998
# pwd
# cat /etc/mk.conf
# make install
Don't know.  I tried to find the relevant code in, but it
appeared to be doing the right thing.
>> Checksum OK for team-3.1.tar.gz.
===>  Installing for team-3.1
install -c -s -o bin -g bin  -m 555 team /usr/local/bin/team
install -c -o bin -g bin -m 444 team.1 /usr/local/man/man1/team.1
install -c -o bin -g bin -m 444 team.cat1 /usr/local/man/cat1/team.0
===>   Uncompressing manual pages for team-3.1
/usr/pkg/man//man1/team.1.gz: No such file or directory
*** Error code 1

*** Error code 1

# exit
Script done on Wed Feb  4 12:19:36 1998

(There's also the problem of whether MANCOMPRESSED should even be set
for this package, but I don't have the time to investigate that.)