Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912385 - games-strategy/wesnoth-1.16.9 - /.../gettext.cpp: error: const char {anonymous}::wesnoth_message_format::get(int, const char , con
Summary: games-strategy/wesnoth-1.16.9 - /.../gettext.cpp: error: const char {anonymou...
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:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: boost-1.83
  Show dependency tree
 
Reported: 2023-08-17 08:12 UTC by Toralf Förster
Modified: 2023-08-24 14:35 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.05 KB, text/plain)
2023-08-17 08:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,74.28 KB, text/plain)
2023-08-17 08:12 UTC, Toralf Förster
Details
environment (environment,99.14 KB, text/plain)
2023-08-17 08:12 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,788 bytes, application/x-xz)
2023-08-17 08:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.76 KB, application/x-xz)
2023-08-17 08:12 UTC, Toralf Förster
Details
games-strategy:wesnoth-1.16.9:20230817-062355.log.xz (games-strategy:wesnoth-1.16.9:20230817-062355.log.xz,17.62 KB, application/x-xz)
2023-08-17 08:12 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,39.61 KB, application/x-xz)
2023-08-17 08:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-08-17 08:12:04 UTC
too long lines were shrinked:

[1598/1630] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_COROUTINE_DYN_LINK -DBOOST_COROUTINE_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_I
[1599/1630] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_COROUTINE_DYN_LINK -DBOOST_COROUTINE_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_I
[1600/1630] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_COROUTINE_DYN_LINK -DBOOST_COROUTINE_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_I
[1601/1630] /usr/bin/x86_64-pc-linux-gnu-g++ -DFIFODIR=\"/run/wesnothd\" -DHAS_RELATIVE_LOCALEDIR=1 -DHAVE_CONFIG_H -DLOCALEDIR=\"translations\" -DLUA_USE_POSIX -DWESNOTH_PATH=\"/usr/share/wesnoth\" -D_FORTIFY_SOURCE=2 -D_X11 -I/var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src -
FAILED: src/CMakeFiles/wesnoth-common.dir/gettext.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DFIFODIR=\"/run/wesnothd\" -DHAS_RELATIVE_LOCALEDIR=1 -DHAVE_CONFIG_H -DLOCALEDIR=\"translations\" -DLUA_USE_POSIX -DWESNOTH_PATH=\"/usr/share/wesnoth\" -D_FORTIFY_SOURCE=2 -D_X11 -I/var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src -I/var/tmp/po
/var/tmp/portage/games-strategy/wesnoth-1.16.9/work/wesnoth-1.16.9/src/gettext.cpp:172:29: error: const char* {anonymous}::wesnoth_message_format::get(int, const char*, const char*, int) const marked override, but does not override
  172 |                 const char* get(int domain_id, const char* ctx, const char* sid, int n) const override
      |                             ^~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20230815-233036

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Rust versions:
  [1]   rust-bin-1.71.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 263e55735271f9e03915f10290a8c397aed4a65c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 17 06:01:38 2023 +0000

    2023-08-17 06:01:37 UTC

emerge -qpvO games-strategy/wesnoth
[ebuild  N    ] games-strategy/wesnoth-1.16.9  USE="dbus dedicated doc nls -server"
Comment 1 Toralf Förster gentoo-dev 2023-08-17 08:12:05 UTC
Created attachment 868047 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-17 08:12:06 UTC
Created attachment 868048 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-17 08:12:08 UTC
Created attachment 868049 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-17 08:12:08 UTC
Created attachment 868050 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-17 08:12:09 UTC
Created attachment 868051 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-17 08:12:10 UTC
Created attachment 868052 [details]
games-strategy:wesnoth-1.16.9:20230817-062355.log.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-17 08:12:11 UTC
Created attachment 868053 [details]
temp.tar.xz
Comment 8 Karl-Johan Karlsson 2023-08-19 16:14:43 UTC
Upstream has committed a patch: https://github.com/wesnoth/wesnoth/commit/136e651d69fc91fa7a4154f8a4a7e977cc46eca4

I downloaded it to /etc/portage/patches/games-strategy/wesnoth-1.16.9/boost-1.83.patch and emerged =games-strategy/wesnoth-1.16.9. The game compiled and ran successfully.
Comment 9 Saul Peebsen 2023-08-22 15:47:26 UTC
They have 1.17.20 out which does not need patching.
Comment 10 Larry the Git Cow gentoo-dev 2023-08-24 14:01:07 UTC
The bug has been closed via the following commit(s):

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

commit 9740dd339088208c037fccda60a0ad6299f429db
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2023-08-24 13:58:10 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2023-08-24 14:00:01 +0000

    games-strategy/wesnoth: add 1.16.10
    
    Closes: https://bugs.gentoo.org/912385
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 games-strategy/wesnoth/Manifest               |   1 +
 games-strategy/wesnoth/wesnoth-1.16.10.ebuild | 102 ++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2023-08-24 14:35:18 UTC
The bug has been closed via the following commit(s):

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

commit 71e03c5df298be999546115390312bb25314bef0
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2023-08-24 14:32:23 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2023-08-24 14:35:07 +0000

    games-strategy/wesnoth: Apply patch fixing boost-1.83 compat
    
    Thanks-to: solpeth
    Closes: https://github.com/gentoo/gentoo/pull/32415
    Closes: https://bugs.gentoo.org/912385
    Closes: https://bugs.gentoo.org/912968
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../wesnoth/files/wesnoth-1.16.10-boost-1.83.patch | 26 ++++++++++++++++++++++
 games-strategy/wesnoth/wesnoth-1.16.10.ebuild      |  4 ++++
 2 files changed, 30 insertions(+)