checking pkg-config is at least version 0.9.0... yes
checking for x86_64-pld-linux-ar... no
checking for ar... /usr/bin/ar
checking for x86_64-pld-linux-ranlib... no
checking for ranlib... /usr/bin/ranlib
checking for x86_64-pld-linux-strip... no
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... /usr/bin/cpp
checking for gcc... gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking dependency style of /usr/bin/x86_64-pld-linux-gcc... gcc3
checking if /usr/bin/x86_64-pld-linux-gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking if /usr/bin/x86_64-pld-linux-gcc supports -fvisibility=hidden... yes
checking for __int128... yes
checking for __builtin_expect... yes
checking for __builtin_popcount... yes
checking for __builtin_popcountl... yes
checking for __builtin_ctzl... yes
checking native compiler: gcc... ok
checking for __builtin_clzll... yes
checking for x86_64 assembly availability... yes
checking whether byte ordering is bigendian... no
configure: Using static precomputation: yes
configure: Using assembly optimizations: x86_64
configure: Using field implementation: 64bit
configure: Using bignum implementation: no
configure: Using scalar implementation: 64bit
configure: Using endomorphism optimizations: no
configure: Building benchmarks: no
configure: Building for coverage analysis: no
configure: Building ECDH module: no
configure: Building ECDSA pubkey recovery module: yes
configure: Using jni: no
configure: ******
configure: WARNING: experimental build
configure: Experimental features do not have stable APIs or properties, and may not be safe for production use.
configure: Building ECDH module: no
configure: Building NUMS generator module: yes
configure: Building Pedersen commitment module: yes
configure: Building range proof module: no
configure: Building bulletproof module: yes
configure: Building aggsig module: yes
configure: Building key whitelisting module: no
configure: Building surjection proof module: no
configure: Building schnorrsig module: yes
configure: ******
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Options used to compile and link:
boost process = no
multiprocess = no
with wallet = yes
with sqlite = yes
with gui / qt = yes
with qr = yes
pkg openssl = no
with zmq = yes
with test = no
with bench = no
with upnp = yes
use asm = yes
sanitizers =
scrypt sse2 = no
debug enabled = no
gprof enabled = no
werror = no
target os = linux
build os = linux-gnu
CC = /usr/bin/x86_64-pld-linux-gcc
CFLAGS = -pthread -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security
CPPFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS
CXX = /usr/bin/x86_64-pld-linux-g++ -std=c++14
CXXFLAGS = -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers
LDFLAGS = -lpthread -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -pie -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc
ARFLAGS = cr
+ /usr/bin/make -Otarget -j28
Making all in src
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-shutdown.o -MD -MP -MF .deps/libbitcoin_server_a-shutdown.Tpo -c -o libbitcoin_server_a-shutdown.o `test -f 'shutdown.cpp' || echo './'`shutdown.cpp
mv -f .deps/libbitcoin_server_a-shutdown.Tpo .deps/libbitcoin_server_a-shutdown.Po
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-banman.o -MD -MP -MF .deps/libbitcoin_server_a-banman.Tpo -c -o libbitcoin_server_a-banman.o `test -f 'banman.cpp' || echo './'`banman.cpp
In file included from ./util/system.h:19,
from banman.cpp:10:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./banman.h:12,
from banman.cpp:6:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./addrdb.h:9,
from ./banman.h:8:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:12742: libbitcoin_server_a-banman.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-timedata.o -MD -MP -MF .deps/libbitcoin_server_a-timedata.Tpo -c -o libbitcoin_server_a-timedata.o `test -f 'timedata.cpp' || echo './'`timedata.cpp
In file included from ./util/system.h:19,
from timedata.cpp:14:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from timedata.cpp:13:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from ./threadsafety.h:9,
from ./sync.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
timedata.cpp:30:5: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:13316: libbitcoin_server_a-timedata.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-httpserver.o -MD -MP -MF .deps/libbitcoin_server_a-httpserver.Tpo -c -o libbitcoin_server_a-httpserver.o `test -f 'httpserver.cpp' || echo './'`httpserver.cpp
In file included from ./util/system.h:19,
from httpserver.cpp:15:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from httpserver.cpp:7:
./chainparamsbase.h:29:5: error: ‘uint16_t’ does not name a type
29 | uint16_t RPCPort() const { return m_rpc_port; }
| ^~~~~~~~
./chainparamsbase.h:9:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
8 | #include <memory>
+++ |+#include <cstdint>
9 | #include <string>
./chainparamsbase.h:30:5: error: ‘uint16_t’ does not name a type
30 | uint16_t OnionServiceTargetPort() const { return m_onion_service_target_port; }
| ^~~~~~~~
./chainparamsbase.h:30:5: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:33:51: error: ‘uint16_t’ has not been declared
33 | CBaseChainParams(const std::string& data_dir, uint16_t rpc_port, uint16_t onion_service_target_port)
| ^~~~~~~~
./chainparamsbase.h:33:51: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:33:70: error: ‘uint16_t’ has not been declared
33 | CBaseChainParams(const std::string& data_dir, uint16_t rpc_port, uint16_t onion_service_target_port)
| ^~~~~~~~
./chainparamsbase.h:33:70: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:37:11: error: ‘uint16_t’ does not name a type
37 | const uint16_t m_rpc_port;
| ^~~~~~~~
./chainparamsbase.h:37:11: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:38:11: error: ‘uint16_t’ does not name a type
38 | const uint16_t m_onion_service_target_port;
| ^~~~~~~~
./chainparamsbase.h:38:11: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h: In constructor ‘CBaseChainParams::CBaseChainParams(const std::string&, int, int)’:
./chainparamsbase.h:34:11: error: class ‘CBaseChainParams’ does not have any field named ‘m_rpc_port’
34 | : m_rpc_port(rpc_port), m_onion_service_target_port(onion_service_target_port), strDataDir(data_dir) {}
| ^~~~~~~~~~
./chainparamsbase.h:34:33: error: class ‘CBaseChainParams’ does not have any field named ‘m_onion_service_target_port’
34 | : m_rpc_port(rpc_port), m_onion_service_target_port(onion_service_target_port), strDataDir(data_dir) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
httpserver.cpp: In function ‘bool HTTPBindAddresses(evhttp*)’:
httpserver.cpp:300:59: error: ‘const class CBaseChainParams’ has no member named ‘RPCPort’
300 | int http_port = gArgs.GetArg("-rpcport", BaseParams().RPCPort());
| ^~~~~~~
In file included from httpserver.cpp:13:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from ./threadsafety.h:9,
from ./sync.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
httpserver.cpp:93:9: required from ‘bool WorkQueue<WorkItem>::Enqueue(WorkItem*) [with WorkItem = HTTPClosure]’
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^~~~~~~~~~~~~
httpserver.cpp:268:31: required from here
268 | if (workQueue->Enqueue(item.get()))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:12854: libbitcoin_server_a-httpserver.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-dbwrapper.o -MD -MP -MF .deps/libbitcoin_server_a-dbwrapper.Tpo -c -o libbitcoin_server_a-dbwrapper.o `test -f 'dbwrapper.cpp' || echo './'`dbwrapper.cpp
In file included from ./util/system.h:19,
from ./dbwrapper.h:12,
from dbwrapper.cpp:5:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./util/system.h:23:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./dbwrapper.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:12812: libbitcoin_server_a-dbwrapper.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-flatfile.o -MD -MP -MF .deps/libbitcoin_server_a-flatfile.Tpo -c -o libbitcoin_server_a-flatfile.o `test -f 'flatfile.cpp' || echo './'`flatfile.cpp
In file included from ./util/system.h:19,
from flatfile.cpp:11:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./util/system.h:23:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./flatfile.h:11,
from flatfile.cpp:8:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:12826: libbitcoin_server_a-flatfile.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-pow.o -MD -MP -MF .deps/libbitcoin_server_a-pow.Tpo -c -o libbitcoin_server_a-pow.o `test -f 'pow.cpp' || echo './'`pow.cpp
mv -f .deps/libbitcoin_server_a-pow.Tpo .deps/libbitcoin_server_a-pow.Po
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-versionbits.o -MD -MP -MF .deps/libbitcoin_server_a-versionbits.Tpo -c -o libbitcoin_server_a-versionbits.o `test -f 'versionbits.cpp' || echo './'`versionbits.cpp
mv -f .deps/libbitcoin_server_a-versionbits.Tpo .deps/libbitcoin_server_a-versionbits.Po
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-noui.o -MD -MP -MF .deps/libbitcoin_server_a-noui.Tpo -c -o libbitcoin_server_a-noui.o `test -f 'noui.cpp' || echo './'`noui.cpp
mv -f .deps/libbitcoin_server_a-noui.Tpo .deps/libbitcoin_server_a-noui.Po
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-signet.o -MD -MP -MF .deps/libbitcoin_server_a-signet.Tpo -c -o libbitcoin_server_a-signet.o `test -f 'signet.cpp' || echo './'`signet.cpp
In file included from ./util/system.h:19,
from signet.cpp:23:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./util/system.h:23:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./util/system.h:20:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:13302: libbitcoin_server_a-signet.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-addrman.o -MD -MP -MF .deps/libbitcoin_server_a-addrman.Tpo -c -o libbitcoin_server_a-addrman.o `test -f 'addrman.cpp' || echo './'`addrman.cpp
In file included from ./util/system.h:19,
from ./addrman.h:17,
from addrman.cpp:6:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./addrman.h:14:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from ./threadsafety.h:9,
from ./sync.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:12728: libbitcoin_server_a-addrman.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT litecoind-bitcoind.o -MD -MP -MF .deps/litecoind-bitcoind.Tpo -c -o litecoind-bitcoind.o `test -f 'bitcoind.cpp' || echo './'`bitcoind.cpp
In file included from ./util/ref.h:8,
from bitcoind.cpp:19:
./util/check.h:46:2: error: #error "Cannot compile without assertions!"
46 | #error "Cannot compile without assertions!"
| ^~~~~
In file included from ./util/system.h:19,
from bitcoind.cpp:21:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./chainparams.h:9,
from bitcoind.cpp:10:
./chainparamsbase.h:29:5: error: ‘uint16_t’ does not name a type
29 | uint16_t RPCPort() const { return m_rpc_port; }
| ^~~~~~~~
./chainparamsbase.h:10:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
9 | #include <string>
+++ |+#include <cstdint>
10 |
./chainparamsbase.h:30:5: error: ‘uint16_t’ does not name a type
30 | uint16_t OnionServiceTargetPort() const { return m_onion_service_target_port; }
| ^~~~~~~~
./chainparamsbase.h:30:5: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:33:51: error: ‘uint16_t’ has not been declared
33 | CBaseChainParams(const std::string& data_dir, uint16_t rpc_port, uint16_t onion_service_target_port)
| ^~~~~~~~
./chainparamsbase.h:33:51: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:33:70: error: ‘uint16_t’ has not been declared
33 | CBaseChainParams(const std::string& data_dir, uint16_t rpc_port, uint16_t onion_service_target_port)
| ^~~~~~~~
./chainparamsbase.h:33:70: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:37:11: error: ‘uint16_t’ does not name a type
37 | const uint16_t m_rpc_port;
| ^~~~~~~~
./chainparamsbase.h:37:11: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:38:11: error: ‘uint16_t’ does not name a type
38 | const uint16_t m_onion_service_target_port;
| ^~~~~~~~
./chainparamsbase.h:38:11: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h: In constructor ‘CBaseChainParams::CBaseChainParams(const std::string&, int, int)’:
./chainparamsbase.h:34:11: error: class ‘CBaseChainParams’ does not have any field named ‘m_rpc_port’
34 | : m_rpc_port(rpc_port), m_onion_service_target_port(onion_service_target_port), strDataDir(data_dir) {}
| ^~~~~~~~~~
./chainparamsbase.h:34:33: error: class ‘CBaseChainParams’ does not have any field named ‘m_onion_service_target_port’
34 | : m_rpc_port(rpc_port), m_onion_service_target_port(onion_service_target_port), strDataDir(data_dir) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./util/system.h:23:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./util/settings.h:8,
from ./interfaces/chain.h:10,
from bitcoind.cpp:14:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:17180: litecoind-bitcoind.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-addrdb.o -MD -MP -MF .deps/libbitcoin_server_a-addrdb.Tpo -c -o libbitcoin_server_a-addrdb.o `test -f 'addrdb.cpp' || echo './'`addrdb.cpp
In file included from ./util/system.h:19,
from ./addrman.h:17,
from addrdb.cpp:8:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./addrman.h:14:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./addrdb.h:9,
from addrdb.cpp:6:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:12714: libbitcoin_server_a-addrdb.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-chain.o -MD -MP -MF .deps/libbitcoin_server_a-chain.Tpo -c -o libbitcoin_server_a-chain.o `test -f 'chain.cpp' || echo './'`chain.cpp
mv -f .deps/libbitcoin_server_a-chain.Tpo .deps/libbitcoin_server_a-chain.Po
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-txdb.o -MD -MP -MF .deps/libbitcoin_server_a-txdb.Tpo -c -o libbitcoin_server_a-txdb.o `test -f 'txdb.cpp' || echo './'`txdb.cpp
In file included from ./util/system.h:19,
from ./dbwrapper.h:12,
from ./txdb.h:10,
from txdb.cpp:6:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./util/system.h:23:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./libmw/include/mw/file/FilePath.h:16,
from ./libmw/include/mw/file/File.h:4,
from ./libmw/include/mw/file/AppendOnlyFile.h:3,
from ./libmw/include/mw/mmr/MMR.h:8,
from ./libmw/include/mw/node/CoinsView.h:9,
from ./coins.h:13,
from ./txdb.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:13344: libbitcoin_server_a-txdb.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-miner.o -MD -MP -MF .deps/libbitcoin_server_a-miner.Tpo -c -o libbitcoin_server_a-miner.o `test -f 'miner.cpp' || echo './'`miner.cpp
In file included from ./util/system.h:19,
from ./dbwrapper.h:12,
from ./txdb.h:10,
from ./validation.h:23,
from ./miner.h:12,
from miner.cpp:6:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./txmempool.h:23,
from ./miner.h:11:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./txmempool.h:645:52: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./libmw/include/mw/file/FilePath.h:16,
from ./libmw/include/mw/file/File.h:4,
from ./libmw/include/mw/file/AppendOnlyFile.h:3,
from ./libmw/include/mw/mmr/MMR.h:8,
from ./libmw/include/mw/node/CoinsView.h:9,
from ./coins.h:13,
from ./txmempool.h:17:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:12952: libbitcoin_server_a-miner.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-net.o -MD -MP -MF .deps/libbitcoin_server_a-net.Tpo -c -o libbitcoin_server_a-net.o `test -f 'net.cpp' || echo './'`net.cpp
In file included from ./util/system.h:19,
from ./addrman.h:17,
from ./net.h:10,
from net.cpp:10:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./addrman.h:14:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./addrdb.h:9,
from ./net.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./scheduler.h:73:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
net.cpp: In member function ‘std::string CNode::ConnectionTypeAsString() const’:
net.cpp:530:1: warning: control reaches end of non-void function [-Wreturn-type]
530 | }
| ^
./net.h: In member function ‘bool CNode::IsOutboundOrBlockRelayConn() const’:
./net.h:935:5: warning: control reaches end of non-void function [-Wreturn-type]
935 | }
| ^
make[2]: *** [Makefile:12994: libbitcoin_server_a-net.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-txrequest.o -MD -MP -MF .deps/libbitcoin_server_a-txrequest.Tpo -c -o libbitcoin_server_a-txrequest.o `test -f 'txrequest.cpp' || echo './'`txrequest.cpp
In file included from ./util/system.h:19,
from ./addrman.h:17,
from ./net.h:10,
from ./txrequest.h:9,
from txrequest.cpp:5:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./addrman.h:14:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./addrdb.h:9,
from ./net.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:13358: libbitcoin_server_a-txrequest.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-torcontrol.o -MD -MP -MF .deps/libbitcoin_server_a-torcontrol.Tpo -c -o libbitcoin_server_a-torcontrol.o `test -f 'torcontrol.cpp' || echo './'`torcontrol.cpp
In file included from ./util/system.h:19,
from ./addrman.h:17,
from ./net.h:10,
from torcontrol.cpp:11:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./chainparams.h:9,
from torcontrol.cpp:8:
./chainparamsbase.h:29:5: error: ‘uint16_t’ does not name a type
29 | uint16_t RPCPort() const { return m_rpc_port; }
| ^~~~~~~~
./chainparamsbase.h:9:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
8 | #include <memory>
+++ |+#include <cstdint>
9 | #include <string>
./chainparamsbase.h:30:5: error: ‘uint16_t’ does not name a type
30 | uint16_t OnionServiceTargetPort() const { return m_onion_service_target_port; }
| ^~~~~~~~
./chainparamsbase.h:30:5: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:33:51: error: ‘uint16_t’ has not been declared
33 | CBaseChainParams(const std::string& data_dir, uint16_t rpc_port, uint16_t onion_service_target_port)
| ^~~~~~~~
./chainparamsbase.h:33:51: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:33:70: error: ‘uint16_t’ has not been declared
33 | CBaseChainParams(const std::string& data_dir, uint16_t rpc_port, uint16_t onion_service_target_port)
| ^~~~~~~~
./chainparamsbase.h:33:70: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:37:11: error: ‘uint16_t’ does not name a type
37 | const uint16_t m_rpc_port;
| ^~~~~~~~
./chainparamsbase.h:37:11: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:38:11: error: ‘uint16_t’ does not name a type
38 | const uint16_t m_onion_service_target_port;
| ^~~~~~~~
./chainparamsbase.h:38:11: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h: In constructor ‘CBaseChainParams::CBaseChainParams(const std::string&, int, int)’:
./chainparamsbase.h:34:11: error: class ‘CBaseChainParams’ does not have any field named ‘m_rpc_port’
34 | : m_rpc_port(rpc_port), m_onion_service_target_port(onion_service_target_port), strDataDir(data_dir) {}
| ^~~~~~~~~~
./chainparamsbase.h:34:33: error: class ‘CBaseChainParams’ does not have any field named ‘m_onion_service_target_port’
34 | : m_rpc_port(rpc_port), m_onion_service_target_port(onion_service_target_port), strDataDir(data_dir) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
torcontrol.cpp: In function ‘CService DefaultOnionServiceTarget()’:
torcontrol.cpp:789:48: error: ‘const class CBaseChainParams’ has no member named ‘OnionServiceTargetPort’
789 | return {onion_service_target, BaseParams().OnionServiceTargetPort()};
| ^~~~~~~~~~~~~~~~~~~~~~
torcontrol.cpp:789:72: error: could not convert ‘{onion_service_target, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘CService’
789 | return {onion_service_target, BaseParams().OnionServiceTargetPort()};
| ^
| |
| <brace-enclosed initializer list>
In file included from ./addrman.h:14:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./addrdb.h:9,
from ./net.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:13330: libbitcoin_server_a-torcontrol.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-httprpc.o -MD -MP -MF .deps/libbitcoin_server_a-httprpc.Tpo -c -o libbitcoin_server_a-httprpc.o `test -f 'httprpc.cpp' || echo './'`httprpc.cpp
In file included from ./rpc/util.h:19,
from ./rpc/server.h:11,
from httprpc.cpp:11:
./util/check.h:46:2: error: #error "Cannot compile without assertions!"
46 | #error "Cannot compile without assertions!"
| ^~~~~
In file included from ./util/system.h:19,
from httprpc.cpp:13:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./chainparams.h:9,
from httprpc.cpp:7:
./chainparamsbase.h:29:5: error: ‘uint16_t’ does not name a type
29 | uint16_t RPCPort() const { return m_rpc_port; }
| ^~~~~~~~
./chainparamsbase.h:10:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
9 | #include <string>
+++ |+#include <cstdint>
10 |
./chainparamsbase.h:30:5: error: ‘uint16_t’ does not name a type
30 | uint16_t OnionServiceTargetPort() const { return m_onion_service_target_port; }
| ^~~~~~~~
./chainparamsbase.h:30:5: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:33:51: error: ‘uint16_t’ has not been declared
33 | CBaseChainParams(const std::string& data_dir, uint16_t rpc_port, uint16_t onion_service_target_port)
| ^~~~~~~~
./chainparamsbase.h:33:51: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:33:70: error: ‘uint16_t’ has not been declared
33 | CBaseChainParams(const std::string& data_dir, uint16_t rpc_port, uint16_t onion_service_target_port)
| ^~~~~~~~
./chainparamsbase.h:33:70: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:37:11: error: ‘uint16_t’ does not name a type
37 | const uint16_t m_rpc_port;
| ^~~~~~~~
./chainparamsbase.h:37:11: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h:38:11: error: ‘uint16_t’ does not name a type
38 | const uint16_t m_onion_service_target_port;
| ^~~~~~~~
./chainparamsbase.h:38:11: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
./chainparamsbase.h: In constructor ‘CBaseChainParams::CBaseChainParams(const std::string&, int, int)’:
./chainparamsbase.h:34:11: error: class ‘CBaseChainParams’ does not have any field named ‘m_rpc_port’
34 | : m_rpc_port(rpc_port), m_onion_service_target_port(onion_service_target_port), strDataDir(data_dir) {}
| ^~~~~~~~~~
./chainparamsbase.h:34:33: error: class ‘CBaseChainParams’ does not have any field named ‘m_onion_service_target_port’
34 | : m_rpc_port(rpc_port), m_onion_service_target_port(onion_service_target_port), strDataDir(data_dir) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./script/signingprovider.h:13,
from ./outputtype.h:11,
from ./rpc/util.h:10:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from ./support/lockedpool.h:11,
from ./support/allocators/secure.h:9,
from ./key.h:12,
from ./script/signingprovider.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:12840: libbitcoin_server_a-httprpc.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-blockencodings.o -MD -MP -MF .deps/libbitcoin_server_a-blockencodings.Tpo -c -o libbitcoin_server_a-blockencodings.o `test -f 'blockencodings.cpp' || echo './'`blockencodings.cpp
In file included from ./util/system.h:19,
from ./dbwrapper.h:12,
from ./txdb.h:10,
from ./validation.h:23,
from blockencodings.cpp:14:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./txmempool.h:23,
from blockencodings.cpp:13:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./txmempool.h:645:52: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./libmw/include/mw/file/FilePath.h:16,
from ./libmw/include/mw/file/File.h:4,
from ./libmw/include/mw/file/AppendOnlyFile.h:3,
from ./libmw/include/mw/mmr/MMR.h:8,
from ./libmw/include/mw/node/CoinsView.h:9,
from ./coins.h:13,
from ./txmempool.h:17:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:12756: libbitcoin_server_a-blockencodings.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-blockfilter.o -MD -MP -MF .deps/libbitcoin_server_a-blockfilter.Tpo -c -o libbitcoin_server_a-blockfilter.o `test -f 'blockfilter.cpp' || echo './'`blockfilter.cpp
mv -f .deps/libbitcoin_server_a-blockfilter.Tpo .deps/libbitcoin_server_a-blockfilter.Po
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-rest.o -MD -MP -MF .deps/libbitcoin_server_a-rest.Tpo -c -o libbitcoin_server_a-rest.o `test -f 'rest.cpp' || echo './'`rest.cpp
In file included from ./util/system.h:19,
from ./dbwrapper.h:12,
from ./index/base.h:8,
from ./index/txindex.h:9,
from rest.cpp:10:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./rpc/util.h:19,
from ./rpc/server.h:11,
from rest.cpp:16:
./util/check.h:46:2: error: #error "Cannot compile without assertions!"
46 | #error "Cannot compile without assertions!"
| ^~~~~
In file included from ./util/system.h:23:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./flatfile.h:11,
from ./chain.h:11,
from rest.cpp:6:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:13176: libbitcoin_server_a-rest.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-txmempool.o -MD -MP -MF .deps/libbitcoin_server_a-txmempool.Tpo -c -o libbitcoin_server_a-txmempool.o `test -f 'txmempool.cpp' || echo './'`txmempool.cpp
In file included from ./util/system.h:19,
from ./dbwrapper.h:12,
from ./txdb.h:10,
from ./validation.h:23,
from txmempool.cpp:12:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./txmempool.h:23,
from txmempool.cpp:6:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./txmempool.h:645:52: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./libmw/include/mw/file/FilePath.h:16,
from ./libmw/include/mw/file/File.h:4,
from ./libmw/include/mw/file/AppendOnlyFile.h:3,
from ./libmw/include/mw/mmr/MMR.h:8,
from ./libmw/include/mw/node/CoinsView.h:9,
from ./coins.h:13,
from ./txmempool.h:17:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:13372: libbitcoin_server_a-txmempool.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-validationinterface.o -MD -MP -MF .deps/libbitcoin_server_a-validationinterface.Tpo -c -o libbitcoin_server_a-validationinterface.o `test -f 'validationinterface.cpp' || echo './'`validationinterface.cpp
In file included from ./validationinterface.h:10,
from validationinterface.cpp:6:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./scheduler.h:73:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from ./threadsafety.h:9,
from ./sync.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
mv -f .deps/libbitcoin_server_a-validationinterface.Tpo .deps/libbitcoin_server_a-validationinterface.Po
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-init.o -MD -MP -MF .deps/libbitcoin_server_a-init.Tpo -c -o libbitcoin_server_a-init.o `test -f 'init.cpp' || echo './'`init.cpp
In file included from ./util/system.h:19,
from ./addrman.h:17,
from init.cpp:12:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./rpc/util.h:19,
from ./rpc/server.h:11,
from init.cpp:43:
./util/check.h:46:2: error: #error "Cannot compile without assertions!"
46 | #error "Cannot compile without assertions!"
| ^~~~~
In file included from ./addrman.h:14:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from ./threadsafety.h:9,
from ./sync.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./scheduler.h:73:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:12910: libbitcoin_server_a-init.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-validation.o -MD -MP -MF .deps/libbitcoin_server_a-validation.Tpo -c -o libbitcoin_server_a-validation.o `test -f 'validation.cpp' || echo './'`validation.cpp
In file included from ./util/system.h:19,
from ./dbwrapper.h:12,
from ./txdb.h:10,
from ./validation.h:23,
from validation.cpp:6:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from validation.cpp:46:
./util/check.h:46:2: error: #error "Cannot compile without assertions!"
46 | #error "Cannot compile without assertions!"
| ^~~~~
In file included from ./validation.h:21:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./txmempool.h:645:52: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./libmw/include/mw/file/FilePath.h:16,
from ./libmw/include/mw/file/File.h:4,
from ./libmw/include/mw/file/AppendOnlyFile.h:3,
from ./libmw/include/mw/mmr/MMR.h:8,
from ./libmw/include/mw/node/CoinsView.h:9,
from ./coins.h:13,
from ./validation.h:14:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
validation.cpp:2525:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:13386: libbitcoin_server_a-validation.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT mweb/libbitcoin_wallet_a-mweb_transact.o -MD -MP -MF mweb/.deps/libbitcoin_wallet_a-mweb_transact.Tpo -c -o mweb/libbitcoin_wallet_a-mweb_transact.o `test -f 'mweb/mweb_transact.cpp' || echo './'`mweb/mweb_transact.cpp
In file included from ./util/system.h:19,
from ./wallet/wallet.h:20,
from ./mweb/mweb_transact.h:7,
from mweb/mweb_transact.cpp:1:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from ./script/signingprovider.h:13,
from ./outputtype.h:11,
from ./wallet/wallet.h:13:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from ./support/lockedpool.h:11,
from ./support/allocators/secure.h:9,
from ./key.h:12,
from ./mweb/mweb_wallet.h:4,
from ./mweb/mweb_transact.h:4:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
make[2]: *** [Makefile:13904: mweb/libbitcoin_wallet_a-mweb_transact.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[2]: Entering directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
/usr/bin/x86_64-pld-linux-g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src/config -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -I. -I./secp256k1-zkp/include -DBOOST_SP_USE_STD_ATOMIC -DBOOST_AC_USE_STD_ATOMIC -pthread -I/usr/include -I./leveldb/include -I./leveldb/helpers/memenv -I./libmw/include -I./libmw/deps/caches/include -I./libmw/deps/ghc/include -I./libmw/deps/mio/include -I. -I./libmw/include -I./libmw/deps/crypto/include -DNDEBUG -DQT_NO_DEBUG -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -fPIE -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -march=x86-64 -mtune=generic -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -fno-extended-identifiers -MT libbitcoin_server_a-net_processing.o -MD -MP -MF .deps/libbitcoin_server_a-net_processing.Tpo -c -o libbitcoin_server_a-net_processing.o `test -f 'net_processing.cpp' || echo './'`net_processing.cpp
In file included from ./util/system.h:19,
from ./addrman.h:17,
from ./net.h:10,
from ./net_processing.h:10,
from net_processing.cpp:6:
./compat/assumptions.h:17:3: error: #error "Litecoin cannot be compiled without assertions."
17 | # error "Litecoin cannot be compiled without assertions."
| ^~~~~
In file included from net_processing.cpp:30:
./util/check.h:46:2: error: #error "Cannot compile without assertions!"
46 | #error "Cannot compile without assertions!"
| ^~~~~
In file included from ./addrman.h:14:
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::recursive_mutex>; Base = std::unique_lock<std::recursive_mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./util/system.h:333:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::recursive_mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/15.2.0/mutex:50,
from /usr/include/boost/system/detail/mutex.hpp:75,
from /usr/include/boost/system/detail/error_category_impl.hpp:79,
from /usr/include/boost/system/error_category.hpp:11,
from /usr/include/boost/filesystem/detail/path_traits.hpp:26,
from /usr/include/boost/filesystem/path.hpp:34,
from /usr/include/boost/filesystem.hpp:16,
from ./fs.h:14,
from ./addrdb.h:9,
from ./net.h:9:
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
./sync.h: In instantiation of ‘bool UniqueLock<Mutex, Base>::TryEnter(const char*, const char*, int) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’:
./sync.h:162:13: required from ‘UniqueLock<Mutex, Base>::UniqueLock(Mutex&, const char*, const char*, int, bool) [with Mutex = AnnotatedMixin<std::mutex>; Base = std::unique_lock<std::mutex>]’
162 | TryEnter(pszName, pszFile, nLine);
| ^~~~~~~~
./scheduler.h:73:9: required from here
230 | #define LOCK(cs) DebugLock<decltype(cs)> PASTE2(criticalblock, __COUNTER__)(cs, #cs, __FILE__, __LINE__)
| ^
./sync.h:152:23: warning: ignoring return value of ‘bool std::unique_lock<_Mutex>::try_lock() [with _Mutex = std::mutex]’, declared with attribute ‘nodiscard’ [-Wunused-result]
152 | Base::try_lock();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/15.2.0/bits/unique_lock.h:151:7: note: declared here
151 | try_lock()
| ^~~~~~~~
./net.h: In member function ‘bool CNode::IsOutboundOrBlockRelayConn() const’:
./net.h:935:5: warning: control reaches end of non-void function [-Wreturn-type]
935 | }
| ^
./net.h: In member function ‘bool CNode::ExpectServicesFromConn() const’:
./net.h:980:5: warning: control reaches end of non-void function [-Wreturn-type]
980 | }
| ^
make[2]: *** [Makefile:13008: libbitcoin_server_a-net_processing.o] Error 1
make[2]: Leaving directory '/tmp/B.2xdffdjj/BUILD/litecoin-0.21.4-build/litecoin-0.21.4/src'
make[1]: *** [Makefile:21502: all-recursive] Error 1
make: *** [Makefile:820: all-recursive] Error 1
error: Bad exit status from /tmp/B.2xdffdjj/BUILD/tmp/rpm-tmp.zuYpVD (%build)
RPM build warnings:
Could not canonicalize hostname: ymir
RPM build errors:
Bad exit status from /tmp/B.2xdffdjj/BUILD/tmp/rpm-tmp.zuYpVD (%build)
ended at: Thu Oct 16 16:49:02 2025, done in 0:01:29.317813
error: No files produced.
+ chmod -R u+rwX /tmp/B.2xdffdjj/BUILD
+ rm -rf /tmp/B.2xdffdjj/tmp /tmp/B.2xdffdjj/BUILD
+ rm -rf /tmp/B.2xdffdjj
Begin-PLD-Builder-Info
Build-Time: user:243.61s sys:51.42s real:92.54s (faults io:9 non-io:6594652)
End-PLD-Builder-Info
|