Subject: toolchain/25162: build.sh needs "-V MKINFO=no" to build releases of CURRENT on Linux
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <marlam@web.de>
List: netbsd-bugs
Date: 04/13/2004 06:46:45
>Number:         25162
>Category:       toolchain
>Synopsis:       build.sh needs "-V MKINFO=no" to build releases of CURRENT on Linux
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 13 06:47:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martin Lambers
>Release:        CURRENT sources from 2004-04-13
>Organization:
>Environment:
Linux cthulhu 2.6.3 #5 Sun Mar 21 16:59:32 CET 2004 i686 AMD Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux

[Gentoo Linux with glibc 2.3.2 build against 2.6 headers; gcc 3.3.2;
binutils 2.14.90.0.7]
>Description:
# ./build.sh -m sparc -X ../xsrc -x -U -u -O ../sparc/obj -T ../sparc/tools -D ../sparc/dest -R ../sparc/release release

fails to build a release:

-------------------------
install ===> libbz2
nbmake: don't know how to make /usr/local/home/martin/netbsd-current/src/../sparc/dest/usr/share/info:/usr/X11R6/info/bzip2.info. Stop

nbmake: stopped in /usr/local/home/martin/netbsd-current/src/lib/libbz2

*** Failed target:  install-libbz2
*** Failed command: targ=install;dir=libbz2; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /usr/local/home/martin/netbsd-current/src/../sparc/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/usr/local/home/martin/netbsd-current/src/lib/$dir"; /usr/local/home/martin/netbsd-current/src/../sparc/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 2

Stop.
nbmake: stopped in /usr/local/home/martin/netbsd-current/src/lib

*** Failed target:  do-lib
*** Failed command: (cd /usr/local/home/martin/netbsd-current/src/lib && /usr/local/home/martin/netbsd-current/src/../sparc/tools/bin/nbmake install)
*** Error code 1

Stop.
nbmake: stopped in /usr/local/home/martin/netbsd-current/src

*** Failed target:  build
*** Failed command: (cd /usr/local/home/martin/netbsd-current/src && /usr/local/home/martin/netbsd-current/src/../sparc/tools/bin/nbmake do-lib)
*** Error code 1

Stop.
nbmake: stopped in /usr/local/home/martin/netbsd-current/src

*** Failed target:  release
*** Failed command: (cd /usr/local/home/martin/netbsd-current/src && /usr/local/home/martin/netbsd-current/src/../sparc/tools/bin/nbmake NOPOSTINSTALL=1 build)
*** Error code 1

Stop.
nbmake: stopped in /usr/local/home/martin/netbsd-current/src

ERROR: Failed to make release
*** BUILD ABORTED ***
-------------------------

The same happens without "-X ../xsrc -x -u" and for "-m alpha".

When I commented out lines 16+17 of src/lib/libbz2/Makefile
#TEXINFO=	bzip2.info
#CLEANFILES+=	bzip2.texi
libbz2 installs ok, but libkrb5 fails:

-------------------------
nbmake: don't know how to make /usr/local/home/martin/netbsd-current/src/../sparc/dest/usr/share/info:/usr/X11R6/info/heimdal.info. Stop

nbmake: stopped in /usr/local/home/martin/netbsd-current/src/lib/libkrb5

*** Failed target:  install-libkrb5
*** Failed command: targ=install;dir=libkrb5; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /usr/local/home/martin/netbsd-current/src/../sparc/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/usr/local/home/martin/netbsd-current/src/lib/$dir"; /usr/local/home/martin/netbsd-current/src/../sparc/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 2

Stop.
nbmake: stopped in /usr/local/home/martin/netbsd-current/src/lib

*** Failed target:  do-lib
*** Failed command: (cd /usr/local/home/martin/netbsd-current/src/lib && /usr/local/home/martin/netbsd-current/src/../sparc/tools/bin/nbmake install)
*** Error code 1

Stop.
nbmake: stopped in /usr/local/home/martin/netbsd-current/src

*** Failed target:  build
*** Failed command: (cd /usr/local/home/martin/netbsd-current/src && /usr/local/home/martin/netbsd-current/src/../sparc/tools/bin/nbmake do-lib)
*** Error code 1

Stop.
nbmake: stopped in /usr/local/home/martin/netbsd-current/src

*** Failed target:  release
*** Failed command: (cd /usr/local/home/martin/netbsd-current/src && /usr/local/home/martin/netbsd-current/src/../sparc/tools/bin/nbmake NOPOSTINSTALL=1 build)
*** Error code 1

Stop.
nbmake: stopped in /usr/local/home/martin/netbsd-current/src

ERROR: Failed to make release
*** BUILD ABORTED ***
-------------------------
>How-To-Repeat:
Use "./build.sh -m sparc -O ../sparc/obj -T ../sparc/tools -D ../sparc/dest -R ../sparc/release release" on a GNU/Linux system (?) to build a release from current sources. 

>Fix:
Workaround: add "-V MKINFO=no" and everything works fine
>Release-Note:
>Audit-Trail:
>Unformatted: