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-i386_pentium-mmx_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-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 cache.c: In function 'CalculateCacheSizes': cache.c:171:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 171 | printf ("\tCache size should be greater than %uM and less than %luM\n", MinCacheSize/(1024*1024), max_size_t/(1024*1024)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 In file included from /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/include/missing.h:5, from /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:32, from hfs_endian.c:38: hfs_endian.c: In function 'hfs_swap_HFSBTInternalNode': hfs_endian.c:1062:92: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] 1062 | srcRec->dataExtents[j].startBlock = SWAP_BE16 (srcRec->dataExtents[j].startBlock); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/include/missing.h:83:41: note: in expansion of macro 'be16_to_cpu' 83 | #define OSSwapBigToHostInt16(x) be16_to_cpu(x) | ^~~~~~~~~~~ hfs_endian.h:41:73: note: in expansion of macro 'OSSwapBigToHostInt16' 41 | #define SWAP_BE16(__a) OSSwapBigToHostInt16 (__a) | ^~~~~~~~~~~~~~~~~~~~ hfs_endian.c:1062:59: note: in expansion of macro 'SWAP_BE16' 1062 | srcRec->dataExtents[j].startBlock = SWAP_BE16 (srcRec->dataExtents[j].startBlock); | ^~~~~~~~~ hfs_endian.c:1061:31: note: within this loop 1061 | for (j = 0; j < kHFSExtentDensity * 2; j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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)) { | ^~ i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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) | ^~~~~~~~~~~~~~~~~~~~~ i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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 i486-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-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' i486-openwrt-linux-musl-gcc -Os -pipe -march=pentium-mmx -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_gcc-12.2.0_musl/include -I/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_gcc-12.2.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-i386_pentium-mmx_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-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3' rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/ipkg-i386_pentium-mmx/hfsfsck/usr/sbin/fsck.hfsplus: executable Packaged contents of /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/diskdev_cmds-540.1.linux3/ipkg-i386_pentium-mmx/hfsfsck into /builder/shared-workdir/build/sdk/bin/packages/i386_pentium-mmx/packages/hfsfsck_540.1.linux3-2_i386_pentium-mmx.ipk install: cannot stat '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_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/i386_pentium-mmx/packages/mkhfs_540.1.linux3-2_i386_pentium-mmx.ipk] Error 1 time: package/feeds/packages/hfsprogs/compile#15.15#1.58#19.22