+ 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/duo-unix-2.0.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/duo-unix-2.0.2/work.log ===> Building for duo-unix-2.0.2 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/security/duo-unix/work/duo_unix-2.0.2' Making all in compat gmake[2]: Entering directory '/home/pbulk/build/security/duo-unix/work/duo_unix-2.0.2/compat' depbase=`echo groupaccess.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT groupaccess.lo -MD -MP -MF $depbase.Tpo -c -o groupaccess.lo groupaccess.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo match.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT match.lo -MD -MP -MF $depbase.Tpo -c -o match.lo match.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT match.lo -MD -MP -MF .deps/match.Tpo -c match.c -fPIC -DPIC -o .libs/match.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT groupaccess.lo -MD -MP -MF .deps/groupaccess.Tpo -c groupaccess.c -fPIC -DPIC -o .libs/groupaccess.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT match.lo -MD -MP -MF .deps/match.Tpo -c match.c -fPIE -o match.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT groupaccess.lo -MD -MP -MF .deps/groupaccess.Tpo -c groupaccess.c -fPIE -o groupaccess.o >/dev/null 2>&1 /usr/bin/bash ../libtool --tag=CC --mode=link gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o libcompat.la groupaccess.lo match.lo -lsocket libtool: link: ar cr .libs/libcompat.a .libs/groupaccess.o .libs/match.o libtool: link: ranlib .libs/libcompat.a libtool: link: ( cd ".libs" && rm -f "libcompat.la" && ln -s "../libcompat.la" "libcompat.la" ) gmake[2]: Leaving directory '/home/pbulk/build/security/duo-unix/work/duo_unix-2.0.2/compat' Making all in lib gmake[2]: Entering directory '/home/pbulk/build/security/duo-unix/work/duo_unix-2.0.2/lib' depbase=`echo duo.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT duo.lo -MD -MP -MF $depbase.Tpo -c -o duo.lo duo.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo http_parser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT http_parser.lo -MD -MP -MF $depbase.Tpo -c -o http_parser.lo http_parser.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo https.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT https.lo -MD -MP -MF $depbase.Tpo -c -o https.lo https.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ini.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT ini.lo -MD -MP -MF $depbase.Tpo -c -o ini.lo ini.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT ini.lo -MD -MP -MF .deps/ini.Tpo -c ini.c -fPIC -DPIC -o .libs/ini.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT https.lo -MD -MP -MF .deps/https.Tpo -c https.c -fPIC -DPIC -o .libs/https.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT http_parser.lo -MD -MP -MF .deps/http_parser.Tpo -c http_parser.c -fPIC -DPIC -o .libs/http_parser.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT duo.lo -MD -MP -MF .deps/duo.Tpo -c duo.c -fPIC -DPIC -o .libs/duo.o In function 'strncpy0', inlined from 'ini_parse' at ini.c:132:17: ini.c:59:5: warning: 'strncpy' output may be truncated copying 49 bytes from a string of length 199 [-Wstringop-truncation] 59 | strncpy(dest, src, size); | ^~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT ini.lo -MD -MP -MF .deps/ini.Tpo -c ini.c -fPIE -o ini.o >/dev/null 2>&1 https.c: In function '_SSL_check_server_cert': https.c:128:13: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 128 | p = (char *)ASN1_STRING_data(altname->d.ia5); | ^ In file included from /home/pbulk/build/security/duo-unix/work/.buildlink/include/openssl/objects.h:21, from /home/pbulk/build/security/duo-unix/work/.buildlink/include/openssl/evp.h:47, from https.c:27: /home/pbulk/build/security/duo-unix/work/.buildlink/include/openssl/asn1.h:684:40: note: declared here 684 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ https.c:147:17: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 147 | p = (char *)ASN1_STRING_data(tmp); | ^ /home/pbulk/build/security/duo-unix/work/.buildlink/include/openssl/asn1.h:684:40: note: declared here 684 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ https.c: In function 'https_send': https.c:693:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 693 | if ((hmac = HMAC_CTX_new()) == NULL) { | ^~ In file included from https.c:28: /home/pbulk/build/security/duo-unix/work/.buildlink/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ https.c:699:5: warning: 'HMAC_Init' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 699 | HMAC_Init(hmac, skey, strlen(skey), EVP_sha512()); | ^~~~~~~~~ /home/pbulk/build/security/duo-unix/work/.buildlink/include/openssl/hmac.h:38:36: note: declared here 38 | OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, | ^~~~~~~~~ https.c:700:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 700 | HMAC_Update(hmac, (unsigned char *)p, strlen(p)); | ^~~~~~~~~~~ /home/pbulk/build/security/duo-unix/work/.buildlink/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ https.c:701:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 701 | HMAC_Final(hmac, MD, NULL); | ^~~~~~~~~~ /home/pbulk/build/security/duo-unix/work/.buildlink/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ https.c:702:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 702 | HMAC_CTX_free(hmac); | ^~~~~~~~~~~~~ /home/pbulk/build/security/duo-unix/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ https.c: At top level: https.c:162:1: warning: '_fd_wait' defined but not used [-Wunused-function] 162 | _fd_wait(int fd, int msecs) | ^~~~~~~~ depbase=`echo urlenc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT urlenc.lo -MD -MP -MF $depbase.Tpo -c -o urlenc.lo urlenc.c &&\ mv -f $depbase.Tpo $depbase.Plo duo.c: In function '_duo_get_hostname': duo.c:249:36: warning: unused variable 'p' [-Wunused-variable] 249 | struct addrinfo hints, *info, *p; | ^ duo.c: In function '_duo_json_response': duo.c:298:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 298 | buf = json_object_get_string(json_obj, name); \ | ^ duo.c:325:5: note: in expansion of macro '_JSON_FIND_STRING' 325 | _JSON_FIND_STRING(p, json_obj, "stat", json); | ^~~~~~~~~~~~~~~~~ duo.c:298:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 298 | buf = json_object_get_string(json_obj, name); \ | ^ duo.c:338:9: note: in expansion of macro '_JSON_FIND_STRING' 338 | _JSON_FIND_STRING(message, json_obj, "message", json); | ^~~~~~~~~~~~~~~~~ duo.c: In function '_duo_preauth': duo.c:298:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 298 | buf = json_object_get_string(json_obj, name); \ | ^ duo.c:445:9: note: in expansion of macro '_JSON_FIND_STRING' 445 | _JSON_FIND_STRING(output, response, "status", json); | ^~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT urlenc.lo -MD -MP -MF .deps/urlenc.Tpo -c urlenc.c -fPIC -DPIC -o .libs/urlenc.o https.c: In function 'https_open': https.c:574:31: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 499 [-Wformat-truncation=] 574 | "Proxy error: %s", ctx.parse_buf); | ^~ ~~~~~~~~~~~~~ https.c:573:13: note: 'snprintf' output between 14 and 4109 bytes into a destination of size 512 573 | snprintf(ctx.errbuf, sizeof(ctx.errbuf), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 574 | "Proxy error: %s", ctx.parse_buf); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT urlenc.lo -MD -MP -MF .deps/urlenc.Tpo -c urlenc.c -fPIE -o urlenc.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT https.lo -MD -MP -MF .deps/https.Tpo -c https.c -fPIE -o https.o >/dev/null 2>&1 depbase=`echo util.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT util.lo -MD -MP -MF $depbase.Tpo -c -o util.lo util.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT duo.lo -MD -MP -MF .deps/duo.Tpo -c duo.c -fPIE -o duo.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -fPIC -DPIC -o .libs/util.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT http_parser.lo -MD -MP -MF .deps/http_parser.Tpo -c http_parser.c -fPIE -o http_parser.o >/dev/null 2>&1 depbase=`echo parson.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT parson.lo -MD -MP -MF $depbase.Tpo -c -o parson.lo parson.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -fPIE -o util.o >/dev/null 2>&1 depbase=`echo testduo.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT testduo.o -MD -MP -MF $depbase.Tpo -c -o testduo.o testduo.c &&\ mv -f $depbase.Tpo $depbase.Po libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT parson.lo -MD -MP -MF .deps/parson.Tpo -c parson.c -fPIC -DPIC -o .libs/parson.o depbase=`echo testutil_duo_split_at.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT testutil_duo_split_at.o -MD -MP -MF $depbase.Tpo -c -o testutil_duo_split_at.o testutil_duo_split_at.c &&\ mv -f $depbase.Tpo $depbase.Po libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT parson.lo -MD -MP -MF .deps/parson.Tpo -c parson.c -fPIE -o parson.o >/dev/null 2>&1 /usr/bin/bash ../libtool --tag=CC --mode=link gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -no-undefined -version-info 3:0:0 -export-symbols-regex '^duo_' -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o libduo.la duo.lo http_parser.lo https.lo ini.lo urlenc.lo util.lo parson.lo -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lssl -lcrypto -lsocket libtool: warning: '-version-info/-version-number' is ignored for convenience libraries libtool: link: ar cr .libs/libduo.a .libs/duo.o .libs/http_parser.o .libs/https.o .libs/ini.o .libs/urlenc.o .libs/util.o .libs/parson.o libtool: link: ranlib .libs/libduo.a libtool: link: ( cd ".libs" && rm -f "libduo.la" && ln -s "../libduo.la" "libduo.la" ) /usr/bin/bash ../libtool --tag=CC --mode=link gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o testduo testduo.o libduo.la ../compat/libcompat.la -lsocket /usr/bin/bash ../libtool --tag=CC --mode=link gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o testutil_duo_split_at testutil_duo_split_at.o libduo.la ../compat/libcompat.la -lsocket libtool: link: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -Wl,-rpath -Wl,/opt/pkg/lib -o testduo testduo.o -L/home/pbulk/build/security/duo-unix/work/.buildlink/lib ./.libs/libduo.a -lssl -lcrypto ../compat/.libs/libcompat.a -lsocket libtool: link: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -Wl,-rpath -Wl,/opt/pkg/lib -o testutil_duo_split_at testutil_duo_split_at.o -L/home/pbulk/build/security/duo-unix/work/.buildlink/lib ./.libs/libduo.a -lssl -lcrypto ../compat/.libs/libcompat.a -lsocket gmake[2]: Leaving directory '/home/pbulk/build/security/duo-unix/work/duo_unix-2.0.2/lib' Making all in login_duo gmake[2]: Entering directory '/home/pbulk/build/security/duo-unix/work/duo_unix-2.0.2/login_duo' depbase=`echo login_duo.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I../lib -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT login_duo.o -MD -MP -MF $depbase.Tpo -c -o login_duo.o login_duo.c &&\ mv -f $depbase.Tpo $depbase.Po /usr/bin/bash ../libtool --tag=CC --mode=link gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o login_duo login_duo.o ../lib/libduo.la ../compat/libcompat.la -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lssl -lcrypto -lsocket libtool: link: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -Wl,-rpath -Wl,/opt/pkg/lib -o login_duo login_duo.o -Wl,-rpath -Wl,/opt/pkg/lib -L/home/pbulk/build/security/duo-unix/work/.buildlink/lib ../lib/.libs/libduo.a ../compat/.libs/libcompat.a -lssl -lcrypto -lsocket gmake[2]: Leaving directory '/home/pbulk/build/security/duo-unix/work/duo_unix-2.0.2/login_duo' Making all in pam_duo gmake[2]: Entering directory '/home/pbulk/build/security/duo-unix/work/duo_unix-2.0.2/pam_duo' depbase=`echo pam_duo.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I../lib -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT pam_duo.lo -MD -MP -MF $depbase.Tpo -c -o pam_duo.lo pam_duo.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo pam_extra.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I../lib -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT pam_extra.lo -MD -MP -MF $depbase.Tpo -c -o pam_extra.lo pam_extra.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo pam_duo_private.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I../lib -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include -Wall -D_FORTIFY_SOURCE=2 -fPIE -MT pam_duo_private.lo -MD -MP -MF $depbase.Tpo -c -o pam_duo_private.lo pam_duo_private.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I../lib -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT pam_duo_private.lo -MD -MP -MF .deps/pam_duo_private.Tpo -c pam_duo_private.c -fPIC -DPIC -o .libs/pam_duo_private.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I../lib -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT pam_duo.lo -MD -MP -MF .deps/pam_duo.Tpo -c pam_duo.c -fPIC -DPIC -o .libs/pam_duo.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I../lib -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT pam_extra.lo -MD -MP -MF .deps/pam_extra.Tpo -c pam_extra.c -fPIC -DPIC -o .libs/pam_extra.o pam_extra.c: In function 'pam_vprompt': pam_extra.c:65:43: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 65 | retval = pam_get_item(pamh, PAM_CONV, &convp); | ^~~~~~ | | | void ** In file included from pam_extra.c:18: /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_extra.c:84:28: error: passing argument 2 of 'conv->conv' from incompatible pointer type [-Wincompatible-pointer-types] 84 | retval = conv->conv(1, &pmsg, &pam_resp, conv->appdata_ptr); | ^~~~~ | | | struct pam_message ** pam_extra.c:84:28: note: expected 'const struct pam_message **' but argument is of type 'struct pam_message **' libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I../lib -I/home/pbulk/build/security/duo-unix/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -D_FORTIFY_SOURCE=2 -MT pam_duo_private.lo -MD -MP -MF .deps/pam_duo_private.Tpo -c pam_duo_private.c -fPIE -o pam_duo_private.o >/dev/null 2>&1 gmake[2]: *** [Makefile:477: pam_extra.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... pam_duo.c: In function 'pam_sm_authenticate': pam_duo.c:182:28: error: passing argument 2 of 'pam_get_user' from incompatible pointer type [-Wincompatible-pointer-types] 182 | if (pam_get_user(pamh, &user, NULL) != PAM_SUCCESS || | ^~~~~ | | | char ** In file included from pam_duo.c:45: /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_duo.c:190:41: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 190 | if (pam_get_item(pamh, PAM_SERVICE, (duopam_const void **) | ^~~~~~~~~~~~~~~~~~~~~~ | | | void ** 191 | (duopam_const void *)&service) != PAM_SUCCESS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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_duo.c:246:9: error: passing argument 3 of 'pam_get_item' from incompatible pointer type [-Wincompatible-pointer-types] 246 | (duopam_const void **)(duopam_const void *)&ip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | 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 */ | ~~~~~~~~~~~~~^~~~ gmake[2]: *** [Makefile:477: pam_duo.lo] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/security/duo-unix/work/duo_unix-2.0.2/pam_duo' gmake[1]: *** [Makefile:505: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/security/duo-unix/work/duo_unix-2.0.2' gmake: *** [Makefile:394: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/duo-unix *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/duo-unix