And create a symlink to /usr/include/attr/xattr.h from what libc6-dev provided. Still didn't compile.
~/a/build # make
/usr/bin/cmake -H/root/apfs-fuse-master -B/root/apfs-fuse-master/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /root/apfs-fuse-master/build/CMakeFiles /root/apfs-fuse-master/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/root/apfs-fuse-master/build'
make -f ApfsLib/CMakeFiles/ApfsLib.dir/build.make ApfsLib/CMakeFiles/ApfsLib.dir/depend
make[2]: Entering directory '/root/apfs-fuse-master/build'
cd /root/apfs-fuse-master/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/apfs-fuse-master /root/apfs-fuse-master/ApfsLib /root/apfs-fuse-master/build /root/apfs-fuse-master/build/ApfsLib /root/apfs-fuse-master/build/ApfsLib/CMakeFiles/ApfsLib.dir/DependInfo.cmake --color=
Scanning dependencies of target ApfsLib
make[2]: Leaving directory '/root/apfs-fuse-master/build'
make -f ApfsLib/CMakeFiles/ApfsLib.dir/build.make ApfsLib/CMakeFiles/ApfsLib.dir/build
make[2]: Entering directory '/root/apfs-fuse-master/build'
[ 3%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/Aes.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/Aes.cpp.o -c /root/apfs-fuse-master/ApfsLib/Aes.cpp
[ 7%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/AesXts.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/AesXts.cpp.o -c /root/apfs-fuse-master/ApfsLib/AesXts.cpp
[ 10%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/ApfsContainer.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/ApfsContainer.cpp.o -c /root/apfs-fuse-master/ApfsLib/ApfsContainer.cpp
[ 14%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/ApfsDir.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/ApfsDir.cpp.o -c /root/apfs-fuse-master/ApfsLib/ApfsDir.cpp
/root/apfs-fuse-master/ApfsLib/ApfsDir.cpp: In static member function ‘static int ApfsDir::CompareStdDirKey(const void*, size_t, const void*, size_t, void*)’:
/root/apfs-fuse-master/ApfsLib/ApfsDir.cpp:391:91: warning: unused parameter ‘ekey_len’ [-Wunused-parameter]
int ApfsDir::CompareStdDirKey(const void *skey, size_t skey_len, const void *ekey, size_t ekey_len, void *context)
^~~~~~~~
[ 17%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/ApfsNodeMapper.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/ApfsNodeMapper.cpp.o -c /root/apfs-fuse-master/ApfsLib/ApfsNodeMapper.cpp
[ 21%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/ApfsNodeMapperBTree.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/ApfsNodeMapperBTree.cpp.o -c /root/apfs-fuse-master/ApfsLib/ApfsNodeMapperBTree.cpp
/root/apfs-fuse-master/ApfsLib/ApfsNodeMapperBTree.cpp: In function ‘int CompareNodeMapKey(const void*, size_t, const void*, size_t, void*)’:
/root/apfs-fuse-master/ApfsLib/ApfsNodeMapperBTree.cpp:27:55: warning: unused parameter ‘skey_len’ [-Wunused-parameter]
static int CompareNodeMapKey(const void *skey, size_t skey_len, const void *ekey, size_t ekey_len, void *context)
^~~~~~~~
/root/apfs-fuse-master/ApfsLib/ApfsNodeMapperBTree.cpp:27:90: warning: unused parameter ‘ekey_len’ [-Wunused-parameter]
static int CompareNodeMapKey(const void *skey, size_t skey_len, const void *ekey, size_t ekey_len, void *context)
^~~~~~~~
[ 25%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/ApfsVolume.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/ApfsVolume.cpp.o -c /root/apfs-fuse-master/ApfsLib/ApfsVolume.cpp
[ 28%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/BlockDumper.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/BlockDumper.cpp.o -c /root/apfs-fuse-master/ApfsLib/BlockDumper.cpp
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp: In member function ‘void BlockDumper::DumpBTEntry_0_E(const byte_t*, size_t, const byte_t*, size_t, bool)’:
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:335:11: warning: variable ‘nlen’ set but not used [-Wunused-but-set-variable]
uint16_t nlen;
^~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp: In member function ‘void BlockDumper::DumpBTEntry_4_B(const byte_t*, size_t, const byte_t*, size_t, bool)’:
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:654:66: warning: unused parameter ‘key_length’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_4_B(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:654:109: warning: unused parameter ‘value_length’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_4_B(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp: In member function ‘void BlockDumper::DumpBTEntry_4_F(const byte_t*, size_t, const byte_t*, size_t, bool)’:
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:682:66: warning: unused parameter ‘key_length’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_4_F(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:682:109: warning: unused parameter ‘value_length’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_4_F(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp: In member function ‘void BlockDumper::DumpBTEntry_4_10(const byte_t*, size_t, const byte_t*, size_t, bool)’:
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:712:67: warning: unused parameter ‘key_length’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_4_10(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:712:110: warning: unused parameter ‘value_length’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_4_10(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp: In member function ‘void BlockDumper::DumpBTEntry_4_13(const byte_t*, size_t, const byte_t*, size_t, bool)’:
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:770:67: warning: unused parameter ‘key_length’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_4_13(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:770:110: warning: unused parameter ‘value_length’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_4_13(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:770:129: warning: unused parameter ‘index’ [-Wunused-parameter]
oid BlockDumper::DumpBTEntry_4_13(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp: In member function ‘void BlockDumper::DumpBTEntry_8_9(const byte_t*, size_t, const byte_t*, size_t, bool)’:
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:777:66: warning: unused parameter ‘key_length’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_8_9(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:777:109: warning: unused parameter ‘value_length’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_8_9(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:777:128: warning: unused parameter ‘index’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_8_9(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp: In member function ‘void BlockDumper::DumpBTEntry_Unk(const byte_t*, size_t, const byte_t*, size_t, bool)’:
/root/apfs-fuse-master/ApfsLib/BlockDumper.cpp:793:128: warning: unused parameter ‘index’ [-Wunused-parameter]
void BlockDumper::DumpBTEntry_Unk(const byte_t * key_ptr, size_t key_length, const byte_t * val_ptr, size_t value_length, bool index)
^~~~~
[ 32%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/BTree.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/BTree.cpp.o -c /root/apfs-fuse-master/ApfsLib/BTree.cpp
/root/apfs-fuse-master/ApfsLib/BTree.cpp: In member function ‘int BTree::FindBin(const std::shared_ptr<BTreeNode>&, const void*, size_t, BTCompareFunc, void*, BTree::FindMode)’:
/root/apfs-fuse-master/ApfsLib/BTree.cpp:495:2: warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (res == cnt)
^~
/root/apfs-fuse-master/ApfsLib/BTree.cpp:482:19: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
res = (rc <= 0) ? mid : (mid - 1);
~~~~~~~~~~^~~~~~~~~~~~~~~~~
/root/apfs-fuse-master/ApfsLib/BTree.cpp:473:36: warning: ‘rc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
std::cout << " => " << resstr[rc + 1] << ", " << mid;
~~~^~~
[ 35%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/Crc32.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/Crc32.cpp.o -c /root/apfs-fuse-master/ApfsLib/Crc32.cpp
[ 39%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/Crypto.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/Crypto.cpp.o -c /root/apfs-fuse-master/ApfsLib/Crypto.cpp
[ 42%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/Decmpfs.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/Decmpfs.cpp.o -c /root/apfs-fuse-master/ApfsLib/Decmpfs.cpp
/root/apfs-fuse-master/ApfsLib/Decmpfs.cpp: In function ‘bool DecompressFile(ApfsDir&, uint64_t, std::vector<unsigned char>&, const std::vector<unsigned char>&)’:
/root/apfs-fuse-master/ApfsLib/Decmpfs.cpp:143:12: warning: unused variable ‘rsrc_size’ [-Wunused-variable]
uint32_t rsrc_size = bswap_32(*reinterpret_cast<uint32_t *>(rsrc.data() + rsrc_hdr.data_off_be));
^~~~~~~~~
[ 46%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/Device.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/Device.cpp.o -c /root/apfs-fuse-master/ApfsLib/Device.cpp
[ 50%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/DeviceLinux.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/DeviceLinux.cpp.o -c /root/apfs-fuse-master/ApfsLib/DeviceLinux.cpp
[ 53%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/Inflate.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/Inflate.cpp.o -c /root/apfs-fuse-master/ApfsLib/Inflate.cpp
/root/apfs-fuse-master/ApfsLib/Inflate.cpp: In member function ‘size_t Inflate::Decompress(uint8_t*, size_t, const uint8_t*, size_t)’:
/root/apfs-fuse-master/ApfsLib/Inflate.cpp:282:6: warning: variable ‘nlen’ set but not used [-Wunused-but-set-variable]
int nlen;
^~~~
[ 57%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/KeyMgmt.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/KeyMgmt.cpp.o -c /root/apfs-fuse-master/ApfsLib/KeyMgmt.cpp
/root/apfs-fuse-master/ApfsLib/KeyMgmt.cpp: In member function ‘bool KeyParser::GetBytes(uint8_t, uint8_t*, size_t)’:
/root/apfs-fuse-master/ApfsLib/KeyMgmt.cpp:137:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((m_end - m_ptr) < len)
~~~~~~~~~~~~~~~~^~~~~
/root/apfs-fuse-master/ApfsLib/KeyMgmt.cpp: In member function ‘bool KeyParser::GetAny(uint8_t, bagdata_t&)’:
/root/apfs-fuse-master/ApfsLib/KeyMgmt.cpp:158:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((m_end - m_ptr) < len)
~~~~~~~~~~~~~~~~^~~~~
/root/apfs-fuse-master/ApfsLib/KeyMgmt.cpp: In member function ‘bool Keybag::Init(const uint8_t*, size_t)’:
/root/apfs-fuse-master/ApfsLib/KeyMgmt.cpp:204:48: warning: unused parameter ‘size’ [-Wunused-parameter]
bool Keybag::Init(const uint8_t * data, size_t size)
^~~~
[ 60%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/Sha256.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/Sha256.cpp.o -c /root/apfs-fuse-master/ApfsLib/Sha256.cpp
[ 64%] Building CXX object ApfsLib/CMakeFiles/ApfsLib.dir/Util.cpp.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/ApfsLib.dir/Util.cpp.o -c /root/apfs-fuse-master/ApfsLib/Util.cpp
[ 67%] Building ASM object ApfsLib/CMakeFiles/ApfsLib.dir/lzvn_decode.s.o
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/cc -I/root/apfs-fuse-master/. -O3 -DNDEBUG -o CMakeFiles/ApfsLib.dir/lzvn_decode.s.o -c /root/apfs-fuse-master/ApfsLib/lzvn_decode.s
[ 71%] Linking CXX static library ../lib/libApfsLib.a
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/cmake -P CMakeFiles/ApfsLib.dir/cmake_clean_target.cmake
cd /root/apfs-fuse-master/build/ApfsLib && /usr/bin/cmake -E cmake_link_script CMakeFiles/ApfsLib.dir/link.txt --verbose=1
/usr/bin/ar qc ../lib/libApfsLib.a CMakeFiles/ApfsLib.dir/Aes.cpp.o CMakeFiles/ApfsLib.dir/AesXts.cpp.o CMakeFiles/ApfsLib.dir/ApfsContainer.cpp.o CMakeFiles/ApfsLib.dir/ApfsDir.cpp.o CMakeFiles/ApfsLib.dir/ApfsNodeMapper.cpp.o CMakeFiles/ApfsLib.dir/ApfsNodeMapperBTree.cpp.o CMakeFiles/ApfsLib.dir/ApfsVolume.cpp.o CMakeFiles/ApfsLib.dir/BlockDumper.cpp.o CMakeFiles/ApfsLib.dir/BTree.cpp.o CMakeFiles/ApfsLib.dir/Crc32.cpp.o CMakeFiles/ApfsLib.dir/Crypto.cpp.o CMakeFiles/ApfsLib.dir/Decmpfs.cpp.o CMakeFiles/ApfsLib.dir/Device.cpp.o CMakeFiles/ApfsLib.dir/DeviceLinux.cpp.o CMakeFiles/ApfsLib.dir/Inflate.cpp.o CMakeFiles/ApfsLib.dir/KeyMgmt.cpp.o CMakeFiles/ApfsLib.dir/Sha256.cpp.o CMakeFiles/ApfsLib.dir/Util.cpp.o CMakeFiles/ApfsLib.dir/lzvn_decode.s.o
/usr/bin/ranlib ../lib/libApfsLib.a
make[2]: Leaving directory '/root/apfs-fuse-master/build'
[ 71%] Built target ApfsLib
make -f ApfsDump/CMakeFiles/apfs-dump.dir/build.make ApfsDump/CMakeFiles/apfs-dump.dir/depend
make[2]: Entering directory '/root/apfs-fuse-master/build'
cd /root/apfs-fuse-master/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/apfs-fuse-master /root/apfs-fuse-master/ApfsDump /root/apfs-fuse-master/build /root/apfs-fuse-master/build/ApfsDump /root/apfs-fuse-master/build/ApfsDump/CMakeFiles/apfs-dump.dir/DependInfo.cmake --color=
Scanning dependencies of target apfs-dump
make[2]: Leaving directory '/root/apfs-fuse-master/build'
make -f ApfsDump/CMakeFiles/apfs-dump.dir/build.make ApfsDump/CMakeFiles/apfs-dump.dir/build
make[2]: Entering directory '/root/apfs-fuse-master/build'
[ 75%] Building CXX object ApfsDump/CMakeFiles/apfs-dump.dir/Apfs.cpp.o
cd /root/apfs-fuse-master/build/ApfsDump && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/apfs-dump.dir/Apfs.cpp.o -c /root/apfs-fuse-master/ApfsDump/Apfs.cpp
/root/apfs-fuse-master/ApfsDump/Apfs.cpp: In function ‘void ctrl_c_handler(int)’:
/root/apfs-fuse-master/ApfsDump/Apfs.cpp:148:32: warning: unused parameter ‘sig’ [-Wunused-parameter]
static void ctrl_c_handler(int sig)
^~~
[ 78%] Linking CXX executable ../bin/apfs-dump
cd /root/apfs-fuse-master/build/ApfsDump && /usr/bin/cmake -E cmake_link_script CMakeFiles/apfs-dump.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wextra -march=native -O3 -DNDEBUG CMakeFiles/apfs-dump.dir/Apfs.cpp.o -o ../bin/apfs-dump ../lib/libApfsLib.a -licuuc
make[2]: Leaving directory '/root/apfs-fuse-master/build'
[ 78%] Built target apfs-dump
make -f Test/CMakeFiles/apfs-dump-quick.dir/build.make Test/CMakeFiles/apfs-dump-quick.dir/depend
make[2]: Entering directory '/root/apfs-fuse-master/build'
cd /root/apfs-fuse-master/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/apfs-fuse-master /root/apfs-fuse-master/Test /root/apfs-fuse-master/build /root/apfs-fuse-master/build/Test /root/apfs-fuse-master/build/Test/CMakeFiles/apfs-dump-quick.dir/DependInfo.cmake --color=
Scanning dependencies of target apfs-dump-quick
make[2]: Leaving directory '/root/apfs-fuse-master/build'
make -f Test/CMakeFiles/apfs-dump-quick.dir/build.make Test/CMakeFiles/apfs-dump-quick.dir/build
make[2]: Entering directory '/root/apfs-fuse-master/build'
[ 82%] Building CXX object Test/CMakeFiles/apfs-dump-quick.dir/Test.cpp.o
cd /root/apfs-fuse-master/build/Test && /usr/bin/c++ -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/apfs-dump-quick.dir/Test.cpp.o -c /root/apfs-fuse-master/Test/Test.cpp
[ 85%] Linking CXX executable ../bin/apfs-dump-quick
cd /root/apfs-fuse-master/build/Test && /usr/bin/cmake -E cmake_link_script CMakeFiles/apfs-dump-quick.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wextra -march=native -O3 -DNDEBUG CMakeFiles/apfs-dump-quick.dir/Test.cpp.o -o ../bin/apfs-dump-quick ../lib/libApfsLib.a -licuuc
make[2]: Leaving directory '/root/apfs-fuse-master/build'
[ 85%] Built target apfs-dump-quick
make -f apfsfuse/CMakeFiles/apfs-fuse.dir/build.make apfsfuse/CMakeFiles/apfs-fuse.dir/depend
make[2]: Entering directory '/root/apfs-fuse-master/build'
cd /root/apfs-fuse-master/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/apfs-fuse-master /root/apfs-fuse-master/apfsfuse /root/apfs-fuse-master/build /root/apfs-fuse-master/build/apfsfuse /root/apfs-fuse-master/build/apfsfuse/CMakeFiles/apfs-fuse.dir/DependInfo.cmake --color=
Scanning dependencies of target apfs-fuse
make[2]: Leaving directory '/root/apfs-fuse-master/build'
make -f apfsfuse/CMakeFiles/apfs-fuse.dir/build.make apfsfuse/CMakeFiles/apfs-fuse.dir/build
make[2]: Entering directory '/root/apfs-fuse-master/build'
[ 89%] Building CXX object apfsfuse/CMakeFiles/apfs-fuse.dir/ApfsFuse.cpp.o
cd /root/apfs-fuse-master/build/apfsfuse && /usr/bin/c++ -D_FILE_OFFSET_BITS=64 -I/root/apfs-fuse-master/. -Wall -Wextra -march=native -O3 -DNDEBUG -std=gnu++11 -o CMakeFiles/apfs-fuse.dir/ApfsFuse.cpp.o -c /root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp: In function ‘void apfs_bmap(fuse_req_t, fuse_ino_t, size_t, uint64_t)’:
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:170:34: warning: unused parameter ‘req’ [-Wunused-parameter]
static void apfs_bmap(fuse_req_t req, fuse_ino_t ino, size_t blocksize, uint64_t idx)
^~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:170:50: warning: unused parameter ‘ino’ [-Wunused-parameter]
static void apfs_bmap(fuse_req_t req, fuse_ino_t ino, size_t blocksize, uint64_t idx)
^~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:170:62: warning: unused parameter ‘blocksize’ [-Wunused-parameter]
static void apfs_bmap(fuse_req_t req, fuse_ino_t ino, size_t blocksize, uint64_t idx)
^~~~~~~~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:170:82: warning: unused parameter ‘idx’ [-Wunused-parameter]
static void apfs_bmap(fuse_req_t req, fuse_ino_t ino, size_t blocksize, uint64_t idx)
^~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp: In function ‘void apfs_destroy(void*)’:
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:175:32: warning: unused parameter ‘userdata’ [-Wunused-parameter]
static void apfs_destroy(void *userdata)
^~~~~~~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp: In function ‘void apfs_getattr(fuse_req_t, fuse_ino_t, fuse_file_info*)’:
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:180:74: warning: unused parameter ‘fi’ [-Wunused-parameter]
static void apfs_getattr(fuse_req_t req, fuse_ino_t ino, fuse_file_info *fi)
^~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp: In function ‘void apfs_getxattr(fuse_req_t, fuse_ino_t, const char*, size_t)’:
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:216:23: error: ‘ENOATTR’ was not declared in this scope
fuse_reply_err(req, ENOATTR);
^~~~~~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:216:23: note: suggested alternative: ‘ENOSTR’
fuse_reply_err(req, ENOATTR);
^~~~~~~
ENOSTR
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp: In function ‘void apfs_read(fuse_req_t, fuse_ino_t, size_t, off_t, fuse_file_info*)’:
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:371:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (off >= file->decomp_data.size())
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp: In function ‘int reply_buf_limited(fuse_req_t, const char*, size_t, off_t, size_t)’:
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:398:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (off < bufsize)
~~~~^~~~~~~~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp: In function ‘void apfs_statfs(fuse_req_t, fuse_ino_t)’:
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:486:36: warning: unused parameter ‘req’ [-Wunused-parameter]
static void apfs_statfs(fuse_req_t req, fuse_ino_t ino)
^~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:486:52: warning: unused parameter ‘ino’ [-Wunused-parameter]
static void apfs_statfs(fuse_req_t req, fuse_ino_t ino)
^~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp: At global scope:
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:497:17: warning: ‘apfs_opfs’ defined but not used [-Wunused-variable]
static fuse_opt apfs_opfs[] =
^~~~~~~~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:486:13: warning: ‘void apfs_statfs(fuse_req_t, fuse_ino_t)’ defined but not used [-Wunused-function]
static void apfs_statfs(fuse_req_t req, fuse_ino_t ino)
^~~~~~~~~~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:175:13: warning: ‘void apfs_destroy(void*)’ defined but not used [-Wunused-function]
static void apfs_destroy(void *userdata)
^~~~~~~~~~~~
/root/apfs-fuse-master/apfsfuse/ApfsFuse.cpp:170:13: warning: ‘void apfs_bmap(fuse_req_t, fuse_ino_t, size_t, uint64_t)’ defined but not used [-Wunused-function]
static void apfs_bmap(fuse_req_t req, fuse_ino_t ino, size_t blocksize, uint64_t idx)
^~~~~~~~~
apfsfuse/CMakeFiles/apfs-fuse.dir/build.make:65: recipe for target 'apfsfuse/CMakeFiles/apfs-fuse.dir/ApfsFuse.cpp.o' failed
make[2]: *** [apfsfuse/CMakeFiles/apfs-fuse.dir/ApfsFuse.cpp.o] Error 1
make[2]: Leaving directory '/root/apfs-fuse-master/build'
CMakeFiles/Makefile2:253: recipe for target 'apfsfuse/CMakeFiles/apfs-fuse.dir/all' failed
make[1]: *** [apfsfuse/CMakeFiles/apfs-fuse.dir/all] Error 2
make[1]: Leaving directory '/root/apfs-fuse-master/build'
Makefile:86: recipe for target 'all' failed
make: *** [all] Error 2
⏎