NetBSD Problem Report #6097

Received: (qmail 19524 invoked from network); 3 Sep 1998 20:24:50 -0000
Message-Id: <199809032024.OAA19633@io.mines.edu>
Date: Thu, 3 Sep 1998 14:24:49 -0600 (MDT)
From: jbernard@ox.mines.edu
Reply-To: jbernard@ox.mines.edu
To: gnats-bugs@gnats.netbsd.org
Subject: emacs pkg deletes critical installed DOC-20.3.1 file
X-Send-Pr-Version: 3.95

>Number:         6097
>Category:       pkg
>Synopsis:       emacs pkg deletes critical installed DOC-20.3.1 file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 03 13:35:01 +0000 1998
>Closed-Date:    Fri Sep 04 02:21:44 +0000 1998
>Last-Modified:  Fri Sep 04 02:51:25 +0000 1998
>Originator:     Jim Bernard
>Release:        September 3, 1998
>Organization:
	Speaking for myself
>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]*
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tron 
State-Changed-When: Thu Sep 3 19:21:44 PDT 1998 
State-Changed-Why:  
Package modified as suggested. 

From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
To: jbernard@ox.mines.edu
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/6097: emacs pkg deletes critical installed DOC-20.3.1 file
Date: Fri, 4 Sep 1998 07:58:49 +0200 (MET DST)

 On Thu, 3 Sep 1998 jbernard@ox.mines.edu wrote:
 > >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:

 This was especially introduced to leave DOC-20.3.2 ok, which will be built
 & installed, and also removed properly during pkg_delete. I can't really
 see why this would happen. ``worked fine for me'' (Then, I haven't tried
 V20.3, only V20.2)


  - Hubert

 -- 
 Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>


From: Jim Bernard <jbernard@ox.Mines.EDU>
To: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>, jbernard@ox.Mines.EDU
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/6097: emacs pkg deletes critical installed DOC-20.3.1 file
Date: Fri, 4 Sep 1998 11:03:33 -0600

 On 147 0, Hubert Feyrer wrote:
 > > >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]*
 > 
 > This was especially introduced to leave DOC-20.3.2 ok, which will be built
 > & installed, and also removed properly during pkg_delete. I can't really
 > see why this would happen. ``worked fine for me'' (Then, I haven't tried
 > V20.3, only V20.2)

   Yes, in 20.2 evidently multiple DOC files were created and installed, and
 only the 20.2.2 was to be kept.  However, in 20.3, the only DOC file
 installed is 20.3.1, which is then deleted by the ${RM} command, leaving
 a crippled installation.  (Actually, the emacs Makefile installs DOC as well,
 but then deletes it.)
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.