NetBSD Problem Report #57029
From www@netbsd.org Tue Sep 27 20:26:36 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 682C31A921F
for <gnats-bugs@gnats.NetBSD.org>; Tue, 27 Sep 2022 20:26:36 +0000 (UTC)
Message-Id: <20220927202635.132951A923A@mollari.NetBSD.org>
Date: Tue, 27 Sep 2022 20:26:35 +0000 (UTC)
From: hopkinza@gmail.com
Reply-To: hopkinza@gmail.com
To: gnats-bugs@NetBSD.org
Subject: make(1) undocumented builtin variables
X-Send-Pr-Version: www-1.0
>Number: 57029
>Category: bin
>Synopsis: make(1) undocumented builtin variables
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: rillig
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 27 20:30:01 +0000 2022
>Closed-Date: Sun Jan 01 19:19:02 +0000 2023
>Last-Modified: Mon Jan 02 10:15:01 +0000 2023
>Originator: Zach Hopkins
>Release: NetBSD 9.3
>Organization:
n/a
>Environment:
NetBSD netbsdvm 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug 4 15:30:37 UTC 2022 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Some builtin variables such as .MAKE.OS are not mentioned in the manual.
Others include MACHINE and MACHINE_ARCH, which are only mentioned under the ENVIRONMENT section: "uses the following environment variables, if they exist: MACHINE, MACHINE_ARCH, ...". However, looking at usr.bin/make/main.c, make will indeed set them itself, at least in some circumstances.
There may be others I am unaware of as well.
>How-To-Repeat:
n/a
>Fix:
n/a
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->rillig
Responsible-Changed-By: rillig@NetBSD.org
Responsible-Changed-When: Sun, 01 Jan 2023 13:11:14 +0000
Responsible-Changed-Why:
I'll take it.
From: "Roland Illig" <rillig@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/57029 CVS commit: src/usr.bin/make
Date: Sun, 1 Jan 2023 19:10:58 +0000
Module Name: src
Committed By: rillig
Date: Sun Jan 1 19:10:58 UTC 2023
Modified Files:
src/usr.bin/make: make.1
Log Message:
make.1: sync list of built-in variables with reality
Fixes PR 57029.
To generate a diff of this commit:
cvs rdiff -u -r1.354 -r1.355 src/usr.bin/make/make.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: rillig@NetBSD.org
State-Changed-When: Sun, 01 Jan 2023 19:19:02 +0000
State-Changed-Why:
Fixed for NetBSD 11. Thanks for the PR.
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/57029 CVS commit: [netbsd-10] src/usr.bin/make
Date: Mon, 2 Jan 2023 10:11:24 +0000
Module Name: src
Committed By: martin
Date: Mon Jan 2 10:11:24 UTC 2023
Modified Files:
src/usr.bin/make [netbsd-10]: make.1
Log Message:
Pull up following revision(s) (requested by rillig in ticket #31):
usr.bin/make/make.1: revision 1.351
usr.bin/make/make.1: revision 1.352
usr.bin/make/make.1: revision 1.353
usr.bin/make/make.1: revision 1.354
usr.bin/make/make.1: revision 1.355
usr.bin/make/make.1: revision 1.356
make.1: reduce indentation of the long list of variable names
make.1: move description of .MAKE.MODE below the .MAKE.META block
make.1: use consistent markup for boolean flags
make.1: sort list of built-in variables
make.1: sync list of built-in variables with reality
Fixes PR 57029.
make.1: fix markup
To generate a diff of this commit:
cvs rdiff -u -r1.350 -r1.350.2.1 src/usr.bin/make/make.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.