[Debichem-devel] Bug#740309: Bug#740309: libpwiz FTBFS: configure: error: cannot compile a test that uses Boost thread
Aníbal Monsalve Salazar
anibal at debian.org
Mon Mar 3 11:57:34 UTC 2014
On Sun, Mar 02, 2014 at 02:21:58PM +0100, Filippo Rusconi wrote:
>
> Thanks for the report. Same problem here, I'm investigating this one.
The problem is in libboost1.54-dev, see: https://bugs.debian.org/739807
Dejan found the patch to fix libboost1.54 at:
https://svn.boost.org/trac/boost/changeset/84950
We'll have to wait until #739807 is fixed.
Or you could add a lot of "#include <stdint.h>" in your Debian source
package, like so:
--- a/autotools/configure 2013-06-19 21:48:48.000000000 +0100
+++ b/autotools/configure 2014-02-28 07:18:00.846766821 +0000
@@ -25311,6 +25311,7 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <stdint.h>
#include <boost/thread.hpp>
int
--- a/pwiz/data/identdata/Serializer_pepXML.cpp 2013-05-30 05:12:05.000000000 +1000
+++ b/pwiz/data/identdata/Serializer_pepXML.cpp 2014-02-28 19:18:13.516053984 +1100
@@ -22,6 +22,7 @@
^M
#define PWIZ_SOURCE^M
^M
+#include <stdint.h>
#include "Serializer_pepXML.hpp"^M
#include "pwiz/utility/minimxml/XMLWriter.hpp"^M
#include "pwiz/utility/minimxml/SAXParser.hpp"^M
--- a/pwiz/data/identdata/Serializer_protXML.cpp 2013-05-30 05:12:05.000000000 +1000
+++ b/pwiz/data/identdata/Serializer_protXML.cpp 2014-02-28 19:56:03.803043627 +1100
@@ -25,6 +25,7 @@
#define PWIZ_SOURCE
+#include <stdint.h>
#include "Serializer_protXML.hpp"
#include "pwiz/utility/minimxml/XMLWriter.hpp"
#include "pwiz/utility/minimxml/SAXParser.hpp"
[...]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20140303/709c2c59/attachment.sig>
More information about the Debichem-devel
mailing list