Opened 11 years ago

Closed 10 years ago

#6179 closed Bugs (fixed)

spirit fatal error: 'boost/endian/integers.hpp' file not found

Reported by: Peter Schueller <schueller.p@…> Owned by: Hartmut Kaiser
Milestone: To Be Determined Component: spirit
Version: Boost Release Branch Severity: Problem
Keywords: endian Cc: schueller.p@…

Description

This Sunday, so between [75665] and [75681], something in spirit or in endian broke, both in trunk and in the release branch. It worked fine before.

related to #4984?

/var/lib/buildbot/instdirs/boost-trunk/include/boost/spirit/home/support/detail/endian.hpp:24:10: fatal error: 'boost/endian/integers.hpp' file not found #include <boost/endian/integers.hpp>

/var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/support/detail/endian.hpp:24:10: fatal error: 'boost/endian/integers.hpp' file not found #include <boost/endian/integers.hpp>

Change History (9)

comment:1 by Joel de Guzman, 11 years ago

Owner: changed from Joel de Guzman to Hartmut Kaiser

comment:2 by anonymous, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk and release

comment:3 by Peter Schüller <schueller.p@…>, 10 years ago

Resolution: fixed
Status: closedreopened

reopening, as the issue reappeared in release branch (not in trunk!) on March 19, 2012, and was not fixed since then. (Reporting now, as the next release is soon.)

The output below is from [78149]

The following does not build:

#include <boost/spirit/include/qi.hpp>

int main(int, char**)
{
  return 0;
}

g++ 4.6.1 gives me

In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi/binary/binary.hpp:16:0,
                 from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi/binary.hpp:14,
                 from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi.hpp:18,
                 from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/include/qi.hpp:16,
                 from endian_problem.cpp:1:
/var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/support/detail/endian.hpp:24:37: fatal error: boost/endian/integers.hpp: No such file or directory
compilation terminated.

clang-3.0 gives me

In file included from endian_problem.cpp:1:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/include/qi.hpp:16:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi.hpp:18:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi/binary.hpp:14:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi/binary/binary.hpp:16:
/var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/support/detail/endian.hpp:24:10: fatal error: 
      'boost/endian/integers.hpp' file not found
#include <boost/endian/integers.hpp>
         ^
1 error generated.

comment:4 by Hartmut Kaiser, 10 years ago

Resolution: fixed
Status: reopenedclosed

(In [78157]) Merging from trunk Fixed #6179: spirit fatal error: 'boost/endian/integers.hpp' file not found

comment:5 by Peter Schüller <schueller.p@…>, 10 years ago

Thank you, works now!

comment:6 by anonymous, 10 years ago

unfortunately it worked for only one day, after that a probably related bug with endian headers was introduced:

In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/include/qi.hpp:16:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi.hpp:18:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi/binary.hpp:14:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi/binary/binary.hpp:16:
/var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/support/detail/endian.hpp:7:2: error: unterminated conditional directive
#if !defined(SPIRIT_ENDIAN_MAR_21_2009_0349PM)
 ^

comment:7 by Peter Schueller <schueller.p@…>, 10 years ago

Resolution: fixed
Status: closedreopened

comment:8 by Joel de Guzman, 10 years ago

fixed. sorry, bad merge from trunk.

comment:9 by Hartmut Kaiser, 10 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.