mvs-org / metaverse

The Metaverse individual chain service ETP coin and immutable data space for Hyperspace.
https://mvs.org
GNU Affero General Public License v3.0
307 stars 115 forks source link

Common.cpp.o Error #422

Closed code1010111 closed 3 years ago

code1010111 commented 3 years ago

[00:00:11] cd /usr/src/RPM/BUILD/metaverse-0.10.0/x86_64-alt-linux/src/lib/consensus && /usr/bin/c++ -DBCK_DLL=1 -DBCK_STATIC=1 -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DHAVE_BYTESWAP_H -DHAVE_DECL_BE16TOH=1 -DHAVE_DECL_BE32TOH=1 -DHAVE_DECL_BE64TOH=1 -DHAVE_DECL_BSWAP_16=1 -DHAVE_DECL_BSWAP_32=1 -DHAVE_DECL_BSWAP_64=1 -DHAVE_DECL_HTOBE16=1 -DHAVE_DECL_HTOBE32=1 -DHAVE_DECL_HTOBE64=1 -DHAVE_DECL_HTOLE16=1 -DHAVE_DECL_HTOLE32=1 -DHAVE_DECL_HTOLE64=1 -DHAVE_DECL_LE16TOH=1 -DHAVE_DECL_LE32TOH=1 -DHAVE_DECL_LE64TOH=1 -DHAVE_ENDIAN_H -Dconsensus_shared_EXPORTS -I/usr/src/RPM/BUILD/metaverse-0.10.0/contrib -I/usr/src/RPM/BUILD/metaverse-0.10.0/include -I/usr/src/RPM/BUILD/metaverse-0.10.0/src/lib/consensus/clone -pipe -frecord-gcc-switches -Wall -g -O2 -std=c++14 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -Wno-type-limits -Wno-deprecated-declarations -Werror -pthread -fno-enforce-eh-specs -fnothrow-opt -Wno-reorder -Wno-ignored-qualifiers -Wno-unused-function -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-but-set-parameter -Wno-implicit-fallthrough -Wno-parentheses -fpermissive -O2 -DNDEBUG -fPIC -MD -MT src/lib/consensus/CMakeFiles/consensus_shared.dir/common/libdevcore/Common.cpp.o -MF CMakeFiles/consensus_shared.dir/common/libdevcore/Common.cpp.o.d -o CMakeFiles/consensus_shared.dir/common/libdevcore/Common.cpp.o -c /usr/src/RPM/BUILD/metaverse-0.10.0/src/lib/consensus/common/libdevcore/Common.cpp [00:00:11] /usr/src/RPM/BUILD/metaverse-0.10.0/src/lib/consensus/common/libdevcore/Common.cpp: In static member function 'static void libbitcoin::InvariantChecker::checkInvariants(const libbitcoin::HasInvariants, const char, const char*, int, bool)': [00:00:11] /usr/src/RPM/BUILD/metaverse-0.10.0/src/lib/consensus/common/libdevcore/Common.cpp:41:36: error: 'throwexception' is not a member of 'boost::exception_detail' [00:00:11] 41 | ::boost::exception_detail::throwexception(FailedInvariant(), _fn, _file, _line); [00:00:11] | ^~~~ [00:00:11] gmake[2]: *** [src/lib/consensus/CMakeFiles/consensus_shared.dir/build.make:275: src/lib/consensus/CMakeFiles/consensus_shared.dir/common/libdevcore/Common.cpp.o] Error 1

code1010111 commented 3 years ago

Keys for c++ added automatically. It is need for test control and a pass in repo.

betachen commented 3 years ago

regards ''throwexception' is not a member of 'boost::exception_detail'' this issue. Due to the boost library upgrading, version 1.71->1.72, they remove including file of exception under path 'details'. you can check this merge: https://github.com/mvs-org/metaverse/pull/425/commits/a269507e1b4fac132607dbf7e4a1c6fd9b2f43c3

fixed issue already, master merged