+ 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.47/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/snac-2.47/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for snac-2.47 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 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:123:5: note: in expansion of macro 'curl_easy_setopt' 123 | 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:127:5: note: in expansion of macro 'curl_easy_setopt' 127 | 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:145:13: note: in expansion of macro 'curl_easy_setopt' 145 | 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-trunk/www/snac *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/snac