Subject: Problems compiling NetBSD Userland
To: None <netbsd-users@netbsd.org>
From: Jochen Keil <J.Keil@gmx.de>
List: netbsd-users
Date: 01/23/2005 16:28:28
Hi all.

When i'm trying to compile NetBSD Userland with the following command:
time ./build.sh -j8 -u -U build
this error message comes up after 4925s of compiling.

--- dependall-f771 ---
--- f771 ---
#      link  f771/f771
/usr/src/obj/tooldir.NetBSD-2.0.1-i386/bin/i386--netbsdelf-gcc 
-Wl,-nostdlib     -o f771 
-Wl,-rpath-link,/usr/src/obj/destdir.i386/lib:/usr/src/obj/destdir.i386/usr/lib 
  -L/usr/src/obj/destdir.i386/lib  -B/usr/src/obj/destdir.i386/usr/lib/ 
-B/usr/src/obj/destdir.i386/usr/lib/   bad.o bit.o bld.o com.o data.o 
equiv.o expr.o global.o implic.o info.o intrin.o lab.o lex.o malloc.o 
name.o parse.o src.o st.o sta.o stb.o stc.o std.o ste.o storag.o stp.o 
str.o sts.o stt.o stu.o stv.o stw.o symbol.o target.o top.o type.o 
where.o main.o -L/usr/src/gnu/usr.bin/gcc3/backend/obj -lbackend 
-L/usr/src/gnu/usr.bin/gcc3/libiberty/obj -liberty 
-L/usr/src/obj/destdir.i386/usr/lib -L/usr/src/obj/destdir.i386/usr/lib
--- dependall ---
--- dependall ---
--- dependall ---
1 error

nbmake: stopped in /usr/src

*** Failed target:  do-build
*** Failed command: (cd /usr/src && 
/usr/src/obj/tooldir.NetBSD-2.0.1-i386/bin/nbmake dependall 
BUILD_tools=no BUILD_lib=no)
*** Error code 2

Stop.
nbmake: stopped in /usr/src
*** [build] Error code 1
1 error

nbmake: stopped in /usr/src

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


$ /usr/src/obj/tooldir.NetBSD-2.0.1-i386/bin/nbmake dependall 
BUILD_tools=no BUILD_lib=no

dependall ===> include
dependall ===> include/rpc
dependall ===> gnu
dependall ===> gnu/lib
dependall ===> gnu/lib/libopcodes
dependall ===> gnu/lib/libbfd
dependall ===> gnu/lib/libiberty
dependall ===> gnu/lib/libg2c3
dependall ===> gnu/lib/libfrtbegin
dependall ===> gnu/lib/libgcc3
dependall ===> gnu/lib/libgcc3/libgcc
dependall ===> gnu/lib/libgcc3/libgcc_eh
dependall ===> gnu/lib/libgcc3/libgcc_s
dependall ===> gnu/lib/libobjc3
dependall ===> gnu/lib/libsupc++
dependall ===> gnu/lib/libstdc++-v3
dependall ===> gnu/lib/libstdc++-v3/include
dependall ===> gnu/lib/libstdc++-v3/include/backward
dependall ===> gnu/lib/libstdc++-v3/include/ext
dependall ===> gnu/lib/libstdc++-v3/include/bits
dependall ===> gnu/lib/libmalloc
dependall ===> gnu/libexec
dependall ===> gnu/libexec/uucp
dependall ===> gnu/libexec/uucp/libunix
dependall ===> gnu/libexec/uucp/libuucp
dependall ===> gnu/libexec/uucp/libuuconf
dependall ===> gnu/libexec/uucp/doc
dependall ===> gnu/libexec/uucp/cu
nbmake: don't know how to make 
/tooldir.NetBSD-2.0.1-i386/share/groff/tmac/andoc.tmac. Stop

nbmake: stopped in /usr/src/gnu/libexec/uucp/cu
*** Error code 2

Stop.
nbmake: stopped in /usr/src/gnu/libexec/uucp/cu
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/libexec/uucp
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/libexec
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu
*** Error code 1

Stop.
nbmake: stopped in /usr/src

Here's my mk.conf:
MACHINE=        i386
MACHINE_ARCH=   i386
#MAKEFLAGS=     -j8
COPTS+=         -O2 -pipe
MKDYNAMICROOT=  yes
MKHTML=         no
MKMANZ=         yes
MKPOSTFIX=      no
MKSENDMAIL=     no

Tools (./build.sh -j8 tools) compile without errors so does the kernel.
Am i missing something or doing something wrong?
I'm using NetBSD 2.0 sources i fetched with ftp from a mirror. MD5 told 
me that the *.tgz files are all correct. I've fetched these packages:
gnusrc.tgz
sharesrc.tgz
src.tgz
syssrc.tgz

Grabbing new sources with cvs didn't bring me much efforts 
(unfortunately trying to update the packages with cvs won't work).

Thank you in advance and kind regards,

Jochen Keil