Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886575 - games-strategy/wesnoth can't emerge with dev-libs/boost-1.81.0
Summary: games-strategy/wesnoth can't emerge with dev-libs/boost-1.81.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL: https://github.com/wesnoth/wesnoth/is...
Whiteboard:
Keywords: PullRequest
: 887089 (view as bug list)
Depends on:
Blocks: boost-1.83 boost-1.82
  Show dependency tree
 
Reported: 2022-12-18 09:13 UTC by Marius Stoica
Modified: 2023-08-12 09:01 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge.info,6.71 KB, text/plain)
2022-12-18 09:16 UTC, Marius Stoica
Details
build log (build.log,518.04 KB, text/plain)
2022-12-18 09:18 UTC, Marius Stoica
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Stoica 2022-12-18 09:13:49 UTC
After the upgrade to dev-libs/boost-1.81.0, I had to re-emerge a log of packages and the only one that failed is games-strategy/wesnoth-1.16.6

It doesn't compile with either:
sys-devel/gcc:10
sys-devel/gcc:11
sys-devel/gcc:12

Looking at the build.log, the first error seems to be this:

    /usr/include/boost/spirit/include/phoenix_core.hpp:12:1: note: ‘#pragma message: This header is deprecated. Use <boost/phoenix/core.hpp> instead.’
       12 | BOOST_HEADER_DEPRECATED("<boost/phoenix/core.hpp>")
          | ^~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/boost/spirit/include/phoenix_operator.hpp:12:1: note: ‘#pragma message: This header is deprecated. Use <boost/phoenix/operator.hpp> instead.’
       12 | BOOST_HEADER_DEPRECATED("<boost/phoenix/operator.hpp>")
          | ^~~~~~~~~~~~~~~~~~~~~~~
    /var/tmp/portage/games-strategy/wesnoth-1.16.6/work/wesnoth-1.16.6/src/gettext.cpp: In constructor ‘{anonymous}::translation_manager::translation_manager()’:
    /var/tmp/portage/games-strategy/wesnoth-1.16.6/work/wesnoth-1.16.6/src/gettext.cpp:227:51: error: ‘message_facet’ is not a member of ‘bl’; did you mean ‘message_format’?
      227 |                         generator_.categories(bl::message_facet | bl::information_facet | bl::collation_facet | bl::formatting_facet | bl::convert_facet);
          |                                                   ^~~~~~~~~~~~~
          |

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-18 09:15:25 UTC
Can you include the full build.log & emerge --info for completeness? Thanks.
Comment 2 Marius Stoica 2022-12-18 09:16:44 UTC
Created attachment 843303 [details]
emerge --info
Comment 3 Marius Stoica 2022-12-18 09:18:38 UTC
Created attachment 843305 [details]
build log
Comment 4 Kobboi 2022-12-18 21:23:34 UTC
Logged upstream as https://github.com/wesnoth/wesnoth/issues/7215
Comment 5 Kobboi 2022-12-18 21:31:16 UTC
Looks like upstream already fixed this on the 1.16 branch but no new release yet.
Comment 6 Larry the Git Cow gentoo-dev 2022-12-19 03:01:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae18d0e0a580c608851e25cc1515d8bc13fb1e98

commit ae18d0e0a580c608851e25cc1515d8bc13fb1e98
Author:     Christophe Lermytte <gentoo@lermytte.be>
AuthorDate: 2022-12-18 21:58:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-19 02:59:56 +0000

    games-strategy/wesnoth: fix build with boost-1.81
    
    Signed-off-by: Christophe Lermytte <gentoo@lermytte.be>
    Closes: https://bugs.gentoo.org/886575
    Closes: https://github.com/gentoo/gentoo/pull/28708
    Signed-off-by: Sam James <sam@gentoo.org>

 .../wesnoth-1.16.6-fix-build-with-boost-1.81.patch | 49 ++++++++++++++++++++++
 games-strategy/wesnoth/wesnoth-1.16.6.ebuild       |  2 +
 2 files changed, 51 insertions(+)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-19 04:27:45 UTC
*** Bug 887089 has been marked as a duplicate of this bug. ***