+ 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/surf-2.1nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/surf-2.1nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for surf-2.1nb3 surf build options: CC = gcc CFLAGS = -fPIC -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -I/opt/pkg/include/gdk-pixbuf-2.0 -D_REENTRANT -I/opt/pkg/include/gio-unix-2.0 -D_REENTRANT -I/opt/pkg/include/libdrm -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -I/opt/pkg/include/at-spi-2.0 -D_REENTRANT -D_REENTRANT -D_REENTRANT -I/opt/pkg/include/gck-1 -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/gcr-3 -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -I/opt/pkg/include/webkitgtk-4.0 -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/libsoup-2.4 -pthread -I/opt/pkg/include/libxml2 -DVERSION="2.1" -DGCR_API_SUBJECT_TO_CHANGE -DLIBPREFIX="/opt/pkg/lib" -DWEBEXTDIR="/opt/pkg/lib/surf" -D_DEFAULT_SOURCE -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm WEBEXTCFLAGS = -fPIC -I/opt/pkg/include/webkitgtk-4.0 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -I/opt/pkg/include/gdk-pixbuf-2.0 -D_REENTRANT -I/opt/pkg/include/gio-unix-2.0 -D_REENTRANT -I/opt/pkg/include/libdrm -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -I/opt/pkg/include/at-spi-2.0 -D_REENTRANT -D_REENTRANT -D_REENTRANT -I/opt/pkg/include/libsoup-2.4 -I/opt/pkg/include/libxml2 -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -pthread -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm LDFLAGS = -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cp config.def.h config.h gcc -fPIC `pkg-config --cflags x11` `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0` -DVERSION=\"2.1\" -DGCR_API_SUBJECT_TO_CHANGE -DLIBPREFIX=\"/opt/pkg/lib\" -DWEBEXTDIR=\"/opt/pkg/lib/surf\" -D_DEFAULT_SOURCE -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -c surf.c surf.c: In function 'setparameter': surf.c:847:3: warning: 'webkit_web_context_set_tls_errors_policy' is deprecated: Use 'webkit_website_data_manager_set_tls_errors_policy' instead [-Wdeprecated-declarations] 847 | webkit_web_context_set_tls_errors_policy( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/www/surf/work/.buildlink/include/webkitgtk-4.0/webkit2/WebKitWebView.h:54, from /home/pbulk/build/www/surf/work/.buildlink/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30, from /home/pbulk/build/www/surf/work/.buildlink/include/webkitgtk-4.0/webkit2/webkit2.h:72, from surf.c:29: /home/pbulk/build/www/surf/work/.buildlink/include/webkitgtk-4.0/webkit2/WebKitWebContext.h:251:1: note: declared here 251 | webkit_web_context_set_tls_errors_policy (WebKitWebContext *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf.c: In function 'newview': surf.c:1157:3: warning: 'webkit_web_context_set_tls_errors_policy' is deprecated: Use 'webkit_website_data_manager_set_tls_errors_policy' instead [-Wdeprecated-declarations] 1157 | webkit_web_context_set_tls_errors_policy(context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/www/surf/work/.buildlink/include/webkitgtk-4.0/webkit2/WebKitWebView.h:54, from /home/pbulk/build/www/surf/work/.buildlink/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30, from /home/pbulk/build/www/surf/work/.buildlink/include/webkitgtk-4.0/webkit2/webkit2.h:72, from surf.c:29: /home/pbulk/build/www/surf/work/.buildlink/include/webkitgtk-4.0/webkit2/WebKitWebContext.h:251:1: note: declared here 251 | webkit_web_context_set_tls_errors_policy (WebKitWebContext *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf.c: In function 'createwindow': surf.c:1430:3: warning: 'gtk_window_set_wmclass' is deprecated [-Wdeprecated-declarations] 1430 | gtk_window_set_wmclass(GTK_WINDOW(w), wmstr, "Surf"); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/www/surf/work/.buildlink/include/gtk-3.0/gtk/gtkdialog.h:32, from /home/pbulk/build/www/surf/work/.buildlink/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /home/pbulk/build/www/surf/work/.buildlink/include/gtk-3.0/gtk/gtk.h:31, from surf.c:25: /home/pbulk/build/www/surf/work/.buildlink/include/gtk-3.0/gtk/gtkwindow.h:154:12: note: declared here 154 | void gtk_window_set_wmclass (GtkWindow *window, | ^~~~~~~~~~~~~~~~~~~~~~ gcc -fPIC `pkg-config --cflags webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0` -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -c webext-surf.c webext-surf.c: In function 'webkit_web_extension_initialize_with_user_data': webext-surf.c:98:16: warning: passing argument 1 of 'g_variant_get' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | g_variant_get(gv, "i", &sock); | ^~ In file included from /home/pbulk/build/www/surf/work/.buildlink/include/glib-2.0/glib/gmessages.h:36, from /home/pbulk/build/www/surf/work/.buildlink/include/glib-2.0/glib.h:62, from /home/pbulk/build/www/surf/work/.buildlink/include/glib-2.0/gobject/gbinding.h:28, from /home/pbulk/build/www/surf/work/.buildlink/include/glib-2.0/glib-object.h:22, from /home/pbulk/build/www/surf/work/.buildlink/include/glib-2.0/gio/gioenums.h:28, from /home/pbulk/build/www/surf/work/.buildlink/include/glib-2.0/gio/giotypes.h:28, from /home/pbulk/build/www/surf/work/.buildlink/include/glib-2.0/gio/gio.h:26, from webext-surf.c:9: /home/pbulk/build/www/surf/work/.buildlink/include/glib-2.0/glib/gvariant.h:401:96: note: expected 'GVariant *' {aka 'struct _GVariant *'} but argument is of type 'const GVariant *' {aka 'const struct _GVariant *'} 401 | void g_variant_get (GVariant *value, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ webext-surf.c: In function 'readsock': webext-surf.c:75:3: warning: ignoring return value of 'jsc_context_evaluate' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | jsc_context_evaluate(jsc, js, -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ webext-surf.c:83:3: warning: ignoring return value of 'jsc_context_evaluate' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | jsc_context_evaluate(jsc, js, -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o surf surf.o `pkg-config --libs x11` `pkg-config --libs gtk+-3.0 gcr-3 webkit2gtk-4.0` -lgthread-2.0 Undefined first referenced symbol in file send surf.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) socketpair surf.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) ld: fatal: symbol referencing errors. No output written to surf collect2: error: ld returned 1 exit status *** [surf] Error code 1 bmake: stopped in /home/pbulk/build/www/surf/work/surf-2.1 1 error bmake: stopped in /home/pbulk/build/www/surf/work/surf-2.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/surf *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/surf