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:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 06 19:05:00 +0000 2010
>Closed-Date:    
>Last-Modified:  Sun Jan 22 07:10:02 +0000 2012
>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

>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.