Subject: build.sh fails in libpam
To: None <current-users@netbsd.org>
From: Arto Selonen <arto@selonen.org>
List: current-users
Date: 01/19/2005 11:28:08
Hi!
Trying to upgrade 2.99.10 to -current, with sources synced from anoncvs
mirror anoncvs2.us.NetBSD.org just a few hours ago. I checked UPDATING
and could not see anything obviously related (other than updating make
manually, which I did). Could not find anything on the mailing lists
either. Should I look for a fix in anoncvs, local configuration or
a reflection in the mirror?
Here is what I've done so far:
# cd /usr/src/usr.bin/make
# make clean
# make dependall
# make install
# cd /usr/src/share/mk
# make install
The above had no effect on 'build.sh build', which still fails in the
following manner (build steps shown for context):
# cd /usr/src
# ./build.sh tools
# ./build.sh -T /usr/obj/tools kernel=BLAH
# ./build.sh -D /obj/destdir -T /usr/obj/tools build
fails in the following manner:
# compile libpam/openpam_borrow_cred.ln
CC=/obj/i386/tools/bin/i386--netbsdelf-gcc
/obj/i386/tools/bin/i386--netbsdelf-lint -chapbxzF -Sw -X 233 -d
/obj/destdir/usr/include -DLIB_MAJ=0 -DOPENPAM_STATIC_MODULES
-DOPENPAM_STATIC_MODULE -DDEBUG -i
/cvs/src/dist/openpam/lib/openpam_borrow_cred.c
/cvs/src/dist/openpam/lib/openpam_impl.h(131): redeclaration of
openpam_load_module [27]
/cvs/src/dist/openpam/lib/openpam_impl.h(131): warning: old style
declaration; add int [1]
*** Failed target: openpam_borrow_cred.ln
*** Failed command: CC=/obj/i386/tools/bin/i386--netbsdelf-gcc
/obj/i386/tools/bin/i386--netbsdelf-lint -chapbxzF -Sw -X 233 -d
/obj/destdir/usr/include -DLIB_MAJ=0 -DOPENPAM_STATIC_MODULES
-DOPENPAM_STATIC_MODULE -DDEBUG -i
/cvs/src/dist/openpam/lib/openpam_borrow_cred.c
*** Error code 1
Stop.
nbmake: stopped in /cvs/src/lib/libpam/libpam
*** Failed target: dependall
*** Failed command: cd /cvs/src/lib/libpam/libpam;
/obj/i386/tools/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /cvs/src/lib/libpam/libpam
*** Failed target: dependall-libpam
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="lib/libpam/"; real="/cvs/src/lib/libpam" ;; *)
this="lib/libpam/${dir}/"; real="/cvs/src/lib/libpam/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /obj/i386/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget libpam dependall
*** Error code 1
Stop.
nbmake: stopped in /cvs/src/lib/libpam
*** Failed target: dependall-libpam
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="lib/"; real="/cvs/src/lib" ;; *) this="lib/${dir}/";
real="/cvs/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===>
${show%/}${1:+ (with: $@)}"; cd "${real}" && /obj/i386/tools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libpam dependall
*** Error code 1
Stop.
nbmake: stopped in /cvs/src/lib
*** Failed target: do-lib
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/cvs/src" ;; *) this="${dir}/"; real="/cvs/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /obj/i386/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget lib dependall
*** Error code 1
Stop.
nbmake: stopped in /cvs/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/cvs/src" ;; *) this="${dir}/"; real="/cvs/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /obj/i386/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . do-lib
*** Error code 1
Stop.
nbmake: stopped in /cvs/src
ERROR: Failed to make build
*** BUILD ABORTED ***
Exit 1
Artsi
--
#######======------ http://www.selonen.org/arto/ --------========########
Everstinkuja 5 B 35 Don't mind doing it.
FIN-02600 Espoo arto@selonen.org Don't mind not doing it.
Finland tel +358 50 560 4826 Don't know anything about it.