>>> glib-networking 2.66.0 Extracting xzcat /tmp/instance-5/dl/glib-networking/glib-networking-2.66.0.tar.xz | tar --strip-components=1 -C /tmp/instance-5/output-1/build/glib-networking-2.66.0 -xf - >>> glib-networking 2.66.0 Patching >>> glib-networking 2.66.0 Configuring rm -rf /tmp/instance-5/output-1/build/glib-networking-2.66.0//build mkdir -p /tmp/instance-5/output-1/build/glib-networking-2.66.0//build sed -e 's%@TARGET_CROSS@%/tmp/instance-5/output-1/host/bin/riscv32-linux-%g' -e 's%@TARGET_ARCH@%riscv64%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-D_FORTIFY_SOURCE=2'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-D_FORTIFY_SOURCE=2'%g" -e 's%@HOST_DIR@%/tmp/instance-5/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-5/output-1/build/glib-networking-2.66.0//build/cross-compilation.conf PATH="/tmp/instance-5/output-1/host/bin:/tmp/instance-5/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /tmp/instance-5/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-5/output-1/build/glib-networking-2.66.0//build/cross-compilation.conf -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-5/output-1/host/lib/pkgconfig -Dlibproxy=disabled -Dgnome_proxy=disabled -Dgnutls=enabled -Dopenssl=enabled /tmp/instance-5/output-1/build/glib-networking-2.66.0/ /tmp/instance-5/output-1/build/glib-networking-2.66.0//build The Meson build system Version: 0.56.2 Source dir: /tmp/instance-5/output-1/build/glib-networking-2.66.0 Build dir: /tmp/instance-5/output-1/build/glib-networking-2.66.0/build Build type: cross build Project name: glib-networking Project version: 2.66.0 C compiler for the host machine: /tmp/instance-5/output-1/host/bin/riscv32-linux-gcc (gcc 10.2.0 "riscv32-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C linker for the host machine: /tmp/instance-5/output-1/host/bin/riscv32-linux-gcc ld.bfd 2.34 Using 'CC_FOR_BUILD' from environment with value: '/usr/bin/gcc' C compiler for the build machine: /usr/bin/gcc (gcc 9.3.0 "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: riscv64 Target machine cpu: Compiler for C supports arguments -Werror=declaration-after-statement: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports link arguments -Wl,--version-script,/tmp/instance-5/output-1/build/glib-networking-2.66.0/glib-networking.map: YES Found pkg-config: /tmp/instance-5/output-1/host/bin/pkgconf (1.6.3) Run-time dependency glib-2.0 found: YES 2.66.8 Run-time dependency gio-2.0 found: YES 2.66.8 Run-time dependency gobject-2.0 found: YES 2.66.8 Run-time dependency gmodule-2.0 found: YES 2.66.8 Dependency libproxy-1.0 skipped: feature libproxy disabled Dependency gsettings-desktop-schemas skipped: feature gnome_proxy disabled Run-time dependency gnutls found: YES 3.7.1 Run-time dependency openssl found: YES 3.2.5 Configuring config.h using configuration Program gio-querymodules found: YES (/tmp/instance-5/output-1/host/bin/gio-querymodules) Program meson_post_install.py found: YES (/tmp/instance-5/output-1/host/bin/python3 /tmp/instance-5/output-1/build/glib-networking-2.66.0/meson_post_install.py) Message: gnutls support: true openssl support: true libproxy support: false GNOME proxy support: false Build targets in project: 12 Found ninja-1.10.2 at /tmp/instance-5/output-1/host/bin/ninja >>> glib-networking 2.66.0 Building PATH="/tmp/instance-5/output-1/host/bin:/tmp/instance-5/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-5/output-1/host/bin/ninja -j96 -C /tmp/instance-5/output-1/build/glib-networking-2.66.0//build ninja: Entering directory `/tmp/instance-5/output-1/build/glib-networking-2.66.0//build' [1/39] Compiling C object tls/base/libtlsbase.a.p/gtlslog.c.o [2/39] Compiling C object tls/gnutls/libgiognutls.so.p/gnutls-module.c.o [3/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsbackend-gnutls.c.o [4/39] Compiling C object tls/base/libtlsbase.a.p/gtlsoutputstream.c.o [5/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsserverconnection-gnutls.c.o [6/39] Compiling C object tls/openssl/libgioopenssl.so.p/openssl-module.c.o [7/39] Compiling C object tls/base/libtlsbase.a.p/gtlsinputstream.c.o [8/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsfiledatabase-gnutls.c.o [9/39] Compiling C object tls/tests/connection-openssl.p/mock-interaction.c.o [10/39] Compiling C object tls/openssl/libgioopenssl.so.p/gtlsbackend-openssl.c.o ../tls/openssl/gtlsbackend-openssl.c: In function 'gtls_openssl_init': ../tls/openssl/gtlsbackend-openssl.c:131:27: warning: passing argument 1 of 'CRYPTO_set_id_callback' from incompatible pointer type [-Wincompatible-pointer-types] 131 | CRYPTO_set_id_callback (id_cb); | ^~~~~ | | | size_t (*)(void) {aka unsigned int (*)(void)} In file included from /tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/bio.h:69, from /tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:67, from /tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/hmac.h:67, from /tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:150, from ../tls/openssl/openssl-include.h:46, from ../tls/openssl/gtlsbackend-openssl.c:32: /tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/crypto.h:382:45: note: expected 'long unsigned int (*)(void)' but argument is of type 'size_t (*)(void)' {aka 'unsigned int (*)(void)'} 382 | void CRYPTO_set_id_callback(unsigned long (*func)(void)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ [11/39] Compiling C object tls/openssl/libgioopenssl.so.p/gtlsclientconnection-openssl.c.o In file included from ../tls/openssl/gtlsclientconnection-openssl.c:37: ../tls/openssl/gtlsclientconnection-openssl.c: In function 'set_cipher_list': ../tls/openssl/gtlsclientconnection-openssl.c:326:30: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'gint64' {aka 'long long int'} [-Wformat=] 326 | _("Could not set MAX protocol to %ld: %s"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib/gi18n-lib.h:30:59: note: in definition of macro '_' 30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String)) | ^~~~~~ ../tls/openssl/gtlsclientconnection-openssl.c:326:63: note: format string is defined here 326 | _("Could not set MAX protocol to %ld: %s"), | ~~^ | | | long int | %lld [12/39] Compiling C object tls/openssl/libgioopenssl.so.p/openssl-util.c.o [13/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsdatabase-gnutls.c.o [14/39] Compiling C object tls/openssl/libgioopenssl.so.p/gtlsconnection-openssl.c.o FAILED: tls/openssl/libgioopenssl.so.p/gtlsconnection-openssl.c.o /tmp/instance-5/output-1/host/bin/riscv32-linux-gcc -Itls/openssl/libgioopenssl.so.p -Itls/openssl -I../tls/openssl -I. -I.. -Itls/base -I../tls/base -I/tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0 -I/tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/glib-2.0/include -I/tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libmount -I/tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/blkid -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -std=c99 -O3 -DHAVE_CONFIG_H '-DG_LOG_DOMAIN="GLib-Net"' -DG_LOG_USE_STRUCTURED '-DLOCALE_DIR="/usr/share/locale"' -DG_DISABLE_DEPRECATED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -Werror=declaration-after-statement -Werror=implicit-function-declaration -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ tls/openssl/libgioopenssl.so.p/gtlsconnection-openssl.c.o -MF tls/openssl/libgioopenssl.so.p/gtlsconnection-openssl.c.o.d -o tls/openssl/libgioopenssl.so.p/gtlsconnection-openssl.c.o -c ../tls/openssl/gtlsconnection-openssl.c ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': ../tls/openssl/gtlsconnection-openssl.c:419:27: error: 'TLS1_3_VERSION' undeclared (first use in this function); did you mean 'TLS1_2_VERSION'? 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) | ^~~~~~~~~~~~~~ | TLS1_2_VERSION ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared identifier is reported only once for each function it appears in ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit declaration of function 'SSL_key_update' [-Werror=implicit-function-declaration] 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); | ^~~~~~~~~~~~~~ ../tls/openssl/gtlsconnection-openssl.c:420:32: error: 'SSL_KEY_UPDATE_REQUESTED' undeclared (first use in this function) 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../tls/openssl/gtlsconnection-openssl.c:421:83: error: 'SSL_OP_NO_RENEGOTIATION' undeclared (first use in this function); did you mean 'SSL_AD_NO_RENEGOTIATION'? 421 | else if (SSL_get_secure_renegotiation_support (ssl) && !(SSL_get_options(ssl) & SSL_OP_NO_RENEGOTIATION)) | ^~~~~~~~~~~~~~~~~~~~~~~ | SSL_AD_NO_RENEGOTIATION cc1: some warnings being treated as errors [15/39] Compiling C object tls/tests/connection-gnutls.p/mock-interaction.c.o [16/39] Compiling C object tls/tests/file-database-gnutls.p/file-database.c.o [17/39] Compiling C object tls/openssl/libgioopenssl.so.p/gtlsfiledatabase-openssl.c.o [18/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlscertificate-gnutls.c.o [19/39] Compiling C object tls/openssl/libgioopenssl.so.p/gtlscertificate-openssl.c.o [20/39] Compiling C object tls/openssl/libgioopenssl.so.p/gtlsbio.c.o [21/39] Compiling C object tls/openssl/libgioopenssl.so.p/gtlsdatabase-openssl.c.o [22/39] Compiling C object tls/openssl/libgioopenssl.so.p/gtlsserverconnection-openssl.c.o In file included from ../tls/openssl/gtlsserverconnection-openssl.c:32: ../tls/openssl/gtlsserverconnection-openssl.c: In function 'set_cipher_list': ../tls/openssl/gtlsserverconnection-openssl.c:362:30: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'gint64' {aka 'long long int'} [-Wformat=] 362 | _("Could not set MAX protocol to %ld: %s"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/instance-5/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib/gi18n-lib.h:30:59: note: in definition of macro '_' 30 | #define _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String)) | ^~~~~~ ../tls/openssl/gtlsserverconnection-openssl.c:362:63: note: format string is defined here 362 | _("Could not set MAX protocol to %ld: %s"), | ~~^ | | | long int | %lld [23/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsclientconnection-gnutls.c.o [24/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsconnection-gnutls.c.o [25/39] Compiling C object tls/tests/file-database-openssl.p/file-database.c.o [26/39] Compiling C object tls/tests/certificate-openssl.p/certificate.c.o [27/39] Compiling C object tls/tests/certificate-gnutls.p/certificate.c.o [28/39] Compiling C object tls/base/libtlsbase.a.p/gtlsconnection-base.c.o [29/39] Compiling C object tls/tests/connection-gnutls.p/connection.c.o [30/39] Compiling C object tls/tests/connection-openssl.p/connection.c.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:250: /tmp/instance-5/output-1/build/glib-networking-2.66.0/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-5/buildroot'