Applying ./patches/0007-Fix-path-for-HFS-wrapper-block.patch using plaintext: patching file newfs_hfs.tproj/makehfs.c Applying ./patches/0016-Fix-fsckhfs-wide-literal.patch using plaintext: patching file fsck_hfs.tproj/dfalib/SVerify1.c Applying ./patches/010-hfsplus-tools-learn-to-stdarg.patch using plaintext: patching file fsck_hfs.tproj/utilities.c Applying ./patches/020-hfsplus-tools-no-blocks.patch using plaintext: patching file fsck_hfs.tproj/dfalib/SControl.c patching file fsck_hfs.tproj/fsck_messages.c patching file fsck_hfs.tproj/fsck_messages.h patching file fsck_hfs.tproj/Makefile.lnx patching file Makefile Applying ./patches/030-sysctl.patch using plaintext: patching file fsck_hfs.tproj/dfalib/Scavenger.h patching file fsck_hfs.tproj/fsck_hfs.c patching file fsck_hfs.tproj/utilities.c patching file newfs_hfs.tproj/makehfs.c Applying ./patches/040-musl.patch using plaintext: patching file fsck_hfs.tproj/cache.h patching file fsck_hfs.tproj/dfalib/Scavenger.h patching file fsck_hfs.tproj/utilities.c patching file newfs_hfs.tproj/makehfs.c Applying ./patches/100-macOS.patch using plaintext: patching file fsck_hfs.tproj/dfalib/Makefile.lnx make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3' for d in newfs_hfs.tproj fsck_hfs.tproj; do make -C $d -f Makefile.lnx all; done make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o hfs_endian.o hfs_endian.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o makehfs.o makehfs.c makehfs.c:79:10: fatal error: openssl/sha.h: No such file or directory 79 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[5]: *** [: makehfs.o] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_hfs.o fsck_hfs.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o utilities.o utilities.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o cache.o cache.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_messages.o fsck_messages.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_debug.o fsck_debug.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_hfs_strings.o fsck_hfs_strings.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o fsck_strings.o fsck_strings.c make -C dfalib -f Makefile.lnx libdfa.a make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o hfs_endian.o hfs_endian.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BlockCache.o BlockCache.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTree.o BTree.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTreeAllocate.o BTreeAllocate.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTreeMiscOps.o BTreeMiscOps.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTreeNodeOps.o BTreeNodeOps.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTreeScanner.o BTreeScanner.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o BTreeTreeOps.o BTreeTreeOps.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o CatalogCheck.o CatalogCheck.c CatalogCheck.c: In function 'RecordTruncation': CatalogCheck.c:1696:32: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 1696 | sprintf(oldSizeStr, "%qd", oldSize); | ~~^ ~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld CatalogCheck.c:1697:32: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 1697 | sprintf(newSizeStr, "%qd", newSize); | ~~^ ~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o HardLinkCheck.o HardLinkCheck.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SBTree.o SBTree.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SControl.o SControl.c SControl.c: In function 'CheckHFS': SControl.c:329:81: warning: comparison between pointer and integer 329 | if (strncpy(dataArea.deviceNode, rdevnode, sizeof(dataArea.deviceNode)) != strlen(rdevnode)) { | ^~ aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SVerify1.o SVerify1.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SVerify2.o SVerify2.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SRepair.o SRepair.c SRepair.c: In function 'RepairReservedBTreeFields': SRepair.c:3433:54: warning: taking address of packed member of 'struct HFSCatalogThread' may result in an unaligned pointer value [-Waddress-of-packed-member] 3433 | reserved = (UInt32*) &(record.hfsThread.reserved); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c: In function 'SearchExtentInVH': SRepair.c:4728:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4728 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4729 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4730 | (*(HFSPlusExtentRecord *)fcb->fcbExtents16), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4731 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4728:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ SRepair.c: In function 'SearchExtentInCatalogBT': SRepair.c:4849:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4849 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4850 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4851 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.dataExtents), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4852 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4849:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ SRepair.c:4855:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4855 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4856 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4857 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.rsrcExtents), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4858 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4855:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ In function 'SearchExtentInVH', inlined from 'MoveExtent' at SRepair.c:4282:10: SRepair.c:4728:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4728 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4729 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4730 | (*(HFSPlusExtentRecord *)fcb->fcbExtents16), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4731 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4728:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c: In function 'MoveExtent': SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ In function 'SearchExtentInCatalogBT', inlined from 'MoveExtent' at SRepair.c:4286:10: SRepair.c:4849:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4849 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4850 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4851 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.dataExtents), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4852 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4849:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c: In function 'MoveExtent': SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ In function 'SearchExtentInCatalogBT', inlined from 'MoveExtent' at SRepair.c:4286:10: SRepair.c:4855:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4855 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4856 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4857 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.rsrcExtents), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4858 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4855:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c: In function 'MoveExtent': SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ In function 'SearchExtentInVH', inlined from 'MoveExtent' at SRepair.c:4282:10: SRepair.c:4728:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4728 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4729 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4730 | (*(HFSPlusExtentRecord *)fcb->fcbExtents16), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4731 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4728:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c: In function 'MoveExtent': SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ In function 'SearchExtentInCatalogBT', inlined from 'MoveExtent' at SRepair.c:4286:10: SRepair.c:4849:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4849 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4850 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4851 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.dataExtents), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4852 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4849:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c: In function 'MoveExtent': SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ In function 'SearchExtentInCatalogBT', inlined from 'MoveExtent' at SRepair.c:4286:10: SRepair.c:4855:31: warning: 'FindExtentInExtentRec' reading 64 bytes from a region of size 12 [-Wstringop-overread] 4855 | err = FindExtentInExtentRec(isHFSPlus, extentInfo->startBlock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4856 | extentInfo->blockCount, | ~~~~~~~~~~~~~~~~~~~~~~~ 4857 | (*(HFSPlusExtentRecord *)catRecord->hfsFile.rsrcExtents), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4858 | foundExtentIndex, noMoreExtents); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SRepair.c:4855:31: note: referencing argument 4 of type 'const HFSPlusExtentDescriptor[8]' SRepair.c: In function 'MoveExtent': SRepair.c:5016:14: note: in a call to function 'FindExtentInExtentRec' 5016 | static OSErr FindExtentInExtentRec (Boolean isHFSPlus, UInt32 startBlock, UInt32 blockCount, const HFSPlusExtentRecord extentData, UInt32 *foundExtentIndex, Boolean *noMoreExtents) | ^~~~~~~~~~~~~~~~~~~~~ aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o dirhardlink.o dirhardlink.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SRebuildBTree.o SRebuildBTree.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SUtils.o SUtils.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SKeyCompare.o SKeyCompare.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SDevice.o SDevice.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SExtents.o SExtents.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SAllocate.o SAllocate.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SCatalog.o SCatalog.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o SStubs.o SStubs.c aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o VolumeBitmapCheck.o VolumeBitmapCheck.c aarch64-openwrt-linux-musl-gcc-ar rc libdfa.a hfs_endian.o BlockCache.o BTree.o BTreeAllocate.o BTreeMiscOps.o BTreeNodeOps.o BTreeScanner.o BTreeTreeOps.o CatalogCheck.o HardLinkCheck.o SBTree.o SControl.o SVerify1.o SVerify2.o SRepair.o dirhardlink.o SRebuildBTree.o SUtils.o SKeyCompare.o SDevice.o SExtents.o SAllocate.o SCatalog.o SStubs.o VolumeBitmapCheck.o make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' aarch64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3=diskdev_cmds-540.1.linux3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D__P\(x\)=x -D__va_copy=va_copy -DBSD_SOURCE -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.2.0_musl/lib -znow -zrelro fsck_hfs.o utilities.o cache.o fsck_messages.o fsck_debug.o fsck_hfs_strings.o fsck_strings.o dfalib/libdfa.a -o fsck_hfs -lpthread make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3' rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/ipkg-aarch64_cortex-a72/hfsfsck/usr/sbin/fsck.hfsplus: executable Packaged contents of /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/ipkg-aarch64_cortex-a72/hfsfsck into /builder/shared-workdir/build/sdk/bin/packages/aarch64_cortex-a72/packages/hfsfsck_540.1.linux3-2_aarch64_cortex-a72.ipk install: cannot stat '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/newfs_hfs': No such file or directory make[3]: *** [Makefile:85: /builder/shared-workdir/build/sdk/bin/packages/aarch64_cortex-a72/packages/mkhfs_540.1.linux3-2_aarch64_cortex-a72.ipk] Error 1 time: package/feeds/packages/hfsprogs/compile#16.21#1.65#20.35