+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/snac-2.55/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/snac-2.55/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for snac-2.55 --- snac.o --- --- main.o --- --- snac.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c snac.c --- main.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c main.c main.c: In function 'main': main.c:543:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("$EDITOR /tmp/snac-edit.txt"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- snac.o --- In file included from /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509.h:482, from /home/pbulk/build/www/snac/work/.buildlink/include/openssl/pem.h:23, from xs_openssl.h:30, from snac.c:12: /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:495:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_free(X509_STORE *xs); ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:496:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_lock(X509_STORE *xs); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:497:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_unlock(X509_STORE *xs); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:498:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_up_ref(X509_STORE *xs); ^~~ In file included from /home/pbulk/build/www/snac/work/.buildlink/include/openssl/crypto.h:34, from /home/pbulk/build/www/snac/work/.buildlink/include/openssl/bio.h:30, from /home/pbulk/build/www/snac/work/.buildlink/include/openssl/asn1.h:30, from /home/pbulk/build/www/snac/work/.buildlink/include/openssl/rsa.h:21, from xs_openssl.h:29, from snac.c:12: /home/pbulk/build/www/snac/work/.buildlink/include/openssl/safestack.h:31:32: warning: 'cleanup' attribute ignored [-Wattributes] # define STACK_OF(type) struct stack_st_##type ^~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:499:1: note: in expansion of macro 'STACK_OF' STACK_OF(X509_OBJECT) *X509_STORE_get0_objects(const X509_STORE *xs); ^~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/safestack.h:31:32: warning: 'cleanup' attribute ignored [-Wattributes] # define STACK_OF(type) struct stack_st_##type ^~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:500:1: note: in expansion of macro 'STACK_OF' STACK_OF(X509_OBJECT) *X509_STORE_get1_objects(X509_STORE *xs); ^~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/safestack.h:31:32: warning: 'cleanup' attribute ignored [-Wattributes] # define STACK_OF(type) struct stack_st_##type ^~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:501:1: note: in expansion of macro 'STACK_OF' STACK_OF(X509) *X509_STORE_get1_all_certs(X509_STORE *xs); ^~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/safestack.h:31:32: warning: 'cleanup' attribute ignored [-Wattributes] # define STACK_OF(type) struct stack_st_##type ^~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:502:1: note: in expansion of macro 'STACK_OF' STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *xs, ^~~~~~~~ In file included from /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509.h:482, from /home/pbulk/build/www/snac/work/.buildlink/include/openssl/pem.h:23, from xs_openssl.h:30, from snac.c:12: /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:506:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_set_flags(X509_STORE *xs, unsigned long flags); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:507:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_set_purpose(X509_STORE *xs, int purpose); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:508:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_set_trust(X509_STORE *xs, int trust); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:509:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_set1_param(X509_STORE *xs, const X509_VERIFY_PARAM *pm); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:510:1: warning: 'cleanup' attribute ignored [-Wattributes] X509_VERIFY_PARAM *X509_STORE_get0_param(const X509_STORE *xs); ^~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:512:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_verify(X509_STORE *xs, X509_STORE_CTX_verify_fn verify); ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:517:1: warning: 'cleanup' attribute ignored [-Wattributes] X509_STORE_CTX_verify_fn X509_STORE_get_verify(const X509_STORE *xs); ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:518:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_verify_cb(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:522:1: warning: 'cleanup' attribute ignored [-Wattributes] X509_STORE_CTX_verify_cb X509_STORE_get_verify_cb(const X509_STORE *xs); ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:523:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_get_issuer(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:525:1: warning: 'cleanup' attribute ignored [-Wattributes] X509_STORE_CTX_get_issuer_fn X509_STORE_get_get_issuer(const X509_STORE *xs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:526:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_check_issued(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:529:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_check_revocation(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:532:5: warning: 'cleanup' attribute ignored [-Wattributes] X509_STORE_get_check_revocation(const X509_STORE *xs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:533:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_get_crl(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:535:1: warning: 'cleanup' attribute ignored [-Wattributes] X509_STORE_CTX_get_crl_fn X509_STORE_get_get_crl(const X509_STORE *xs); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:536:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_check_crl(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:538:1: warning: 'cleanup' attribute ignored [-Wattributes] X509_STORE_CTX_check_crl_fn X509_STORE_get_check_crl(const X509_STORE *xs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:539:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_cert_crl(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:541:1: warning: 'cleanup' attribute ignored [-Wattributes] X509_STORE_CTX_cert_crl_fn X509_STORE_get_cert_crl(const X509_STORE *xs); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:542:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_check_policy(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:545:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_lookup_certs(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:548:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_lookup_crls(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:552:1: warning: 'cleanup' attribute ignored [-Wattributes] X509_STORE_CTX_lookup_crls_fn X509_STORE_get_lookup_crls(const X509_STORE *xs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:553:1: warning: 'cleanup' attribute ignored [-Wattributes] void X509_STORE_set_cleanup(X509_STORE *xs, ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:555:1: warning: 'cleanup' attribute ignored [-Wattributes] X509_STORE_CTX_cleanup_fn X509_STORE_get_cleanup(const X509_STORE *xs); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:559:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_set_ex_data(X509_STORE *xs, int idx, void *data); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:560:1: warning: 'cleanup' attribute ignored [-Wattributes] void *X509_STORE_get_ex_data(const X509_STORE *xs, int idx); ^~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:610:1: warning: 'cleanup' attribute ignored [-Wattributes] X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *xs, X509_LOOKUP_METHOD *m); ^~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:695:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_add_cert(X509_STORE *xs, X509 *x); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:696:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_add_crl(X509_STORE *xs, X509_CRL *x); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:740:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_load_file(X509_STORE *xs, const char *file); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:741:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_load_path(X509_STORE *xs, const char *path); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:742:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_load_store(X509_STORE *xs, const char *store); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:744:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_set_default_paths(X509_STORE *xs); ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:746:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_load_file_ex(X509_STORE *xs, const char *file, ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:748:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_load_store_ex(X509_STORE *xs, const char *store, ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:750:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_load_locations_ex(X509_STORE *xs, ^~~ /home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:753:1: warning: 'cleanup' attribute ignored [-Wattributes] int X509_STORE_set_default_paths_ex(X509_STORE *xs, ^~~ --- data.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c data.c --- snac.o --- In file included from snac.c:23: xs_fcgi.h: In function 'xs_fcgi_request': xs_fcgi.h:109:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(p_buf + sz, 1, hdr.padding_len, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- data.o --- data.c: In function 'index_gc': data.c:498:13: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] link(fn, ofn); ^~~~~~~~~~~~~ data.c: In function 'following_add': data.c:1341:9: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] link(actor_fn, fn); ^~~~~~~~~~~~~~~~~~ data.c: In function 'following_list': data.c:1430:29: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] link(actor_fn, v2); ^~~~~~~~~~~~~~~~~~ data.c: In function 'notify_clear': data.c:2629:9: warning: ignoring return value of 'truncate', declared with attribute warn_unused_result [-Wunused-result] truncate(idx, 0); ^~~~~~~~~~~~~~~~ data.c: In function 'announcement': data.c:3413:17: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, length, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- snac.o --- In file included from xs_curl.h:14, from snac.c:11: xs_curl.h: In function 'xs_http_request': /home/pbulk/build/www/snac/work/.buildlink/include/curl/typecheck-gcc.h:59:15: warning: call to '_curl_easy_setopt_err_write_callback' declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument for this option _curl_easy_setopt_err_write_callback(); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/curl/curl.h:50:49: note: in definition of macro 'CURL_IGNORE_DEPRECATION' #define CURL_IGNORE_DEPRECATION(statements) statements ^~~~~~~~~~ xs_curl.h:122:5: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, _header_callback); ^~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/curl/typecheck-gcc.h:59:15: warning: call to '_curl_easy_setopt_err_write_callback' declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument for this option _curl_easy_setopt_err_write_callback(); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/curl/curl.h:50:49: note: in definition of macro 'CURL_IGNORE_DEPRECATION' #define CURL_IGNORE_DEPRECATION(statements) statements ^~~~~~~~~~ xs_curl.h:126:5: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, _data_callback); ^~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/curl/typecheck-gcc.h:65:15: warning: call to '_curl_easy_setopt_err_read_cb' declared with attribute warning: curl_easy_setopt expects a curl_read_callback argument for this option _curl_easy_setopt_err_read_cb(); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/www/snac/work/.buildlink/include/curl/curl.h:50:49: note: in definition of macro 'CURL_IGNORE_DEPRECATION' #define CURL_IGNORE_DEPRECATION(statements) statements ^~~~~~~~~~ xs_curl.h:144:13: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(curl, CURLOPT_READFUNCTION, _post_callback); ^~~~~~~~~~~~~~~~ --- http.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c http.c --- httpd.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c httpd.c httpd.c: In function 'srv_state_op': httpd.c:689:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, sizeof(*ss)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- webfinger.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c webfinger.c --- activitypub.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c activitypub.c --- html.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c html.c --- utils.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c utils.c --- format.o --- --- upgrade.o --- --- format.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c format.c --- upgrade.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c upgrade.c --- mastoapi.o --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/local/include -c mastoapi.c --- snac --- cc -pipe -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -L/usr/local/lib *.o -lcurl -lcrypto -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -pthread -o snac httpd.o: In function `srv_state_op': httpd.c:(.text+0x16d7): undefined reference to `shm_open' httpd.c:(.text+0x175c): undefined reference to `shm_open' httpd.c:(.text+0x18a2): undefined reference to `shm_unlink' collect2: error: ld returned 1 exit status *** [snac] Error code 1 bmake: stopped in /home/pbulk/build/www/snac/work/snac2 1 error bmake: stopped in /home/pbulk/build/www/snac/work/snac2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/snac *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/www/snac