You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Impossible to build on macOS Sonoma
Currently you use Xcode 15.2 // SDK macOS 14.2 in tests.
But latest Xcode 15.3 // macOS 14.4
[ 63%] Building CXX object silkworm/sentry/CMakeFiles/silkworm_sentry.dir/rlpx/auth/handshake.cpp.o
[ 64%] Linking CXX executable silkworm_sentry_common_test
[ 64%] Built target silkworm_sentry_common_test
[ 64%] Linking CXX executable silkworm_snapshots_seg_test
[ 64%] Built target silkworm_snapshots_seg_test
[ 64%] Linking CXX executable silkworm_db_mdbx_test
[ 64%] Built target silkworm_db_mdbx_test
In file included from /Users/2w/CLionProjects/silkworm/silkworm/db/snapshots/snapshot_test.cpp:17:
In file included from /Users/2w/CLionProjects/silkworm/silkworm/db/snapshots/snapshot.hpp:32:
In file included from /Users/2w/CLionProjects/silkworm/silkworm/db/snapshots/rec_split/rec_split_par.hpp:56:
In file included from /Users/2w/CLionProjects/silkworm/silkworm/db/snapshots/rec_split/rec_split.hpp:51:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/chrono:796:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/formatter.h:23:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__chrono/ostream.h:123:7: error: use of overloaded operator '<<' is ambiguous (with operand types 'basic_ostringstream<char, char_traits<char>>' and 'rep' (aka '__int128'))
__s << __d.count() << chrono::__units_suffix<_CharT, _Period>();
~~~ ^ ~~~~~~~~~~~
/Users/x/.conan/data/catch2/2.13.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/catch2/catch.hpp:1451:20: note: in instantiation of function template specialization 'std::chrono::operator<<<char, std::char_traits<char>, __int128, std::ratio<1, 1000000000>>' requested here
*m_oss << value;
^
/Users/x/.conan/data/catch2/2.13.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/catch2/catch.hpp:1623:21: note: in instantiation of function template specialization 'Catch::ReusableStringStream::operator<<<std::chrono::duration<__int128, std::ratio<1, 1000000000>>>' requested here
rss.operator<<(value);
^
/Users/x/.conan/data/catch2/2.13.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/catch2/catch.hpp:1645:114: note: in instantiation of function template specialization 'Catch::StringMaker<std::chrono::duration<__int128, std::ratio<1, 1000000000>>>::convert<std::chrono::duration<__int128, std::ratio<1, 1000000000>>>' requested here
return ::Catch::StringMaker<typename std::remove_cv<typename std::remove_reference<T>::type>::type>::convert(e);
^
/Users/x/.conan/data/catch2/2.13.9/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/catch2/catch.hpp:2231:42: note: in instantiation of function template specialization 'Catch::Detail::stringify<std::chrono::duration<__int128, std::ratio<1, 1000000000>>>' requested here
( os, Catch::Detail::stringify( m_lhs ), m_op, Catch::Detail::stringify( m_rhs ) );
^
/Users/x/CLionProjects/silkworm/silkworm/db/snapshots/snapshot_test.cpp:453:34: note: in instantiation of member function 'Catch::BinaryExpr<const std::chrono::duration<__int128, std::ratio<1, 1000000000>> &, const std::chrono::duration<__int128, std::ratio<1, 1000000000>> &>::streamReconstructedExpression' requested here
REQUIRE(last_write_time_diff > std::filesystem::file_time_type::duration::zero());
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:241:20: note: candidate function
basic_ostream& operator<<(bool __n);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:242:20: note: candidate function
basic_ostream& operator<<(short __n);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:243:20: note: candidate function
basic_ostream& operator<<(unsigned short __n);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:244:20: note: candidate function
basic_ostream& operator<<(int __n);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:245:20: note: candidate function
basic_ostream& operator<<(unsigned int __n);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:246:20: note: candidate function
basic_ostream& operator<<(long __n);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:247:20: note: candidate function
basic_ostream& operator<<(unsigned long __n);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:248:20: note: candidate function
basic_ostream& operator<<(long long __n);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:249:20: note: candidate function
basic_ostream& operator<<(unsigned long long __n);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:250:20: note: candidate function
basic_ostream& operator<<(float __f);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:251:20: note: candidate function
basic_ostream& operator<<(double __f);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/ostream:252:20: note: candidate function
basic_ostream& operator<<(long double __f);
^
1 error generated.
make[2]: *** [silkworm/db/snapshots/CMakeFiles/silkworm_snapshots_test.dir/snapshot_test.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 64%] Linking CXX executable silkworm_sentry_discovery_enr_test
[ 64%] Built target silkworm_sentry_discovery_enr_test
[ 64%] Linking CXX executable silkworm_sentry_node_db_test
[ 64%] Built target silkworm_sentry_node_db_test
make[1]: *** [silkworm/db/snapshots/CMakeFiles/silkworm_snapshots_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 64%] Linking CXX static library libsilkworm_db.a
[ 64%] Built target silkworm_db
[ 64%] Linking CXX executable silkworm_sentry_disc_v4_test
[ 64%] Built target silkworm_sentry_disc_v4_test
[ 64%] Linking CXX static library libsilkworm_sentry.a
[ 64%] Built target silkworm_sentry
[ 64%] Linking CXX executable silkworm_infra_test
ld: warning: object file (/Users/x/.conan/data/boost/1.81.0/_/_/package/7c83216e6c6b231accede30c6f985a28798f5989/lib/libboost_thread.a[2](thread.o)) was built for newer 'macOS' version (14.0) than being linked (13.3)
ld: warning: object file (/Users/x/.conan/data/boost/1.81.0/_/_/package/7c83216e6c6b231accede30c6f985a28798f5989/lib/libboost_thread.a[3](once.o)) was built for newer 'macOS' version (14.0) than being linked (13.3)
ld: warning: object file (/Users/x/.conan/data/boost/1.81.0/_/_/package/7c83216e6c6b231accede30c6f985a28798f5989/lib/libboost_container.a[4](global_resource.o)) was built for newer 'macOS' version (14.0) than being linked (13.3)
ld: warning: object file (/Users/x/.conan/data/boost/1.81.0/_/_/package/7c83216e6c6b231accede30c6f985a28798f5989/lib/libboost_container.a[6](pool_resource.o)) was built for newer 'macOS' version (14.0) than being linked (13.3)
ld: warning: object file (/Users/x/.conan/data/boost/1.81.0/_/_/package/7c83216e6c6b231accede30c6f985a28798f5989/lib/libboost_container.a[8](unsynchronized_pool_resource.o)) was built for newer 'macOS' version (14.0) than being linked (13.3)
setting -mmacosx-version-min=13.0 not helping
The text was updated successfully, but these errors were encountered:
Impossible to build on macOS Sonoma
Currently you use Xcode 15.2 // SDK macOS 14.2 in tests.
But latest Xcode 15.3 // macOS 14.4
setting -mmacosx-version-min=13.0 not helping
The text was updated successfully, but these errors were encountered: