Subject: pkg/13362: Ghostscript will not install with MANZ=yes in /etc/mk.conf
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Ben@Wongs.net>
List: netbsd-bugs
Date: 07/02/2001 20:24:39
>Number:         13362
>Category:       pkg
>Synopsis:       Ghostscript will not install with MANZ=yes in /etc/mk.conf
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 02 17:22:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Root of all evil
>Release:        NetBSD-1.5
>Organization:
Georgia Tech
>Environment:
	
System: NetBSD hrududu.wongs.net 1.5 NetBSD 1.5 (HRUDUDU) #8: Tue May 15 04:47:24 EDT 2001 hackerb9@hrududu.wongs.net:/usr/src/sys/arch/i386/compile/HRUDUDU i386


>Description:
When installing ghostscript from pkgsrc with MANZ=yes in /etc/mk.conf,
the installation chokes when compressing the manual pages.

The output looks like this:

    ===> real-su-install [ghostscript-6.01] ===> [Automatic manual page handling]
    ===> real-su-install [ghostscript-6.01] ===> Compressing manual pages for ghostscript-6.01
    /usr/pkg/man/man1/gsbj.1: permission denied
    shift: Illegal number: -1
    *** Error code 2

    Stop.
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.

>How-To-Repeat:

 # mv /etc/mk.conf /etc/mk.conf.orig
 # cat /etc/mk.conf.orig | sed -e 's/^#MANZ=/MANZ=	yes/' >/etc/mk.conf
 # cd /usr/pkgsrc/print/ghostscript
 # make update

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: