Subject: problems building current
To: None <port-vax@netbsd.org>
From: Gordon Zaft <gordonzaft@yahoo.com>
List: port-vax
Date: 09/30/2003 21:04:02
I'm sending this here because I suspect it's a problem
with me and not with -current...

I'm trying to compile -current on my VS3100/38 with
16MB memory.  It's running NetBSD 1.6.1.  I get the
following error:

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 /build/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 &&
/build/obj/tooldir.NetBSD-1.6.1-vax/bin/nbmake -f
/build/src/too
ls/texinfo/../Makefile.gnuwrap $local_target) || case
"$amf" in *=*) exit 1;; *k
*) fail=yes;; *) exit 1;; esac; done; if test
"$dot_seen" = "no"; then /build/ob
j/tooldir.NetBSD-1.6.1-vax/bin/nbmake -f
/build/src/tools/texinfo/../Makefile.gn
uwrap "$target-am" || exit 1; fi; test -z "$fail"
*** Error code 1

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

*** Failed target:  all
*** Failed command:
/build/obj/tooldir.NetBSD-1.6.1-vax/bin/nbmake -f
/build/src
/tools/texinfo/../Makefile.gnuwrap all-recursive
*** Error code 1

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

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

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

*** Failed target:  dependall
*** Failed command: cd /build/src/tools/texinfo;
/build/obj/tooldir.NetBSD-1.6.1
-vax/bin/nbmake realall
*** Error code 1

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

*** Failed target:  dependall-texinfo
*** Failed command: targ=dependall;dir=texinfo; case
"$dir" in /*) echo "$targ =
==> $dir"; cd "$dir";
/build/obj/tooldir.NetBSD-1.6.1-vax/bin/nbmake
"_THISDIR_=
$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd
"/build/src/tools/$dir"; /build/o
bj/tooldir.NetBSD-1.6.1-vax/bin/nbmake
"_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1

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

*** Failed target:  do-tools
*** Failed command: (cd /build/src/tools &&
/build/obj/tooldir.NetBSD-1.6.1-vax/
bin/nbmake dependall)
*** Error code 1

Stop.
nbmake: stopped in /build/src

*** Failed target:  build
*** Failed command: (cd /build/src &&
/build/obj/tooldir.NetBSD-1.6.1-vax/bin/nb
make do-tools)
*** Error code 1

Stop.
nbmake: stopped in /build/src

*** Failed target:  release
*** Failed command: (cd /build/src &&
/build/obj/tooldir.NetBSD-1.6.1-vax/bin/nb
make NOPOSTINSTALL=1 build)
*** Error code 1

Stop.
nbmake: stopped in /build/src

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

After reading UPDATING I tried:

-bash-2.05b$ cd gnu/usr.bin/texinfo
-bash-2.05b$ make MKINFO=no dependall install
make: "/build/src/tools/Makefile" line 5: Malformed
conditional (${TOOLCHAIN_MIS
SING} != "yes")
make: "/build/src/tools/Makefile" line 6: Malformed
conditional (${USE_TOOLS_TOO
LCHAIN} != "yes")
make: "/build/src/tools/Makefile" line 8: if-less else
make: "/build/src/tools/Makefile" line 8: Need an
operator
make: "/build/src/tools/Makefile" line 10: if-less
endif
make: "/build/src/tools/Makefile" line 10: Need an
operator
make: "/build/src/tools/Makefile" line 14: if-less
endif
make: "/build/src/tools/Makefile" line 14: Need an
operator
make: Fatal errors encountered -- cannot continue
make: "/usr/share/mk/bsd.own.mk" line 92: warning: "cd
/build/src/tools && make
-V .OBJDIR" returned non-zero status
dependall ===> common
CC=make: stopped in
/build/src/tools/tools.NetBSD-1.6.1-vax/bin/vax--netbsdelf-g
cc make: stopped in
/build/src/tools/tools.NetBSD-1.6.1-vax/bin/nbmkdep -a
 -DGN
ULOCALEDIR=\"/usr/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" -I
/build/src/gnu/usr.bin/texinfo/common/../common
-I/build/src/gnu/dist/texinfo/li
b  -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H
-nostdinc -isystem /usr/inc
lude  /build/src/gnu/dist/texinfo/lib/substring.c
/build/src/gnu/dist/texinfo/li
b/xexit.c /build/src/gnu/dist/texinfo/lib/xmalloc.c
/build/src/gnu/dist/texinfo/
lib/xstrdup.c
make:: not found
*** Error code 127

Stop.
make: stopped in /build/src/gnu/usr.bin/texinfo/common
*** Error code 1

Stop.
make: stopped in /build/src/gnu/usr.bin/texinfo

Ideas?

=====
------
Gordon Zaft
zaft@zaft.org

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com