Subject: Build problem
To: NetBSD Port Sparc <port-sparc@netbsd.org>
From: Peter Eisch <peter.eisch@visionshareinc.com>
List: port-sparc
Date: 05/12/2004 00:23:41
Building 'release' outside the [read-only] source tree runs me into a hole
with crt0.o.  This is against -current as of today...

Thanks,

peter


===> build.sh command: /usr/src/build.sh -u -U -M /usr/peter/sparc/obj -m
sparc -D /usr/peter/sparc/dest -R /usr/peter/sparc/release -N 1 -T
/usr/peter/sparc/tools release
===> build.sh started: Tue May 11 18:12:11 CDT 2004
===> MACHINE:          sparc
===> MACHINE_ARCH:     sparc
===> TOOLDIR path:     /usr/peter/sparc/tools
===> DESTDIR path:     /usr/peter/sparc/dest
===> RELEASEDIR path:  /usr/peter/sparc/release
===> makewrapper:      /usr/peter/sparc/tools/bin/nbmake-sparc
===> Updated /usr/peter/sparc/tools/bin/nbmake-sparc
build ===> .    (with: NOPOSTINSTALL=1)
Build started at: Tue May 11 18:12:13 CDT 2004
...
do-lib-csu ===> .
dependall ===> lib/csu
dependall ===> lib/csu/sparc_elf
/usr/peter/sparc/tools/bin/sparc--netbsdelf-gcc -O2 -fPIC  -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-traditional -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow  -Werror
-I- -I/usr/src/lib/csu/sparc_elf -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/csu/sparc_elf/../common_elf
-I/usr/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE  -nostdinc -isystem
/usr/peter/sparc/dest/usr/include  -c -DCRT0
/usr/src/lib/csu/sparc_elf/crt0.c -o /usr/src/lib/csu/sparc_elf/crt0.o
Assembler messages:
FATAL: can't create /usr/src/lib/csu/sparc_elf/crt0.o.o: Permission denied

*** Failed target:  crt0.o
*** Failed command: /usr/peter/sparc/tools/bin/sparc--netbsdelf-gcc -O2
-fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wno-uninitialized -Wreturn-type -Wswitch
-Wshadow -Werror -I- -I/usr/src/lib/csu/sparc_elf -DLIBC_SCCS -DPIC
-DDYNAMIC -DELFSIZE=32 -I/usr/src/libexec/ld.elf_so
-I/usr/src/lib/csu/sparc_elf/../common_elf -I/usr/src/lib/libc/dlfcn
-DDWARF2_EH -DJCR -DDSO_HANDLE -nostdinc -isystem
/usr/peter/sparc/dest/usr/include -c -DCRT0
/usr/src/lib/csu/sparc_elf/crt0.c -o /usr/src/lib/csu/sparc_elf/crt0.o.o
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/csu/sparc_elf

*** Failed target:  dependall
*** Failed command: cd /usr/src/lib/csu/sparc_elf;
/usr/peter/sparc/tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/csu/sparc_elf

*** Failed target:  dependall-sparc_elf
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/csu/";
real="/usr/src/lib/csu" ;; *) this="lib/csu/${dir}/";
real="/usr/src/lib/csu/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/peter/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget sparc_elf dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/csu

*** Failed target:  do-lib-csu
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/peter/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget lib/csu dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/peter/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . do-lib-csu
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/peter/sparc/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

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