NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/53561: Build log contains gmake debug output

The following reply was made to PR misc/53561; it has been noted by GNATS.

From: Martin Husemann <>
To: Andreas Gustafsson <>
Cc:, matthew green <>
Subject: Re: misc/53561: Build log contains gmake debug output
Date: Wed, 13 Nov 2019 17:37:18 +0100

 On Wed, Nov 13, 2019 at 06:25:50PM +0200, Andreas Gustafsson wrote:
 > Martin Husemann wrote:
 > > Yeah, -j triggering the match, but how does the directory get into
 > > MAKEFLAGS, and what triggers it in the bracket case?
 > PR 54456 shows the contents of MAKEFLAGS, which contains three copies of
 > the build directory name, by way of -m, _SRC_TOP_, and _SRC_TOP_OBJ_:
 >    -d e -m /tmp/bracket/build/2019. -j 12 -J 15,16 .MAKE.LEVEL.ENV=MAKELEVEL HOST_OSTYPE=NetBSD-8.1-amd64 MKOBJDIRS=yes _SRC_TOP_=/tmp/bracket/build/2019. _SRC_TOP_OBJ_=/tmp/bracket/build/2019. _THISDIR_=tools/
 > > Can you try modifying the next line to echo some debug data, like:
 > > 
 > > GMAKE_J_ARGS?=  ${MAKEFLAGS:[*]:M*-j*:C/.*(-j ?[0-9]*).*/\1/W}
 > > 
 > > and grep for that in a bracket log?
 > I can't parse the final "${GMAKE$", please (re)send me the exact
 > BUILD_COMMAND you would like me to use.
 Ooops, copy + pasto...
 Index: Makefile.gnuhost
 RCS file: /cvsroot/src/tools/Makefile.gnuhost,v
 retrieving revision 1.51
 diff -u -r1.51 Makefile.gnuhost
 --- Makefile.gnuhost	22 Oct 2018 13:19:42 -0000	1.51
 +++ Makefile.gnuhost	13 Nov 2019 16:30:57 -0000
 @@ -96,7 +96,7 @@
  # sub-gmake's get them, otherwise tools/gcc tries to build libgcc and
  # fails.  it also uses "env -i" to entirely clear out MAKEFLAGS.
  GMAKE_J_ARGS?=	${MAKEFLAGS:[*]:M*-j*:C/.*(-j ?[0-9]*).*/\1/W}

Home | Main Index | Thread Index | Old Index