>>> rauc 1.11.3 Extracting xzcat /home/buildroot/instance-0/dl/rauc/rauc-1.11.3.tar.xz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/rauc-1.11.3 -xf - >>> rauc 1.11.3 Patching >>> rauc 1.11.3 Configuring rm -rf /home/buildroot/instance-0/output-1/build/rauc-1.11.3//build mkdir -p /home/buildroot/instance-0/output-1/build/rauc-1.11.3//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/instance-0/output-1/host/bin/mips-buildroot-linux-musl-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/buildroot/instance-0/output-1/host/bin/mips-buildroot-linux-musl-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%mips%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O1', '-g0', '-static'%g" -e "s%@TARGET_LDFLAGS@%'-static'%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O1', '-g0', '-static', '-static'%g" -e "s%@BR2_CMAKE@%/home/buildroot/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot%g" -e "s%@STATIC@%true%g" /home/buildroot/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/instance-0/output-1/build/rauc-1.11.3//build/cross-compilation.conf PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/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/instance-0/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=static --buildtype=release --cross-file=/home/buildroot/instance-0/output-1/build/rauc-1.11.3//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/instance-0/output-1/host/lib/cmake -Dtests=false -Dservice=false -Dgpt=disabled -Dnetwork=false -Djson=disabled -Dstreaming=false /home/buildroot/instance-0/output-1/build/rauc-1.11.3/ /home/buildroot/instance-0/output-1/build/rauc-1.11.3//build The Meson build system Version: 1.3.1 Source dir: /home/buildroot/instance-0/output-1/build/rauc-1.11.3 Build dir: /home/buildroot/instance-0/output-1/build/rauc-1.11.3/build Build type: cross build Project name: rauc Project version: 1.11.3 C compiler for the host machine: /home/buildroot/instance-0/output-1/host/bin/mips-buildroot-linux-musl-gcc (gcc 13.3.0 "mips-buildroot-linux-musl-gcc.br_real (Buildroot 2024.08-rc1-52-gce3dedc26b) 13.3.0") C linker for the host machine: /home/buildroot/instance-0/output-1/host/bin/mips-buildroot-linux-musl-gcc ld.bfd 2.41 C compiler for the build machine: /usr/bin/gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the build machine: /usr/bin/gcc ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: mips Host machine cpu: Target machine cpu family: mips Target machine cpu: Found pkg-config: YES (/home/buildroot/instance-0/output-1/host/bin/pkgconf) 1.6.3 Run-time dependency glib-2.0 found: YES 2.76.1 Run-time dependency gio-2.0 found: YES 2.76.1 Run-time dependency gio-unix-2.0 found: YES 2.76.1 Run-time dependency openssl found: YES 3.9.2 Dependency json-glib-1.0 skipped: feature json disabled Run-time dependency dbus-1 found: YES 1.14.10 Dependency fdisk skipped: feature gpt disabled Run-time dependency libcurl found: YES 8.9.0 Run-time dependency libnl-genl-3.0 found: YES 3.9.0 Run-time dependency threads found: YES Found CMake: /home/buildroot/instance-0/output-1/host/bin/cmake (3.30.0) Run-time dependency systemd found: NO (tried pkgconfig and cmake) Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wredundant-decls: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wstrict-aliasing: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Winline: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Wimplicit-function-declaration: YES Compiler for C supports arguments -Wreturn-type: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wswitch-default: YES Compiler for C supports arguments -Wno-error=unused-parameter: YES Compiler for C supports arguments -Wno-error=missing-field-initializers: YES Compiler for C supports arguments -Wno-error=deprecated-declarations: YES Has header "linux/mmc/ioctl.h" : YES Found pkg-config: YES (/home/buildroot/instance-0/output-1/host/bin/pkg-config) 1.6.3 Build-time dependency gio-2.0 found: YES 2.76.1 Program /home/buildroot/instance-0/output-1/host/bin/gdbus-codegen found: YES (/home/buildroot/instance-0/output-1/host/bin/gdbus-codegen) Configuring config.h using configuration Program sphinx-build found: NO Build targets in project: 5 NOTICE: Future-deprecated features used: * 1.1.0: {'"boolean option" keyword argument "value" of type str'} rauc 1.11.3 User defined options Cross files : /home/buildroot/instance-0/output-1/build/rauc-1.11.3//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/instance-0/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/instance-0/output-1/host/lib/pkgconfig buildtype : release default_library : static libdir : lib prefix : /usr strip : false b_pie : false b_staticpic : true gpt : disabled json : disabled network : false service : false streaming : false tests : false Found ninja-1.11.1.git.kitware.jobserver-1 at /home/buildroot/instance-0/output-1/host/bin/ninja >>> rauc 1.11.3 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/ninja -C /home/buildroot/instance-0/output-1/build/rauc-1.11.3//build ninja: Entering directory `/home/buildroot/instance-0/output-1/build/rauc-1.11.3//build' [1/32] Generating version.h with a custom command [2/32] Generating gdbus source rauc-installer-generated.c [3/32] Generating gdbus header rauc-installer-generated.h [4/32] Compiling C object librauc.a.p/src_checksum.c.o [5/32] Compiling C object librauc.a.p/src_emmc.c.o [6/32] Compiling C object librauc.a.p/src_dm.c.o [7/32] Compiling C object librauc.a.p/src_crypt.c.o [8/32] Compiling C object librauc.a.p/src_mbr.c.o [9/32] Compiling C object librauc.a.p/src_mark.c.o [10/32] Compiling C object librauc.a.p/src_hash_index.c.o [11/32] Compiling C object librauc.a.p/src_mount.c.o [12/32] Compiling C object librauc.a.p/src_event_log.c.o [13/32] Compiling C object librauc.a.p/src_stats.c.o [14/32] Compiling C object librauc.a.p/src_service.c.o [15/32] Compiling C object librauc.a.p/src_manifest.c.o [16/32] Compiling C object librauc.a.p/src_slot.c.o [17/32] Compiling C object librauc.a.p/src_verity_hash.c.o [18/32] Compiling C object librauc.a.p/src_update_utils.c.o [19/32] Compiling C object librauc.a.p/src_config_file.c.o [20/32] Compiling C object librauc.a.p/src_install.c.o [21/32] Compiling C object librauc.a.p/src_status_file.c.o [22/32] Compiling C object librauc.a.p/meson-generated_.._rauc-installer-generated.c.o [23/32] Compiling C object librauc.a.p/src_signature.c.o ../src/signature.c: In function 'signature_init': ../src/signature.c:97:13: warning: implicit declaration of function 'X509_PURPOSE_get_by_id'; did you mean 'X509_PURPOSE_get_id'? [-Wimplicit-function-declaration] 97 | if (X509_PURPOSE_get_by_id(id) >= 0) { | ^~~~~~~~~~~~~~~~~~~~~~ | X509_PURPOSE_get_id ../src/signature.c:97:13: warning: nested extern declaration of 'X509_PURPOSE_get_by_id' [-Wnested-externs] ../src/signature.c:107:15: warning: implicit declaration of function 'X509_PURPOSE_add'; did you mean 'X509_PURPOSE_ANY'? [-Wimplicit-function-declaration] 107 | ret = X509_PURPOSE_add(id, X509_TRUST_OBJECT_SIGN, 0, check_purpose_code_sign, "Code signing", "codesign-rauc", NULL); | ^~~~~~~~~~~~~~~~ | X509_PURPOSE_ANY ../src/signature.c:107:15: warning: nested extern declaration of 'X509_PURPOSE_add' [-Wnested-externs] [24/32] Compiling C object librauc.a.p/src_bootchooser.c.o [25/32] Compiling C object librauc.a.p/src_context.c.o [26/32] Compiling C object librauc.a.p/src_utils.c.o [27/32] Compiling C object librauc.a.p/src_bundle.c.o [28/32] Compiling C object rauc.p/meson-generated_.._rauc-installer-generated.c.o [29/32] Compiling C object rauc.p/src_main.c.o [30/32] Compiling C object librauc.a.p/src_update_handler.c.o [31/32] Linking static target librauc.a [32/32] Linking target rauc FAILED: rauc /home/buildroot/instance-0/output-1/host/bin/mips-buildroot-linux-musl-gcc -o rauc rauc.p/meson-generated_.._rauc-installer-generated.c.o rauc.p/src_main.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--gc-sections '-Wl,-Map,$@.map' -static -Wl,--start-group librauc.a -pthread /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libcurl.a /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libz.a /home/buildroot/instance-0/output-1/host/lib/gcc/mips-buildroot-linux-musl/13.3.0/../../../../mips-buildroot-linux-musl/lib/libatomic.a /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libnl-genl-3.a /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libnl-3.a -lpthread /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libdbus-1.a /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libglib-2.0.a -lm /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libpcre2-8.a /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libgio-2.0.a /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libgobject-2.0.a /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libffi.a /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libgmodule-2.0.a /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libssl.a -lrt /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a -Wl,--end-group /home/buildroot/instance-0/output-1/host/lib/gcc/mips-buildroot-linux-musl/13.3.0/../../../../mips-buildroot-linux-musl/bin/ld: librauc.a.p/src_signature.c.o: in function `signature_init': signature.c:(.text.signature_init+0xbc): undefined reference to `X509_PURPOSE_add' /home/buildroot/instance-0/output-1/host/lib/gcc/mips-buildroot-linux-musl/13.3.0/../../../../mips-buildroot-linux-musl/bin/ld: signature.c:(.text.signature_init+0xc0): undefined reference to `X509_PURPOSE_add' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/rauc-1.11.3/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/instance-0/buildroot'