netheril96 / securefs

Filesystem in userspace (FUSE) with transparent authenticated encryption
Other
734 stars 62 forks source link

brew install failing on MBP M2 Apple Silicon #154

Closed codingCoffee closed 1 year ago

codingCoffee commented 1 year ago
➜ brew install netheril96/fuse/securefs
==> Fetching netheril96/fuse/securefs
==> Cloning https://github.com/netheril96/securefs.git
Updating /Users/cc/Library/Caches/Homebrew/securefs--git
==> Checking out tag 0.13.1
HEAD is now at bb7088e Disable copy/move of AES_SIV
HEAD is now at bb7088e Disable copy/move of AES_SIV
Entering 'external/argon2'
Entering 'external/cryptopp'
Entering 'external/utf8proc'
/Users/cc/Library/Caches/Homebrew/securefs--git/external/argon2
/Users/cc/Library/Caches/Homebrew/securefs--git/external/cryptopp
/Users/cc/Library/Caches/Homebrew/securefs--git/external/utf8proc
==> Installing securefs from netheril96/fuse
==> cmake . -DCMAKE_INCLUDE_PATH=/private/tmp/securefs-20230511-49021-r6l19z/temp/include/fuse;/private/tmp/securefs-20230511-49021-r6l19z/temp/include -DCMAKE_LIBRARY_PATH=/private/tmp/securefs-20230511-49021-r6l19z/temp/lib -DCMAKE_CX
==> make install
Last 15 lines from /Users/cc/Library/Logs/Homebrew/securefs/02.make:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/c++/v1/__algorithm/shuffle.h:166:14: note: in instantiation of function template specialization 'std::__shuffle<std::_ClassicAlgPolicy, std::__wrap_iter<Catch::TestCase *>, std::__wrap_iter<Catch::TestCase *>, Catch::RandomNumberGenerator &>' requested here
  (void)std::__shuffle<_ClassicAlgPolicy>(
             ^
/tmp/securefs-20230511-49021-r6l19z/external/catch.hpp:7162:18: note: in instantiation of function template specialization 'std::shuffle<std::__wrap_iter<Catch::TestCase *>, Catch::RandomNumberGenerator &>' requested here
            std::shuffle( vector.begin(), vector.end(), rng );
                 ^
/tmp/securefs-20230511-49021-r6l19z/external/catch.hpp:7180:44: note: in instantiation of function template specialization 'Catch::RandomNumberGenerator::shuffle<std::vector<Catch::TestCase>>' requested here
                    RandomNumberGenerator::shuffle( sorted );
                                           ^
1 error generated.
make[2]: *** [CMakeFiles/securefs_test.dir/test/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/securefs_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 99%] Built target securefs
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/netheril96/homebrew-fuse/issues
netheril96 commented 1 year ago

See the latest README.

netheril96 commented 1 year ago

Specifically, https://github.com/netheril96/securefs#install