NetBSD Problem Report #55832
From martin@aprisoft.de Sun Nov 29 08:38:56 2020
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 9AFB81A9217
for <gnats-bugs@gnats.NetBSD.org>; Sun, 29 Nov 2020 08:38:56 +0000 (UTC)
Message-Id: <20201129083847.185695CC848@emmas.aprisoft.de>
Date: Sun, 29 Nov 2020 09:38:47 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: make does not show directory on error
X-Send-Pr-Version: 3.95
>Number: 55832
>Category: toolchain
>Synopsis: make does not show directory on error
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 29 08:40:00 +0000 2020
>Closed-Date: Tue Dec 01 11:19:27 +0000 2020
>Last-Modified: Tue Dec 01 17:55:01 +0000 2020
>Originator: Martin Husemann
>Release: NetBSD 9.99.76
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 9.99.76 NetBSD 9.99.76 (GENERIC) #426: Sun Nov 29 08:39:34 CET 2020 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Recently failures to build the base system have become unparsable when using
parallel makes.
Example tail of a build log (and I don't think I skipped anything relevant
before that excerpt):
--- dependall-tests ---
--- h_dl_symver_v1.debug ---
--- dependall-external ---
--- ipf_y.o ---
--- dependall-tests ---
# create ld.elf_so/h_dl_symver_v1.debug
( /work/tools/bin/x86_64--netbsd-objcopy --only-keep-debug h_dl_symver_v1 h_dl_symver_v1.debug && /work/tools/bin/x86_64--netbsd-objcopy --strip-debug -p -R .gnu_debuglink --add-gnu-debuglink=h_dl_symver_v1.debug h_dl_symver_v1 ) || (rm -f h_dl_symver_v1.debug; false)
--- dependall-external ---
# compile ipf/ipf_y.o
/work/tools/bin/x86_64--netbsd-gcc -O2 -pipe -fPIE -Wno-stringop-truncation -g -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Werror -Wno-error=address-of-packed-member --sysroot=/ -I. -I/work/src/external/bsd/ipf/dist -I/work/src/external/bsd/ipf/dist/tools -I/work/src/sys/external/bsd/ipf -I/work/src/sys/external/bsd/ipf/netinet -DSTATETOP -D__UIO_EXPOSE -DINET -DINET6 -c ipf_y.c -o ipf_y.o.o
--- dependall-tests ---
--- h_dl_symver_v2.debug ---
# create ld.elf_so/h_dl_symver_v2.debug
( /work/tools/bin/x86_64--netbsd-objcopy --only-keep-debug h_dl_symver_v2 h_dl_symver_v2.debug && /work/tools/bin/x86_64--netbsd-objcopy --strip-debug -p -R .gnu_debuglink --add-gnu-debuglink=h_dl_symver_v2.debug h_dl_symver_v2 ) || (rm -f h_dl_symver_v2.debug; false)
--- t_dlerror-cleared.debug ---
# create ld.elf_so/t_dlerror-cleared.debug
( /work/tools/bin/x86_64--netbsd-objcopy --only-keep-debug t_dlerror-cleared t_dlerror-cleared.debug && /work/tools/bin/x86_64--netbsd-objcopy --strip-debug -p -R .gnu_debuglink --add-gnu-debuglink=t_dlerror-cleared.debug t_dlerror-cleared ) || (rm -f t_dlerror-cleared.debug; false)
--- dependall-external ---
--- dependall-gpl2 ---
/work/tools/bin/nbctfconvert -g -L VERSION -g -o subr.o subr.o.o && rm -f subr.o.o
--- dependall-tests ---
--- t_dlerror-false.debug ---
# create ld.elf_so/t_dlerror-false.debug
( /work/tools/bin/x86_64--netbsd-objcopy --only-keep-debug t_dlerror-false t_dlerror-false.debug && /work/tools/bin/x86_64--netbsd-objcopy --strip-debug -p -R .gnu_debuglink --add-gnu-debuglink=t_dlerror-false.debug t_dlerror-false ) || (rm -f t_dlerror-false.debug; false)
--- dependall-external ---
--- tag.o ---
# compile xcvs/tag.o
/work/tools/bin/x86_64--netbsd-gcc -O2 -pipe -fPIE -g -std=gnu99 -Werror --sysroot=/ -DSETXID_SUPPORT -DHAVE_CONFIG_H -I/work/src/external/gpl2/xcvs/bin/xcvs/../../include -I/work/src/external/gpl2/xcvs/bin/xcvs/../../dist/lib -I/work/src/external/gpl2/xcvs/bin/xcvs/../../dist/diff -I/work/src/external/gpl2/xcvs/bin/xcvs/../../dist/src -DHAVE_GSSAPI -I//usr/include/krb5 -c -Wno-stringop-overflow /work/src/external/gpl2/xcvs/bin/xcvs/../../dist/src/tag.c -o tag.o.o
--- dependall-gpl3 ---
/work/tools/bin/nbctfmerge -t -g -L VERSION -g -o readelf readelf.o version.o unwind-ia64.o dwarf.o elfcomm.o
ERROR: nbctfmerge: Input file dwarf.o was partially built from C sources, but no CTF data was present
*** [readelf] Error code 1
--- dependall-sys ---
/work/tools/bin/nbctfconvert -L VERSION -g -o compat_20_mod.o compat_20_mod.o.o && rm -f compat_20_mod.o.o
--- dependall-usr.sbin ---
/work/tools/bin/nbctfconvert -g -L VERSION -g -o route6d.o route6d.o.o && rm -f route6d.o.o
--- dependall-tests ---
ERROR: Failed to make build
*** BUILD ABORTED ***
>How-To-Repeat:
./build.sh -j 24 and hit a failure
>Fix:
Make make print (at least) the directory of the submake where the failure
happened again.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Tue, 01 Dec 2020 11:19:27 +0000
State-Changed-Why:
Duplicate of 55578.
From: "Roland Illig" <rillig@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/55832 CVS commit: src
Date: Tue, 1 Dec 2020 17:50:04 +0000
Module Name: src
Committed By: rillig
Date: Tue Dec 1 17:50:04 UTC 2020
Modified Files:
src/distrib/sets/lists/tests: mi
src/usr.bin/make/unit-tests: Makefile
Added Files:
src/usr.bin/make/unit-tests: jobs-error-indirect.exp
jobs-error-indirect.mk jobs-error-nested-make.exp
jobs-error-nested-make.mk jobs-error-nested.exp
jobs-error-nested.mk
Log Message:
make(1): add tests for suppressing "stopped in"
These tests demonstrate the unwanted behavior described in PR bin/55578
and PR bin/55832.
To generate a diff of this commit:
cvs rdiff -u -r1.979 -r1.980 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.231 -r1.232 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/jobs-error-indirect.exp \
src/usr.bin/make/unit-tests/jobs-error-indirect.mk \
src/usr.bin/make/unit-tests/jobs-error-nested-make.exp \
src/usr.bin/make/unit-tests/jobs-error-nested-make.mk \
src/usr.bin/make/unit-tests/jobs-error-nested.exp \
src/usr.bin/make/unit-tests/jobs-error-nested.mk
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.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.