NetBSD Problem Report #43272

From www@NetBSD.org  Thu May  6 19:01:39 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 6498A63C549
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  6 May 2010 19:01:39 +0000 (UTC)
Message-Id: <20100506190139.2203263C545@www.NetBSD.org>
Date: Thu,  6 May 2010 19:01:39 +0000 (UTC)
From: george@galis.org
Reply-To: george@galis.org
To: gnats-bugs@NetBSD.org
Subject: no nbsed after first release build
X-Send-Pr-Version: www-1.0

>Number:         43272
>Category:       toolchain
>Synopsis:       no nbsed after first release build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 06 19:05:00 +0000 2010
>Closed-Date:    Tue Sep 13 07:34:00 +0000 2016
>Last-Modified:  Tue Sep 13 07:35:01 +0000 2016
>Originator:     George Georgalis
>Release:        netbsd-5-1-RC1
>Organization:
>Environment:
NetBSD bonnie 5.0_STABLE NetBSD 5.0_STABLE (BONNIE) #0: Sat Feb 13 00:52:48 PST 2010  root@bonnie:/usr/obj/sys/arch/i386/compile/BONNIE i386
>Description:
I first noticed in netbsd-4 and assumed I had something local broken but I'm not seeing any local issue. On a fresh checkout the netbsd src command "build.sh release" doesn't make nbsed and causes the iso-image target to fail (also, "install" after distribution).

....
make release started at:  Wed May  5 13:09:22 PDT 2010
make release finished at: Wed May  5 17:29:21 PDT 2010
===> Successful make release
===> build.sh ended:   Wed May  5 17:29:21 PDT 2010
===> Summary of results:
         build.sh command: build.sh release
         build.sh started: Wed May  5 13:09:10 PDT 2010
         NetBSD version:   5.1_RC1
         MACHINE:          i386
         MACHINE_ARCH:     i386
         Build platform:   NetBSD 5.0_STABLE i386
         HOST_SH:          /bin/sh
         No /usr/netbsd-5-1-RC1/src/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmake, needs building.
         Bootstrapping nbmake
         TOOLDIR path:     /usr/netbsd-5-1-RC1/src/tooldir.NetBSD-5.0_STABLE-i386
         DESTDIR path:     /usr/netbsd-5-1-RC1/src/destdir.i386
         RELEASEDIR path:  /usr/netbsd-5-1-RC1/src/releasedir
         Created /usr/netbsd-5-1-RC1/src/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmake
         makewrapper:      /usr/netbsd-5-1-RC1/src/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmake-i386
         Updated /usr/netbsd-5-1-RC1/src/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmake-i386
         Successful make release
         build.sh ended:   Wed May  5 17:29:21 PDT 2010
===> .
===> build.sh command: build.sh iso-image
===> build.sh started: Wed May  5 17:29:21 PDT 2010
===> NetBSD version:   5.1_RC1
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> Build platform:   NetBSD 5.0_STABLE i386
===> HOST_SH:          /bin/sh
===> No /usr/netbsd-5-1-RC1/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmake, needs building.
===> Bootstrapping nbmake
checking for sh... /bin/sh
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for regex.h... yes
checking for poll.h... yes
checking for regfree in -lregex... no
checking for library containing regfree... none required
checking for setenv... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating buildmake.sh
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/arch.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/buf.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/compat.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/cond.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/dir.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/for.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/hash.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/job.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/main.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/make.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/parse.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/str.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/suff.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/targ.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/trace.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/util.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/var.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstAppend.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstAtEnd.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstAtFront.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstClose.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstConcat.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstDatum.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstDeQueue.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstDestroy.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstDupl.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstEnQueue.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstFind.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstFindFrom.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstFirst.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstForEach.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstForEachFrom.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstInit.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstInsert.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstIsAtEnd.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstIsEmpty.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstLast.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstMember.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstNext.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstOpen.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstPrev.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstRemove.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstReplace.c
cc  -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/netbsd-5-1-RC1/src/tools/make/../../usr.bin/make/lst.lib/lstSucc.c
cc  -O -o nbmake *.o
===> TOOLDIR path:     /usr/netbsd-5-1-RC1/src/obj/tooldir.NetBSD-5.0_STABLE-i386
===> DESTDIR path:     /usr/netbsd-5-1-RC1/src/obj/destdir.i386
===> RELEASEDIR path:  /usr/netbsd-5-1-RC1/src/obj/releasedir
===> Created /usr/netbsd-5-1-RC1/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmake
===> makewrapper:      /usr/netbsd-5-1-RC1/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmake-i386
===> Updated /usr/netbsd-5-1-RC1/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmake-i386
iso_image ===> distrib
iso_image ===> distrib/notes
iso_image ===> distrib/i386
iso_image ===> distrib/i386/cdroms
iso_image ===> distrib/i386/cdroms/bootcd
iso_image ===> distrib/i386/cdroms/bootcd-com
iso_image ===> distrib/i386/cdroms/installcd
mkdir -p cdrom
cp /usr/netbsd-5-1-RC1/src/distrib/i386/instkernel/obj/netbsd-GENERIC.gz cdrom/netbsd
/usr/netbsd-5-1-RC1/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbsed "s/@@VERSION@@/5.1_RC1/" < /usr/netbsd-5-1-RC1/src/distrib/i386/cdroms/installcd/boot.cfg.in > boot.cfg
sh: /usr/netbsd-5-1-RC1/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbsed: not found

