Your message dated Fri, 17 Oct 2014 10:49:49 +0000
with message-id <[email protected]>
and subject line Bug#765355: fixed in libbitcoin 2.0-2.1
has caused the Debian Bug report #765355,
regarding package libbitcoin_2.0-2 FTBFS on big endian
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
765355: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765355
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libbitcoin
Version: 2.0-2
Severity: important
Tags: sid + patch
Justification: FTBFS
User: [email protected]
Hello,
Package libbitcoin_2.0-2 FTBFS on big endian architectures.
https://buildd.debian.org/status/package.php?p=libbitcoin&suite=sid
with following error:
/bin/bash ../libtool --tag=CXX --mode=compile g++
-DPACKAGE_NAME=\"libbitcoin\" -DPACKAGE_TARNAME=\"libbitcoin\"
-DPACKAGE_VERSION=\"1.0.10\" -DPACKAGE_STRING=\"libbitcoin\ 1.0.10\"
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"libbitcoin\"
-DVERSION=\"1.0.10\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DHAVE_BOOST=/\*\*/ -I. -I./../include -D_FORTIFY_SOURCE=2 -ggdb -g3 -Wall
-Wno-missing-braces -pedantic -Wextra -fstack-protector-all -DDEBUG -g -O2
-Wformat -Werror=format-security -Wall -std=c++11 -c -o satoshi_serialize.lo
satoshi_serialize.cpp
libtool: compile: g++ -DPACKAGE_NAME=\"libbitcoin\"
-DPACKAGE_TARNAME=\"libbitcoin\" -DPACKAGE_VERSION=\"1.0.10\"
"-DPACKAGE_STRING=\"libbitcoin 1.0.10\""
-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"libbitcoin\"
-DVERSION=\"1.0.10\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
"-DHAVE_BOOST=/**/" -I. -I./../include -D_FORTIFY_SOURCE=2 -ggdb -g3 -Wall
-Wno-missing-braces -pedantic -Wextra -fstack-protector-all -DDEBUG -g -O2
-Wformat -Werror=format-security -Wall -std=c++11 -c satoshi_serialize.cpp
-fPIC -DPIC -o .libs/satoshi_serialize.o
In file included from ./../include/bitcoin/satoshi_serialize.hpp:24:0,
from satoshi_serialize.cpp:20:
./../include/bitcoin/format.hpp:49:27: error: #elif with no expression
#elif BOOST_BIG_ENDIAN
^
./../include/bitcoin/format.hpp:52:10: error: #error "Endian isn't defined!"
#error "Endian isn't defined!"
^
./../include/bitcoin/format.hpp:70:27: error: #elif with no expression
#elif BOOST_BIG_ENDIAN
^
./../include/bitcoin/format.hpp:73:10: error: #error "Endian isn't defined!"
#error "Endian isn't defined!"
^
In file included from ./../include/bitcoin/satoshi_serialize.hpp:29:0,
from satoshi_serialize.cpp:20:
./../include/bitcoin/utility/serializer.hpp:348:27: error: #elif with no
expression
#elif BOOST_BIG_ENDIAN
^
./../include/bitcoin/utility/serializer.hpp:351:10: error: #error "Endian isn't
defined!"
#error "Endian isn't defined!"
^
make[2]: *** [satoshi_serialize.lo] Error 1
This issue is resolved with the patch attached.
Regards,
Jurica
--- libbitcoin-2.0.orig/include/bitcoin/format.hpp
+++ libbitcoin-2.0/include/bitcoin/format.hpp
@@ -46,7 +46,7 @@ T cast_chunk(data_chunk chunk, bool reve
{
#ifdef BOOST_LITTLE_ENDIAN
// do nothing
- #elif BOOST_BIG_ENDIAN
+ #elif defined BOOST_BIG_ENDIAN
reverse = !reverse;
#else
#error "Endian isn't defined!"
@@ -67,7 +67,7 @@ data_chunk uncast_type(T value, bool rev
// TODO Future versions of boost will have boost::native_to_little(value);
#ifdef BOOST_LITTLE_ENDIAN
// do nothing
- #elif BOOST_BIG_ENDIAN
+ #elif defined BOOST_BIG_ENDIAN
reverse = !reverse;
#else
#error "Endian isn't defined!"
--- libbitcoin-2.0.orig/include/bitcoin/utility/serializer.hpp
+++ libbitcoin-2.0/include/bitcoin/utility/serializer.hpp
@@ -345,7 +345,7 @@ private:
check_distance(begin, end, byte_array.size());
#ifdef BOOST_LITTLE_ENDIAN
// do nothing
- #elif BOOST_BIG_ENDIAN
+ #elif defined BOOST_BIG_ENDIAN
reverse = !reverse;
#else
#error "Endian isn't defined!"
--- End Message ---
--- Begin Message ---
Source: libbitcoin
Source-Version: 2.0-2.1
We believe that the bug you reported is fixed in the latest version of
libbitcoin, which is due to be installed in the Debian FTP archive.
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <[email protected]> (supplier of updated libbitcoin
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 15 Oct 2014 08:48:57 +0100
Source: libbitcoin
Binary: libbitcoin0 libbitcoin0-dbg libbitcoin-dev
Architecture: source mips
Version: 2.0-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Bitcoin Team <[email protected]>
Changed-By: Anibal Monsalve Salazar <[email protected]>
Description:
libbitcoin-dev - Bitcoin toolkit library for asynchronous apps - development
heade
libbitcoin0 - Bitcoin toolkit library for asynchronous apps
libbitcoin0-dbg - Bitcoin toolkit library for asynchronous apps - debugging
symbols
Closes: 765355
Changes:
libbitcoin (2.0-2.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix FTBFS on big endian architectures.
Add big-endian.patch.
Patch by Jurica Stanojkovic <[email protected]>.
Closes: #765355.
Checksums-Sha1:
98e89f097be8f6b020cb2e50a54d0a31e6c5dcf1 2377 libbitcoin_2.0-2.1.dsc
3303bee56fbb4001891584d617811f1c1da10a4d 19488 libbitcoin_2.0-2.1.debian.tar.xz
6dd3f1624d17742c18bb566f56a1067a0e355a9b 394314 libbitcoin0_2.0-2.1_mips.deb
066bf0915c2496d85ccd06f680255e550129286c 5262082
libbitcoin0-dbg_2.0-2.1_mips.deb
f768b579546c6486db4843c6a5d42c6ffde178eb 677946 libbitcoin-dev_2.0-2.1_mips.deb
Checksums-Sha256:
4869cf819c35ffdbb939d75b04534075c8e48bd06a160ab0f1c7139bcba52954 2377
libbitcoin_2.0-2.1.dsc
a31038d1eba7822dd9d55c3c72c02c361aaab75269e21fff48aeed127890c018 19488
libbitcoin_2.0-2.1.debian.tar.xz
d770262dd5a977f50cb797f55b70e54708c6de4b93c5e55f71124c8d2dfb9ad3 394314
libbitcoin0_2.0-2.1_mips.deb
3644924ca994036ae801f61ff7d077f016237ab1906feb7d218246d1b1e35256 5262082
libbitcoin0-dbg_2.0-2.1_mips.deb
b5e88ad50e95b879203f36e9eecaba82dffd0385ec4fbfa3aa4e8f00fa32ac9a 677946
libbitcoin-dev_2.0-2.1_mips.deb
Files:
c9cb621374985bff08e518e2c547a533 2377 libs optional libbitcoin_2.0-2.1.dsc
b70de66522df9359edf1351a37ae4c46 19488 libs optional
libbitcoin_2.0-2.1.debian.tar.xz
e1b39e33ac53858f7e7a3407e4fd67e2 394314 libs optional
libbitcoin0_2.0-2.1_mips.deb
8fc59fa651159316b74240be48939c11 5262082 debug extra
libbitcoin0-dbg_2.0-2.1_mips.deb
22b9c3ceee6d3897c44ed2cecf0cf924 677946 libdevel optional
libbitcoin-dev_2.0-2.1_mips.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJUPk3XAAoJEHxWrP6UeJfYLh8QAI8tFMeAOue0FxGElVIvTjmv
kJIHbm1KJT+GJTLwARyTf5NAZek8O1HfdgxYuQ7q0/HPw7ZwnMwPT1ziAIU0nAxM
mETVAPhdEJqsfenCodI4Ky/lW/eUB1fYJG4Axxz84ej/RccQpW6HfCmdqyqgxGWA
njlsVma+f0nZ5KAHb7nRld7VGLPo7k88AJ/+TfVvFTRbFBRqV2Nd2KgRjtpymX0M
vDvKwyL5RINZNFeDkKBazyw8dQvPfc7os/qNOxudhia7hBwPPIF1+aC90Ezy09ye
cVr/aNmyHWEUGyngNDFD/3UpTjHmrJWYe/YCaow+DyjTXtPqNTHR5aV1JzN+P3EL
6mX5EowyANdW/3kxBdUSsqsUqryL3yNr0sfeEUP6uXp+aTDKHNDG+fiXGv9sU5XN
hb2ZUUIL/gIpTnEnsvIXlH2fFFv1rVNbpvrEDDkaIP2ehPjYBtsZ7cizP7+GxktS
zqDQKvh8pQTjV86xtwaPFJmC6ot78msDfmvBRiriSJLXSpD3NGaf+3eC6l+2oqY+
60Q6ox36600ZC6Aks8oLnzqhmXHcGRXO2msI1+pcncivDQxqDdSx1Ehb1+vdP3li
gfzitZ2GkMNDo2eWrPYr3bUzSkSqrhftmmNsFGLnt5oD2JYWkEVdjHKCWo9emCRt
JapTIvTN25hjh2Yw+oDL
=3cnA
-----END PGP SIGNATURE-----
--- End Message ---