Subject: Re: current on vax, problems
To: <>
From: emanuel stiebler <emu@ecubics.com>
List: current-users
Date: 11/19/2003 09:55:46
That's what I got with todays CVS:

My Environment:

bevax# printenv
HOME=/root
SHELL=/bin/csh
TERM=vt220
LOGNAME=root
USER=root
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/us
r/local/sbin:/usr/local/bin
PWD=/usr/src
BLOCKSIZE=1k
TOOLDIR=/usr/tools
DESTDIR=/usr/dest
RELEASEDIR=/usr/release
BSDOBJDIR=/usr/obj
MKINFO=no
MKMAN=no

Which is pretty standard after a 1.6.1 install.

--------------------------
Now it starts pretty nice:
--------------------------

bevax# ./build.sh build
===> build.sh command: ./build.sh build
===> build.sh started: Wed Nov 19 07:32:30 MST 2003
/usr/tools/bin/nbstat: not found
#    objdir  /usr/obj/tools
===> MACHINE:          vax
===> MACHINE_ARCH:     vax
===> TOOLDIR path:     /usr/tools
===> DESTDIR path:     /usr/dest
===> RELEASEDIR path:  /usr/release
===> makewrapper:      /usr/tools/bin/nbmake-vax
===> Updated /usr/tools/bin/nbmake-vax
Build started at: Wed Nov 19 07:33:04 MST 2003
cleandir ===> tools
cleandir ===> tools/host-mkdep
rm -f a.out [Ee]rrs mklog core *.core     config.cache config.log 
config.status
host-mkdep
cleandir ===> tools/compat

------------------------------------------------------------------------
and cleans the directories for a while (for a LOOONG while actually ;-))
Then somewhere in the middle (can it be really ignored ?):
-----------------------------------------------------------

cleandir ===> regress/sys/kern/umount
***  Cleaning up /usr/src/regress/sys/kern/umount/obj/umount-f_mount, 
/usr/src/r
egress/sys/kern/umount/obj/umount-f.im.
umount -f "/usr/src/regress/sys/kern/umount/obj/umount-f_mount"
umount: /usr/obj/regress/sys/kern/umount/umount-f_mount: not currently 
mounted

*** Failed target:  clean
*** Failed command: umount -f 
"/usr/src/regress/sys/kern/umount/obj/umount-f_mou
nt"
*** Error code 1 (ignored)
vnconfig -u "vnd0"
vnconfig: /dev/rvnd0c: VNDIOCCLR: Device not configured

*** Failed target:  clean
*** Failed command: vnconfig -u "vnd0"
*** Error code 1 (ignored)
rm -rf "/usr/src/regress/sys/kern/umount/obj/umount-f_mount" 
"/usr/src/regress/s
ys/kern/umount/obj/umount-f.im"
cleandir ===> regress/sys/kern/unfdpass

----------------------------------------------------------
Then it starts with the "OBJ", and complains always about:
----------------------------------------------------------

obj ===> tools
obj ===> tools/host-mkdep
/usr/tools/bin/nbstat: not found
#    objdir  /usr/obj/tools/host-mkdep
obj ===> tools/compat
/usr/tools/bin/nbstat: not found
#    objdir  /usr/obj/tools/compat
obj ===> tools/binstall
/usr/tools/bin/nbstat: not found

--------------------------------------
Then, where is this one coming from ?
The TOOLDIR wasn't changed ?!?!
---------------------------------------

(cd /usr/src/tools && /usr/tools/bin/nbmake dependall)
*** WARNING: TOOLDIR has moved?
*** PREVIOUSTOOLDIR ''
***     !=  TOOLDIR '/usr/tools'
*** Cleaning mis-matched tools
rm -f PREVIOUSTOOLDIR
/usr/tools/bin/nbmake cleandir
rm -f a.out [Ee]rrs mklog core *.core .gdbinit
echo /usr/tools > PREVIOUSTOOLDIR
dependall ===> host-mkdep
rm -f host-mkdep
CC=cc sh /usr/src/tools/host-mkdep/configure --cache-file=config.cache
configure: creating cache config.cache

-----------------------
And finally fails with:
-----------------------

