Xahau / xahaud

Codebase for Xahaud - The consensus, RPC & blockchain app for the Xahau network.
https://xahau.network
ISC License
24 stars 11 forks source link

Build is failing can't figure out why. #380

Open shortthefomo opened 2 weeks ago

shortthefomo commented 2 weeks ago
[ 54%] Performing update step for 'grpc_src'
-- Already at requested tag: v1.25.0
[ 55%] No patch step for 'grpc_src'
[ 55%] Performing configure step for 'grpc_src'
CMake Warning (dev) at /Volumes/Dev/Web3/XAHAU/xahaud/.nih_c/unix_makefiles/AppleClang_14.0.3.14030022/Debug/src/grpc_src-stamp/grpc_src-configure-Debug.cmake:7:
  Syntax Warning in cmake code at column 419

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- grpc_src configure command succeeded.  See also /Volumes/Dev/Web3/XAHAU/xahaud/.nih_c/unix_makefiles/AppleClang_14.0.3.14030022/Debug/src/grpc_src-stamp/grpc_src-configure-*.log
[ 56%] Performing build step for 'grpc_src'
-- grpc_src build command succeeded.  See also /Volumes/Dev/Web3/XAHAU/xahaud/.nih_c/unix_makefiles/AppleClang_14.0.3.14030022/Debug/src/grpc_src-stamp/grpc_src-build-*.log
[ 57%] No install step for 'grpc_src'
[ 58%] No test step for 'grpc_src'
[ 59%] Completed 'grpc_src'
[ 59%] Built target grpc_src
make[1]: *** [CMakeFiles/rippled.dir/rule] Error 2
make: *** [rippled] Error 2
shortthefomo commented 2 weeks ago

@dangell7 helped a bit due to build only really working on linux at the moment. error: no viable conversion from returned value of type 'bool' to function return type 'std::strong_ordering' return std::lexicographical_compare_three_way(

was the error it was tripping up on, that bing said even commenting out that bit still did not get me much further as then the next one popped up

error: invalid operands to binary expression ('const base_uint<128UL, void>' and 'const base_uint<128UL, void>') return (lhs <=> rhs) == 0;

https://github.com/XRPLF/rippled/pull/4411

know back porting support on its way so prob just close this one out?

tequdev commented 1 week ago

I encountered the same problem, but solved it by uncommenting L552-L574 in base_unit and commenting out L576-586.

https://github.com/Xahau/xahaud/blob/6b26045cbce373388c8cd7603968d5612f531c08/src/ripple/basics/base_uint.h#L552-L586

It could be a problem caused by the following PR https://github.com/Xahau/xahaud/pull/374