Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297163 - dev-libs/boost-1.41.0 (iostreams, gzip) creates problems with games-strategy/wesnoth (any version) on amd64
Summary: dev-libs/boost-1.41.0 (iostreams, gzip) creates problems with games-strategy/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL: http://www.wesnoth.org/forum/viewtopi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 12:53 UTC by Nils Kneuper
Modified: 2009-12-17 14:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Kneuper 2009-12-16 12:53:07 UTC
The boost update to boost-1.41.0 creates severe problems with programs relying on gziped iostreams when using a 64bit platform like amd64. This problem was already reported for archlinux and they commited a patch fixing the issue (cf [1]).
One affected program is "Battle for Wesnoth" where it is impossible to join the multiplayer server using an unpatched boost-1.41.0. The issue is described in detail in the Wesnoth forums (cf [2]), the version of Wesnoth used does *not* matter.
The people from archlinux have added a patch to their build that should fix the problem. The respective diff is available at [3].

[1] http://article.gmane.org/gmane.comp.lib.boost.devel/197358/match=gzip
[2] http://www.wesnoth.org/forum/viewtopic.php?f=4&t=28071
[3] http://repos.archlinux.org/wsvn/packages/boost/repos/extra-x86_64/fix-gzip-crc.patch

Reproducible: Always

Steps to Reproduce:
1. compile games-strategy/wesnoth with dev-libs/boost-1.41.0 on an amd64 system
2. run wesnoth and try to join the MP server
Actual Results:  
It will not be possible to join the server. It will halt in the "Connect to server" phase when it actually does create a cache of the config files. If you abort and retry you will get an error message.

Expected Results:  
If everything was working nicely you would be creating a "correct" cache and joining the multiplayer server.

No additional info required, it is just a bug in the iostreams component of boost-1.41.0 on 64bit systems (at least on amd64, not sure about other 64bit archs), so that is where it has to be fixed. 32bit platforms are not affected. Probably other programs beside wesnoth are affected, too.
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-12-17 14:12:52 UTC
This has been fixed in the -r2 that's now in the tree.