=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-af", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for pam-af-1.0.2nb5 --- all --- if [ "`uname -s`" = "FreeBSD" -o "`uname -s`" = "NetBSD" -o "`uname -s`" = "OpenBSD" -o "`uname -s`" = "DragonFly" ]; then /opt/pkg/bin/bmake CFLAGS="-I./common/ -DPIC -O2 -Wall -Werror -Wno-format-y2k -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wchar-subscripts -Winline -Wnested-externs -fPIC -D_HAVE_PATHS_H_ -D_HAVE_ERR_H_ -D_HAVE_GETPROGNAME_ -D_USE_MODULE_ENTRY_ -D_HAVE_SALEN_" LD=ld LDFLAGS="-L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -s -shared -lpam -lcrypt" ./pam_af.so; /opt/pkg/bin/bmake CFLAGS="-I./common/ -DPIC -O2 -Wall -Werror -Wno-format-y2k -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wchar-subscripts -Winline -Wnested-externs -fPIC -D_HAVE_PATHS_H_ -D_HAVE_ERR_H_ -D_HAVE_GETPROGNAME_ -D_USE_MODULE_ENTRY_ -D_HAVE_SALEN_" LDFLAGS="-L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib " ./pam_af_tool/pam_af_tool; elif [ "`uname -s`" = "Linux" ]; then /opt/pkg/bin/bmake CFLAGS="-I./common/ -DPIC -O2 -Wall -Werror -Wno-format-y2k -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wchar-subscripts -Winline -Wnested-externs -fPIC -D_GNU_SOURCE -D_HAVE_PATHS_H_ -D_HAVE_ERR_H_ -D_HAVE_FLOCK_ -D_HAVE_SYS_FILE_H_" LD=ld LDFLAGS="-L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -lgdbm -lgdbm_compat -s -shared -lpam -lcrypt" ./pam_af.so; /opt/pkg/bin/bmake CFLAGS="-I./common/ -DPIC -O2 -Wall -Werror -Wno-format-y2k -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wchar-subscripts -Winline -Wnested-externs -fPIC -D_GNU_SOURCE -D_HAVE_PATHS_H_ -D_HAVE_ERR_H_ -D_HAVE_FLOCK_ -D_HAVE_SYS_FILE_H_" LDFLAGS="-L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -lgdbm -lgdbm_compat" ./pam_af_tool/pam_af_tool; elif [ "`uname -s`" = "SunOS" ]; then /opt/pkg/bin/bmake CFLAGS="-I./common/ -DPIC -fPIC -O2 -D_SUN_PAM_ -D_HAVE_USERDEFS_H_" LD=ld LDFLAGS="-L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -lnsl -lsocket -s -G -lpam -lcrypt" ./pam_af.so; /opt/pkg/bin/bmake CFLAGS="-I./common/ -DPIC -fPIC -O2 -D_SUN_PAM_ -D_HAVE_USERDEFS_H_" LDFLAGS="-L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -lnsl -lsocket" ./pam_af_tool/pam_af_tool; elif [ "`uname -s`" = "HP-UX" ]; then /opt/pkg/bin/bmake CFLAGS="-Ae +w1 +W 474,486,542 +z +O2" LD=ld LDFLAGS="-L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -s -b -lpam -lsec" ./pam_af.so; /opt/pkg/bin/bmake CFLAGS="-I./common/ -DPIC -Ae +w1 +W 474,486,542 +z +O2" LDFLAGS="-L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib " ./pam_af_tool/pam_af_tool; else /opt/pkg/bin/bmake ./pam_af.so; /opt/pkg/bin/bmake ./pam_af_tool/pam_af_tool; fi --- ./subr.o --- --- ./pam_af.o --- cc -I./common/ -DPIC -fPIC -O2 -D_SUN_PAM_ -D_HAVE_USERDEFS_H_ -c ./pam_af.c -o ./pam_af.o --- ./subr.o --- cc -I./common/ -DPIC -fPIC -O2 -D_SUN_PAM_ -D_HAVE_USERDEFS_H_ -DPAM_AF_DEFS -c ./common/subr.c -o ./subr.o --- ./pam_af.o --- ./pam_af.c: In function 'pam_af_get_option': ./pam_af.c:91:1: warning: old-style function definition [-Wold-style-definition] 91 | pam_af_get_option(optc, optv, opt0) | ^~~~~~~~~~~~~~~~~ ./pam_af.c: In function 'pam_af_free_env': ./pam_af.c:115:1: warning: old-style function definition [-Wold-style-definition] 115 | pam_af_free_env(env) | ^~~~~~~~~~~~~~~ ./pam_af.c: In function 'pam_af_build_env': ./pam_af.c:132:1: warning: old-style function definition [-Wold-style-definition] 132 | pam_af_build_env(pamh) | ^~~~~~~~~~~~~~~~ ./pam_af.c:161:21: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 161 | (void **)&item); | ^~~~~~~~~~~~~~ | | | void ** In file included from ./pam_af.c:57: /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_af.c: In function 'pam_sm_authenticate': ./pam_af.c:222:45: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 222 | ret = pam_get_item(pamh, PAM_RHOST, (void **)&host); | ^~~~~~~~~~~~~~ | | | 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_af.c: In function 'pam_sm_setcred': ./pam_af.c:387:45: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 387 | ret = pam_get_item(pamh, PAM_RHOST, (void **)&host); | ^~~~~~~~~~~~~~ | | | 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 */ | ~~~~~~~~~~~~~^~~~ --- ./subr.o --- ./common/subr.c: In function 'pam_af_strdupn': ./common/subr.c:129:1: warning: old-style function definition [-Wold-style-definition] 129 | pam_af_strdupn(p, len) | ^~~~~~~~~~~~~~ ./common/subr.c: In function 'my_getnameinfo': ./common/subr.c:149:1: warning: old-style function definition [-Wold-style-definition] 149 | my_getnameinfo(addr, addrlen, buf, buflen) | ^~~~~~~~~~~~~~ ./common/subr.c: In function 'my_freeaddrinfo': ./common/subr.c:211:1: warning: old-style function definition [-Wold-style-definition] 211 | my_freeaddrinfo(mai0) | ^~~~~~~~~~~~~~~ ./common/subr.c: In function 'my_gai_strerror': ./common/subr.c:225:1: warning: old-style function definition [-Wold-style-definition] 225 | my_gai_strerror(error) | ^~~~~~~~~~~~~~~ ./common/subr.c: In function 'my_getaddrinfo': ./common/subr.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | my_getaddrinfo(host, family, pmai) | ^~~~~~~~~~~~~~ --- ./pam_af.o --- *** [./pam_af.o] Error code 1 bmake[1]: stopped making "./pam_af.so" in /tmp/work/security/pam-af/work/pam_af-1.0.2 --- ./subr.o --- ./common/subr.c: In function 'find_host_rule': ./common/subr.c:319:1: warning: old-style function definition [-Wold-style-definition] 319 | find_host_rule(db, host) | ^~~~~~~~~~~~~~ ./common/subr.c: In function 'addr_cmp': ./common/subr.c:414:1: warning: old-style function definition [-Wold-style-definition] 414 | addr_cmp(addr1, addr2, addrlen, mask) | ^~~~~~~~ ./common/subr.c: In function 'parse_time': ./common/subr.c:449:1: warning: old-style function definition [-Wold-style-definition] 449 | parse_time(str, ptime) | ^~~~~~~~~~ ./common/subr.c: In function 'exec_cmd': ./common/subr.c:495:1: warning: old-style function definition [-Wold-style-definition] 495 | exec_cmd(str, env) | ^~~~~~~~ bmake[1]: 1 error bmake[1]: stopped making "./pam_af.so" in /tmp/work/security/pam-af/work/pam_af-1.0.2 *** [all] Error code 6 bmake: stopped making "all" in /tmp/work/security/pam-af/work/pam_af-1.0.2 bmake: 1 error bmake: stopped making "all" in /tmp/work/security/pam-af/work/pam_af-1.0.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-af *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/pam-af