+ curl -f --connect-timeout 20 --retry 5 --location https://cdn.kernel.org/pub/linux/utils/raid/mdadm/mdadm-4.2.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 442k 100 442k 0 0 5607k 0 --:--:-- --:--:-- --:--:-- 5607k Applying ./patches/100-cross_compile.patch using plaintext: patching file Makefile Applying ./patches/200-reduce_size.patch using plaintext: patching file Incremental.c patching file util.c make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2' aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdadm.o -c mdadm.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o config.o -c config.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o policy.o -c policy.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdstat.o -c mdstat.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o ReadMe.o -c ReadMe.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o uuid.o -c uuid.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o util.o -c util.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o maps.o -c maps.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o lib.o -c lib.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Manage.o -c Manage.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Assemble.o -c Assemble.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Build.o -c Build.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Create.o -c Create.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Detail.o -c Detail.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Examine.o -c Examine.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Grow.o -c Grow.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Monitor.o -c Monitor.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o dlink.o -c dlink.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Kill.o -c Kill.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Query.o -c Query.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Incremental.o -c Incremental.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Dump.o -c Dump.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdopen.o -c mdopen.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super0.o -c super0.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super1.o -c super1.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-ddf.o -c super-ddf.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-intel.o -c super-intel.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o bitmap.o -c bitmap.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-mbr.o -c super-mbr.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-gpt.o -c super-gpt.c aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2=mdadm-4.2 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_STDINT_H -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DCONFFILE='"/var/etc/mdadm.conf"' -DMAP_DIR='"/var/run/mdadm"' -DMDMON_DIR='"/var/run/mdadm"' -DFAILED_SLOTS_DIR='"/var/run/mdadm/failed-slots"' -DNO_LIBUDEV -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o restripe.o -c restripe.c restripe.c: In function 'restore_stripes': restripe.c:758:43: error: 'off64_t' undeclared (first use in this function); did you mean 'off_t'? 758 | (off64_t)read_offset) { | ^~~~~~~ | off_t restripe.c:758:43: note: each undeclared identifier is reported only once for each function it appears in restripe.c:758:51: error: expected ')' before 'read_offset' 758 | (off64_t)read_offset) { | ^~~~~~~~~~~ | ) restripe.c:757:36: note: to match this '(' 757 | if (lseek64(source, read_offset, 0) != | ^ make[4]: *** [Makefile:193: restripe.o] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2' make[3]: *** [Makefile:76: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/mdadm-4.2/.built] Error 2 time: package/feeds/base/mdadm/compile#18.68#0.80#21.50