+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-ldap-186nb8/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam-ldap-186nb8/work.log ===> Building for pam-ldap-186nb8 /opt/pkg/bin/gmake all-am gmake[1]: Entering directory '/home/pbulk/build/security/pam-ldap/work/pam_ldap-186' if /home/pbulk/build/security/pam-ldap/work/.cwrapper/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DLDAP_DEPRECATED -I/opt/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/usr/include -Wall -fPIC -MT pam_ldap.lo -MD -MP -MF ".deps/pam_ldap.Tpo" -c -o pam_ldap.lo pam_ldap.c; \ then mv -f ".deps/pam_ldap.Tpo" ".deps/pam_ldap.Po"; else rm -f ".deps/pam_ldap.Tpo"; exit 1; fi if /home/pbulk/build/security/pam-ldap/work/.cwrapper/bin/libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DLDAP_DEPRECATED -I/opt/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/usr/include -Wall -fPIC -MT md5.lo -MD -MP -MF ".deps/md5.Tpo" -c -o md5.lo md5.c; \ then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLDAP_DEPRECATED -I/home/pbulk/build/security/pam-ldap/work/.buildlink/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -Wall -fPIC -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -fPIC -DPIC -o .libs/md5.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLDAP_DEPRECATED -I/home/pbulk/build/security/pam-ldap/work/.buildlink/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -Wall -fPIC -MT pam_ldap.lo -MD -MP -MF .deps/pam_ldap.Tpo -c pam_ldap.c -fPIC -DPIC -o .libs/pam_ldap.o pam_ldap.c: In function '_do_sasl_interaction': pam_ldap.c:1960:41: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 1960 | rc = pam_get_item(pamh, PAM_CONV, (CONST_ARG void **)&conv); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** In file included from pam_ldap.h:23, from pam_ldap.c:131: /usr/include/security/pam_appl.h:198:22: note: expected 'const void **' but argument is of type 'void **' 198 | const void **item /* Address of place to put pointer */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c:1965:17: error: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 1965 | (CONST_ARG struct pam_message **)pmsg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct pam_message ** pam_ldap.c:1965:17: note: expected 'const struct pam_message **' but argument is of type 'struct pam_message **' pam_ldap.c: In function '_service_ok': pam_ldap.c:2468:41: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 2468 | rc = pam_get_item (pamh, PAM_SERVICE, (CONST_ARG void **) &service); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/pam_appl.h:198:22: note: expected 'const void **' but argument is of type 'void **' 198 | const void **item /* Address of place to put pointer */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c: In function '_get_md5_salt': pam_ldap.c:2587:67: warning: 'sizeof' on array function parameter 'saltbuf' will return size of 'char *' [-Wsizeof-array-argument] 2587 | _pam_ldap_md5_append (&state, (unsigned char *) saltbuf, sizeof (saltbuf)); | ^ pam_ldap.c:2573:21: note: declared here 2573 | _get_md5_salt (char saltbuf[16]) | ~~~~~^~~~~~~~~~~ pam_ldap.c: In function '_get_authtok': pam_ldap.c:3351:38: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3351 | rc = pam_get_item (pamh, PAM_CONV, (CONST_ARG void **) &conv); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/pam_appl.h:198:22: note: expected 'const void **' but argument is of type 'void **' 198 | const void **item /* Address of place to put pointer */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c:3355:24: error: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 3355 | (CONST_ARG struct pam_message **) pmsg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct pam_message ** pam_ldap.c:3355:24: note: expected 'const struct pam_message **' but argument is of type 'struct pam_message **' pam_ldap.c: In function '_conv_sendmsg': pam_ldap.c:3403:23: error: passing argument 2 of 'aconv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 3403 | (CONST_ARG struct pam_message **) &pmsg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct pam_message ** pam_ldap.c:3403:23: note: expected 'const struct pam_message **' but argument is of type 'struct pam_message **' pam_ldap.c: In function 'pam_sm_authenticate': pam_ldap.c:3441:28: error: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 3441 | rc = pam_get_user (pamh, (CONST_ARG char **) &username, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** /usr/include/security/pam_appl.h:240:22: note: expected 'const char **' but argument is of type 'char **' 240 | const char **user, /* User Name */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c:3449:41: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3449 | rc = pam_get_item (pamh, PAM_AUTHTOK, (CONST_ARG void **) &p); | ^~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/pam_appl.h:198:22: note: expected 'const void **' but argument is of type 'void **' 198 | const void **item /* Address of place to put pointer */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c:3500:41: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3500 | rc = pam_get_item (pamh, PAM_AUTHTOK, (CONST_ARG void **) &p); | ^~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/pam_appl.h:198:22: note: expected 'const void **' but argument is of type 'void **' 198 | const void **item /* Address of place to put pointer */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c: In function 'pam_sm_chauthtok': pam_ldap.c:3606:38: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3606 | rc = pam_get_item (pamh, PAM_CONV, (CONST_ARG void **) &appconv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/pam_appl.h:198:22: note: expected 'const void **' but argument is of type 'void **' 198 | const void **item /* Address of place to put pointer */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c:3618:32: error: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 3618 | rc = pam_get_user (pamh, (CONST_ARG char **) &username, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** /usr/include/security/pam_appl.h:240:22: note: expected 'const char **' but argument is of type 'char **' 240 | const char **user, /* User Name */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c:3663:20: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3663 | (CONST_ARG void **) &curpass) == PAM_SUCCESS && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/pam_appl.h:198:22: note: expected 'const void **' but argument is of type 'void **' 198 | const void **item /* Address of place to put pointer */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c:3703:38: error: passing argument 2 of 'appconv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 3703 | rc = appconv->conv (1, (CONST_ARG struct pam_message **) &pmsg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct pam_message ** pam_ldap.c:3703:38: note: expected 'const struct pam_message **' but argument is of type 'struct pam_message **' pam_ldap.c:3775:44: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3775 | if (pam_get_item (pamh, PAM_AUTHTOK, (CONST_ARG void **) &newpass) != | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/pam_appl.h:198:22: note: expected 'const void **' but argument is of type 'void **' 198 | const void **item /* Address of place to put pointer */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c:3797:30: error: passing argument 2 of 'appconv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 3797 | rc = appconv->conv (1, (CONST_ARG struct pam_message **) &pmsg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct pam_message ** pam_ldap.c:3797:30: note: expected 'const struct pam_message **' but argument is of type 'struct pam_message **' pam_ldap.c:3843:34: error: passing argument 2 of 'appconv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 3843 | rc = appconv->conv (1, (CONST_ARG struct pam_message **) &pmsg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct pam_message ** pam_ldap.c:3843:34: note: expected 'const struct pam_message **' but argument is of type 'struct pam_message **' pam_ldap.c: In function 'pam_sm_acct_mgmt': pam_ldap.c:3980:38: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 3980 | rc = pam_get_item (pamh, PAM_CONV, (CONST_ARG void **) &appconv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void ** /usr/include/security/pam_appl.h:198:22: note: expected 'const void **' but argument is of type 'void **' 198 | const void **item /* Address of place to put pointer */ | ~~~~~~~~~~~~~^~~~ pam_ldap.c:3992:32: error: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 3992 | rc = pam_get_user (pamh, (CONST_ARG char **) &username, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** /usr/include/security/pam_appl.h:240:22: note: expected 'const char **' but argument is of type 'char **' 240 | const char **user, /* User Name */ | ~~~~~~~~~~~~~^~~~ gmake[1]: *** [Makefile:262: pam_ldap.lo] Error 1 gmake[1]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLDAP_DEPRECATED -I/home/pbulk/build/security/pam-ldap/work/.buildlink/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -Wall -fPIC -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -o md5.o >/dev/null 2>&1 gmake[1]: Leaving directory '/home/pbulk/build/security/pam-ldap/work/pam_ldap-186' gmake: *** [Makefile:188: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-ldap *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-ldap