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-loongarch64_generic_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-loongarch64_generic_musl/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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: 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-loongarch64_generic_musl/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-loongarch64_generic_musl/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-loongarch64_generic_musl/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-loongarch64_generic_musl/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-loongarch64_generic_musl/usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 newfs_hfs.o newfs_hfs.c newfs_hfs.c: In function 'main': newfs_hfs.c:205:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 205 | printf("%s: journal size %lldk too small. Reset to %dk.\n", | ~~~^ | | | long long int | %ld 206 | progname, gJournalSize/1024, JOURNAL_DEFAULT_SIZE/1024); | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} newfs_hfs.c: In function 'hfsplus_params': newfs_hfs.c:906:69: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 906 | printf("%s: journal size %lldk too small. Reset to %dk.\n", | ~~~^ | | | long long int | %ld 907 | progname, gJournalSize/1024, JOURNAL_DEFAULT_SIZE/1024); | ~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} newfs_hfs.c:1057:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 1057 | printf("%llu sectors (%u bytes per sector)\n", dip->physTotalSectors, dip->physSectorSize); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/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-loongarch64_generic_musl/diskdev_cmds-540.1.linux3/newfs_hfs.tproj' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -c -o CatalogCheck.o CatalogCheck.c CatalogCheck.c: In function 'RecordTruncation': CatalogCheck.c:1696:32: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 1696 | sprintf(oldSizeStr, "%qd", oldSize); | ~~^ ~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld CatalogCheck.c:1697:32: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 1697 | sprintf(newSizeStr, "%qd", newSize); | ~~^ ~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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)) { | ^~ loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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) | ^~~~~~~~~~~~~~~~~~~~~ loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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 loongarch64-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-loongarch64_generic_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib' loongarch64-openwrt-linux-musl-gcc -O2 -pipe -march=loongarch64 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_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-loongarch64_generic_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-loongarch64_generic_gcc-13.3.0_musl/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-loongarch64_generic_musl/diskdev_cmds-540.1.linux3/fsck_hfs.tproj' make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/diskdev_cmds-540.1.linux3' rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/diskdev_cmds-540.1.linux3/ipkg-loongarch64_generic/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/loongarch64_generic/packages/hfsfsck-540.1.linux3-r2.apk: package version is invalid make[3]: *** [Makefile:111: /builder/shared-workdir/build/sdk/bin/packages/loongarch64_generic/packages/hfsfsck-540.1.linux3-r2.apk] Error 99 time: package/feeds/packages/hfsprogs/compile#13.22#1.49#16.25