compile.34
build number: 34
re-implement command
docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/packages/hfsprogs/compile -j$(nproc) || make package/feeds/packages/hfsprogs/compile V=s
Compile.txt
Applying ./patches/0001-Create-short-Makefiles-for-Debian.patch using plaintext:
patching file Makefile.lnx
patching file fsck_hfs.tproj/Makefile.lnx
patching file fsck_hfs.tproj/dfalib/Makefile.lnx
patching file newfs_hfs.tproj/Makefile.lnx
Applying ./patches/0002-Add-exclude-Darwin-specific-code.patch using plaintext:
patching file fsck_hfs.tproj/cache.c
patching file fsck_hfs.tproj/dfalib/BTree.c
patching file fsck_hfs.tproj/dfalib/BlockCache.c
patching file fsck_hfs.tproj/dfalib/SBTree.c
patching file fsck_hfs.tproj/dfalib/SDevice.c
patching file fsck_hfs.tproj/dfalib/SKeyCompare.c
patching file fsck_hfs.tproj/dfalib/SRepair.c
patching file fsck_hfs.tproj/dfalib/SRuntime.h
patching file fsck_hfs.tproj/dfalib/SUtils.c
patching file fsck_hfs.tproj/dfalib/SVerify2.c
patching file fsck_hfs.tproj/dfalib/Scavenger.h
patching file fsck_hfs.tproj/dfalib/hfs_endian.c
patching file fsck_hfs.tproj/dfalib/hfs_endian.h
patching file fsck_hfs.tproj/fsck_hfs.c
patching file fsck_hfs.tproj/utilities.c
patching file include/missing.h
patching file newfs_hfs.tproj/hfs_endian.c
patching file newfs_hfs.tproj/hfs_endian.h
patching file newfs_hfs.tproj/makehfs.c
patching file newfs_hfs.tproj/newfs_hfs.c
patching file newfs_hfs.tproj/newfs_hfs.h
Applying ./patches/0003-Add-helper-include-files-absent-from-the-upstream-pa.patch using plaintext:
patching file include/bitstring.h
patching file include/hfs/hfs_format.h
patching file include/hfs/hfs_mount.h
patching file include/sys/appleapiopts.h
Applying ./patches/0004-Fix-compilation-on-64-bit-arches.patch using plaintext:
patching file fsck_hfs.tproj/dfalib/BTreePrivate.h
patching file fsck_hfs.tproj/dfalib/SControl.c
patching file fsck_hfs.tproj/dfalib/SVerify1.c
patching file fsck_hfs.tproj/dfalib/hfs_endian.c
Applying ./patches/0005-Remove-Apple-specific-p-from-strings.patch using plaintext:
patching file fsck_hfs.tproj/dfalib/BTreeTreeOps.c
patching file fsck_hfs.tproj/dfalib/SBTree.c
Applying ./patches/0006-Adjust-types-for-printing.patch using plaintext:
patching file fsck_hfs.tproj/dfalib/SControl.c
patching file fsck_hfs.tproj/dfalib/hfs_endian.c
Applying ./patches/0007-Fix-path-for-HFS-wrapper-block.patch using plaintext:
patching file newfs_hfs.tproj/makehfs.c
Applying ./patches/0008-Provide-command-line-option-a.patch using plaintext:
patching file fsck_hfs.tproj/fsck_hfs.c
Applying ./patches/0009-Rename-dprintf-to-dbg_printf.patch using plaintext:
patching file fsck_hfs.tproj/dfalib/SRepair.c
patching file fsck_hfs.tproj/dfalib/SVerify1.c
patching file fsck_hfs.tproj/fsck_debug.c
patching file fsck_hfs.tproj/fsck_debug.h
Applying ./patches/0010-Rename-custom-macro-nil-with-NULL.patch using plaintext:
patching file fsck_hfs.tproj/dfalib/BTree.c
patching file fsck_hfs.tproj/dfalib/BTreeAllocate.c
patching file fsck_hfs.tproj/dfalib/BTreeMiscOps.c
patching file fsck_hfs.tproj/dfalib/BTreeNodeOps.c
patching file fsck_hfs.tproj/dfalib/BTreeTreeOps.c
patching file fsck_hfs.tproj/dfalib/SControl.c
patching file fsck_hfs.tproj/dfalib/SRepair.c
patching file fsck_hfs.tproj/dfalib/SUtils.c
patching file fsck_hfs.tproj/dfalib/SVerify1.c
patching file fsck_hfs.tproj/dfalib/SVerify2.c
Applying ./patches/0011-Fix-types.patch using plaintext:
patching file fsck_hfs.tproj/cache.c
Applying ./patches/0012-Fix-mkfs-not-creating-UUIDs-for-new-filesystems.patch using plaintext:
patching file include/missing.h
Applying ./patches/0013-Fix-manpages.patch using plaintext:
patching file fsck_hfs.tproj/fsck_hfs.8
patching file newfs_hfs.tproj/newfs_hfs.8
Applying ./patches/0014-uClibc_no_loadavg.patch using plaintext:
patching file newfs_hfs.tproj/makehfs.c
Applying ./patches/0015-sysctl-only-on-glibc.patch using plaintext:
patching file newfs_hfs.tproj/makehfs.c
Applying ./patches/0016-Fix-fsckhfs-wide-literal.patch using plaintext:
patching file fsck_hfs.tproj/dfalib/SVerify1.c
Applying ./patches/010-valloc-to-memalign.patch using plaintext:
patching file newfs_hfs.tproj/makehfs.c
Applying ./patches/020-cdefs.patch using plaintext:
patching file fsck_hfs.tproj/fsck_hfs.h
patching file newfs_hfs.tproj/makehfs.c
patching file newfs_hfs.tproj/newfs_hfs.c
Applying ./patches/030-no-cdefs.patch using plaintext:
patching file disklib/dump.h
patching file dump.tproj/unctime.c
patching file fdisk.tproj/getrawpartition.c
patching file fdisk.tproj/util.h
patching file fsck_hfs.tproj/fsck_hfs.h
patching file fsck_msdos.tproj/boot.c
patching file fsck_msdos.tproj/check.c
patching file fsck_msdos.tproj/dir.c
patching file fsck_msdos.tproj/fat.c
patching file fsck_msdos.tproj/fsutil.c
patching file fsck_msdos.tproj/main.c
patching file newfs_hfs.tproj/makehfs.c
patching file newfs_hfs.tproj/newfs_hfs.c
make[4]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25'
for d in newfs_hfs.tproj fsck_hfs.tproj; do make -C $d -f Makefile.lnx all; done
make[5]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/newfs_hfs.tproj'
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o hfs_endian.o hfs_endian.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o makehfs.o makehfs.c
In file included from makehfs.c:38:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
makehfs.c:56:10: fatal error: openssl/sha.h: No such file or directory
#include <openssl/sha.h>
^~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [<builtin>: makehfs.o] Error 1
make[5]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/newfs_hfs.tproj'
make[5]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/fsck_hfs.tproj'
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o fsck_hfs.o fsck_hfs.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o strings.o strings.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o utilities.o utilities.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o cache.o cache.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o fsck_debug.o fsck_debug.c
make -C dfalib -f Makefile.lnx CFLAGS="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1" LDFLAGS="-L/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -znow -zrelro -L/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/lib -Wl,-rpath-link=/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/lib -L/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/lib -Wl,-rpath-link=/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/lib " libdfa.a
make[6]: Entering directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/fsck_hfs.tproj/dfalib'
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o hfs_endian.o hfs_endian.c
In file included from Scavenger.h:49,
from hfs_endian.c:41:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
hfs_endian.c: In function 'hfs_swap_HFSPlusBTInternalNode':
hfs_endian.c:566:98: warning: format '%i' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
if (debug) printf("hfs_swap_HFSPlusBTInternalNode: catalog record #%d keyLength=%d expected=%i\n",
~^
%li
srcDesc->numRecords-i, keyLength, sizeof(srcKey->parentID) + sizeof(srcKey->nodeName.length) +
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
srcKey->nodeName.length*sizeof(srcKey->nodeName.unicode[0]));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o BlockCache.o BlockCache.c
In file included from Scavenger.h:49,
from BlockCache.c:27:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o BTree.o BTree.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o BTreeAllocate.o BTreeAllocate.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o BTreeMiscOps.o BTreeMiscOps.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o BTreeNodeOps.o BTreeNodeOps.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o BTreeScanner.o BTreeScanner.c
In file included from Scavenger.h:49,
from BTreeScanner.c:27:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o BTreeTreeOps.o BTreeTreeOps.c
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o CatalogCheck.o CatalogCheck.c
In file included from Scavenger.h:49,
from CatalogCheck.c:23:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
CatalogCheck.c: In function 'RecordTruncation':
CatalogCheck.c:1244:25: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
sprintf(oldSizeStr, "%qd", oldSize);
~~^ ~~~~~~~
%ld
CatalogCheck.c:1245:25: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
sprintf(newSizeStr, "%qd", newSize);
~~^ ~~~~~~~
%ld
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o HardLinkCheck.o HardLinkCheck.c
In file included from Scavenger.h:49,
from HardLinkCheck.c:23:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SBTree.o SBTree.c
In file included from Scavenger.h:49,
from SBTree.c:38:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SControl.o SControl.c
In file included from Scavenger.h:49,
from SControl.c:43:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
SControl.c: In function 'ScavSetUp':
SControl.c:779:48: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
printf( "\t error %d - could not allocate %i bytes of memory \n",
~^
%li
R_NoMem, sizeof(ScavStaticStructures) );
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SVerify1.o SVerify1.c
In file included from Scavenger.h:49,
from SVerify1.c:35:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
SVerify1.c: In function 'CheckForClean':
SVerify1.c:176:53: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\t%s - could not get VHB/MDB at block %qd \n", __FUNCTION__, blockNum );
~~^ ~~~~~~~~
%ld
SVerify1.c: In function 'IVChk':
SVerify1.c:278:72: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf("\tinvalid device information for volume - total sectors = %qd sector size = %d \n",
~~^
%ld
myVOPtr->totalDeviceSectors, myVOPtr->sectorSize);
~~~~~~~~~~~~~~~~~~~~~~~~~~~
SVerify1.c: In function 'VInfoChk':
SVerify1.c:2515:42: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf("\tinvalid alternate MDB at %qd result %d \n", GPtr->TarBlock, result);
~~^ ~~~~~~~~~~~~~~
%ld
SVerify1.c:2520:42: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf("\tinvalid alternate VHB at %qd result %d \n", GPtr->TarBlock, result);
~~^ ~~~~~~~~~~~~~~
%ld
SVerify1.c:2543:40: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf("\tinvalid primary MDB at %qd result %d \n", GPtr->TarBlock, result);
~~^ ~~~~~~~~~~~~~~
%ld
SVerify1.c:2548:40: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf("\tinvalid primary VHB at %qd result %d \n", GPtr->TarBlock, result);
~~^ ~~~~~~~~~~~~~~
%ld
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SVerify2.o SVerify2.c
In file included from Scavenger.h:49,
from SVerify2.c:42:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SRepair.o SRepair.c
In file included from Scavenger.h:49,
from SRepair.c:35:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SRebuildCatalogBTree.o SRebuildCatalogBTree.c
In file included from Scavenger.h:49,
from SRebuildCatalogBTree.c:42:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SUtils.o SUtils.c
In file included from Scavenger.h:49,
from SUtils.c:34:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
SUtils.c: In function 'InitializeVolumeObject':
SUtils.c:1104:72: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf("\tinvalid device information for volume - total sectors = %qd sector size = %d \n",
~~^
%ld
myVOPtr->totalDeviceSectors, myVOPtr->sectorSize);
~~~~~~~~~~~~~~~~~~~~~~~~~~~
SUtils.c:1179:24: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tBlock %qd is not an MDB or Volume Header \n", myVOPtr->totalDeviceSectors - 2 );
~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%ld
SUtils.c:1187:58: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tcould not get alternate volume header at %qd, err %d \n",
~~^
%ld
myVOPtr->totalDeviceSectors - 2, err );
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SUtils.c:1214:53: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tcould not get primary MDB at block %qd, err %d \n", myVOPtr->primaryMDB, err );
~~^ ~~~~~~~~~~~~~~~~~~~
%ld
SUtils.c: In function 'PrintVolumeObject':
SUtils.c:1264:39: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tprimary MDB is at block %qd 0x%02qx \n", myVOPtr->primaryMDB, myVOPtr->primaryMDB );
~~^ ~~~~~~~~~~~~~~~~~~~
%ld
SUtils.c:1264:47: warning: format '%qx' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tprimary MDB is at block %qd 0x%02qx \n", myVOPtr->primaryMDB, myVOPtr->primaryMDB );
~~~~^ ~~~~~~~~~~~~~~~~~~~
%02lx
SUtils.c:1265:41: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\talternate MDB is at block %qd 0x%02qx \n", myVOPtr->alternateMDB, myVOPtr->alternateMDB );
~~^ ~~~~~~~~~~~~~~~~~~~~~
%ld
SUtils.c:1265:49: warning: format '%qx' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\talternate MDB is at block %qd 0x%02qx \n", myVOPtr->alternateMDB, myVOPtr->alternateMDB );
~~~~^ ~~~~~~~~~~~~~~~~~~~~~
%02lx
SUtils.c:1266:39: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tprimary VHB is at block %qd 0x%02qx \n", myVOPtr->primaryVHB, myVOPtr->primaryVHB );
~~^ ~~~~~~~~~~~~~~~~~~~
%ld
SUtils.c:1266:47: warning: format '%qx' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tprimary VHB is at block %qd 0x%02qx \n", myVOPtr->primaryVHB, myVOPtr->primaryVHB );
~~~~^ ~~~~~~~~~~~~~~~~~~~
%02lx
SUtils.c:1267:41: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\talternate VHB is at block %qd 0x%02qx \n", myVOPtr->alternateVHB, myVOPtr->alternateVHB );
~~^ ~~~~~~~~~~~~~~~~~~~~~
%ld
SUtils.c:1267:49: warning: format '%qx' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\talternate VHB is at block %qd 0x%02qx \n", myVOPtr->alternateVHB, myVOPtr->alternateVHB );
~~~~^ ~~~~~~~~~~~~~~~~~~~~~
%02lx
SUtils.c:1270:42: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\ttotal sectors for volume = %qd 0x%02qx \n",
~~^
%ld
myVOPtr->totalDeviceSectors, myVOPtr->totalDeviceSectors );
~~~~~~~~~~~~~~~~~~~~~~~~~~~
SUtils.c:1270:50: warning: format '%qx' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\ttotal sectors for volume = %qd 0x%02qx \n",
~~~~^
%02lx
myVOPtr->totalDeviceSectors, myVOPtr->totalDeviceSectors );
~~~~~~~~~~~~~~~~~~~~~~~~~~~
SUtils.c:1272:51: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\ttotal sectors for embedded volume = %qd 0x%02qx \n",
~~^
%ld
myVOPtr->totalEmbeddedSectors, myVOPtr->totalEmbeddedSectors );
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SUtils.c:1272:59: warning: format '%qx' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\ttotal sectors for embedded volume = %qd 0x%02qx \n",
~~~~^
%02lx
myVOPtr->totalEmbeddedSectors, myVOPtr->totalEmbeddedSectors );
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SUtils.c: In function 'GetEmbeddedVolumeHeaders':
SUtils.c:1353:69: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tInvalid embedded alternate volume header at block %qd - error %d \n", myAlternateBlockNum, err );
~~^ ~~~~~~~~~~~~~~~~~~~
%ld
SUtils.c:1359:31: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tBlock number %qd is not embedded alternate volume header \n", myAlternateBlockNum );
~~^ ~~~~~~~~~~~~~~~~~~~
%ld
SUtils.c:1366:67: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tcould not get embedded alternate volume header at %qd, err %d \n",
~~^
%ld
myAlternateBlockNum, err );
~~~~~~~~~~~~~~~~~~~
SUtils.c:1389:67: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tInvalid embedded primary volume header at block %qd - error %d \n", myPrimaryBlockNum, err );
~~^ ~~~~~~~~~~~~~~~~~
%ld
SUtils.c:1395:31: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tBlock number %qd is not embedded primary volume header \n", myPrimaryBlockNum );
~~^ ~~~~~~~~~~~~~~~~~
%ld
SUtils.c:1402:65: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf( "\tcould not get embedded primary volume header at %qd, err %d \n",
~~^
%ld
myPrimaryBlockNum, err );
~~~~~~~~~~~~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SKeyCompare.o SKeyCompare.c
In file included from Scavenger.h:49,
from SKeyCompare.c:27:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
SKeyCompare.c: In function 'CompareAttributeKeys':
SKeyCompare.c:475:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
UInt16 * str1 = searchKey->attrName;
^~~~~~~~~
SKeyCompare.c:476:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
UInt16 * str2 = trialKey->attrName;
^~~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SDevice.o SDevice.c
SDevice.c: In function 'DeviceRead':
SDevice.c:234:33: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'int64_t' {aka 'long int'} [-Wformat=]
printf("# DeviceRead: lseek(%qd) failed with %d\n", offset, errno);
~~^ ~~~~~~
%ld
SDevice.c: In function 'DeviceWrite':
SDevice.c:286:33: warning: format '%qd' expects argument of type 'long long int', but argument 2 has type 'int64_t' {aka 'long int'} [-Wformat=]
printf("# DeviceRead: lseek(%qd) failed with %d\n", offset, errno);
~~^ ~~~~~~
%ld
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SExtents.o SExtents.c
In file included from Scavenger.h:49,
from SExtents.c:38:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SAllocate.o SAllocate.c
In file included from Scavenger.h:49,
from SAllocate.c:72:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SCatalog.o SCatalog.c
In file included from Scavenger.h:49,
from SCatalog.c:25:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o SStubs.o SStubs.c
In file included from Scavenger.h:49,
from SStubs.c:33:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
SStubs.c: In function 'WriteError':
SStubs.c:204:19: warning: format '%qd' expects argument of type 'long long int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
printf("(%ld, %qd)\n", (long)tarID, tarBlock);
~~^ ~~~~~~~~
%ld
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -c -o VolumeBitmapCheck.o VolumeBitmapCheck.c
In file included from Scavenger.h:49,
from VolumeBitmapCheck.c:31:
/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
aarch64-openwrt-linux-musl-gcc-ar rc libdfa.a hfs_endian.o BlockCache.o BTree.o BTreeAllocate.o BTreeMiscOps.o BTreeNodeOps.o BTreeScanner.o BTreeTreeOps.o CatalogCheck.o HardLinkCheck.o SBTree.o SControl.o SVerify1.o SVerify2.o SRepair.o SRebuildCatalogBTree.o SUtils.o SKeyCompare.o SDevice.o SExtents.o SAllocate.o SCatalog.o SStubs.o VolumeBitmapCheck.o
make[6]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/fsck_hfs.tproj/dfalib'
ccache_cc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25=diskdev_cmds-332.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/include -I/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -L/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -znow -zrelro -L/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/lib -Wl,-rpath-link=/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libiconv-stub/lib -L/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/lib -Wl,-rpath-link=/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/libintl-stub/lib -o fsck_hfs fsck_hfs.o strings.o utilities.o cache.o fsck_debug.o dfalib/libdfa.a
make[5]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/fsck_hfs.tproj'
make[4]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25'
rstrip.sh: /openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/ipkg-aarch64_cortex-a53/hfsfsck/usr/sbin/fsck.hfsplus: executable
Packaged contents of /openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/ipkg-aarch64_cortex-a53/hfsfsck into /openwrt/bin/packages/aarch64_cortex-a53/packages/hfsfsck_332.25-4_aarch64_cortex-a53.ipk
install: cannot stat '/openwrt/build_dir/target-aarch64_cortex-a53_musl/diskdev_cmds-332.25/newfs_hfs.tproj/newfs_hfs': No such file or directory
make[3]: *** [Makefile:83: /openwrt/bin/packages/aarch64_cortex-a53/packages/mkhfs_332.25-4_aarch64_cortex-a53.ipk] Error 1