libbitcoin / libbitcoin-system

Bitcoin Cross-Platform C++ Development Toolkit

Home Page:https://libbitcoin.info/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MacOS (all): no template named 'unary_function' in namespace 'std'

evoskuil opened this issue · comments

In file included from src/settings.cpp:19:
In file included from ./include/bitcoin/system/settings.hpp:22:
In file included from ./include/bitcoin/system/chain/chain.hpp:22:
In file included from ./include/bitcoin/system/chain/block.hpp:24:
In file included from ./include/bitcoin/system/chain/context.hpp:22:
In file included from ./include/bitcoin/system/define.hpp:36:
In file included from ./include/bitcoin/system/constraints.hpp:25:
In file included from ./include/bitcoin/system/typelets.hpp:25:
In file included from ./include/bitcoin/system/funclets.hpp:23:
In file included from ./include/bitcoin/system/literals.hpp:24:
In file included from ./include/bitcoin/system/constants.hpp:24:
In file included from ./include/bitcoin/system/types.hpp:26:
In file included from ./include/bitcoin/system/exceptions.hpp:25:
In file included from ./include/bitcoin/system/boost.hpp:49:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string.hpp:23:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/split.hpp:16:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/iter_find.hpp:27:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/find_iterator.hpp:24:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/function.hpp:30:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/function/detail/prologue.hpp:17:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/function/function_base.hpp:21:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/type_index.hpp:29:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/type_index/stl_type_index.hpp:47:
/Users/runner/work/libbitcoin-database/prefix/include/boost/container_hash/hash.hpp:132:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
        struct hash_base : std::unary_function<T, std::size_t> {};
                           ~~~~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/chain/block.cpp:19:
In file included from ./include/bitcoin/system/chain/block.hpp:24:
In file included from ./include/bitcoin/system/chain/context.hpp:22:
In file included from ./include/bitcoin/system/define.hpp:36:
In file included from ./include/bitcoin/system/constraints.hpp:25:
In file included from ./include/bitcoin/system/typelets.hpp:25:
In file included from ./include/bitcoin/system/funclets.hpp:23:
In file included from ./include/bitcoin/system/literals.hpp:24:
In file included from ./include/bitcoin/system/constants.hpp:24:
In file included from ./include/bitcoin/system/types.hpp:26:
In file included from ./include/bitcoin/system/exceptions.hpp:25:
In file included from ./include/bitcoin/system/boost.hpp:49:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string.hpp:23:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/split.hpp:16:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/iter_find.hpp:27:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/find_iterator.hpp:24:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/function.hpp:30:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/function/detail/prologue.hpp:17:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/function/function_base.hpp:21:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/type_index.hpp:29:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/type_index/stl_type_index.hpp:47:
/Users/runner/work/libbitcoin-database/prefix/include/boost/container_hash/hash.hpp:132:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
        struct hash_base : std::unary_function<T, std::size_t> {};
                           ~~~~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
In file included from src/define.cpp:19:
In file included from ./include/bitcoin/system/define.hpp:36:
In file included from ./include/bitcoin/system/constraints.hpp:25:
In file included from ./include/bitcoin/system/typelets.hpp:25:
In file included from ./include/bitcoin/system/funclets.hpp:23:
In file included from ./include/bitcoin/system/literals.hpp:24:
In file included from ./include/bitcoin/system/constants.hpp:24:
In file included from ./include/bitcoin/system/types.hpp:26:
In file included from ./include/bitcoin/system/exceptions.hpp:25:
In file included from ./include/bitcoin/system/boost.hpp:49:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string.hpp:23:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/split.hpp:16:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/iter_find.hpp:27:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/find_iterator.hpp:24:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/function.hpp:30:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/function/detail/prologue.hpp:17:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/function/function_base.hpp:21:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/type_index.hpp:29:
In file included from /Users/runner/work/libbitcoin-database/prefix/include/boost/type_index/stl_type_index.hpp:47:
/Users/runner/work/libbitcoin-database/prefix/include/boost/container_hash/hash.hpp:132:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
        struct hash_base : std::unary_function<T, std::size_t> {};
                           ~~~~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
1 error generated.
make: *** [src/libbitcoin_system_la-define.lo] Error 1
make: *** Waiting for unfinished jobs....
1 error generated.
make: *** [src/libbitcoin_system_la-settings.lo] Error 1
1 error generated.
make: *** [src/chain/libbitcoin_system_la-block.lo] Error 1

https://github.com/libbitcoin/libbitcoin-database/actions/runs/8865524750/job/24341874060

Wrong repo.