NetBSD Problem Report #9348

Received: (qmail 17942 invoked from network); 4 Feb 2000 15:47:54 -0000
Message-Id: <200002041547.IAA28453@nool.mines.edu>
Date: Fri, 4 Feb 2000 08:47:43 -0700 (MST)
From: jbernard@mines.edu
Reply-To: jbernard@mines.edu
To: gnats-bugs@gnats.netbsd.org
Subject: xsrc/Makefile makes bogus assumption about BSDSRCDIR
X-Send-Pr-Version: 3.95

>Number:         9348
>Category:       xsrc
>Synopsis:       xsrc/Makefile makes bogus assumption about BSDSRCDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 04 07:48:01 +0000 2000
>Closed-Date:    Sat Feb 05 00:57:47 +0000 2000
>Last-Modified:  Sat Feb 05 00:59:04 +0000 2000
>Originator:     Jim Bernard
>Release:        February 3, 2000
>Organization:
	Speaking for myself
>Environment:
System: NetBSD nool 1.4R NetBSD 1.4R (NOOL-$Revision: 1.6 $) #0: Thu Feb 3 08:50:33 MST 2000 jbernard@nool:/home/tmp/compile/sys/arch/i386/compile/NOOL i386


>Description:
	The xsrc Makefile purports to support specification of an arbitrary
	location for the main bsd source tree, as it needs to find the
	distrib/sets subdirectory of that tree.  However, it contains one
	assumed path to the source directory.

>How-To-Repeat:
	Try to build an X snapshot using a non-default arrangement of
	directories, with BSDSRCDIR appropriately set; note that the
	construction of the release sets fails because:

	  ../src/distrib/sets/makeflist: Can't open ../src/distrib/sets/makeflist

	Note that the Makefile contains an explicit reference to
	../src/distrib/sets that is the source of the difficulty.

>Fix:
	Replace "../src" by ${BSDSRCDIR}, and all will be well:

--- Makefile-dist	Wed Dec 29 05:52:14 1999
+++ Makefile	Fri Feb  4 08:34:31 2000
@@ -90,11 +90,11 @@
 release snapshot: build
 #
 .endif # INSTALL_DONE or BUILD_DONE
 #
 	${INSTALL} -d -m 755 -o root -g wheel ${RELEASEDIR}/binary/sets
-	sh ${BSDSRCDIR}/distrib/sets/maketars -x -s ../src/distrib/sets \
+	sh ${BSDSRCDIR}/distrib/sets/maketars -x -s ${BSDSRCDIR}/distrib/sets \
 		-d ${DESTDIR} -t ${RELEASEDIR}/binary/sets
 	cd ${RELEASEDIR}/binary/sets && \
 		cksum -o 1 *.tgz >BSDSUM && \
 		cksum *.tgz >CKSUM && \
 		cksum -m *.tgz >MD5 && \
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: fredb 
State-Changed-When: Fri Feb 4 18:57:47 CST 2000 
State-Changed-Why:  
Applied the suggested fix. Thanks! 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.