[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-bugs
Subject:    bin/14392: src/tools does not recompile binaries properly
From:       Lennart Augustsson <augustss () augustsson ! net>
Date:       2001-10-29 14:45:14
[Download RAW message or body]


> Number:         14392
> Category:       bin
> Synopsis:       src/tools does not recompile binaries properly
> Confidential:   no
> Severity:       serious
> Priority:       high
> Responsible:    bin-bug-people
> State:          open
> Class:          sw-bug
> Submitter-Id:   net
> Arrival-Date:   Mon Oct 29 06:46:00 PST 2001
> Closed-Date:
> Last-Modified:
> Originator:     Lennart Augustsson
> Release:        NetBSD 1.5Y 2001-10-29
> Organization:
> Environment:
System: NetBSD hobbes 1.5Y NetBSD 1.5Y (HOBBES) #132: Sun Oct 28 11:28:46 MET 2001 \
                augustss@hobbes:/usr/src/sys/arch/i386/compile/HOBBES i386
Architecture: i386
Machine: i386
> Description:
	When doing a `make UPDATE=Y build' in src the tools do not get
	recompiled properly.
> How-To-Repeat:
	I have this in /etc/mk.conf:
		TOOLDIR=/usr/obj/tools
		MKTOOLS=yes     # yes/no/always
	Here is a transcript of what happens.  Note that the binstall
	program is built from the usr.bin/xinstall/xinstall.c source which
	depends on usr.bin/xinstall/pathnames.h.

wicked# touch usr.bin/xinstall/pathnames.h 
wicked# make UPDATE=Y build
Build started at: Mon Oct 29 15:33:46 CET 2001
cd /usr/src/tools && make -m /usr/src/share/mk build
build ===> binstall
build ===> gencat
build ===> mkdep
^C

	Nothing happens.  Well, perhaps we should blow away all .o file?

wicked# (cd tools ; make cleandir >/dev/null)
wicked# make UPDATE=Y build
Build started at: Mon Oct 29 15:34:16 CET 2001
cd /usr/src/tools && make -m /usr/src/share/mk build
build ===> binstall
build ===> gencat
build ===> mkdep
^C

	Still nothing happens.  Hmmm...

wicked# ls -a tools/binstall/obj
.  ..

	Oh, no .depend file.  Why not?  Dunno, but let's build them then.

wicked# (cd tools; make depend >/dev/null)
/usr/obj/tools/bin/yacc: 1 shift/reduce conflict.
wicked# make UPDATE=Y build
Build started at: Mon Oct 29 15:34:39 CET 2001
cd /usr/src/tools && make -m /usr/src/share/mk build
build ===> binstall
build ===> gencat
build ===> mkdep
^C

	Alas, still nothing happens.  How on earth are you supposed
	to rebuild the tools?

> Fix:
	I'm clueless.
> Release-Note:
> Audit-Trail:
> Unformatted:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic