=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for pam-mysql-0.7rc1nb8 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include/security -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include/mysql -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include/mysql -I/usr/pkg/include -I/usr/pkg/include/mysql -march=i486 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -DSIGNALS_DONT_BREAK_READ -I/usr/pkg/include -g -DNDEBUG -c pam_mysql.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I/usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security -I/usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include -O2 -march=i586 -I/usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/mysql -O2 -march=i586 -march=i486 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -DSIGNALS_DONT_BREAK_READ -g -DNDEBUG -c pam_mysql.c -fPIC -DPIC -o .libs/pam_mysql.o pam_mysql.c:2074:5: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] (PAM_GET_DATA_CONST void**)pretval)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:80:15: note: passing argument to parameter '_data' here const void **_data) ^ pam_mysql.c:3148:4: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] (PAM_GET_ITEM_CONST void **)&conv))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:86:15: note: passing argument to parameter '_item' here const void **_item) ^ pam_mysql.c:3326:35: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:91:15: note: passing argument to parameter '_user' here const char **_user, ^ pam_mysql.c:3338:4: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] (PAM_GET_ITEM_CONST void **)&rhost)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:86:15: note: passing argument to parameter '_item' here const void **_item) ^ pam_mysql.c:3348:5: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] (PAM_GET_ITEM_CONST void **)&passwd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:86:15: note: passing argument to parameter '_item' here const void **_item) ^ pam_mysql.c:3571:35: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:91:15: note: passing argument to parameter '_user' here const char **_user, ^ pam_mysql.c:3583:4: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] (PAM_GET_ITEM_CONST void **)&rhost)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:86:15: note: passing argument to parameter '_item' here const void **_item) ^ pam_mysql.c:3732:35: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:91:15: note: passing argument to parameter '_user' here const char **_user, ^ pam_mysql.c:3744:4: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] (PAM_GET_ITEM_CONST void **)&rhost)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:86:15: note: passing argument to parameter '_item' here const void **_item) ^ pam_mysql.c:3844:6: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] (PAM_GET_ITEM_CONST void **)&old_passwd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:86:15: note: passing argument to parameter '_item' here const void **_item) ^ pam_mysql.c:3944:4: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] (PAM_GET_ITEM_CONST void **)&new_passwd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:86:15: note: passing argument to parameter '_item' here const void **_item) ^ pam_mysql.c:4105:35: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:91:15: note: passing argument to parameter '_user' here const char **_user, ^ pam_mysql.c:4117:4: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] (PAM_GET_ITEM_CONST void **)&rhost)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:86:15: note: passing argument to parameter '_item' here const void **_item) ^ pam_mysql.c:4208:35: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if ((retval = pam_get_user(pamh, (PAM_GET_USER_CONST char **)&user, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:91:15: note: passing argument to parameter '_user' here const char **_user, ^ pam_mysql.c:4220:4: warning: passing 'void **' to parameter of type 'const void **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] (PAM_GET_ITEM_CONST void **)&rhost)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security/pam_appl.h:86:15: note: passing argument to parameter '_item' here const void **_item) ^ 15 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I/usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/security -I/usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include -O2 -march=i586 -I/usr/pkgsrc/work/security/pam-mysql/work/.buildlink/include/mysql -O2 -march=i586 -march=i486 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -DSIGNALS_DONT_BREAK_READ -g -DNDEBUG -c pam_mysql.c -o pam_mysql.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link cc -O2 -march=i586 -I/usr/include -I/usr/pkg/include/mysql -I/usr/pkg/include -I/usr/pkg/include/mysql -march=i486 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -DSIGNALS_DONT_BREAK_READ -I/usr/pkg/include -g -DNDEBUG -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o pam_mysql.la -rpath /usr/pkg/lib/security -module -avoid-version pam_mysql.lo -L/usr/pkg/lib -lmysqlclient -lpthread -lz -lm -lssl -lcrypto libtool: link: cc -shared -fPIC -DPIC .libs/pam_mysql.o -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/pkgsrc/work/security/pam-mysql/work/.buildlink/lib -lmysqlclient -L/usr/pkg/lib -lpthread -lz -lm -lssl -lcrypto -O2 -march=i586 -march=i486 -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,pam_mysql.so -o .libs/pam_mysql.so /usr/bin/ld: cannot find -lpthread clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/security/pam-mysql/work/pam_mysql-0.7RC1 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/security/pam-mysql *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/security/pam-mysql