Open younicoin opened 6 months ago
Please contact us on Discord
发件人: Youni @.> 发送时间: 2024年5月13日 19:08 收件人: LootChain/QuestChain @.> 抄送: Subscribed @.***> 主题: [LootChain/QuestChain] Some fixed and non-fixed errors of QuestChain build process (Issue #1)
Hello! today I tried to build QuestChain on Linux 5.19.0, Devuan Daedalus, g++ 12.2.0. Some errors were fixed, but last error rests unsolved. Hope, this log will help you when facing errors with
git clone https://github.com/LootChain/QuestChain.git
chmod +x autogen.sh
./configure --with-incompatible-bdb
make
In file included from ./evo/providertx.h:8,
from bloom.cpp:9:
./bls/bls.h:14:10: fatal error: chiabls/bls.hpp: No such file or directory
14 | #include <chiabls/bls.hpp>
cd depends
mk
make: ./config.guess: Permission denied
make: ./config.guess: Permission denied
make: ./config.guess: Permission denied
make: ./config.sub: Permission denied
make: ./config.guess: Permission denied
make: ./config.sub: Permission denied
/bin/sh: 1: Makefile: not found
/bin/sh: 1: Syntax error: "|" unexpected
/bin/sh: 1: Makefile: not found
/bin/sh: 1: Syntax error: "|" unexpected
chmod +x config.guess config.sub
mk
In file included from /mnt/blockchains/crypto/testing/qch/QuestChain/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/contrib/relic/src/md/blake2s-ref.c:18:
/mnt/blockchains/crypto/testing/qch/QuestChain/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/contrib/relic/src/md/blake2.h:101:5: error: size of array element is not a multiple of its alignment
101 | blake2s_state S[8][1];
| ^~~~~
/mnt/blockchains/crypto/testing/qch/QuestChain/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/contrib/relic/src/md/blake2.h:102:5: error: size of array element is not a multiple of its alignment
102 | blake2s_state R[1];
/mnt/blockchains/crypto/testing/qch/QuestChain/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/contrib/relic/src/md/blake2s-ref.c:329:3: error: size of array element is not a multiple of its alignment
329 | blake2s_state S[1];
| ^~~~~
find . -type f -name blake2.h
./depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/contrib/relic/src/md/blake2.h
v ./depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/contrib/relic/src/md/blake2.h
64:typedef struct ALIGNME( 64 ) blake2s_state 89:typedef struct ALIGNME( 64 ) __blake2b_state 99:-typedef struct blake2sp_state +ALIGNME( 64 ) typedef struct blake2sp_state 107:-typedef struct __blake2bp_state +ALIGNME( 64 ) typedef struct blake2bp_state mk
In file included from /usr/include/signal.h:328,
from /mnt/blockchains/crypto/testing/qch/QuestChain/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/src/../contrib/catch/catch.hpp:4846,
from /mnt/blockchains/crypto/testing/qch/QuestChain/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/src/test.cpp:16:
/mnt/blockchains/crypto/testing/qch/QuestChain/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/src/../contrib/catch/catch.hpp:7422:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
7422 | constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
| ^~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24:
/usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
640 | extern long int sysconf (int name) THROW;
| ^~~
/mnt/blockchains/crypto/testing/qch/QuestChain/depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/src/../contrib/catch/catch.hpp:7481:45: error: size of array ‘altStackMem’ is not an integral constant-expression
7481 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
| ^~~~
make[3]: [src/CMakeFiles/runtest.dir/build.make:76: src/CMakeFiles/runtest.dir/test.cpp.o] Error 1
v depends/work/build/x86_64-pc-linux-gnu/chia_bls/v20181101-a9549acd618/src/../contrib/catch/catch.hpp
7422://constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
constexpr static std::size_t sigStackSize = 32768;
mk
ar crs libminiupnpc.a miniwget.o minixml.o igd_desc_parse.o minisoap.o miniupnpc.o upnpreplyparse.o upnpcommands.o upnperrors.o connecthostport.o portlistingparse.o receivedata.o upnpdev.o minissdpc.o
make[1]: Leaving directory '/mnt/blockchains/crypto/testing/qch/QuestChain/depends/work/build/x86_64-pc-linux-gnu/miniupnpc/2.0.20170509-9807bc0e7a4'
Staging miniupnpc...
Postprocessing miniupnpc...
Caching miniupnpc...
copying packages: native_protobuf boost openssl libevent zeromq gmp chia_bls backtrace qrencode protobuf zlib qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans bdb miniupnpc
to: /mnt/blockchains/crypto/testing/qch/QuestChain/depends/x86_64-pc-linux-gnu
Mon May 13 12:27:52 PM MSK 2024
start date was Mon May 13 12:11:34 PM MSK 2024
cd ..
./configure --prefix=pwd
/depends/x86_64-pc-linux-gnu --with-incompatible-bdb
mk
/bin/bash: line 1: ../share/genbuild.sh: Permission denied
make[2]: [Makefile:13756: obj/build.h] Error 126
make[2]: Leaving directory '/mnt/blockchains/crypto/testing/qch/QuestChain/src'
make[1]: [Makefile:12262: all-recursive] Error 1
make[1]: Leaving directory '/mnt/blockchains/crypto/testing/qch/QuestChain/src'
make: [Makefile:742: all-recursive] Error 1
Mon May 13 12:38:20 PM MSK 2024
start date was Mon May 13 12:33:16 PM MSK 2024
chmod +x share/genbuild.sh
mk
AR leveldb/libmemenv.a
make[3]: Entering directory '/mnt/blockchains/crypto/testing/qch/QuestChain/src/secp256k1'
gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
gcc -g -O2 -Wall -Wextra -Wno-unused-function gen_context.o -o gen_context
./gen_context
CC src/libsecp256k1_la-secp256k1.lo
CCLD libsecp256k1.la
make[3]: Leaving directory '/mnt/blockchains/crypto/testing/qch/QuestChain/src/secp256k1'
CXXLD questchaind
/usr/bin/ld: /mnt/blockchains/crypto/testing/qch/QuestChain/depends/x86_64-pc-linux-gnu/lib/libevent.a(evutil_rand.o): in function evutil_secure_rng_add_bytes': evutil_rand.c:(.text+0x4f): undefined reference to
arc4random_addrandom'
collect2: error: ld returned 1 exit status
make[2]: [Makefile:4916: questchaind] Error 1
make[2]: Leaving directory '/mnt/blockchains/crypto/testing/qch/QuestChain/src'
make[1]: [Makefile:12262: all-recursive] Error 1
make[1]: Leaving directory '/mnt/blockchains/crypto/testing/qch/QuestChain/src'
make: *** [Makefile:742: all-recursive] Error 1
Mon May 13 12:42:57 PM MSK 2024
start date was Mon May 13 12:41:06 PM MSK 2024
grep -rl arc4random_addrandom * depends/x86_64-pc-linux-gnu/lib/libevent_core.a depends/x86_64-pc-linux-gnu/lib/libevent.a
grep -rl HAVE_ARC4RANDOM * depends/x86_64-pc-linux-gnu/include/event2/event-config.h depends/x86_64-pc-linux-gnu/include/expat_config.h v depends/x86_64-pc-linux-gnu/include/expat_config.h
v depends/packages/libevent.mk
2:-$(package)_version=2.1.8
+$(package)_version=2.1.12
sha256sum libevent-2.1.12-stable.tar.gz.1
92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb libevent-2.1.12-stable.tar.gz.1
cd depends
mk
copying packages: native_protobuf boost openssl libevent zeromq gmp chia_bls backtrace qrencode protobuf zlib qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans bdb miniupnpc
to: /mnt/blockchains/crypto/testing/qch/QuestChain/depends/x86_64-pc-linux-gnu
Mon May 13 01:42:00 PM MSK 2024
start date was Mon May 13 01:41:39 PM MSK 2024
cd ..
./configure --prefix=pwd
/depends/x86_64-pc-linux-gnu --with-incompatible-bdb
mk
CXXLD libquestchainconsensus.la
/usr/bin/ld: warning: script/.libs/libquestchainconsensus_la-script_error.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.40 assertion fail ../../bfd/reloc.c:8632
script/.libs/libquestchainconsensus_la-script_error.o:script_error.cpp:(.pdata+0x0): dangerous relocation: collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
compilation terminated.
make[2]: [Makefile:4775: libquestchainconsensus.la] Error 1
make[2]: Leaving directory '/mnt/blockchains/crypto/testing/qch/QuestChain/src'
make[1]: [Makefile:12262: all-recursive] Error 1
make[1]: Leaving directory '/mnt/blockchains/crypto/testing/qch/QuestChain/src'
make: *** [Makefile:742: all-recursive] Error 1
Mon May 13 01:59:42 PM MSK 2024
start date was Mon May 13 01:50:59 PM MSK 2024
― Reply to this email directly, view it on GitHubhttps://github.com/LootChain/QuestChain/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHP652J2OMLQ5W76NQZMDWTZCCNLPAVCNFSM6AAAAABHT7SMK6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4TENJQGM4TEOI. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello! today I tried to build QuestChain on Linux 5.19.0, Devuan Daedalus, g++ 12.2.0. Some errors were fixed, but last error rests unsolved. Hope, this log will help you when facing errors with