Debian Bug report logs -
#668868
bitcoind: Assertion failed at startup on mips (big endian)
Reported by: "Dwayne C. Litzenberger" <dlitz@dlitz.net>
Date: Sun, 15 Apr 2012 08:09:02 UTC
Severity: serious
Tags: patch
Merged with 650805
Found in version bitcoin/0.4.0-1
Fixed in versions bitcoin/0.6.2.1-1, bitcoin/0.6.2.1-2
Done: Jonas Smedegaard <dr@jones.dk>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Jonas Smedegaard <dr@jones.dk>:
Bug#668868; Package bitcoind.
(Sun, 15 Apr 2012 08:09:04 GMT) (full text, mbox, link).
Acknowledgement sent
to "Dwayne C. Litzenberger" <dlitz@dlitz.net>:
New Bug report received and forwarded. Copy sent to Jonas Smedegaard <dr@jones.dk>.
(Sun, 15 Apr 2012 08:09:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: bitcoind
Version: 0.3.24~dfsg-1
Severity: important
Tags: patch
The wheezy bitcoind package is completely unusable on mips (big endian).
When starting bitcoind on mips, it immediately fails with the following error:
bitcoind: main.cpp:1545: bool LoadBlockIndex(bool):
Assertion `block.hashMerkleRoot ==
uint256("0x4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b")'
failed.
New versions apparently fail to build from source, most like due to the
test suite being run at build time.[1]
I have filed a wishlist-severity bug[2] against bitcoind asking for
big-endian support. However, that's unlikely to happen any time soon,
because upstream has said that big-endian simply isn't supported and has
probably never worked[3]. I'm attaching a patch that will prevent bitcoind
from being built on big-endian architectures for now, so that the lack of
big-endian support won't prevent new versions from propagating to testing
on little-endian architectures.
Since bitcoind is currently useless on big-endian architectures, a bug
should[4] be filed against ftp.debian.org once this patch is applied,
asking that the old binaries be removed from the following big-endian
architectures: mips powerpc s390 sparc sparc64 hppa powerpcspe.
Cheers,
- Dwayne
[1] https://buildd.debian.org/status/fetch.php?pkg=bitcoin&arch=mips&ver=0.6.0-1&stamp=1333140761
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668864
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665922
[4] http://www.debian.org/devel/testing (under "Why is it sometimes hard to
get Architecture: all packages into 'testing'?")
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: mips
Kernel: Linux 2.6.32-5-4kc-malta
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bitcoind depends on:
ii libboost-filesystem1.46.1 1.46.1-8
ii libboost-program-options1.46.1 1.46.1-8
ii libboost-system1.46.1 1.46.1-8
ii libboost-thread1.46.1 1.46.1-8
ii libc6 2.13-27
ii libcrypto++9 5.6.1-5
ii libdb5.1++ 5.1.29-1
ii libgcc1 1:4.7.0-1
ii libglib2.0-0 2.30.2-6
ii libminiupnpc5 1.5-2
ii libssl1.0.0 1.0.1-4
ii libstdc++6 4.7.0-1
ii zlib1g 1:1.2.6.dfsg-2
bitcoind recommends no packages.
Versions of packages bitcoind suggests:
pn db-util <none>
pn db4.7-util <none>
pn db4.8-util <none>
-- no debconf information
[0001-Only-build-little-endian-architectures.patch (text/x-diff, attachment)]
Severity set to 'serious' from 'important'
Request was from Jonas Smedegaard <dr@jones.dk>
to control@bugs.debian.org.
(Thu, 10 May 2012 12:36:07 GMT) (full text, mbox, link).
Bug reassigned from package 'bitcoind' to 'src:bitcoin'.
Request was from Jonas Smedegaard <dr@jones.dk>
to control@bugs.debian.org.
(Thu, 10 May 2012 13:18:09 GMT) (full text, mbox, link).
No longer marked as found in versions bitcoin/0.3.24~dfsg-1.
Request was from Jonas Smedegaard <dr@jones.dk>
to control@bugs.debian.org.
(Thu, 10 May 2012 13:18:10 GMT) (full text, mbox, link).
Marked as found in versions bitcoin/0.4.0-1.
Request was from Jonas Smedegaard <dr@jones.dk>
to control@bugs.debian.org.
(Thu, 10 May 2012 13:18:11 GMT) (full text, mbox, link).
Merged 650805 668868
Request was from Jonas Smedegaard <dr@jones.dk>
to control@bugs.debian.org.
(Thu, 10 May 2012 13:18:16 GMT) (full text, mbox, link).
Reply sent
to Jonas Smedegaard <dr@jones.dk>:
You have taken responsibility.
(Thu, 10 May 2012 13:18:38 GMT) (full text, mbox, link).
Notification sent
to "Dwayne C. Litzenberger" <dlitz@dlitz.net>:
Bug acknowledged by developer.
(Thu, 10 May 2012 13:18:38 GMT) (full text, mbox, link).
Message #20 received at 668868-close@bugs.debian.org (full text, mbox, reply):
Source: bitcoin
Source-Version: 0.6.2.1-1
We believe that the bug you reported is fixed in the latest version of
bitcoin, which is due to be installed in the Debian FTP archive:
bitcoin_0.6.2.1-1.debian.tar.gz
to main/b/bitcoin/bitcoin_0.6.2.1-1.debian.tar.gz
bitcoin_0.6.2.1-1.dsc
to main/b/bitcoin/bitcoin_0.6.2.1-1.dsc
bitcoin_0.6.2.1.orig.tar.gz
to main/b/bitcoin/bitcoin_0.6.2.1.orig.tar.gz
bitcoind_0.6.2.1-1_amd64.deb
to main/b/bitcoin/bitcoind_0.6.2.1-1_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 668868@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonas Smedegaard <dr@jones.dk> (supplier of updated bitcoin package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 10 May 2012 14:09:46 +0200
Source: bitcoin
Binary: bitcoind
Architecture: source amd64
Version: 0.6.2.1-1
Distribution: unstable
Urgency: low
Maintainer: Jonas Smedegaard <dr@jones.dk>
Changed-By: Jonas Smedegaard <dr@jones.dk>
Description:
bitcoind - peer-to-peer network based digital currency - daemon
Closes: 667114 668864 668868
Changes:
bitcoin (0.6.2.1-1) unstable; urgency=low
.
* New upstream release.
.
* Add -fpermissive to CXXFLAGS to work around build failure with gcc
4.7.
Closes: bug#667114. Thanks to Matthias Klose.
* Only build on little-endian architectures: Upstream code does not
support big-endian.
Closes: bug#668868, #668864. Thanks to Dwayne C. Litzenberger.
Checksums-Sha1:
a379ffff3d91e0a0e607ebc1975ec38947a15c4d 2384 bitcoin_0.6.2.1-1.dsc
50cb50927d745e9c2f295a4e39ae78aa2f96483a 1359499 bitcoin_0.6.2.1.orig.tar.gz
25085f585bd44a686383b1c75f5eb0639275d390 22070 bitcoin_0.6.2.1-1.debian.tar.gz
2dbaec61a2119910db692622734c5a1055c9e187 597980 bitcoind_0.6.2.1-1_amd64.deb
Checksums-Sha256:
9d825b021d9e278ee93e388ba645e3d3191f5b83167b915b0466c8f6a9af094f 2384 bitcoin_0.6.2.1-1.dsc
2dfc6c47dd19b386c5308eb3c61e7459fbc918e7e863328b9bc096810f28bc46 1359499 bitcoin_0.6.2.1.orig.tar.gz
796fcb1cc0357296005d433c7de0f5f006811ba73c9230954739d7e320c994f8 22070 bitcoin_0.6.2.1-1.debian.tar.gz
6bee445378920373c2f01400d6b80c82c4d8a5b492eb8ab05450ca42346e9aac 597980 bitcoind_0.6.2.1-1_amd64.deb
Files:
763f4ff3f8e407b811b9c8ad71f4969c 2384 utils optional bitcoin_0.6.2.1-1.dsc
ed7288a032e51622fade49d00324bbdb 1359499 utils optional bitcoin_0.6.2.1.orig.tar.gz
15eccbab02e76a0639a5065f8cccc37b 22070 utils optional bitcoin_0.6.2.1-1.debian.tar.gz
cc98e5bb6544a295aa26d963f27ef62b 597980 utils optional bitcoind_0.6.2.1-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJPq7njAAoJECx8MUbBoAEhOzYP/25Sd5AfNq/fObS6F+hxTdUR
Hb2Eq9VUTdXzqiQOU41L+uB5WnSYqguW2/NPkXPNt4lFx3a3XQsC4b77I9/Qsrwn
JT/jEH/ZxLRwfiMRxQXv/7J10eL6WGoVwJVxFwrlqCt8a9dWmmGqJiI8gM4UH8h9
PEloE71msKMCIo0hjLiToMDxcuzMkkhemqnriUYpGHrH/N9rvf9+r6olIYdUZPls
+neyJrGDC3bEn0+BzFUrYUDk/vCcSR9Q2Vrthxf3WW4Hm2bW4PPKms0DSs5Tr4yx
BRGFmZeesGC6DeB7uLqT0m6YnhqRQ1mjfapF8eldnAqMZQTdfOPy87MJ9siuoU1u
km3x+c2qU2gyCdeNCCZuNZPAXMCoiD2R8gUlYBzCP9xOPV/OzEHj/oJKZyr1dFoL
cdENiwf+b38+HLNrMXQfft/eDnE6qYGy7vhZuL8Dp1h9gENQ0F+ClSkJN+/Hkv90
2ugFBAbZvRlKxbVVYcAGGRW0BddUREpti8zTFJ7ZFgWdmwHMB+Br03WCZalDqU6M
R/QqCCT43QVQ/zloGjnVaGsUUFyTwLs/tVm3gbXj9wzPQ5hgw4ZzaaVjJhbNOFzs
H5EG2BZyIKY8Y4WtV7dXUQR8j/7FOverxa18bB63mK5zVlqTM+wAhc5xam1IBSwN
J75ip1bKEE193y0h0e+s
=ajh/
-----END PGP SIGNATURE-----
Reply sent
to Jonas Smedegaard <dr@jones.dk>:
You have taken responsibility.
(Thu, 10 May 2012 13:18:39 GMT) (full text, mbox, link).
Notification sent
to Jakub Wilk <jwilk@debian.org>:
Bug acknowledged by developer.
(Thu, 10 May 2012 13:18:40 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Jonas Smedegaard <dr@jones.dk>:
Bug#668868; Package src:bitcoin.
(Thu, 10 May 2012 18:33:04 GMT) (full text, mbox, link).
Message #28 received at 668868@bugs.debian.org (full text, mbox, reply):
* Dwayne C. Litzenberger <dlitz@dlitz.net>, 2012-04-15, 04:07:
>-Architecture: any
>+Architecture: any-alpha any-amd64 any-armel any-armhf any-i386 any-ia64
>+ any-mipsel any-sh4
There are no architectures matching any-armel or any-armhf. You want
any-arm instead (which matches both armel and armhf).
--
Jakub Wilk
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#668868; Package src:bitcoin.
(Thu, 10 May 2012 19:39:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Jonas Smedegaard <dr@jones.dk>:
Extra info received and forwarded to list.
(Thu, 10 May 2012 19:39:04 GMT) (full text, mbox, link).
Message #33 received at 668868@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On 12-05-10 at 08:31pm, Jakub Wilk wrote:
> * Dwayne C. Litzenberger <dlitz@dlitz.net>, 2012-04-15, 04:07:
> >-Architecture: any
> >+Architecture: any-alpha any-amd64 any-armel any-armhf any-i386 any-ia64
> >+ any-mipsel any-sh4
>
> There are no architectures matching any-armel or any-armhf. You want
> any-arm instead (which matches both armel and armhf).
Oh. Thanks!
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Jonas Smedegaard <dr@jones.dk>:
You have taken responsibility.
(Thu, 10 May 2012 21:06:16 GMT) (full text, mbox, link).
Notification sent
to "Dwayne C. Litzenberger" <dlitz@dlitz.net>:
Bug acknowledged by developer.
(Thu, 10 May 2012 21:06:16 GMT) (full text, mbox, link).
Message #38 received at 668868-close@bugs.debian.org (full text, mbox, reply):
Source: bitcoin
Source-Version: 0.6.2.1-2
We believe that the bug you reported is fixed in the latest version of
bitcoin, which is due to be installed in the Debian FTP archive:
bitcoin_0.6.2.1-2.debian.tar.gz
to main/b/bitcoin/bitcoin_0.6.2.1-2.debian.tar.gz
bitcoin_0.6.2.1-2.dsc
to main/b/bitcoin/bitcoin_0.6.2.1-2.dsc
bitcoind_0.6.2.1-2_amd64.deb
to main/b/bitcoin/bitcoind_0.6.2.1-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 668868@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonas Smedegaard <dr@jones.dk> (supplier of updated bitcoin package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 10 May 2012 22:11:10 +0200
Source: bitcoin
Binary: bitcoind
Architecture: source amd64
Version: 0.6.2.1-2
Distribution: unstable
Urgency: low
Maintainer: Jonas Smedegaard <dr@jones.dk>
Changed-By: Jonas Smedegaard <dr@jones.dk>
Description:
bitcoind - peer-to-peer network based digital currency - daemon
Closes: 668868
Changes:
bitcoin (0.6.2.1-2) unstable; urgency=low
.
* Fix build on wildcard any-arm (not bogus any-armel any-armhf).
Really closes: bug#668868. Thanks to Jakub Wilk.
Checksums-Sha1:
6ebfe7647576fe9d2c0c63a0c40defbcd88529bc 2372 bitcoin_0.6.2.1-2.dsc
60e08f2d87098a400712b5f7578126dba9e5f63b 22154 bitcoin_0.6.2.1-2.debian.tar.gz
043d20efe63bdbbc9e4ccd280148cb0040152821 598004 bitcoind_0.6.2.1-2_amd64.deb
Checksums-Sha256:
5315f93676b4417412cbb46dd75cf31c9d84b46e6852ee1827299ca52546492d 2372 bitcoin_0.6.2.1-2.dsc
81d976f64c12be8ce4ae20bbff214dc1369eac8d1d216eaadf9d4edbedff5357 22154 bitcoin_0.6.2.1-2.debian.tar.gz
73388311402f0fa6df1175bc1b04a5538e82164cbcb4f09a8f3bdb05213e5159 598004 bitcoind_0.6.2.1-2_amd64.deb
Files:
2249df623a39d902ac2aa0248ce66173 2372 utils optional bitcoin_0.6.2.1-2.dsc
11eb87df9980460a5e6f36546933c4a2 22154 utils optional bitcoin_0.6.2.1-2.debian.tar.gz
31f9a9c0c9e859dec920cbc2615e5824 598004 utils optional bitcoind_0.6.2.1-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJPrCLlAAoJECx8MUbBoAEhGMwP/jQgqsWc5Urhbp4Jx54BVyMt
ptgFoIWCfzAY7FKzScmPlMwPMOjzjQ/hCAoQ3QsEs51Shk6GTz8sTjw54QbJJbr4
jni+nnrTmrgxtMet4OAiBcU7b9CUG8bvE/98R7DnrSFfV/Bv0YBRDICnHCBTUbSP
aBOk+8PQlDSiJQ/FN+kpqZK+rb66XsOJvy3MPCNoCPAlo2tSoe5YDZvny6jBHIQA
VfaDAVTCqGJZML7j0jdMOA2xTKWISANFAnpm131ueo+G9OAihy6014052au7AlWM
W/q8K3JAyCYB9UTKpc0VNP9l1sUGtJZa5QzMYUI3EcX9NcXBdm54DKLoTAHS00ho
NfEB6LdlNglOtsejOF3ZlO9VevJjfCv5I7t0U93ZqFFSekdt5nTbONlYUU5j+kVi
KSRtips32k3zjTHZgv+eomrkHMeZCIk0jZiQgVySfz/AOk8fpgq0n2gDQaNH2F0q
O8jYfMt747QAwnlER9lz6GV+HZcJLbanNnBvC5UgsHx1rq1GmPL3GRp+otGLPCVu
QnKnaO0jfhblyGE0OINZ+j/7BfhFmz1frNdv7spFA0gr4JMGQ1WUr21CLCIE2Isj
Rvghv2nm+UpWFmBIjFU2NZ6YkqJzFZE1OdywUpaUfJGYZ2lAollUTEJmMmfVvm+W
Ad/iTQhg9D0+6HefawPz
=HgUI
-----END PGP SIGNATURE-----
Reply sent
to Jonas Smedegaard <dr@jones.dk>:
You have taken responsibility.
(Thu, 10 May 2012 21:06:16 GMT) (full text, mbox, link).
Notification sent
to Jakub Wilk <jwilk@debian.org>:
Bug acknowledged by developer.
(Thu, 10 May 2012 21:06:17 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 08 Jun 2012 07:33:26 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 13 02:44:27 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.