*** Failed target:  prepare_md_post
*** Failed command: /usr/netbsd-5-1-RC1/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbsed "s/@@VERSION@@/5.1_RC1/" < /usr/netbsd-5-1-RC1/src/distrib/i386/cdroms/installcd/boot.cfg.in > boot.cfg
*** Error code 127

For this particular run mk.conf was null.
>How-To-Repeat:
mkdir /usr/netbsd-5-1-RC1
cd /usr/netbsd-5-1-RC1
cvs -qd anoncvs@anoncvs.netbsd.org:/cvsroot co -r netbsd-5-1-RC1 -P src
cd ./src
sh build.sh release && sh build.sh iso-image

>Fix:
run the command a second time:
sh build.sh release && sh build.sh iso-image
and it completes without error.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 31 Dec 2011 20:34:53 +0000
State-Changed-Why:
Does this still happen? If so, could you provide the build log for the
(first) tools build that skips sed? It should be near the beginning
(after make, host-mkdep, compat, install, and mktemp, and before
cap_mkdb, crunchgen, ctags, genassym, gencat, hexudmp, join, lint, lint2,
and so on) so you don't need to include large parts like e.g. gcc.


From: David Holland <dholland@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: toolchain/43272: no nbsed after first release  build
Date: Sun, 22 Jan 2012 06:53:59 +0000

 didn't make it to gnats (the subject line needs a Re:, and there needs
 to be a colon after the number too)

    ------

 From: George Georgalis <george@galis.org>
 To: gnats-bugs@gnats.netbsd.org
 Cc: dholland@netbsd.org
 Subject: toolchain/43272 no nbsed after first release build
 Date: Tue, 10 Jan 2012 15:25:43 -0800

 Confirmed, each of rel in netbsd-5-1-RC1 netbsd-5-1 netbsd-5 netbsd-4

 mkdir /usr/$rel && cd /usr/$rel && cvs -qd
 anoncvs@anoncvs.netbsd.org:/cvsroot co -r $rel src
 cd src
 sh build.sh release && sh build.sh iso-image

 fails same way. I don't know how to identify which tool is the first
 to fail, are they listed in a src Makefile? Should I just go through
 the list (after make, host-mkdep, compat, install, and mktemp, and
 before cap_mkdb, crunchgen, ctags, genassym, gencat, hexudmp, join,
 lint, lint2, and so on) and check for nbsed after each target?

 Which tag are you most interested in?

 -George

 -- 
 George Georgalis, (415) 894-2710, http://www.galis.org/

