+ 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.47/work.log + su pbulk -c '"$@"' make /usr/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 --- 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:466:19: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("$EDITOR /tmp/snac-edit.txt"); ^ --- 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:0: xs_fcgi.h: In function 'xs_fcgi_request': xs_fcgi.h:109:18: 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:425:17: 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:1232:13: 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:1321:33: 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:2163:17: warning: ignoring return value of 'truncate', declared with attribute warn_unused_result [-Wunused-result] truncate(idx, 0); ^ --- snac.o --- In file included from xs_curl.h:14:0, 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:51: 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 [enabled by default] _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:123: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:51: 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 [enabled by default] _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:127: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:44: 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 [enabled by default] _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:145: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 --- webfinger.o --- --- httpd.o --- httpd.c: In function 'srv_state_op': httpd.c:654:22: 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 --- 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+0x14bf): undefined reference to `shm_open' httpd.c:(.text+0x1540): undefined reference to `shm_unlink' httpd.c:(.text+0x155c): undefined reference to `shm_open' 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-el7-trunk-x86_64/www/snac *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/www/snac