Making all in info
source='/usr/src/tools/texinfo/../../gnu/dist/texinfo/info/makedoc.c' 
object='ma
kedoc.o' libtool=no  depfile='.deps/makedoc.Po' 
tmpdepfile='.deps/makedoc.TPo'
depmode=gcc /bin/sh 
/usr/src/tools/texinfo/../../gnu/dist/texinfo/depcomp  cc -D
HAVE_CONFIG_H -DINFODIR=\"/usr/tools/info\" 
-DLOCALEDIR=\"/usr/tools/share/local
e\" -I. -I/usr/src/tools/texinfo/../../gnu/dist/texinfo/info -I.. -I. 
-I/usr/src
/tools/texinfo/../../gnu/dist/texinfo/lib -I../intl -I.. 
-I/usr/src/tools/texinf
o/../../gnu/dist/texinfo/info     -O -c `test -f 
'/usr/src/tools/texinfo/../../g
nu/dist/texinfo/info/makedoc.c' || echo 
'/usr/src/tools/texinfo/../../gnu/dist/t
exinfo/info/'`/usr/src/tools/texinfo/../../gnu/dist/texinfo/info/makedoc.c
cc  -O   -o makedoc  makedoc.o ../lib/libtxi.a -lcurses ../intl/libintl.a
makedoc.o: In function `main':
makedoc.o(.text+0xe7): undefined reference to `_libintl_gettext'
makedoc.o(.text+0x136): undefined reference to `_libintl_gettext'
makedoc.o: In function `fatal_file_error':
makedoc.o(.text+0x7c4): undefined reference to `_libintl_gettext'
../lib/libtxi.a(xexit.o): In function `xexit':
xexit.o(.text+0x23): undefined reference to `_libintl_gettext'
xexit.o(.text+0x54): undefined reference to `_libintl_gettext'

*** Failed target:  makedoc
*** Failed command: cc -O -o makedoc makedoc.o ../lib/libtxi.a -lcurses 
../intl/
libintl.a
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/tools/texinfo/build/info

*** Failed target:  all-recursive
*** Failed command: set fnord $MAKEFLAGS; amf=$2; dot_seen=no; 
target=`echo all-
recursive | sed s/-recursive//`; list='intl m4 lib info makeinfo po util 
doc'; f
or subdir in $list; do echo "Making $target in $subdir"; if test 
"$subdir" = "."
; then dot_seen=yes; local_target="$target-am"; else 
local_target="$target"; fi;
  (cd $subdir && /usr/tools/bin/nbmake -f 
/usr/src/tools/texinfo/../Makefile.gnuw
rap $local_target) || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) 
exit 1;; e
sac; done; if test "$dot_seen" = "no"; then /usr/tools/bin/nbmake -f 
/usr/src/to
ols/texinfo/../Makefile.gnuwrap "$target-am" || exit 1; fi; test -z "$fail"
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/tools/texinfo/build

*** Failed target:  all
*** Failed command: /usr/tools/bin/nbmake -f 
/usr/src/tools/texinfo/../Makefile.
gnuwrap all-recursive
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/tools/texinfo/build

*** Failed target:  .build_done
*** Failed command: (cd build && /usr/tools/bin/nbmake -f 
/usr/src/tools/texinfo
/../Makefile.gnuwrap BISON=true DESTDIR= 
INSTALL=/usr/tools/bin/nbinstall\ -c\ \
  -r all)
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo

*** Failed target:  dependall
*** Failed command: cd /usr/src/tools/texinfo; /usr/tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo

*** Failed target:  dependall-texinfo
*** Failed command: targ=dependall;dir=texinfo; case "$dir" in /*) echo 
"$targ =
==> $dir"; cd "$dir"; /usr/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; 
*) echo
"$targ ===> $dir"; cd "/usr/src/tools/$dir"; /usr/tools/bin/nbmake 
"_THISDIR_=$d
ir/" $targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools

*** Failed target:  do-tools
*** Failed command: (cd /usr/src/tools && /usr/tools/bin/nbmake dependall)
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  build
*** Failed command: (cd /usr/src && /usr/tools/bin/nbmake do-tools)
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make build
*** BUILD ABORTED ***

cheers