>>> glib-networking 2.66.0 Extracting xzcat /home/buildroot/autobuild/run/instance-2/dl/glib-networking/glib-networking-2.66.0.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0 -xf - >>> glib-networking 2.66.0 Patching >>> glib-networking 2.66.0 Configuring rm -rf /home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0//build mkdir -p /home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0//build sed -e 's%@TARGET_CROSS@%/home/buildroot/autobuild/run/instance-2/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', '-Os', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-D_FORTIFY_SOURCE=1'%g" -e 's%@HOST_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host%g' -e 's%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-2/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 > /home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-2/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0//build/cross-compilation.conf -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/run/instance-2/output-1/host/lib/pkgconfig -Dlibproxy=disabled -Dgnome_proxy=disabled -Dgnutls=disabled -Dopenssl=enabled /home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0/ /home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0//build The Meson build system Version: 0.56.2 Source dir: /home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0 Build dir: /home/buildroot/autobuild/run/instance-2/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: /home/buildroot/autobuild/run/instance-2/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: /home/buildroot/autobuild/run/instance-2/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 4.8.2 "gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2") C linker for the build machine: /usr/bin/gcc ld.bfd 2.24 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,/home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0/glib-networking.map: YES Found pkg-config: /home/buildroot/autobuild/run/instance-2/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 Dependency gnutls skipped: feature gnutls disabled Run-time dependency openssl found: YES 3.2.7 Configuring config.h using configuration Program gio-querymodules found: YES (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/gio-querymodules) Program meson_post_install.py found: YES (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0/meson_post_install.py) Message: gnutls support: false openssl support: true libproxy support: false GNOME proxy support: false Build targets in project: 8 Found ninja-1.10.2 at /home/buildroot/autobuild/run/instance-2/output-1/host/bin/ninja >>> glib-networking 2.66.0 Building PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-2/output-1/host/bin/ninja -j4 -C /home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0//build' [1/23] Compiling C object tls/base/libtlsbase.a.p/gtlslog.c.o [2/23] Compiling C object tls/base/libtlsbase.a.p/gtlsinputstream.c.o [3/23] Compiling C object tls/base/libtlsbase.a.p/gtlsoutputstream.c.o [4/23] Compiling C object tls/openssl/libgioopenssl.so.p/openssl-module.c.o [5/23] 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 /home/buildroot/autobuild/run/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/bio.h:69, from /home/buildroot/autobuild/run/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:67, from /home/buildroot/autobuild/run/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/hmac.h:67, from /home/buildroot/autobuild/run/instance-2/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: /home/buildroot/autobuild/run/instance-2/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)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ [6/23] Compiling C object tls/openssl/libgioopenssl.so.p/gtlscertificate-openssl.c.o [7/23] Compiling C object tls/base/libtlsbase.a.p/gtlsconnection-base.c.o [8/23] Linking static target tls/base/libtlsbase.a [9/23] Compiling C object tls/openssl/libgioopenssl.so.p/gtlsconnection-openssl.c.o FAILED: tls/openssl/libgioopenssl.so.p/gtlsconnection-openssl.c.o /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0 -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/glib-2.0/include -I/home/buildroot/autobuild/run/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libmount -I/home/buildroot/autobuild/run/instance-2/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 -Os -D_FORTIFY_SOURCE=1 -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 [10/23] 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"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-2/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 [11/23] 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"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-2/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/23] Compiling C object tls/openssl/libgioopenssl.so.p/gtlsdatabase-openssl.c.o ninja: build stopped: subcommand failed. make: *** [/home/buildroot/autobuild/run/instance-2/output-1/build/glib-networking-2.66.0/.stamp_built] Error 1 make: Leaving directory `/home/buildroot/autobuild/run/instance-2/buildroot'