NetBSD Problem Report #8620

Received: (qmail 20993 invoked from network); 14 Oct 1999 02:48:05 -0000
Message-Id: <199910140245.MAA07364@mona.supp.cpr.itg.telecom.com.au>
Date: Thu, 14 Oct 1999 12:45:51 +1000 (EST)
From: simonb@netbsd.org
Reply-To: simonb@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: installing misc/saig can fail with old packages installed
X-Send-Pr-Version: 3.95

>Number:         8620
>Category:       pkg
>Synopsis:       installing misc/saig can fail with old packages installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    agc
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 13 19:50:59 +0000 1999
>Closed-Date:    Thu Oct 21 15:18:26 +0000 1999
>Last-Modified:  Thu Oct 21 15:19:39 +0000 1999
>Originator:     simonb
>Release:        NetBSD pkgsrc 19991014
>Organization:
	TNFi
>Environment:
System: NetBSD mona 1.4K NetBSD 1.4K (MONA) #227: Wed Sep 8 16:08:27 EST 1999
	simonb@mona:/NetBSD/src/sys/arch/pmax/compile/MONA pmax


>Description:

	The misc/siag package installs its documentation into
	${PREFIX}/doc then a post-install target in the package
	Makefile moves this to ${PREFIX}/share/doc and then does
	an "${RMDIR} ${PREFIX}/doc".  This causes a "make install"
	to fail if anything else was in the ${PREFIX}/doc directory.

	Note that nothing else should use ${PREFIX}/doc, but there
	are older packages that do not adhere to this and it's
	unreasonable to upgrade existing working packages because
	of this.

>How-To-Repeat:

	mkdir /usr/pkg/doc
	too /usr/pkg/doc/foo
	cd /usr/pkgsrc/misc/siag
	make install

>Fix:

	No patches...  For now, I've just put a "-" in front of the
	${RMDIR} so that if it fails the entire "make install"
	doesn't bomb out.

	A more correct fix would be to change siag so that it installs
	its documentation directly into ${PREFIX}/share/doc.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: agc 
State-Changed-When: Thu Oct 21 08:18:26 PDT 1999 
State-Changed-Why:  
agc noted the concerns raised in the PR, and modified 
the package so that the docs are put straight into the 
correct directory. 


Responsible-Changed-From-To: pkg-manager->agc 
Responsible-Changed-By: agc 
Responsible-Changed-When: Thu Oct 21 08:18:26 PDT 1999 
Responsible-Changed-Why:  
agc took responsibility for this one. 
>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.