Applying ./patches/020-lxc-checkconfig.patch using plaintext: patching file src/lxc/cmd/lxc-checkconfig.in Applying ./patches/021-remove-legacy-cgroup-support.patch using plaintext: patching file config/templates/common.conf.in Applying ./patches/025-remove-unsupported-option.patch using plaintext: patching file templates/lxc-download.in The Meson build system Version: 1.1.1 Source dir: /builder/shared-workdir/build/sdk/build_dir/target-mips64_octeonplus_64_musl/lxc-5.0.2 Build dir: /builder/shared-workdir/build/sdk/build_dir/target-mips64_octeonplus_64_musl/lxc-5.0.2/openwrt-build Build type: cross build Project name: lxc Project version: 5.0.2 C compiler for the host machine: mips64-openwrt-linux-musl-gcc (gcc 12.3.0 "mips64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23346-8fcfb21b16) 12.3.0") C linker for the host machine: mips64-openwrt-linux-musl-gcc ld.bfd 2.40.0 C compiler for the build machine: gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the build machine: gcc ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: mips64 Host machine cpu: generic Target machine cpu family: mips64 Target machine cpu: generic Compiler for C supports link arguments -Wl,--no-as-needed: YES Compiler for C supports link arguments -Wl,--gc-sections: YES Compiler for C supports link arguments -Wl,-z,relro: YES Compiler for C supports link arguments -Wl,-z,now: YES Compiler for C supports link arguments -fstack-protector: YES Compiler for C supports link arguments -fstack-protector-strong: YES Compiler for C supports link arguments -Wl,-fuse-ld=gold: NO Compiler for C supports link arguments -Wl,--warn-common: YES Compiler for C supports arguments -Wno-format-signedness: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wvla: YES Compiler for C supports arguments -Wimplicit-fallthrough=5: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -fno-strict-aliasing: YES Compiler for C supports arguments -fstack-clash-protection: YES Compiler for C supports arguments --param=ssp-buffer-size=4: YES Compiler for C supports arguments --mcet -fcf-protection: NO Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Wno-unused-parameter: YES (cached) Compiler for C supports arguments -Wfloat-equal: YES Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wendif-labels: YES Compiler for C supports arguments -Werror=overflow: YES Compiler for C supports arguments -fdiagnostics-show-option: YES Compiler for C supports arguments -Werror=shift-count-overflow: YES Compiler for C supports arguments -Werror=shift-overflow=2: YES Compiler for C supports arguments -Wdate-time: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -fasynchronous-unwind-tables: YES Compiler for C supports arguments -fexceptions: YES Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Wrestrict: YES Compiler for C supports arguments -Wreturn-local-addr: YES Compiler for C supports arguments -fsanitize=cfi: NO Compiler for C supports arguments -Wstringop-overflow: YES ../../../../build_dir/target-mips64_octeonplus_64_musl/lxc-5.0.2/meson.build:256: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build. C++ compiler for the build machine: g++ (gcc 10.2.1 "g++ (Debian 10.2.1-6) 10.2.1 20210110") C++ linker for the build machine: g++ ld.bfd 2.35.2 C++ compiler for the host machine: mips64-openwrt-linux-musl-g++ (gcc 12.3.0 "mips64-openwrt-linux-musl-g++ (OpenWrt GCC 12.3.0 r23346-8fcfb21b16) 12.3.0") C++ linker for the host machine: mips64-openwrt-linux-musl-g++ ld.bfd 2.40.0 Compiler for C++ supports arguments -Wno-format-signedness: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-unused-parameter: YES Found pkg-config: /builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config (1.9.5) Found CMake: /builder/shared-workdir/build/sdk/staging_dir/host/bin/cmake (3.26.4) Run-time dependency libsystemd found: NO (tried pkgconfig and cmake) Has header "systemd/sd-bus.h" : NO Has header "systemd/sd-event.h" : NO Checking for function "sd_bus_call_method_async" with dependency libsystemd: NO Program sh found: YES (/bin/sh) Program date found: YES (/bin/date) Program git found: YES (/builder/shared-workdir/build/sdk/staging_dir/host/bin/git) Program docbook2X2man docbook2x-man db2x_docbook2man docbook2man docbook-to-man found: NO Program docbook2man found: NO Run-time dependency threads found: YES Run-time dependency libseccomp found: YES 2.5.4 Checking for size of "scmp_filter_ctx" with dependency libseccomp: 8 Checking for size of "struct seccomp_notif_sizes" with dependency libseccomp: 6 Checking for size of "struct clone_args" with dependency libseccomp: -1 WARNING: CMake: Dependency dl for OpenSSL was not found WARNING: CMake: Dependency dl for OpenSSL was not found WARNING: CMake: Dependency dl for OpenSSL was not found Run-time dependency openssl (modules: OpenSSL::Crypto, OpenSSL::SSL) found: YES 2.0.0 Run-time dependency libcap found: YES 2.69 Checking for function "cap_get_file" with dependency libcap: YES Run-time dependency libcap found: YES 2.69 Library util found: YES Has header "security/pam_modules.h" : YES Library pam found: YES Checking for function "fmemopen" : YES Checking for function "openpty" with dependency -lutil: YES Checking for function "pthread_setcancelstate" : YES Checking for function "rand_r" : YES Checking for function "strchrnul" : YES Checking for function "strerror_r" : YES Checking if "strerror_r() returns char *" compiles: NO Compiler for C supports function attribute fallthrough: YES Compiler for C supports function attribute nonnull: YES Compiler for C supports function attribute returns_nonnull: YES Checking for size of "__aligned_u64" with dependencies threads, libseccomp, OpenSSL, libcap: 8 Checking for size of "struct clone_args" with dependencies threads, libseccomp, OpenSSL, libcap: -1 Checking for size of "struct open_how" with dependencies threads, libseccomp, OpenSSL, libcap: -1 Checking for size of "struct rtnl_link_stats64" with dependencies threads, libseccomp, OpenSSL, libcap: 192 Checking for size of "struct mount_attr" : -1 Fetching value of define "FSCONFIG_SET_FLAG" : Fetching value of define "FS_CONFIG_SET_STRING" : Fetching value of define "FS_CONFIG_SET_BINARY" : Fetching value of define "FS_CONFIG_SET_PATH_EMPTY" : Fetching value of define "FS_CONFIG_SET_PATH_FD" : Fetching value of define "FS_CONFIG_SET_CMD_CREATE" : Fetching value of define "FS_CONFIG_SET_CMD_RECONFIGURE" : Checking for function "bpf" : NO Checking for function "close_range" : NO Checking for function "execveat" : NO Checking for function "endmntent" : YES Checking for function "faccessat" : YES Checking for function "fexecve" : YES Checking for function "fgetln" : YES Checking for function "fsconfig" : NO Checking for function "fsmount" : NO Checking for function "fsopen" : NO Checking for function "fspick" : NO Checking for function "getgrgid_r" : YES Checking for function "getline" : YES Checking for function "getsubopt" : YES Checking for function "gettid" : YES Checking for function "hasmntopt" : YES Checking for function "kcmp" : NO Checking for function "keyctl" : NO Checking for function "memfd_create" : YES Checking for function "mount_setattr" : NO Checking for function "move_mount" : NO Checking for function "openat2" : NO Checking for function "open_tree" : NO Checking for function "personality" : YES Checking for function "pidfd_open" : NO Checking for function "pidfd_send_signal" : NO Checking for function "pivot_root" : NO Checking for function "prlimit" : YES Checking for function "prlimit64" : YES Checking for function "renameat2" : NO Checking for function "sethostname" : YES Checking for function "setmntent" : YES Checking for function "setns" : YES Checking for function "sigdescr_np" : NO Checking for function "signalfd" : YES Checking for function "statvfs" : YES Checking for function "statx" : NO Checking for function "strchrnul" : YES (cached) Checking for function "strlcat" : YES Checking for function "strlcpy" : YES Checking for function "unshare" : YES Has header "systemd/sd-bus.h" : NO (cached) Has header "systemd/sd-event.h" : NO (cached) Has header "sys/resource.h" : YES Has header "sys/memfd.h" : NO Has header "sys/personality.h" : YES Has header "sys/pidfd.h" : NO Has header "sys/signalfd.h" : YES Has header "sys/timerfd.h" : YES Has header "pty.h" : YES Has header "utmpx.h" : YES Configuring config.h using configuration Configuring attach_options.h using configuration Configuring lxccontainer.h using configuration Configuring version.h using configuration Configuring lxc.functions using configuration Configuring _lxc using configuration Configuring default.conf using configuration Configuring lxc-containers using configuration Configuring lxc-net using configuration Configuring lxc-apparmor-load using configuration Configuring lxc-containers using configuration Configuring lxc-net using configuration Configuring lxc using configuration Configuring common.seccomp using configuration Configuring common.conf using configuration Configuring nesting.conf using configuration Configuring oci.common.conf using configuration Configuring userns.conf using configuration Configuring README using configuration Configuring lxc-patch.py using configuration Configuring lxc-complex.conf using configuration Configuring lxc-empty-netns.conf using configuration Configuring lxc-macvlan.conf using configuration Configuring lxc-no-netns.conf using configuration Configuring lxc-phys.conf using configuration Configuring lxc-veth.conf using configuration Configuring lxc-vlan.conf using configuration Configuring seccomp-v1.conf using configuration Configuring seccomp-v2.conf using configuration Configuring seccomp-v2-denylist.conf using configuration Configuring README using configuration Configuring clonehostname using configuration Configuring dhclient-script using configuration Configuring dhclient using configuration Configuring mountecryptfsroot using configuration Configuring nvidia using configuration Configuring squid-deb-proxy-client using configuration Configuring ubuntu-cloud-prep using configuration Configuring lxc-checkconfig using configuration Configuring lxc-update-config using configuration Configuring lxc-busybox using configuration Configuring lxc-download using configuration Configuring lxc-local using configuration Configuring lxc-oci using configuration Configuring lxc.spec using configuration Message: lxc 5.0.2 Meson version: 1.1.1 prefix directory: /usr bin directory: /usr/bin data directory: /usr/share doc directory: /usr/share/doc/lxc include directory: /usr/include lib directory: /usr/lib libexec directory: /usr/libexec local state directory: /var sbin directory: /usr/sbin sysconf directory: /etc lxc cgroup pattern: lxc init directory: /usr/libexec runtime path: /var/run lxc default config: /etc/lxc/default.conf lxc global config: /etc/lxc/lxc.conf lxc hook directory: /usr/share/lxc/hooks lxc hook bin directory: /usr/libexec/lxc/hooks lxc rootfs mount directory: /usr/lib/lxc/rootfs log path: /var/log/lxc lxc path: /var/lib/lxc lxc template config: /usr/share/lxc/config lxc template directory: /usr/share/lxc/templates lxc user network config: /etc/lxc/lxc-usernet lxc user network database: /var/run/lxc/nics time epoch: 1686461798 (2023-06-11T05:36:38+00:00) supported dependencies: SECCOMP, libcap, static libcap, pam, openssl unsupported dependencies: AppArmor, SELinux, liburing, libsystemd supported headers: sys/resource.h, sys/personality.h, sys/signalfd.h, sys/timerfd.h, pty.h, utmpx.h unsupported headers: systemd/sd-bus.h, systemd/sd-event.h, sys/memfd.h, sys/pidfd.h supported calls: strchrnul, strerror_r unsupported calls: bpf, close_range, endmntent, execveat, faccessat, fgetln, fsconfig, fsmount, fsopen, fspick, getgrgid_r, getline, getsubopt, gettid, hasmntopt, kcmp, keyctl, memfd_create, mount_setattr, move_mount, openat2, open_tree, personality, pidfd_open, pidfd_send_signal, pivot_root, prlimit, prlimit64, renameat2, sethostname, setmntent, setns, sigdescr_np, signalfd, statx, statvfs, strlcat, strlcpy, unshare supported types: scmp_filter_ctx, struct seccomp_notif_sizes, __aligned_u64, struct rtnl_link_stats64 unsupported types: struct clone_args, struct open_how, struct mount_attr (sys/mount.h), FSCONFIG_SET_FLAG (sys/mount.h), FS_CONFIG_SET_STRING (sys/mount.h), FS_CONFIG_SET_BINARY (sys/mount.h), FS_CONFIG_SET_PATH_EMPTY (sys/mount.h), FS_CONFIG_SET_PATH_FD (sys/mount.h), FS_CONFIG_SET_CMD_CREATE (sys/mount.h), FS_CONFIG_SET_CMD_RECONFIGURE (sys/mount.h) Build targets in project: 30 NOTICE: Future-deprecated features used: * 1.1.0: {'"boolean option" keyword argument "value" of type str'} lxc 5.0.2 User defined options Cross files : /builder/shared-workdir/build/sdk/build_dir/target-mips64_octeonplus_64_musl/lxc-5.0.2/openwrt-cross.txt Native files: /builder/shared-workdir/build/sdk/build_dir/target-mips64_octeonplus_64_musl/lxc-5.0.2/openwrt-native.txt buildtype : plain werror : false b_lto : false b_pie : true apparmor : false examples : false init-script : sysvinit man : false runtime-path: /var/run seccomp : true selinux : false Found ninja-1.11.1 at /builder/shared-workdir/build/sdk/staging_dir/host/bin/ninja WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-mips64_octeonplus_64_musl/lxc-5.0.2/openwrt-build' [1/1501] Compiling C object src/lxc/liblxc.a.p/cgroups_cgfsng.c.o [2/1501] Compiling C object src/lxc/liblxc.a.p/cgroups_cgroup.c.o [3/1501] Compiling C object src/lxc/liblxc.a.p/cgroups_cgroup2_devices.c.o [4/1501] Compiling C object src/lxc/liblxc.a.p/cgroups_cgroup_utils.c.o [5/1501] Compiling C object src/lxc/liblxc.a.p/lsm_lsm.c.o [6/1501] Compiling C object src/lxc/liblxc.a.p/lsm_nop.c.o [7/1501] Compiling C object src/lxc/liblxc.a.p/storage_btrfs.c.o [8/1501] Compiling C object src/lxc/liblxc.a.p/storage_dir.c.o [9/1501] Compiling C object src/lxc/liblxc.a.p/storage_loop.c.o [10/1501] Compiling C object src/lxc/liblxc.a.p/storage_lvm.c.o [11/1501] Compiling C object src/lxc/liblxc.a.p/storage_nbd.c.o [12/1501] Compiling C object src/lxc/liblxc.a.p/storage_overlay.c.o [13/1501] Compiling C object src/lxc/liblxc.a.p/storage_rbd.c.o [14/1501] Compiling C object src/lxc/liblxc.a.p/storage_rsync.c.o [15/1501] Compiling C object src/lxc/liblxc.a.p/storage_storage.c.o [16/1501] Compiling C object src/lxc/liblxc.a.p/storage_storage_utils.c.o [17/1501] Compiling C object src/lxc/liblxc.a.p/storage_zfs.c.o [18/1501] Compiling C object src/lxc/liblxc.a.p/af_unix.c.o [19/1501] Compiling C object src/lxc/liblxc.a.p/attach.c.o [20/1501] Compiling C object src/lxc/liblxc.a.p/caps.c.o [21/1501] Compiling C object src/lxc/liblxc.a.p/commands.c.o [22/1501] Compiling C object src/lxc/liblxc.a.p/commands_utils.c.o [23/1501] Compiling C object src/lxc/liblxc.a.p/conf.c.o [24/1501] Compiling C object src/lxc/liblxc.a.p/confile.c.o [25/1501] Compiling C object src/lxc/liblxc.a.p/confile_utils.c.o [26/1501] Compiling C object src/lxc/liblxc.a.p/criu.c.o [27/1501] Compiling C object src/lxc/liblxc.a.p/error.c.o [28/1501] Compiling C object src/lxc/liblxc.a.p/execute.c.o [29/1501] Compiling C object src/lxc/liblxc.a.p/file_utils.c.o [30/1501] Compiling C object src/lxc/liblxc.a.p/freezer.c.o [31/1501] Compiling C object src/lxc/liblxc.a.p/initutils.c.o [32/1501] Compiling C object src/lxc/liblxc.a.p/log.c.o [33/1501] Compiling C object src/lxc/liblxc.a.p/lxccontainer.c.o ../src/lxc/lxccontainer.c: In function 'list_defined_containers': ../src/lxc/lxccontainer.c:5482:33: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 5482 | lxc_container_put(c); | ^~~~~~~~~~~~~~~~~~~~ ../src/lxc/lxccontainer.c:5432:31: note: 'c' was declared here 5432 | struct lxc_container *c; | ^ [34/1501] Compiling C object src/lxc/liblxc.a.p/lxclock.c.o [35/1501] Compiling C object src/lxc/liblxc.a.p/mainloop.c.o [36/1501] Compiling C object src/lxc/liblxc.a.p/monitor.c.o [37/1501] Compiling C object src/lxc/liblxc.a.p/mount_utils.c.o [38/1501] Compiling C object src/lxc/liblxc.a.p/namespace.c.o [39/1501] Compiling C object src/lxc/liblxc.a.p/network.c.o [40/1501] Compiling C object src/lxc/liblxc.a.p/nl.c.o [41/1501] Compiling C object src/lxc/liblxc.a.p/parse.c.o [42/1501] Compiling C object src/lxc/liblxc.a.p/process_utils.c.o [43/1501] Compiling C object src/lxc/liblxc.a.p/rexec.c.o [44/1501] Compiling C object src/lxc/liblxc.a.p/ringbuf.c.o [45/1501] Compiling C object src/lxc/liblxc.a.p/rtnl.c.o [46/1501] Compiling C object src/lxc/liblxc.a.p/start.c.o [47/1501] Compiling C object src/lxc/liblxc.a.p/state.c.o [48/1501] Compiling C object src/lxc/liblxc.a.p/string_utils.c.o [49/1501] Compiling C object src/lxc/liblxc.a.p/sync.c.o [50/1501] Compiling C object src/lxc/liblxc.a.p/terminal.c.o [51/1501] Compiling C object src/lxc/liblxc.a.p/utils.c.o [52/1501] Compiling C object src/lxc/liblxc.a.p/uuid.c.o [53/1501] Compiling C object src/lxc/liblxc.a.p/seccomp.c.o [54/1501] Compiling C object src/lxc/liblxc.a.p/.._include_netns_ifaddrs.c.o [55/1501] Linking static target src/lxc/liblxc.a [56/1501] Linking target liblxc.so.1.7.0 FAILED: liblxc.so.1.7.0 mips64-openwrt-linux-musl-gcc -o liblxc.so.1.7.0 -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_octeonplus_64_gcc-12.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_octeonplus_64_gcc-12.3.0_musl/lib -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,liblxc.so.1 -Wl,--whole-archive src/lxc/liblxc.a -Wl,--no-whole-archive -Wl,--no-as-needed -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -fstack-protector -fstack-protector-strong -Wl,--warn-common -znow -zrelro -lgcc_eh -Wl,-rpath,/builder/shared-workdir/build/sdk/staging_dir/target-mips64_octeonplus_64_musl/usr/lib -Wl,-rpath-link,/builder/shared-workdir/build/sdk/staging_dir/target-mips64_octeonplus_64_musl/usr/lib -DPIC -pthread /builder/shared-workdir/build/sdk/staging_dir/target-mips64_octeonplus_64_musl/usr/lib/libseccomp.so /builder/shared-workdir/build/sdk/staging_dir/host/lib/libcrypto.a /builder/shared-workdir/build/sdk/staging_dir/host/lib/libssl.a /builder/shared-workdir/build/sdk/staging_dir/target-mips64_octeonplus_64_musl/usr/lib/libcap.so -lutil -Wl,--end-group /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_octeonplus_64_gcc-12.3.0_musl/bin/../lib/gcc/mips64-openwrt-linux-musl/12.3.0/../../../../mips64-openwrt-linux-musl/bin/ld: /builder/shared-workdir/build/sdk/staging_dir/host/lib/libcrypto.a(libcrypto_la-digest.o): Relocations in generic ELF (EM: 62) /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_octeonplus_64_gcc-12.3.0_musl/bin/../lib/gcc/mips64-openwrt-linux-musl/12.3.0/../../../../mips64-openwrt-linux-musl/bin/ld: /builder/shared-workdir/build/sdk/staging_dir/host/lib/libcrypto.a(libcrypto_la-digest.o): Relocations in generic ELF (EM: 62) /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_octeonplus_64_gcc-12.3.0_musl/bin/../lib/gcc/mips64-openwrt-linux-musl/12.3.0/../../../../mips64-openwrt-linux-musl/bin/ld: /builder/shared-workdir/build/sdk/staging_dir/host/lib/libcrypto.a: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. make[3]: *** [Makefile:267: /builder/shared-workdir/build/sdk/build_dir/target-mips64_octeonplus_64_musl/lxc-5.0.2/.built] Error 1 time: package/feeds/packages/lxc/compile#45.24#8.61#67.07