NetBSD Problem Report #54076

From martin@aprisoft.de  Tue Mar 26 09:35:32 2019
Return-Path: <martin@aprisoft.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 152F27A1BD
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 26 Mar 2019 09:35:32 +0000 (UTC)
Message-Id: <20190326093521.9E35C5CC86C@emmas.aprisoft.de>
Date: Tue, 26 Mar 2019 10:35:21 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: Can not build tools
X-Send-Pr-Version: 3.95

>Number:         54076
>Category:       toolchain
>Synopsis:       Can not build tools
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 26 09:40:00 +0000 2019
>Last-Modified:  Tue Mar 26 12:50:01 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.36
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 8.99.36 NetBSD 8.99.36 (GENERIC) #264: Fri Mar 22 08:50:11 CET 2019 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

Trying to build tools for evbarm fails for me:

mv autom4te.tmp autom4te.cfg
--- autoupdate ---
mv autoupdate.tmp autoupdate
--- autoconf.in ---
autom4te_perllibdir='/work/src/tools/autoconf/../../external/gpl3/autoconf/dist'
/lib                                     AUTOM4TE_CFG='../lib/autom4te.cfg'     
    ../bin/autom4te      -B '..'/lib -B '/work/src/tools/autoconf/../../external
/gpl3/autoconf/dist'/lib --language M4sh --cache '' --melt /work/src/tools/autoc
onf/../../external/gpl3/autoconf/dist/bin/autoconf.as -o autoconf.in
Use of uninitialized value $msg in concatenation (.) or string at ../bin/autom4t
e line 1026.
Use of uninitialized value $stacktrace in pattern match (m//) at ../bin/autom4te
 line 1026.
unknown channel m4: syntax error in expr m4_Cursor + 0 + 1
m4: syntax error in expr 7 > ($0: )
 at /work/src/tools/autoconf/../../external/gpl3/autoconf/dist/lib/Autom4te/Chan
nels.pm line 638.
        Autom4te::Channels::msg("m4: syntax error in expr m4_Cursor + 0 + 1\x{a}
m4: syntax error i"..., undef, "warning: ", "partial", 0) called at ../bin/autom
4te line 1026
*** [autoconf.in] Error code 1
nbmake[9]: stopped in /work/obj/evbarm/work/src/tools/autoconf/build/bin


>How-To-Repeat:

./build.sh -u -m evbarm -M /work/obj/evbarm -V TMPDIR=/var/shm/btmp -V MKCROSSGDB=yes -T /work/tools -D /work/hosts/evbarm -j 12 tools

Removing the "-j 12" does not help. Event though -u is given, the objdir for
autoconf had been removed upfront (which didn't help either).

>Fix:
n/a

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: toolchain/54076: Can not build tools
Date: Tue, 26 Mar 2019 11:37:59 +0100

 Building tools on another machine works, so this must be something host
 specific. I updated kernel and userland on March 22, and also apparently
 did update a few pkgs at that time (but m4 is used from base).

 I'll update again to todays current and retry.

 Martin

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: toolchain/54076: Can not build tools
Date: Tue, 26 Mar 2019 13:47:24 +0100

 Christos pointed out that I have MKMAINTAINERTOOLS=yes, otherwise the tools
 build would not try to build autoconf. This is also why it does not happen
 on many other machines.

 Still it better should work with recentish perl ;-)

 Martin

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.