From: David Holland <dholland@netbsd.org>
To: George Georgalis <george@galis.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: toolchain/43272: no nbsed after first release build
Date: Sun, 22 Jan 2012 07:07:54 +0000

 On Fri, Jan 20, 2012 at 01:50:27AM -0800, George Georgalis wrote:
  > Um, I replied to gnats and dholland (below),I have no reply or record
  > of my response in gnats, and now I have reminders to reply???

 hmm...

 oh I see:

  > Subject: toolchain/43272 no nbsed after first release build
                            :
                          ^^^^

 you need a colon in there for gnats to pay attention, I think :(
 also (maybe more importantly) the subject needs to begin with "Re:"
 I'm a bit more behind than usual with gnats traffic right now :(


 As for the problem - the order of tools is listed in src/tools/Makefile:

    SUBDIR= host-mkdep .WAIT compat .WAIT \
 	   binstall .WAIT mktemp .WAIT sed .WAIT \

 so even in a parallel build sed should come immediately after mktemp,
 and once it gets that far, there should be a nbsed and it should be
 runnable.

 What I meant to ask for was a transcript of the part of the tools
 build where it's supposed to be building sed. Almost certainly what's
 happening is that something fails, so sed doesn't get built and/or
 doesn't get installed, but for some reason this doesn't cause the
 build to stop like it should. Often in such situations a second run
 will succeed because the failure on the first run leaves behind a
 partial file so the step that didn't work doesn't get run again.

 What we need to figure out is what happened.

 There's no need to try multiple branches or anything -- almost
 certainly there's one thing wrong, so test on whatever's most
 convenient. Once we figure out what's broken we can decide where and
 in how many places to apply the fix...

 -- 
 David A. Holland
 dholland@netbsd.org

From: George Georgalis <george@galis.org>
To: gnats-bugs@netbsd.org
Cc: toolchain-manager@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org, David Holland <dholland@netbsd.org>
Subject: Re: toolchain/43272: no nbsed after first release build
Date: Mon, 12 Sep 2016 14:17:24 -0700

 --001a113deb42cebc2d053c56053b
 Content-Type: text/plain; charset=UTF-8

 Hi - I confirmed last week, this bug is not present in supported releases
 (netbsd-7-0 and netbsd-6-0), so there is no reason to keep this issue open.
 Thanks! -George


 On Sat, Jan 21, 2012 at 11:10 PM, David Holland <dholland@netbsd.org> wrote:

 > The following reply was made to PR toolchain/43272; it has been noted by
 > GNATS.
 >
 > From: David Holland <dholland@netbsd.org>
 > To: George Georgalis <george@galis.org>
 > Cc: gnats-bugs@netbsd.org
 > Subject: Re: toolchain/43272: no nbsed after first release build
 > Date: Sun, 22 Jan 2012 07:07:54 +0000
 >
 >  On Fri, Jan 20, 2012 at 01:50:27AM -0800, George Georgalis wrote:
 >   > Um, I replied to gnats and dholland (below),I have no reply or record
 >   > of my response in gnats, and now I have reminders to reply???
 >
 >  hmm...
 >
 >  oh I see:
 >
 >   > Subject: toolchain/43272 no nbsed after first release build
 >                             :
 >                           ^^^^
 >
 >  you need a colon in there for gnats to pay attention, I think :(
 >  also (maybe more importantly) the subject needs to begin with "Re:"
 >  I'm a bit more behind than usual with gnats traffic right now :(
 >
 >
 >  As for the problem - the order of tools is listed in src/tools/Makefile:
 >
 >     SUBDIR= host-mkdep .WAIT compat .WAIT \
 >            binstall .WAIT mktemp .WAIT sed .WAIT \
 >
 >  so even in a parallel build sed should come immediately after mktemp,
 >  and once it gets that far, there should be a nbsed and it should be
 >  runnable.
 >
 >  What I meant to ask for was a transcript of the part of the tools
 >  build where it's supposed to be building sed. Almost certainly what's
 >  happening is that something fails, so sed doesn't get built and/or
 >  doesn't get installed, but for some reason this doesn't cause the
 >  build to stop like it should. Often in such situations a second run
 >  will succeed because the failure on the first run leaves behind a
 >  partial file so the step that didn't work doesn't get run again.
 >
 >  What we need to figure out is what happened.
 >
 >  There's no need to try multiple branches or anything -- almost
 >  certainly there's one thing wrong, so test on whatever's most
 >  convenient. Once we figure out what's broken we can decide where and
 >  in how many places to apply the fix...
 >
 >  --
 >  David A. Holland
 >  dholland@netbsd.org
 >
 >


 -- 
 George Georgalis, (415) 894-2710, http://www.galis.org/

 --001a113deb42cebc2d053c56053b
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr">Hi - I confirmed last week, this bug is not present in sup=
 ported releases (netbsd-7-0 and netbsd-6-0), so there is no reason to keep =
 this issue open. Thanks! -George<br><br><div class=3D"gmail_extra"><br><div=
  class=3D"gmail_quote">On Sat, Jan 21, 2012 at 11:10 PM, David Holland <spa=
 n dir=3D"ltr">&lt;<a href=3D"mailto:dholland@netbsd.org" target=3D"_blank">=
 dholland@netbsd.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
 te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
 ><span class=3D"">The following reply was made to PR toolchain/43272; it ha=
 s been noted by GNATS.<br>
 <br>
 From: David Holland &lt;<a href=3D"mailto:dholland@netbsd.org">dholland@net=
 bsd.org</a>&gt;<br>
 </span>To: George Georgalis &lt;<a href=3D"mailto:george@galis.org">george@=
 galis.org</a>&gt;<br>
 Cc: <a href=3D"mailto:gnats-bugs@netbsd.org">gnats-bugs@netbsd.org</a><br>
 <span class=3D"">Subject: Re: toolchain/43272: no nbsed after first release=
  build<br>
 </span>Date: Sun, 22 Jan 2012 07:07:54 +0000<br>
 <div class=3D"HOEnZb"><div class=3D"h5"><br>
 =C2=A0On Fri, Jan 20, 2012 at 01:50:27AM -0800, George Georgalis wrote:<br>
 =C2=A0 &gt; Um, I replied to gnats and dholland (below),I have no reply or =
 record<br>
 =C2=A0 &gt; of my response in gnats, and now I have reminders to reply???<b=
 r>
 <br>
 =C2=A0hmm...<br>
 <br>
 =C2=A0oh I see:<br>
 <br>
 =C2=A0 &gt; Subject: toolchain/43272 no nbsed after first release build<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 :<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 ^^^^<br>
 <br>
 =C2=A0you need a colon in there for gnats to pay attention, I think :(<br>
 =C2=A0also (maybe more importantly) the subject needs to begin with &quot;R=
 e:&quot;<br>
 =C2=A0I&#39;m a bit more behind than usual with gnats traffic right now :(<=
 br>
 <br>
 <br>
 =C2=A0As for the problem - the order of tools is listed in src/tools/Makefi=
 le:<br>
 <br>
 =C2=A0 =C2=A0 SUBDIR=3D host-mkdep .WAIT compat .WAIT \<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0binstall .WAIT mktemp .WAIT sed .W=
 AIT \<br>
 <br>
 =C2=A0so even in a parallel build sed should come immediately after mktemp,=
 <br>
 =C2=A0and once it gets that far, there should be a nbsed and it should be<b=
 r>
 =C2=A0runnable.<br>
 <br>
 =C2=A0What I meant to ask for was a transcript of the part of the tools<br>
 =C2=A0build where it&#39;s supposed to be building sed. Almost certainly wh=
 at&#39;s<br>
 =C2=A0happening is that something fails, so sed doesn&#39;t get built and/o=
 r<br>
 =C2=A0doesn&#39;t get installed, but for some reason this doesn&#39;t cause=
  the<br>
 =C2=A0build to stop like it should. Often in such situations a second run<b=
 r>
 =C2=A0will succeed because the failure on the first run leaves behind a<br>
 =C2=A0partial file so the step that didn&#39;t work doesn&#39;t get run aga=
 in.<br>
 <br>
 =C2=A0What we need to figure out is what happened.<br>
 <br>
 =C2=A0There&#39;s no need to try multiple branches or anything -- almost<br=
 >
 =C2=A0certainly there&#39;s one thing wrong, so test on whatever&#39;s most=
 <br>
 =C2=A0convenient. Once we figure out what&#39;s broken we can decide where =
 and<br>
 =C2=A0in how many places to apply the fix...<br>
 <br>
 =C2=A0--<br>
 =C2=A0David A. Holland<br>
 =C2=A0<a href=3D"mailto:dholland@netbsd.org">dholland@netbsd.org</a><br>
 <br>
 </div></div></blockquote></div><br><br clear=3D"all"><br>-- <br><div class=
 =3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d=
 iv>George Georgalis, (415) 894-2710, <a href=3D"http://www.galis.org/" targ=
 et=3D"_blank">http://www.galis.org/</a></div></div></div>
 </div></div>

 --001a113deb42cebc2d053c56053b--

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 13 Sep 2016 07:34:00 +0000
State-Changed-Why:
Confirmed fixed.


From: David Holland <dholland@netbsd.org>
To: George Georgalis <george@galis.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: toolchain/43272: no nbsed after first release build
Date: Tue, 13 Sep 2016 07:33:20 +0000

 On Mon, Sep 12, 2016 at 02:17:24PM -0700, George Georgalis wrote:
  > Hi - I confirmed last week, this bug is not present in supported releases
  > (netbsd-7-0 and netbsd-6-0), so there is no reason to keep this issue open.
  > Thanks! -George

 Thanks!

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.