Subject: building -current for macppc (still) fails in ofwboot (related to
To: None <port-macppc@netbsd.org>
From: Timo Schoeler <timo.schoeler@riscworks.net>
List: current-users
Date: 10/11/2005 08:55:25
hi,

in conjuntion with PR 31740 [0] 'building current as of October 4th, 
2005 fails in ofwboot' this related problem occurs:

crossbuilding from an i386 machine (2.0.2-RELEASE) with

./build.sh -m macppc -O /usr/obj -T /usr/tools -D /usr/dest release

fails as shown below.

in order to make sure the repository was not the problem in PR 31740 i 
checked it out freshly again, from another (german) mirror (the first 
time it occured it was checked out from anoncvs.netbsd.org).

but the problem still exists, perhaps slightly different.

help is greatly appreciated as i'd really like to update my userland :)

timo

[0] -- http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=31470

(...)
#      link  ofwboot/ofwboot
/usr/tools/bin/powerpc--netbsd-ld -s -N -Ttext E00000 -Bstatic -o 
ofwboot.el1  Locore.o boot.o ofdev.o hfs.o net.
o netif_of.o alloc.o vers.o ofwmagic.o byteorder.o 
/usr/obj/sys/arch/macppc/stand/ofwboot/lib/sa/libsa.a /usr/obj
/sys/arch/macppc/stand/ofwboot/lib/z/libz.a 
/usr/obj/sys/arch/macppc/stand/ofwboot/lib/kern/libkern.a

*** Failed target:  ofwboot
*** Failed command: /usr/tools/bin/powerpc--netbsd-ld -s -N -Ttext 
E00000 -Bstatic -o ofwboot.el1 Locore.o boot.o
  ofdev.o hfs.o net.o netif_of.o alloc.o vers.o ofwmagic.o byteorder.o 
/usr/obj/sys/arch/macppc/stand/ofwboot/lib/
sa/libsa.a /usr/obj/sys/arch/macppc/stand/ofwboot/lib/z/libz.a 
/usr/obj/sys/arch/macppc/stand/ofwboot/lib/kern/li
bkern.a
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/arch/macppc/stand/ofwboot

*** Failed target:  dependall
*** Failed command: cd /usr/src/sys/arch/macppc/stand/ofwboot; 
/usr/tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/arch/macppc/stand/ofwboot

*** Failed target:  dependall-ofwboot
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/";
real="${dir}" ;; .) this="sys/arch/macppc/stand/"; 
real="/usr/src/sys/arch/macppc/stand" ;; *) this="sys/arch/mac
ppc/stand/${dir}/"; real="/usr/src/sys/arch/macppc/stand/${dir}" ;; 
esac; show=${this:-.}; echo "${target} ===> $
{show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/tools/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedir
target ofwboot dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/arch/macppc/stand

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

Stop.
nbmake: stopped in /usr/src/sys/arch/macppc

*** Failed target:  dependall-macppc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/";
real="${dir}" ;; .) this="sys/arch/"; real="/usr/src/sys/arch" ;; *) 
this="sys/arch/${dir}/"; real="/usr/src/sys/
arch/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> 
${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/too
ls/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget 
macppc dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/arch

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

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

*** Failed target:  dependall-sys
*** 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/tools/bin/nbmake _THISDIR_="${this}" "$
@" ${target}; }; _makedirtarget sys dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  do-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/tools/bin/nbmake _THISDIR_="${this}" "$
@" ${target}; }; _makedirtarget . dependall BUILD_tools=no BUILD_lib=no
*** 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/tools/bin/nbmake _THISDIR_="${this}" "$
@" ${target}; }; _makedirtarget . do-build
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  distribution
*** 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/tools/bin/nbmake _THISDIR_="${this}" "$
@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** 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/tools/bin/nbmake _THISDIR_="${this}" "$
@" ${target}; }; _makedirtarget . distribution
*** Error code 1

Stop.
nbmake: stopped in /usr/src
(END)