Boost C++ Libraries: Ticket #3677: Serialization via a reference to a pointer fails at compile time https://svn.boost.org/trac10/ticket/3677 <p> The 'x11-toolkits/gigi' application failed to compile with the Boost-1.41. The application is known to build successfully with boost 1.39. </p> <p> The error message is: error: cannot convert 'const boost::serialization::extended_type_info_typeid&lt;GG::Font&gt;' to 'const boost::serialization::extended_type_info*' in return </p> <p> The issue may be reproduced using the preprocessed translation unit "saveload.ii" </p> <p> The command-line is g++43 -o saveload.o -c -fno-strict-aliasing -pipe -Wall -Wno-parentheses -O2 -pthread saveload.ii </p> <p> The operating system is FreeBSD 7.2-RELEASE/i386 <br /> The compiler is g++43 (GCC) 4.3.5 20091115 (prerelease) </p> <p> Links to external files: </p> <p> Error log fragment - <a class="ext-link" href="http://alexanderchuranov.com/boost-port/gigi-boost-1.41/gigi-boost-1.41.0.log"><span class="icon">​</span>http://alexanderchuranov.com/boost-port/gigi-boost-1.41/gigi-boost-1.41.0.log</a> <br /> The preprocessed translation unit - <a class="ext-link" href="http://alexanderchuranov.com/boost-port/gigi-boost-1.41/saveload.ii"><span class="icon">​</span>http://alexanderchuranov.com/boost-port/gigi-boost-1.41/saveload.ii</a> <br /> The full application source - <a class="ext-link" href="http://www.freebsd.org/cgi/pds.cgi?ports/x11-toolkits/gigi"><span class="icon">​</span>http://www.freebsd.org/cgi/pds.cgi?ports/x11-toolkits/gigi</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3677 Trac 1.4.3 Robert Ramey Fri, 27 Nov 2009 22:35:27 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3677#comment:1 https://svn.boost.org/trac10/ticket/3677#comment:1 <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> I believe this is the same problem reported in another ticket. That ticket has been addressed and the fix has been checked into the trunk. I will migrate to the release branch soon. </p> <p> So I'm marking this as "fixed". Feel free to integrate the fix from the trunk to your own copy and retest. </p> <p> Robert Ramey </p> Ticket churanov.port.maintainer@… Mon, 30 Nov 2009 18:51:15 GMT <link>https://svn.boost.org/trac10/ticket/3677#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3677#comment:2</guid> <description> <p> Robert, </p> <p> Please, be specific on this. What is 'that' ticket? </p> <p> I've looked through the tickets for 1.41, 1.42 and unspecified milestones and did not find the appropriate one. I'd like to patch for the specific issue or a set of issues, not to integrate all changes from the trunk. </p> <p> Could you please provide me with exact ticket name/ID? </p> <p> Alexander Churanov, <br /> maintainer of devel/boost-* for FreeBSD </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 30 Nov 2009 19:24:06 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3677#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3677#comment:3</guid> <description> <p> Damn, I can't find the track item either. </p> <p> But I believe that I have fixed this (if it's what I think it is) and checked the fix into the trunk. If all goes well, I'll merger these changes into the release in a week or so. </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <dc:creator>gast128</dc:creator> <pubDate>Tue, 01 Dec 2009 10:11:37 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3677#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3677#comment:4</guid> <description> <p> I had the same problem searching for the ticket. But I think it is '<a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/3638"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/3638</a>' </p> </description> <category>Ticket</category> </item> <item> <author>churanov.port.maintainer@…</author> <pubDate>Thu, 03 Dec 2009 17:23:17 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3677#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3677#comment:5</guid> <description> <p> Robert, </p> <p> I see 12 modified files under /serialization in trunk and more than one hundred under /archive compared to 1.41 release tag. The ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3638" title="#3638: Bugs: de-serialization of shared_ptr (closed: fixed)">#3638</a> does not contain any information about the check-in which fixed the issue. </p> <p> Could you point me to correct revision numbers, so that I could create a patch that fixes the particular issue? </p> <p> If this is really hard, I would be pleased if you just tell me how to roll back the serialization library from 1.41 to 1.39, which is known to work. Is that possible given that there are dependencies between Boost libraries? </p> <p> Thank you for your attention to this problem. </p> <p> Alexander Churanov </p> </description> <category>Ticket</category> </item> <item> <author>churanov.port.maintainer@…</author> <pubDate>Tue, 08 Dec 2009 13:27:06 GMT</pubDate> <title>status changed; resolution deleted https://svn.boost.org/trac10/ticket/3677#comment:6 https://svn.boost.org/trac10/ticket/3677#comment:6 <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> Folks, </p> <p> Please provide a definite answer on this. </p> <p> The issue is important, because the update of serialization library to 1.41 breaks the existing application, preventing the whole boost package from integration into the FreeBSD ports. </p> <p> It is sufficient to provide one of the following: </p> <p> 1) A patch file that fixes the issue. <br /> 2) A revision number, in which the issue was fixed. <br /> 3) A set of instructions explaining how to roll back the serialization library to 1.39 (it's known to work). </p> <p> Alexander Churanov <br /> maintainer of devel/boost-* for FreeBSD </p> Ticket Robert Ramey Wed, 09 Dec 2009 04:42:28 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3677#comment:7 https://svn.boost.org/trac10/ticket/3677#comment:7 <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> The fix for this was checked into the trunk 27 November - change set <a class="missing ticket">#57981</a>. </p> <p> Subsequently, all changes in the trunk have been merged to the release branch so should show up in version 1.42 </p> <p> Robert Ramey </p> Ticket churanov.port.maintainer@… Fri, 18 Dec 2009 13:41:45 GMT <link>https://svn.boost.org/trac10/ticket/3677#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3677#comment:8</guid> <description> <p> Robert, </p> <p> Using the change set information provided by you I was able to find the particular fix and include it into the port. This allows Gigi toolkit to build successfully. </p> <p> Thank you for your time! </p> <p> Alexander Churanov </p> </description> <category>Ticket</category> </item> </channel> </rss>