>>> glib-networking 2.66.0 Extracting xzcat /home/buildroot/autobuild/instance-0/dl/glib-networking/glib-networking-2.66.0.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/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/instance-0/output-1/build/glib-networking-2.66.0//build mkdir -p /home/buildroot/autobuild/instance-0/output-1/build/glib-networking-2.66.0//build sed -e 's%@TARGET_CROSS@%/home/buildroot/autobuild/instance-0/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'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os'%g" -e 's%@HOST_DIR@%/home/buildroot/autobuild/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/home/buildroot/autobuild/instance-0/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/instance-0/output-1/build/glib-networking-2.66.0//build/cross-compilation.conf PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-0/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/instance-0/output-1/build/glib-networking-2.66.0//build/cross-compilation.conf -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/instance-0/output-1/host/lib/pkgconfig -Dlibproxy=disabled -Dgnome_proxy=disabled -Dgnutls=enabled -Dopenssl=enabled /home/buildroot/autobuild/instance-0/output-1/build/glib-networking-2.66.0/ /home/buildroot/autobuild/instance-0/output-1/build/glib-networking-2.66.0//build The Meson build system Version: 0.56.2 Source dir: /home/buildroot/autobuild/instance-0/output-1/build/glib-networking-2.66.0 Build dir: /home/buildroot/autobuild/instance-0/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/instance-0/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/instance-0/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 6.3.0 "gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516") C linker for the build machine: /usr/bin/gcc ld.bfd 2.28 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/instance-0/output-1/build/glib-networking-2.66.0/glib-networking.map: YES Found pkg-config: /home/buildroot/autobuild/instance-0/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.3 Run-time dependency openssl found: YES 3.3.6 Configuring config.h using configuration Program gio-querymodules found: YES (/home/buildroot/autobuild/instance-0/output-1/host/bin/gio-querymodules) Program meson_post_install.py found: YES (/home/buildroot/autobuild/instance-0/output-1/host/bin/python3 /home/buildroot/autobuild/instance-0/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 /home/buildroot/autobuild/instance-0/output-1/host/bin/ninja >>> glib-networking 2.66.0 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-0/output-1/host/bin/ninja -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/glib-networking-2.66.0//build ninja: Entering directory `/home/buildroot/autobuild/instance-0/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/base/libtlsbase.a.p/gtlsinputstream.c.o [3/39] Compiling C object tls/base/libtlsbase.a.p/gtlsoutputstream.c.o [4/39] Compiling C object tls/gnutls/libgiognutls.so.p/gnutls-module.c.o [5/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsbackend-gnutls.c.o [6/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlscertificate-gnutls.c.o [7/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsclientconnection-gnutls.c.o [8/39] Compiling C object tls/base/libtlsbase.a.p/gtlsconnection-base.c.o [9/39] Linking static target tls/base/libtlsbase.a [10/39] Compiling C object tls/openssl/libgioopenssl.so.p/openssl-module.c.o [11/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsconnection-gnutls.c.o [12/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsfiledatabase-gnutls.c.o [13/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsdatabase-gnutls.c.o [14/39] Compiling C object tls/gnutls/libgiognutls.so.p/gtlsserverconnection-gnutls.c.o [15/39] Linking target tls/gnutls/libgiognutls.so [16/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 /home/buildroot/autobuild/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/bio.h:69, from /home/buildroot/autobuild/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:67, from /home/buildroot/autobuild/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/hmac.h:67, from /home/buildroot/autobuild/instance-0/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/instance-0/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)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ [17/39] 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/instance-0/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/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/home/buildroot/autobuild/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0 -I/home/buildroot/autobuild/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/glib-2.0/include -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 -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 [18/39] Compiling C object tls/openssl/libgioopenssl.so.p/gtlscertificate-openssl.c.o [19/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"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 [20/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"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/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 ninja: build stopped: subcommand failed. package/pkg-generic.mk:248: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/glib-networking-2.66.0/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/glib-networking-2.66.0/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'