There are 2 repositories (that I know of) for the Blitz wallet:
- The one posted in ANN here (
https://bitcointalksearch.org/topic/blitz-blitz-coin-blitznodes-blitzpay-theviralexchange-blitzmm-848186):
https://bitbucket.org/blitz-dev/blitz-public- Another one used for the Azure submission:
https://github.com/KemBits/blitz-coinI cannot run the qt wallet or the daemon and I get the same problems with both repositories. The system runs on Lubuntu 15.10.
Lubuntu currently installs Boost 1.58, where wallet docs indicate 1.37.
I have berkeleydb 4.8 installed from bitcoin ppa, and also the most recent version that comes with Lubuntu. Apt-get tells me I should remove the 2 packages for 4.8...
While compiling the Qt wallet, I get this error (I left everything at defaults, upnp etc when issuing qmake):
g++: error: /usr/local/src/blitz/src/leveldb/libleveldb.a: No such file or directory
g++: error: /usr/local/src/blitz/src/leveldb/libmemenv.a: No such file or directory
Makefile:810: recipe for target 'blitz-qt' failed
make: *** [blitz-qt] Error 1Those 2 files do not exist and are in fact listed in .gitignore, in the folder they were supposed to be in.
I don't know if this is related, but /src/leveldb/build_detect_platform already comes with execute permissions (at least when cloned from the bitbucket repo).
I solved this part by following this post:
https://bitcointalksearch.org/topic/m.2774736Basically I compile the 2 missing files before the 'main' qmake/make:
cd src/leveldb
make libleveldb.a libmemenv.a
After this problem goes away, I get a few Boost errors:
/usr/bin/ld: cannot find -lboost_system-mt
/usr/bin/ld: cannot find -lboost_filesystem-mt
/usr/bin/ld: cannot find -lboost_program_options-mt
/usr/bin/ld: cannot find -lboost_thread-mt
/usr/bin/ld: cannot find -lboost_date_time-mt
/usr/bin/ld: cannot find -lboost_chrono-mt
collect2: error: ld returned 1 exit status
Makefile:804: recipe for target 'blitz-qt' failed
make: *** [blitz-qt] Error 1And according to this
http://askubuntu.com/questions/486006/cannot-find-boost-thread-mt-libraryThe mt (multithreading) has been removed and is not needed any more. Fixes are: either update the code or symlink to the correct (-mt less) files. I created all the symlinks and make finally completed successfully.
Then at run time, execution was halted (its a VNC session):
./blitz-qt
Qt: XKEYBOARD extension not present on the X server.
QGradient::setColorAt: Color position must be specified in the range 0 to 1
QGradient::setColorAt: Color position must be specified in the range 0 to 1
Abr 26 20:46:12.469 [err] tor_assertion_failed_(): Bug: src/tor/memarea.c:127: alloc_chunk: Assertion realign_pointer(res->next_mem) == res->next_mem failed; aborting.
Abr 26 20:46:12.500 [err] Bug: Assertion realign_pointer(res->next_mem) == res->next_mem failed in alloc_chunk at src/tor/memarea.c:127. Stack trace:
Abr 26 20:46:12.500 [err] Bug: ./blitz-qt() [0x8114e63]
Abr 26 20:46:12.500 [err] Bug: ./blitz-qt() [0x81fa050]
Abr 26 20:46:12.500 [err] Bug: ./blitz-qt() [0x81a7d8c]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x81a7e67]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x81f21c5]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x81bdc69]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x81bddf5]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x81be165]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x81be3ca]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x814590f]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x814a73d]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x814aa6f]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x81b83fd]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x81b9436]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x82e2af7]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt(_Z12ThreadTorNetPv+0x3f) [0x82e2bef]
Abr 26 20:46:12.501 [err] Bug: ./blitz-qt() [0x8268b80]
Abr 26 20:46:12.501 [err] Bug: /usr/lib/i386-linux-gnu/libboost_thread.so.1.58.0(+0xdc05) [0xb71eac05]
Abr 26 20:46:12.501 [err] Bug: /lib/i386-linux-gnu/libpthread.so.0(+0x61aa) [0xb368c1aa]
Abr 26 20:46:12.501 [err] Bug: /lib/i386-linux-gnu/libc.so.6(clone+0x5e) [0xb33d202e]
Aborted (core dumped)At this point I'm stuck and I cannot find any solutions searching in Google. Is this a Boost update problem, something about the Tor code, something wrong with my Boost installation or is it something else?
Regarding the daemon, I was able to compile, but then I also got runtime errors:
/usr/local/src/blitz/src$ ./blitzd
Apr 18 03:33:50.855 [err] tor_assertion_failed_(): Bug: tor/memarea.c:127: alloc_chunk: Assertion realign_pointer(res->next_mem) == res->next_mem failed; aborting.
Apr 18 03:33:50.873 [err] Bug: Assertion realign_pointer(res->next_mem) == res->next_mem failed in alloc_chunk at tor/memarea.c:127. Stack trace:
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x825ea5e]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x83443ba]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x82f01a6]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x82f0278]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x83372ee]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x8306a54]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x8306bc7]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x8306ee8]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x830711e]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x828f979]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x82944f1]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x829481a]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x830127f]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x83022cc]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x81732df]
Apr 18 03:33:50.873 [err] Bug: ./blitzd() [0x81733be]
Apr 18 03:33:50.873 [err] Bug: /usr/lib/i386-linux-gnu/libboost_thread.so.1.58.0(+0xdc05) [0xb76a5c05]
Apr 18 03:33:50.873 [err] Bug: /lib/i386-linux-gnu/libpthread.so.0(+0x61aa) [0xb71ea1aa]
Apr 18 03:33:50.873 [err] Bug: /lib/i386-linux-gnu/libc.so.6(clone+0x5e) [0xb6f2102e]
Aborted (core dumped)The runtime problem seems to be quite similar in every case.
Has anyone been able to compile and run this in Ubuntu recently?