Subject: pkg/4338: packages installing info touch nonexistant file (/usr/share/info/dir)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cgd@NetBSD.ORG>
List: netbsd-bugs
Date: 10/24/1997 19:53:06
>Number: 4338
>Category: pkg
>Synopsis: packages installing info touch nonexistant file (/usr/share/info/dir)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 24 13:05:01 1997
>Last-Modified:
>Originator: Chris G. Demetriou
>Organization:
Kernel Hackers 'r' Us
>Release: NetBSD-current as of right now.
>Environment:
System: NetBSD brick.demetriou.com 1.3_ALPHA NetBSD 1.3_ALPHA (BRICK) #1: Wed Oct 22 23:26:01 PDT 1997 cgd@brick.demetriou.com:/usr/src/sys/arch/i386/compile/BRICK i386
>Description:
packages installing info files (at least gmake), if they're
the first package to do so, try to touch /usr/share/info/dir.
That file doesn't exist in NetBSD.
>How-To-Repeat:
rm /usr/pkg/info/dir, or go to a system where you've not installed
any pacakges.
Try to install gmake (gmake-3.75).
Note that it barfs with:
sed: /usr/share/info/dir: No such file or directory
*** Error code 1
>Fix:
Unknown. The gmake package does this because its PLIST includes
the line:
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
I'm not sure the right way to fix it, though.
>Audit-Trail:
>Unformatted: