NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/51098: NetBSD-current fails to build on Debian 7 host
The following reply was made to PR misc/51098; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: misc/51098: NetBSD-current fails to build on Debian 7 host
Date: Thu, 28 Apr 2016 11:45:39 -0400
On Apr 28, 5:23pm, gson%gson.org@localhost (Andreas Gustafsson) wrote:
-- Subject: Re: misc/51098: NetBSD-current fails to build on Debian 7 host
| Christos Zoulas wrote:
| > What does config.log say?
|
| I'm guessing this is the problem, but I don't know how to fix it:
|
| nbmake[10]: no system rules (sys.mk).
|
| The full log is at
|
| http://www.gson.org/netbsd/bugs/51098/config.log
Try this:
christos
Index: build.sh
===================================================================
RCS file: /cvsroot/src/build.sh,v
retrieving revision 1.308
diff -u -u -r1.308 build.sh
--- build.sh 27 Jun 2015 06:00:28 -0000 1.308
+++ build.sh 28 Apr 2016 15:45:22 -0000
@@ -1596,7 +1596,8 @@
if ${do_rebuildmake}; then
statusmsg "Bootstrapping ${toolprefix}make"
${runcmd} cd "${tmpdir}"
- ${runcmd} env CC="${HOST_CC-cc}" CPPFLAGS="${HOST_CPPFLAGS}" \
+ ${runcmd} env CC="${HOST_CC-cc}" \
+ CPPFLAGS="${HOST_CPPFLAGS} -D_PATH_DEFSYSPATH=\"${NETBSDSRCDIR}/share/mk\"" \
CFLAGS="${HOST_CFLAGS--O}" LDFLAGS="${HOST_LDFLAGS}" \
${HOST_SH} "${TOP}/tools/make/configure" ||
( cp ${tmpdir}/config.log ${tmpdir}-config.log
Home |
Main Index |
Thread Index |
Old Index