Subject: port-mvme68k/16283: distrib/mvme68k/Makefile.inc uses BSDSRCDIR
To: None <gnats-bugs@gnats.netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: netbsd-bugs
Date: 04/10/2002 13:27:46
>Number: 16283
>Category: port-mvme68k
>Synopsis: distrib/mvme68k/Makefile.inc uses BSDSRCDIR
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-mvme68k-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 10 05:28:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Ben Harris
>Release: 2002-04-10
>Organization:
>Environment:
Cross-compile on Debian GNU/Linux 2.2.
>Description:
distrib/mvme68k/Makefile.inc contains:
REV!=sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s
but build.sh doesn't set BSDSRCDIR, so you get messages like this:
release ===> ramdisk
/usr/src/sys/conf/osrelease.sh: /usr/src/sys/conf/osrelease.sh: No such file or directory
nbmake: "/u1/ben/netbsd/src/distrib/mvme68k/ramdisk/../Makefile.inc" line 5: warning: "sh /usr/src/sys/conf/osrelease.sh -s" returned non-zero status
>How-To-Repeat:
MACHINE=mvme68k
rm -rf /u1/ben/netbsd/obj.$MACHINE
rm -rf /u1/ben/netbsd/dest.$MACHINE
rm -rf /u1/ben/netbsd/release.$MACHINE
sh build.sh \
-U -m $MACHINE \
-T /u1/ben/netbsd/tools \
-O /u1/ben/netbsd/obj.$MACHINE \
-D /u1/ben/netbsd/dest.$MACHINE \
-R /u1/ben/netbsd/release.$MACHINE \
2>&1 | gzip -c > /u1/ben/netbsd/logs/build.log.$MACHINE.gz
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: