+ 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/erlang-fast_tls-1.1.22/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/erlang-fast_tls-1.1.22/work.log ===> Building for erlang-fast_tls-1.1.22 /opt/pkg/bin/rebar get-deps compile ==> fast_tls-1.1.22 (get-deps) ==> fast_tls-1.1.22 (compile) Compiled src/p1_sha.erl Compiled src/fast_tls.erl Compiling c_src/fast_tls.c In file included from /home/pbulk/build/security/erlang-fast_tls/work/.buildlink/include/openssl/bio.h:30, from /home/pbulk/build/security/erlang-fast_tls/work/.buildlink/include/openssl/err.h:29, from c_src/fast_tls.c:21: c_src/fast_tls.c: In function 'load': /home/pbulk/build/security/erlang-fast_tls/work/.buildlink/include/openssl/crypto.h:324:57: warning: statement with no effect [-Wunused-value] 324 | # define CRYPTO_THREADID_set_callback(threadid_func) (0) | ^ c_src/fast_tls.c:231:5: note: in expansion of macro 'CRYPTO_THREADID_set_callback' 231 | CRYPTO_THREADID_set_callback(thread_id_callback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_src/fast_tls.c: In function 'p12_to_pem_nif': c_src/fast_tls.c:1566:36: warning: pointer targets in passing argument 2 of 'PKCS12_parse' differ in signedness [-Wpointer-sign] 1566 | if (!PKCS12_parse(p12, pass_bin.data, &pkey, &cert, NULL)) { | ~~~~~~~~^~~~~ | | | unsigned char * In file included from c_src/fast_tls.c:23: /home/pbulk/build/security/erlang-fast_tls/work/.buildlink/include/openssl/pkcs12.h:316:43: note: expected 'const char *' but argument is of type 'unsigned char *' 316 | int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, | ~~~~~~~~~~~~^~~~ /home/pbulk/build/security/erlang-fast_tls/work/.buildlink/include/openssl/bio.h:629:34: warning: value computed is not used [-Wunused-value] 629 | # define BIO_reset(b) (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_src/fast_tls.c:1589:5: note: in expansion of macro 'BIO_reset' 1589 | BIO_reset(bio); | ^~~~~~~~~ c_src/fast_tls.c:1493:18: warning: unused variable 'old_info' [-Wunused-variable] 1493 | cert_info_t *old_info = NULL; | ^~~~~~~~ c_src/fast_tls.c:1492:18: warning: unused variable 'info' [-Wunused-variable] 1492 | cert_info_t *info = NULL; | ^~~~ c_src/fast_tls.c:1610:5: warning: 'bio' may be used uninitialized [-Wmaybe-uninitialized] 1610 | BIO_free(bio); | ^~~~~~~~~~~~~ c_src/fast_tls.c:1506:10: note: 'bio' was declared here 1506 | BIO *bio; | ^~~ Compiling c_src/ioqueue.c c_src/ioqueue.c: In function 'ioqueue_consume': c_src/ioqueue.c:42:9: error: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] 42 | memmove(queue->buf, queue->buf + bytes, queue->size); | ^~~~~~~ c_src/ioqueue.c:21:1: note: include '' or provide a declaration of 'memmove' 20 | #include "ioqueue.h" +++ |+#include 21 | c_src/ioqueue.c:42:9: warning: incompatible implicit declaration of built-in function 'memmove' [-Wbuiltin-declaration-mismatch] 42 | memmove(queue->buf, queue->buf + bytes, queue->size); | ^~~~~~~ c_src/ioqueue.c:42:9: note: include '' or provide a declaration of 'memmove' ERROR: compile failed while processing /home/pbulk/build/security/erlang-fast_tls/work/fast_tls-1.1.22: rebar_abort gmake: *** [Makefile:6: src] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/erlang-fast_tls *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/erlang-fast_tls