Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/surf.spec'], chrootPath='/var/lib/mock/f40-build-788368-135103/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/surf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/surf-2.1-3.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/surf.spec'], chrootPath='/var/lib/mock/f40-build-788368-135103/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/surf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OyXQTu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf surf-2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/surf-2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd surf-2.1 + rm -rf /builddir/build/BUILD/surf-2.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/surf-2.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e 's|/usr/local|/usr|g' -e 's|$(PREFIX)/lib|$(PREFIX)/lib64|g' -e 's|webkit2gtk-4.0|webkit2gtk-4.1|g' -e 's|webkit2gtk-web-extension-4.0|webkit2gtk-web-extension-4.1|g' -i config.mk + sed -i 's!^\(\t\+\)@!\1!' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.afzp2M + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd surf-2.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j4 V=1 VERBOSE=1 cp config.def.h config.h echo surf build options: surf build options: echo "CC = gcc" CC = gcc echo "CFLAGS = -fPIC `pkg-config --cflags x11` `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.1` -DVERSION=\"2.1\" -DGCR_API_SUBJECT_TO_CHANGE -DLIBPREFIX=\"/usr/lib64\" -DWEBEXTDIR=\"/usr/lib64/surf\" -D_DEFAULT_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer " CFLAGS = -fPIC -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/libei-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -DVERSION="2.1" -DGCR_API_SUBJECT_TO_CHANGE -DLIBPREFIX="/usr/lib64" -DWEBEXTDIR="/usr/lib64/surf" -D_DEFAULT_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer echo "WEBEXTCFLAGS = -fPIC `pkg-config --cflags webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer " WEBEXTCFLAGS = -fPIC -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/libei-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer echo "LDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " LDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gcc -fPIC `pkg-config --cflags webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c webext-surf.c webext-surf.c: In function ‘msgsurf’: webext-surf.c:28:49: warning: format ‘%c’ expects argument of type ‘int’, but argument 4 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 28 | if ((ret = snprintf(msg, sizeof(msg), "%c%s", pageid, s)) | ~^ ~~~~~~ | | | | int guint64 {aka long unsigned int} | %ld webext-surf.c:25:16: warning: unused variable ‘sln’ [-Wunused-variable] 25 | size_t sln = strlen(s); | ^~~ webext-surf.c: In function ‘readsock’: webext-surf.c:58:72: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘gsize’ {aka ‘long unsigned int’} [-Wformat=] 58 | fprintf(stderr, "webext: readsock: message too short: %d\n", | ~^ | | | int | %ld 59 | msgsz); | ~~~~~ | | | gsize {aka long unsigned int} webext-surf.c: In function ‘webkit_web_extension_initialize_with_user_data’: webext-surf.c:98:23: 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 /usr/include/glib-2.0/glib/gmessages.h:38, from /usr/include/glib-2.0/glib.h:64, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from webext-surf.c:9: /usr/include/glib-2.0/glib/gvariant.h:410:96: note: expected ‘GVariant *’ {aka ‘struct _GVariant *’} but argument is of type ‘const GVariant *’ {aka ‘const struct _GVariant *’} 410 | void g_variant_get (GVariant *value, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ webext-surf.c: In function ‘readsock’: webext-surf.c:75:17: 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:17: warning: ignoring return value of ‘jsc_context_evaluate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 83 | jsc_context_evaluate(jsc, js, -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ webext-surf.c: At top level: webext-surf.c:22:1: warning: ‘msgsurf’ defined but not used [-Wunused-function] 22 | msgsurf(guint64 pageid, const char *s) | ^~~~~~~ gcc -shared -Wl,-soname,webext-surf.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o webext-surf.so webext-surf.o `pkg-config --libs webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0` gcc -fPIC `pkg-config --cflags x11` `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.1` -DVERSION=\"2.1\" -DGCR_API_SUBJECT_TO_CHANGE -DLIBPREFIX=\"/usr/lib64\" -DWEBEXTDIR=\"/usr/lib64/surf\" -D_DEFAULT_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c surf.c surf.c: In function ‘seturiparameters’: surf.c:719:20: warning: unused variable ‘config’ [-Wunused-variable] 719 | Parameter *config, *uriconfig = NULL; | ^~~~~~ surf.c: In function ‘setparameter’: surf.c:794:17: warning: ‘webkit_settings_set_enable_frame_flattening’ is deprecated [-Wdeprecated-declarations] 794 | webkit_settings_set_enable_frame_flattening(s, a->i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/webkitgtk-4.1/webkit/WebKitWebView.h:49, from /usr/include/webkitgtk-4.1/webkit/WebKitPrintOperation.h:29, from /usr/include/webkitgtk-4.1/webkit2/webkit2.h:74, from surf.c:29: /usr/include/webkitgtk-4.1/webkit/WebKitSettings.h:134:1: note: declared here 134 | webkit_settings_set_enable_frame_flattening (WebKitSettings *settings, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf.c:807:17: warning: ‘webkit_settings_set_enable_java’ is deprecated [-Wdeprecated-declarations] 807 | webkit_settings_set_enable_java(s, a->i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/webkitgtk-4.1/webkit/WebKitSettings.h:148:1: note: declared here 148 | webkit_settings_set_enable_java (WebKitSettings *settings, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf.c:847:17: 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 /usr/include/webkitgtk-4.1/webkit/WebKitWebView.h:53: /usr/include/webkitgtk-4.1/webkit/WebKitWebContext.h:246:1: note: declared here 246 | webkit_web_context_set_tls_errors_policy (WebKitWebContext *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf.c: In function ‘evalscript’: surf.c:973:9: warning: ‘webkit_web_view_run_javascript’ is deprecated: Use 'webkit_web_view_evaluate_javascript' instead [-Wdeprecated-declarations] 973 | webkit_web_view_run_javascript(c->view, script, NULL, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/webkitgtk-4.1/webkit/WebKitWebView.h:526:1: note: declared here 526 | webkit_web_view_run_javascript (WebKitWebView *web_view, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf.c: In function ‘newview’: surf.c:1154:17: warning: ‘webkit_web_context_set_process_model’ is deprecated [-Wdeprecated-declarations] 1154 | webkit_web_context_set_process_model(context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/webkitgtk-4.1/webkit/WebKitWebContext.h:315:1: note: declared here 315 | webkit_web_context_set_process_model (WebKitWebContext *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf.c:1157:17: 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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/webkitgtk-4.1/webkit/WebKitWebContext.h:246:1: note: declared here 246 | webkit_web_context_set_tls_errors_policy (WebKitWebContext *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf.c: In function ‘readsock’: surf.c:1239:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘gsize’ {aka ‘long unsigned int’} [-Wformat=] 1239 | fprintf(stderr, "surf: message too short: %d\n", msgsz); | ~^ ~~~~~ | | | | int gsize {aka long unsigned int} | %ld surf.c: In function ‘createwindow’: surf.c:1430:17: warning: ‘gtk_window_set_wmclass’ is deprecated [-Wdeprecated-declarations] 1430 | gtk_window_set_wmclass(GTK_WINDOW(w), wmstr, "Surf"); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from surf.c:25: /usr/include/gtk-3.0/gtk/gtkwindow.h:154:12: note: declared here 154 | void gtk_window_set_wmclass (GtkWindow *window, | ^~~~~~~~~~~~~~~~~~~~~~ surf.c: In function ‘decidenavigation’: surf.c:1644:17: warning: ‘webkit_navigation_policy_decision_get_frame_name’ is deprecated: Use 'webkit_navigation_policy_decision_get_navigation_action' instead [-Wdeprecated-declarations] 1644 | if (webkit_navigation_policy_decision_get_frame_name( | ^~ In file included from /usr/include/webkitgtk-4.1/webkit2/webkit2.h:63: /usr/include/webkitgtk-4.1/webkit/WebKitNavigationPolicyDecision.h:70:1: note: declared here 70 | webkit_navigation_policy_decision_get_frame_name (WebKitNavigationPolicyDecision *decision); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf.c: In function ‘msgext’: surf.c:1865:49: warning: format ‘%c’ expects argument of type ‘int’, but argument 4 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 1865 | if ((ret = snprintf(msg, sizeof(msg), "%c%c%c", c->pageid, type, a->i)) | ~^ ~~~~~~~~~ | | | | int guint64 {aka long unsigned int} | %ld surf.c:1872:56: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] 1872 | fprintf(stderr, "surf: error sending: %u%c%d (%d)\n", | ~^ | | | unsigned int | %lu 1873 | c->pageid, type, a->i, ret); | ~~~~~~~~~ | | | guint64 {aka long unsigned int} gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o surf surf.o `pkg-config --libs x11` `pkg-config --libs gtk+-3.0 gcr-3 webkit2gtk-4.1` -lgthread-2.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EYyOL5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd surf-2.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64 'INSTALL=/usr/bin/install -p' 'INSTALL=install -p' echo surf build options: surf build options: echo "CC = gcc" CC = gcc echo "CFLAGS = -fPIC `pkg-config --cflags x11` `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.1` -DVERSION=\"2.1\" -DGCR_API_SUBJECT_TO_CHANGE -DLIBPREFIX=\"/usr/lib64\" -DWEBEXTDIR=\"/usr/lib64/surf\" -D_DEFAULT_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer " CFLAGS = -fPIC -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/libei-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -DVERSION="2.1" -DGCR_API_SUBJECT_TO_CHANGE -DLIBPREFIX="/usr/lib64" -DWEBEXTDIR="/usr/lib64/surf" -D_DEFAULT_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer echo "WEBEXTCFLAGS = -fPIC `pkg-config --cflags webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer " WEBEXTCFLAGS = -fPIC -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/libei-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer echo "LDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " LDFLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes mkdir -p /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/bin cp -f surf /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/bin chmod 755 /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/bin/surf mkdir -p /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/lib64/surf cp -f webext-surf.so /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/lib64/surf for wlib in webext-surf.so; do \ chmod 644 /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/lib64/surf/$wlib; \ done mkdir -p /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/share/man/man1 sed "s/VERSION/2.1/g" < surf.1 > /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/share/man/man1/surf.1 chmod 644 /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/share/man/man1/surf.1 + desktop-file-install /builddir/build/SOURCES/surf.desktop --dir=/builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/share/applications/ + mkdir -p /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/share/pixmaps/ + install -pm0644 /builddir/build/SOURCES/surf.svg /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/share/pixmaps/ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.1-3.fc40 --unique-debug-suffix -2.1-3.fc40.riscv64 --unique-debug-src-base surf-2.1-3.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/surf-2.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/surf-2.1-3.fc40.riscv64 122 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: surf-2.1-3.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yrrwQi + umask 022 + cd /builddir/build/BUILD + cd surf-2.1 + LICENSEDIR=/builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/share/licenses/surf + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/share/licenses/surf + cp -pr /builddir/build/BUILD/surf-2.1/LICENSE /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64/usr/share/licenses/surf + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(surf.desktop) surf = 2.1-3.fc40 surf(riscv-64) = 2.1-3.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcr-base-3.so.1()(64bit) libgcr-ui-3.so.1()(64bit) libgdk-3.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-3.so.0()(64bit) libjavascriptcoregtk-4.1.so.0()(64bit) libwebkit2gtk-4.1.so.0()(64bit) rtld(GNU_HASH) Processing files: surf-debugsource-2.1-3.fc40.riscv64 Provides: surf-debugsource = 2.1-3.fc40 surf-debugsource(riscv-64) = 2.1-3.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: surf-debuginfo-2.1-3.fc40.riscv64 Provides: debuginfo(build-id) = 7fb551c711aa07d2c7d8497fa1ff289bf92a7701 surf-debuginfo = 2.1-3.fc40 surf-debuginfo(riscv-64) = 2.1-3.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: surf-debugsource(riscv-64) = 2.1-3.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64 Wrote: /builddir/build/RPMS/surf-debugsource-2.1-3.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/surf-debuginfo-2.1-3.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/surf-2.1-3.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.92rTAP + umask 022 + cd /builddir/build/BUILD + cd surf-2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/surf-2.1-3.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.adx8iP + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/surf-2.1-SPECPARTS + rm -rf surf-2.1 surf-2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0