Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hfsprogs/patches/0007-Fix-path-for-HFS-wrapper-block.patch using plaintext: 
patching file newfs_hfs.tproj/makehfs.c

Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hfsprogs/patches/0016-Fix-fsckhfs-wide-literal.patch using plaintext: 
patching file fsck_hfs.tproj/dfalib/SVerify1.c

Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hfsprogs/patches/010-hfsplus-tools-learn-to-stdarg.patch using plaintext: 
patching file fsck_hfs.tproj/utilities.c

Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/hfsprogs/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 /builder/shared-workdir/build/sdk/feeds/packages/utils/hfsprogs/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 /builder/shared-workdir/build/sdk/feeds/packages/utils/hfsprogs/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 /builder/shared-workdir/build/sdk/feeds/packages/utils/hfsprogs/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-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/diskdev_cmds-540.1.linux3/newfs_hfs.tproj'
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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: In function 'GenerateVolumeUUID':
makehfs.c:1596:17: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1596 |                 SHA1_Init(&context);
      |                 ^~~~~~~~~
In file included from makehfs.c:79:
/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
makehfs.c:1602:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1602 |                 SHA1_Update(&context, &uptime, sizeof(uptime));
      |                 ^~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
makehfs.c:1647:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1647 |                 SHA1_Update(&context, &sysloadavg, datalen);
      |                 ^~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
makehfs.c:1660:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1660 |                 SHA1_Update(&context, randomInputBuffer, 26);
      |                 ^~~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
makehfs.c:1663:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1663 |                 SHA1_Final(digest, &context);
      |                 ^~~~~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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 newfs_hfs.o newfs_hfs.c
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/lib -fuse-ld=bfd -znow -zrelro -o newfs_hfs hfs_endian.o makehfs.o newfs_hfs.o -lcrypto
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/diskdev_cmds-540.1.linux3/newfs_hfs.tproj'
make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/diskdev_cmds-540.1.linux3/fsck_hfs.tproj'
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_musl_eabi/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib'
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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)) {
      |                                                                                 ^~
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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)
      |              ^~~~~~~~~~~~~~~~~~~~~
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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
arm-openwrt-linux-muslgnueabi-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-arm_cortex-a7+vfpv4_musl_eabi/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib'
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/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-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a7+vfpv4_gcc-13.3.0_musl_eabi/lib -fuse-ld=bfd -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-arm_cortex-a7+vfpv4_musl_eabi/diskdev_cmds-540.1.linux3/fsck_hfs.tproj'
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/diskdev_cmds-540.1.linux3'
rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/diskdev_cmds-540.1.linux3/ipkg-arm_cortex-a7_vfpv4/hfsfsck/usr/sbin/fsck.hfsplus: executable
ERROR: info field 'version' has invalid value: package version is invalid
ERROR: failed to create package: /builder/shared-workdir/build/sdk/bin/packages/arm_cortex-a7_vfpv4/packages/hfsfsck-540.1.linux3-r2.apk: package version is invalid
make[3]: *** [Makefile:111: /builder/shared-workdir/build/sdk/bin/packages/arm_cortex-a7_vfpv4/packages/hfsfsck-540.1.linux3-r2.apk] Error 99
time: package/feeds/packages/hfsprogs/compile#8.88#1.71#11.63