Subject: Re: build.sh fails compiling -current for sparc target on RH7.2 build host
To: None <current-users@netbsd.org>
From: Jim Breton <jamesb-netbsd@alongtheway.com>
List: current-users
Date: 02/21/2002 20:13:04
On Tue, Feb 19, 2002 at 09:23:34AM -0500, Todd Vierling wrote:
> You need to set NO_DBSYM=1 in mk.conf at the moment. dbsym is completely
> uncompilable on non-NetBSD hosts (and is a tool rarely used, in any case,
> for mainstream desktop/workstation ports).
>
> There's a couple other issues with RedHat that I have to fix up, btw; you
> should see those fixes go into -current tomorrow.
Thanks. At the risk of sounding incompetent ;) I have updated my tree
again (about an hour ago), and seeing as the build host is not a NetBSD
machine, I wasn't sure which mk.conf you meant -- so I created an
./etc/mk.conf in the src tree and defined NO_DBSYM there. But in case
that wasn't what you meant, I have been doing subsequent build attempts
like so:
NO_DBSYM=1 ./build.sh -m sparc -D \
/home/build/src/netbsd-current/destdir/sparc -R \
/home/build/src/netbsd-current/release/sparc
Setting in the environment should give the same effect afaik?
Anyway now I get to this point before failing:
/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/installboot.c:46:28: ufs/ufs/dinode.h: No such file or directory
/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/installboot.c:47:25: ufs/ufs/dir.h: No such file or directory
/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/installboot.c:48:24: ufs/ffs/fs.h: No such file or directory
In file included from /home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/installboot.c:58:
/home/build/src/netbsd-current/src/sys/lib/libsa/loadfile.h:78:26: sys/exec_elf.h: No such file or directory
/home/build/src/netbsd-current/src/sys/lib/libsa/loadfile.h:88:27: sys/exec_aout.h: No such file or directory
/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/../../../../lib/libsa/loadfile.c:92:22: sys/exec.h: No such file or directory
In file included from /home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/../../../../lib/libsa/loadfile.c:94:
/home/build/src/netbsd-current/src/sys/lib/libsa/loadfile.h:78:26: sys/exec_elf.h: No such file or directory
/home/build/src/netbsd-current/src/sys/lib/libsa/loadfile.h:88:27: sys/exec_aout.h: No such file or directory
/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/../../../../lib/libsa/loadfile_aout.c:92:22: sys/exec.h: No such file or directory
In file included from /home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/../../../../lib/libsa/loadfile_aout.c:94:
/home/build/src/netbsd-current/src/sys/lib/libsa/loadfile.h:78:26: sys/exec_elf.h: No such file or directory
/home/build/src/netbsd-current/src/sys/lib/libsa/loadfile.h:88:27: sys/exec_aout.h: No such file or directory
/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/../../../../lib/libsa/loadfile_elf32.c:59:22: sys/exec.h: No such file or directory
In file included from /home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/../../../../lib/libsa/loadfile_elf32.c:61:
/home/build/src/netbsd-current/src/sys/lib/libsa/loadfile.h:78:26: sys/exec_elf.h: No such file or directory
/home/build/src/netbsd-current/src/sys/lib/libsa/loadfile.h:88:27: sys/exec_aout.h: No such file or directory
cc -O -I/home/build/src/netbsd-current/src/tools/sparc-installboot -I/home/build/src/netbsd-current/src/tools/sparc-installboot/../.. -I/home/build/src/netbsd-current/src/tools/compat/obj -I/home/build/src/netbsd-current/src/tools/compat/obj/include -I/home/build/src/netbsd-current/src/tools/sparc-installboot/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DBOOT_AOUT -DBOOT_ELF32 -I/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/../../../../lib/libsa -I. -I/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/.. -c -o installboot.lo /home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/installboot.c
/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/installboot.c:46:28: ufs/ufs/dinode.h: No such file or directory
/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/installboot.c:47:25: ufs/ufs/dir.h: No such file or directory
/home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/installboot.c:48:24: ufs/ffs/fs.h: No such file or directory
In file included from /home/build/src/netbsd-current/src/tools/sparc-installboot/../../sys/arch/sparc/stand/installboot/installboot.c:58:
/home/build/src/netbsd-current/src/sys/lib/libsa/loadfile.h:78:26: sys/exec_elf.h: No such file or directory
/home/build/src/netbsd-current/src/sys/lib/libsa/loadfile.h:88:27: sys/exec_aout.h: No such file or directory
*** Error code 1
Stop.
nbmake: stopped in /home/build/src/netbsd-current/src/tools/sparc-installboot
*** Error code 1
Stop.
nbmake: stopped in /home/build/src/netbsd-current/src/tools/sparc-installboot
*** Error code 1
Stop.
nbmake: stopped in /home/build/src/netbsd-current/src/tools
*** Error code 1
Stop.
nbmake: stopped in /home/build/src/netbsd-current/src
*** Error code 1
Stop.
nbmake: stopped in /home/build/src/netbsd-current/src
Thanks for your help.