Subject: pkg/6097: emacs pkg deletes critical installed DOC-20.3.1 file
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jbernard@ox.mines.edu>
List: netbsd-bugs
Date: 09/03/1998 14:24:49
>Number:         6097
>Category:       pkg
>Synopsis:       emacs pkg deletes critical installed DOC-20.3.1 file
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep  3 13:35:01 1998
>Last-Modified:
>Originator:     Jim Bernard
>Organization:
	Speaking for myself
>Release:        September 3, 1998
>Environment:
System: NetBSD io 1.3G NetBSD 1.3G (FIZ) #0: Mon Aug 31 19:41:51 MDT 1998 local@zoo:/home/local/compile/sys/arch/i386/compile/FIZ i386


>Description:
	The emacs (20.3) package Makefile explicitly deletes the DOC-20.3.1
	file after it is installed, causing the program to (a) complain
	that it is unable to open the doc-string file, and (b) fail to load
	macros and edited files after the doc-string error.  Subsequent
	attempts to delete the package complain that the missing file
	"doesn't really exist".

>How-To-Repeat:
	Install emacs 20.3 and actually try to use it.

>Fix:
	Delete the first line of the post-install target--it's completely
	unnecessary (no extra DOC files are installed), as well as being
	harmful:

	${RM} -f ${PREFIX}/share/emacs/20.3/etc/DOC-20.3.[13-9]*
>Audit-Trail:
>Unformatted: