Applying /builder/shared-workdir/build/sdk/feeds/base/package/system/apk/patches/0001-openwrt-move-layer-db-to-temp-folder.patch using plaintext: patching file src/database.c The Meson build system Version: 1.3.2 Source dir: /builder/shared-workdir/build/sdk/build_dir/target-armeb_xscale_musl/apk-openssl/apk-3.0.0_pre20240523 Build dir: /builder/shared-workdir/build/sdk/build_dir/target-armeb_xscale_musl/apk-openssl/apk-3.0.0_pre20240523/openwrt-build Build type: cross build Project name: apk-tools Project version: 3.0.0_pre20240523 C compiler for the host machine: armeb-openwrt-linux-muslgnueabi-gcc (gcc 13.3.0 "armeb-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 13.3.0 r26800-843b51b26d) 13.3.0") C linker for the host machine: armeb-openwrt-linux-muslgnueabi-gcc ld.bfd 2.42 C compiler for the build machine: /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the build machine: /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: generic Target machine cpu family: arm Target machine cpu: generic Program lua5.1 found: YES (/builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/lua5.1) Found pkg-config: YES (/builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config) 2.2.0 Found CMake: /builder/shared-workdir/build/sdk/staging_dir/host/bin/cmake (3.29.5) Run-time dependency lua5.1 found: NO (tried pkgconfig and cmake) Dependency scdoc skipped: feature docs disabled Run-time dependency zlib found: YES 1.3.1 Run-time dependency zlib found: YES 1.3.1 Run-time dependency libzstd found: YES 1.5.6 WARNING: Static library 'zstd' not found for dependency 'libzstd', may not be statically linked Run-time dependency libzstd found: YES 1.5.6 Run-time dependency openssl found: YES 3.0.14 Run-time dependency openssl found: YES 3.0.14 Header "sys/random.h" has symbol "getrandom" : YES Header "string.h" has symbol "memrchr" : YES Header "sys/stat.h" has symbol "mknodat" : YES Header "unistd.h" has symbol "pipe2" : YES Header "stdlib.h" has symbol "qsort_r" : YES Header "stdlib.h" has symbol "reallocarray" : YES Header "string.h" has symbol "strchrnul" : YES Header "string.h" has symbol "strlcpy" : YES Header "sys/socket.h" has symbol "SOCK_CLOEXEC" : YES Checking if "Test qsort_r non-POSIX prototype" compiles: NO Program test-basic.sh found: YES (/builder/shared-workdir/build/sdk/build_dir/target-armeb_xscale_musl/apk-openssl/apk-3.0.0_pre20240523/tests/test-basic.sh) Build targets in project: 4 apk-tools 3.0.0_pre20240523 User defined options Cross files : /builder/shared-workdir/build/sdk/build_dir/target-armeb_xscale_musl/apk-openssl/apk-3.0.0_pre20240523/openwrt-cross.txt Native files : /builder/shared-workdir/build/sdk/build_dir/target-armeb_xscale_musl/apk-openssl/apk-3.0.0_pre20240523/openwrt-native.txt buildtype : plain default_library: both compressed-help: false crypto_backend : openssl docs : disabled lua_version : 5.1 url_backend : wget zstd : false Found ninja-1.11.1 at /builder/shared-workdir/build/sdk/staging_dir/host/bin/ninja ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-armeb_xscale_musl/apk-openssl/apk-3.0.0_pre20240523/openwrt-build' [1/95] Generating src/help.h with a custom command (wrapped by meson to capture output) [2/95] Compiling C object src/libapk.so.2.99.0.p/adb.c.o FAILED: src/libapk.so.2.99.0.p/adb.c.o armeb-openwrt-linux-muslgnueabi-gcc -Isrc/libapk.so.2.99.0.p -Isrc -I../src -Iportability -I../portability -I/builder/shared-workdir/build/sdk/staging_dir/target-armeb_xscale_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-armeb_xscale_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-armeb_xscale_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-armeb_xscale_gcc-13.3.0_musl/include/fortify -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu11 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-armeb_xscale_musl/apk-openssl/apk-3.0.0_pre20240523=apk-3.0.0_pre20240523 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -D_ATFILE_SOURCE '-DAPK_VERSION="3.0.0_pre20240523"' -DCRYPTO_USE_OPENSSL -MD -MQ src/libapk.so.2.99.0.p/adb.c.o -MF src/libapk.so.2.99.0.p/adb.c.o.d -o src/libapk.so.2.99.0.p/adb.c.o -c ../src/adb.c In file included from ../src/apk_io.h:16, from ../src/adb.h:7, from ../src/adb.c:9: ../src/apk_defines.h:150:2: error: #error APK_DEFAULT_BASE_ARCH not detected for this architecture 150 | #error APK_DEFAULT_BASE_ARCH not detected for this architecture | ^~~~~ ninja: build stopped: subcommand failed. make[3]: *** [Makefile:87: /builder/shared-workdir/build/sdk/build_dir/target-armeb_xscale_musl/apk-openssl/apk-3.0.0_pre20240523/.built] Error 1 time: package/feeds/base/apk/openssl/compile#4.45#1.31#6.50