Subject: Re: kernel driver support for Dell 5/iR raid controller
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Brandon Lee <brandon@xcodes.net>
List: tech-kern
Date: 06/30/2007 22:24:38
On 6/30/07, Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> On Sat, Jun 30, 2007 at 06:42:26PM +0800, Brandon Lee wrote:
> > hi manuel,
> >
> > im getting nbmake: iso_image error via ./build.sh.  any idea?
>
> Could you give more details ?
>
> --
> Manuel Bouyer <bouyer@antioche.eu.org>
>      NetBSD: 26 ans d'experience feront toujours la difference
> --
>

Hi Manuel,

Below is the error on the "./build.sh release" :

---------- extract ------------------
cleandir ===> distrib/i386/instkernel
rm -f netbsd-boot440 netbsd-boot440.gz netbsd-boot440.symbols.gz
rm -f a.out [Ee]rrs mklog core *.core .gdbinit
rm -f netbsd-boot440 netbsd-boot440.gz netbsd-boot440.symbols.gz
cleandir ===> distrib/i386/cdroms
nbmake: don't know how to make cleandir. Stop

nbmake: stopped in /usr/src/distrib/i386/cdroms

*** Failed target:  cleandir-cdroms
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="distrib/i386/"; real="/usr/src/distrib/i386" ;; *)
this="distrib/i386/${dir}/"; real="/usr/src/distrib/i386/${dir}" ;;
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$@)}"; cd "${real}" &&
/usr/src/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget cdroms cleandir
*** Error code 2

Stop.
nbmake: stopped in /usr/src/distrib/i386

*** Failed target:  cleandir-i386
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="distrib/"; real="/usr/src/distrib" ;; *) this="distrib/${dir}/";
real="/usr/src/distrib/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/src/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget i386 cleandir
*** Error code 1

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

*** Failed target:  cleandir-distrib
*** 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/src/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget distrib cleandir
*** 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/src/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget . cleandir
*** 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/src/tooldir.NetBSD-4.0_BETA2-i386/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/src/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget . distribution
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make release
*** BUILD ABORTED ***
------------ end of extract ------------------------


while i tried to do ./build.sh iso-image :
--------------- extract ---------------------
foo# ./build.sh iso-image
===> build.sh command: ./build.sh iso-image
===> build.sh started: Sun Jul  1 05:02:34 SGT 2007
===> NetBSD version:   4.99.21
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> Build platform:   NetBSD 4.0_BETA2 i386
===> HOST_SH:          /bin/sh
===> TOOLDIR path:     /usr/src/tooldir.NetBSD-4.0_BETA2-i386
===> DESTDIR path:     /usr/src/destdir.i386
===> RELEASEDIR path:  /usr/src/releasedir
===> makewrapper:      /usr/src/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake-i386
===> Updated /usr/src/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake-i386
iso_image ===> distrib
iso_image ===> distrib/notes
iso_image ===> distrib/i386
iso_image ===> distrib/i386/cdroms
nbmake: don't know how to make iso_image. Stop

nbmake: stopped in /usr/src/distrib/i386/cdroms

*** Failed target:  iso_image
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="distrib/i386/"; real="/usr/src/distrib/i386" ;; *)
this="distrib/i386/${dir}/"; real="/usr/src/distrib/i386/${dir}" ;;
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$@)}"; cd "${real}" &&
/usr/src/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget cdroms iso_image
*** Error code 2

Stop.
nbmake: stopped in /usr/src/distrib/i386

*** Failed target:  iso_image-i386
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="distrib/"; real="/usr/src/distrib" ;; *) this="distrib/${dir}/";
real="/usr/src/distrib/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/src/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget i386 iso_image
*** Error code 1

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

*** Failed target:  iso-image
*** 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/src/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget distrib iso_image
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make iso-image
*** BUILD ABORTED ***
--------------- end of extract ------------------

any idea on these errors?
thks!

-- 
./Brandon