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: Andreas Gustafsson <gson%gson.org@localhost>
To: Martin Husemann <martin%duskware.de@localhost>
Cc: gnats-bugs%netbsd.org@localhost,
    matthew green <mrg%eterna.com.au@localhost>
Subject: Re: misc/53561: Build log contains gmake debug output
Date: Wed, 13 Nov 2019 18:25:50 +0200

 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.08.08.14.00.32-amd64-job-000014/src/share/mk -j 12 -J 15,16 .MAKE.LEVEL.ENV=MAKELEVEL HOST_OSTYPE=NetBSD-8.1-amd64 MKOBJDIRS=yes _SRC_TOP_=/tmp/bracket/build/2019.08.08.14.00.32-amd64-job-000014/src _SRC_TOP_OBJ_=/tmp/bracket/build/2019.08.08.14.00.32-amd64-job-000014/obj _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}
 > BUILD_COMMAND=  echo "MAKEFLAGS: ${MAKEFLAGS}; echo "GMAKE_J_ARGS: ${GMAKE_J_ARGS}; /usr/bin/env -i ${BUILD_ENV} ${MAKE_ARGS} ${TOOL_GMAKE} ${GMAKE$
 > 
 > 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.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index