<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font color="black" face="Tahoma" size="2"><span dir="ltr" style="font-size:10pt"><font size="2"><font size="2"><span style="font-size:10pt">Package: libbitcoin</span></font><font size="2"><span style="font-size:10pt"><br>
Version: </span></font></font></span></font><font color="black" face="Tahoma" size="2"><span dir="ltr" style="font-size:10pt"><font size="2">2.0-2<br>
<font size="2"><span style="font-size:10pt">Severity: important<br>
Tags: sid + patch<br>
Justification: FTBFS</span></font><br>
User: debian-mips-dev-discuss@lists.alioth.debian.org<br>
<br>
Hello,<br>
<br>
</font></span></font>Package libbitcoin_2.0-2 FTBFS on big endian architectures.<br>
<a href="https://buildd.debian.org/status/package.php?p=libbitcoin&suite=sid" target="_blank">https://buildd.debian.org/status/package.php?p=libbitcoin&suite=sid</a><br>
<br>
with following error:<br>
<pre><font face="Tahoma" size="2">/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=\"amir@unsystem.net\" -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=\"amir@unsystem.net\" -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</font></pre>
<br>
This issue is resolved with the patch attached.<br>
<br>
Regards,<br>
Jurica<br>
</div>
</body>
</html>