NetBSD Problem Report #54344

From martin@duskware.de  Fri Jul  5 16:37:40 2019
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 9EC197A149
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  5 Jul 2019 16:37:39 +0000 (UTC)
Message-Id: <20190705163730.260E05CC84B@emmas.aprisoft.de>
Date: Fri,  5 Jul 2019 18:37:30 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: current build invokes gawk and causes strange warnings
X-Send-Pr-Version: 3.95

>Number:         54344
>Category:       toolchain
>Synopsis:       current build invokes gawk and causes strange warnings
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 05 16:40:00 +0000 2019
>Last-Modified:  Fri Jul 05 17:25:01 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.50
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.50 NetBSD 8.99.50 (NIGHT-OWL) #681: Fri Jul 5 18:05:36 CEST 2019 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

Found in my build log:

===> build.sh command:    ./build.sh -u -O /usr/obj -E -D / -T /usr/tools -V MKCTF=no -V MKDTRACE=no -V MKLLVMRT=no -j 6 -V BUILDINFO=Build locally, cvs.netbsd.org source tree date: 2019-07-05 16:12 UTC -V MKDEBUG=yes build
[..]
--- bt_close.d ---
#    create  compat/bt_close.d
/usr/obj/tools/host-mkdep/host-mkdep -f bt_close.d.tmp  --      -I. -I./include -I/usr/src/tools/compat -I/usr/src/tools/compat/sys -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE     /usr/src/tools/compat/../../lib/libc/db/btree/bt_close.c &&  mv -f bt_close.d.tmp bt_close.d
--- bt_debug.d ---
gawk: cmd. line:4: warning: regexp escape sequence `\"' is not a known regexp operator
--- atoll.d ---
gawk: cmd. line:4: warning: regexp escape sequence `\"' is not a known regexp operator
--- bt_delete.d ---
gawk: cmd. line:4: warning: regexp escape sequence `\"' is not a known regexp operator
--- basename.d ---
gawk: cmd. line:4: warning: regexp escape sequence `\"' is not a known regexp operator
--- bt_close.d ---
gawk: cmd. line:4: warning: regexp escape sequence `\"' is not a known regexp operator
[..]

I guess at this stage no gawk should be invoked (and the only awk binary in
my path is /usr/bin/awk which is not gawk). The other awk resonably
invoked is /usr/tools/bin/nbawk which also is not gawk.

>How-To-Repeat:
s/a

>Fix:
n/a

>Audit-Trail:
From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: toolchain-manager@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org
Subject: Re: toolchain/54344: current build invokes gawk and causes strange
 warnings
Date: Fri, 5 Jul 2019 13:23:19 -0400

 The configure script in /usr/src/tools/host-mkdep looks for mawk and if =
 it does not find it, it defaults to gawk. I think it is fine for the =
 host tool to use gawk, but the mkdep script should be fixed to not cause =
 warnings.

 christos=

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.