Subject: Has anyone built 2.99.1? on 2.0[F-H] ?
To: None <current-users@netbsd.org>
From: Martin S. Weber <Ephaeton@gmx.net>
List: current-users
Date: 01/26/2005 12:03:40
I keep getting errors in libpam (which I don't / didn't get while building
2.99.14 on 2.99.10). Lines from the buildlog:

dependall ===> lib/libpam/libpam
/usr/home/netbsd/src/dist/openpam/lib/openpam_impl.h(131): redeclaration of openpam_load_module
 [27]
 /usr/home/netbsd/src/dist/openpam/lib/openpam_impl.h(131): warning: old style declaration; add
 int [1]

 *** Failed target:  openpam_borrow_cred.ln
 *** Failed command: CC=/usr/tools/bin/i386--netbsdelf-gcc /usr/tools/bin/i386--netbsdelf-lint -
 chapbxzF -Sw -X 233 -d /usr/dest/usr/include -DLIB_MAJ=0 -DOPENPAM_STATIC_MODULES -DOPENPAM_STA
 TIC_MODULE -DDEBUG -i /usr/home/netbsd/src/dist/openpam/lib/openpam_borrow_cred.c
 *** Error code 1

 Stop.
 nbmake: stopped in /usr/home/netbsd/src/lib/libpam/libpam

 *** Failed target:  dependall
 *** Failed command: cd /usr/home/netbsd/src/lib/libpam/libpam; /usr/tools/bin/nbmake realall
 *** Error code 1

 Stop.  
 nbmake: stopped in /usr/home/netbsd/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="/usr/home/netbsd/src/lib/libpam
 " ;; *) this="lib/libpam/${dir}/"; real="/usr/home/netbsd/src/lib/libpam/${dir}" ;; esac; show=
 ${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/tools/bin/nb
 make _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libpam dependall
 *** Error code 1

 Stop.
 nbmake: stopped in /usr/home/netbsd/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="/usr/home/netbsd/src/lib" ;; *) this="
 lib/${dir}/"; real="/usr/home/netbsd/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target}
 ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/tools/bin/nbmake _THISDIR_="${this}" "$@
 " ${target}; }; _makedirtarget libpam dependall
 *** Error code 1

(further error cascade deleted).

openpam_impl.h :  * $P4: //depot/projects/openpam/lib/openpam_impl.h#28 $
(no $NetBSD$)
up-to-date from anoncvs3.de.
lines 128-136:
    128 #ifdef OPENPAM_STATIC_MODULES
    129 pam_module_t    *openpam_static(const char *);
    130 #endif
    131         *openpam_load_module(const char *);
    132 void             openpam_clear_chains(pam_chain_t **);
    133 
    134 #ifdef OPENPAM_STATIC_MODULES
    135 pam_module_t    *openpam_static(const char *);
    136 #endif

on ... NetBSD 2.0G i386

Still fallout from the anoncvs problems ? Re-fetch all of src ? from elsewhere ?
help! ? :)

Regards & tia,

-Martin