NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/43272: no nbsed after first release build



>Number:         43272
>Category:       toolchain
>Synopsis:       no nbsed after first release build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 06 19:05:00 +0000 2010
>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@localhost:/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.



Home | Main Index | Thread Index | Old Index