NetBSD Problem Report #19054

Received: (qmail 2255 invoked by uid 605); 14 Nov 2002 20:52:50 -0000
Message-Id: <20021114205243.72E85807F@iller.boquist.net>
Date: Thu, 14 Nov 2002 21:52:43 +0100 (CET)
From: urban@boquist.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: urban@boquist.net
To: gnats-bugs@gnats.netbsd.org
Subject: netbsd-1-6 branch build broken in postinstall
X-Send-Pr-Version: 3.95

>Number:         19054
>Category:       install
>Synopsis:       netbsd-1-6 branch build broken in postinstall
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    grant
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 14 20:53:00 +0000 2002
>Closed-Date:    Fri Nov 15 04:20:45 +0000 2002
>Last-Modified:  Fri Nov 15 04:20:45 +0000 2002
>Originator:     Urban Boquist
>Release:        NetBSD 1.6_STABLE
>Organization:
Carlstedt Research & Technology AB, Sweden
>Environment:
System: NetBSD lan-gw 1.6_STABLE NetBSD 1.6_STABLE (LAN-GW-$Revision: 1.11 $) #0: Sat Nov  2 13:42:17 CET 2002 root@lan-gw:/usr/src/sys/arch/i386/compile/LAN-GW i386
Architecture: i386
Machine: i386
>Description:
	build.sh fails with:

(/usr/src/tools/obj/tools.NetBSD-1.6_STABLE-i386/bin/nbmake postinstall-check)
nbmake: don't know how to make postinstall-check. Stop

>How-To-Repeat:
	Use build.sh on a netbsd-1-6 tree (with objdirs).
>Fix:
The fix is trivial after comparing to /usr/src/Makefile on a -current system:

Index: Makefile
===================================================================
RCS file: /anoncvs/basesrc/Makefile,v
retrieving revision 1.175.2.1
diff -u -r1.175.2.1 Makefile
--- Makefile	2002/11/01 11:55:04	1.175.2.1
+++ Makefile	2002/11/14 20:50:20
@@ -102,7 +102,7 @@
 	(cd ${.CURDIR}/gnu/usr.bin/texinfo/install-info && ${MAKE} infodir-meta)
 .endif
 .if !defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/"
-	(${MAKE} postinstall-check)
+	(cd ${.CURDIR} && ${MAKE} postinstall-check)
 .endif

 postinstall-check:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: grant 
State-Changed-When: Thu Nov 14 18:36:34 PST 2002 
State-Changed-Why:  
I have requested a pullup of this fix to the 1.6 branch. 
Responsible-Changed-From-To: install-manager->grant 
Responsible-Changed-By: grant 
Responsible-Changed-When: Thu Nov 14 18:38:09 PST 2002 
Responsible-Changed-Why:  
I'll take this. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: grant 
State-Changed-When: Thu Nov 14 20:20:22 PST 2002 
State-Changed-Why:  
Fixed in src/Makefile rev 1.175.2.2. 
>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.