Boost C++ Libraries: Ticket #6179: spirit fatal error: 'boost/endian/integers.hpp' file not found https://svn.boost.org/trac10/ticket/6179 <p> This Sunday, so between <a class="changeset" href="https://svn.boost.org/trac10/changeset/75665" title="Chrono: Fix #6092,#6093,#6113">[75665]</a> and <a class="changeset" href="https://svn.boost.org/trac10/changeset/75681" title="Website: Merge to live.">[75681]</a>, something in spirit or in endian broke, both in trunk and in the release branch. It worked fine before. </p> <p> related to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4984" title="#4984: Bugs: Bug in spirit (closed: fixed)">#4984</a>? </p> <p> /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 &lt;boost/endian/integers.hpp&gt; </p> <p> /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 &lt;boost/endian/integers.hpp&gt; </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6179 Trac 1.4.3 Joel de Guzman Mon, 28 Nov 2011 10:09:36 GMT owner changed https://svn.boost.org/trac10/ticket/6179#comment:1 https://svn.boost.org/trac10/ticket/6179#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Joel de Guzman</span> to <span class="trac-author">Hartmut Kaiser</span> </li> </ul> Ticket anonymous Mon, 28 Nov 2011 13:00:44 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6179#comment:2 https://svn.boost.org/trac10/ticket/6179#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in trunk and release </p> Ticket Peter Schüller <schueller.p@…> Mon, 23 Apr 2012 10:06:07 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/6179#comment:3 https://svn.boost.org/trac10/ticket/6179#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> 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.) </p> <p> The output below is from <a class="changeset" href="https://svn.boost.org/trac10/changeset/78149" title="Fixed clang warnings and errors">[78149]</a> </p> <p> The following does not build: </p> <pre class="wiki">#include &lt;boost/spirit/include/qi.hpp&gt; int main(int, char**) { return 0; } </pre><p> g++ 4.6.1 gives me </p> <pre class="wiki">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. </pre><p> clang-3.0 gives me </p> <pre class="wiki">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 &lt;boost/endian/integers.hpp&gt; ^ 1 error generated. </pre> Ticket Hartmut Kaiser Mon, 23 Apr 2012 12:11:19 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6179#comment:4 https://svn.boost.org/trac10/ticket/6179#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/78157" title="Merging from trunk Fixed #6179: spirit fatal error: ...">[78157]</a>) Merging from trunk Fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6179" title="#6179: Bugs: spirit fatal error: 'boost/endian/integers.hpp' file not found (closed: fixed)">#6179</a>: spirit fatal error: 'boost/endian/integers.hpp' file not found </p> Ticket Peter Schüller <schueller.p@…> Tue, 24 Apr 2012 06:53:31 GMT <link>https://svn.boost.org/trac10/ticket/6179#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6179#comment:5</guid> <description> <p> Thank you, works now! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 26 Apr 2012 08:44:46 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6179#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6179#comment:6</guid> <description> <p> unfortunately it worked for only one day, after that a probably related bug with endian headers was introduced: </p> <pre class="wiki">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) ^ </pre> </description> <category>Ticket</category> </item> <item> <author>Peter Schueller <schueller.p@…></author> <pubDate>Thu, 26 Apr 2012 08:46:09 GMT</pubDate> <title>status changed; resolution deleted https://svn.boost.org/trac10/ticket/6179#comment:7 https://svn.boost.org/trac10/ticket/6179#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> Ticket Joel de Guzman Thu, 26 Apr 2012 09:27:14 GMT <link>https://svn.boost.org/trac10/ticket/6179#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6179#comment:8</guid> <description> <p> fixed. sorry, bad merge from trunk. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Hartmut Kaiser</dc:creator> <pubDate>Wed, 23 May 2012 14:43:48 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6179#comment:9 https://svn.boost.org/trac10/ticket/6179#comment:9 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket