+ 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/snac-2.51/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/snac-2.51/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for snac-2.51
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c snac.c
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]
  495 | 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]
  496 | 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]
  497 | 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]
  498 | 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:
/home/pbulk/build/www/snac/work/.buildlink/include/openssl/safestack.h:31:32: warning: 'cleanup' attribute ignored [-Wattributes]
   31 | # 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'
  499 | 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]
   31 | # 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'
  500 | 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]
   31 | # 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'
  501 | 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]
   31 | # 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'
  502 | STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *xs,
      | ^~~~~~~~
/home/pbulk/build/www/snac/work/.buildlink/include/openssl/x509_vfy.h:506:1: warning: 'cleanup' attribute ignored [-Wattributes]
  506 | 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]
  507 | 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]
  508 | 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]
  509 | 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]
  510 | 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]
  512 | 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]
  517 | 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]
  518 | 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]
  522 | 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]
  523 | 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]
  525 | 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]
  526 | 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]
  529 | 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]
  532 |     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]
  533 | 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]
  535 | 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]
  536 | 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]
  538 | 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]
  539 | 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]
  541 | 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]
  542 | 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]
  545 | 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]
  548 | 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]
  552 | 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]
  553 | 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]
  555 | 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]
  559 | 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]
  560 | 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]
  610 | 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]
  695 | 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]
  696 | 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]
  740 | 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]
  741 | 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]
  742 | 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]
  744 | 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]
  746 | 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]
  748 | 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]
  750 | 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]
  753 | int X509_STORE_set_default_paths_ex(X509_STORE *xs,
      | ^~~
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 [-Wattribute-warning]
   59 |               _curl_easy_setopt_err_write_callback();                   \
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/www/snac/work/.buildlink/include/curl/curl.h:46:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION'
   46 |       statements \
      |       ^~~~~~~~~~
xs_curl.h:122:5: note: in expansion of macro 'curl_easy_setopt'
  122 |     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 [-Wattribute-warning]
   59 |               _curl_easy_setopt_err_write_callback();                   \
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/www/snac/work/.buildlink/include/curl/curl.h:46:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION'
   46 |       statements \
      |       ^~~~~~~~~~
xs_curl.h:126:5: note: in expansion of macro 'curl_easy_setopt'
  126 |     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 [-Wattribute-warning]
   65 |               _curl_easy_setopt_err_read_cb();                          \
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/www/snac/work/.buildlink/include/curl/curl.h:46:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION'
   46 |       statements \
      |       ^~~~~~~~~~
xs_curl.h:144:13: note: in expansion of macro 'curl_easy_setopt'
  144 |             curl_easy_setopt(curl, CURLOPT_READFUNCTION, _post_callback);
      |             ^~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c main.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c data.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c http.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c httpd.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c webfinger.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c activitypub.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c html.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c utils.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c format.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c upgrade.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -I/usr/local/include -c mastoapi.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -L/usr/local/lib *.o -lcurl -lcrypto -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl -pthread -o snac
Undefined			first referenced
 symbol  			    in file
bind                                snac.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
getservbyname                       snac.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
accept                              snac.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
listen                              snac.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
gethostbyname                       snac.o  (symbol belongs to implicit dependency /lib/amd64/libnsl.so.1)
socket                              snac.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
setsockopt                          snac.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
connect                             snac.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
getaddrinfo                         snac.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
getpeername                         snac.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
freeaddrinfo                        snac.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
ld: fatal: symbol referencing errors. No output written to snac
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-upstream-bulktest/www/snac
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/www/snac