Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938887 - games-util/slade-3.2.4-r1 - [gcc-15] /.../TextEntryPanel.cpp: error: call of overloaded addActionGroup(const char [8], <brace-enclosed initializer list>, bool) is
Summary: games-util/slade-3.2.4-r1 - [gcc-15] /.../TextEntryPanel.cpp: error: call of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2024-09-01 14:13 UTC by Toralf Förster
Modified: 2024-11-23 22:23 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.45 KB, text/plain)
2024-09-01 14:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,227.22 KB, text/plain)
2024-09-01 14:13 UTC, Toralf Förster
Details
environment (environment,117.48 KB, text/plain)
2024-09-01 14:13 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-09-01 14:13 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,42.94 KB, application/x-xz)
2024-09-01 14:13 UTC, Toralf Förster
Details
games-util:slade-3.2.4:20240901-130119.log (games-util:slade-3.2.4:20240901-130119.log,226.87 KB, text/plain)
2024-09-01 14:13 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,60.69 KB, application/x-xz)
2024-09-01 14:13 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.71 KB, application/x-xz)
2024-09-01 14:13 UTC, Toralf Förster
Details
Fixes ambiguity of addActionGroup calls (usevecstr.patch,3.21 KB, patch)
2024-11-23 20:42 UTC, Chase Phelps
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-09-01 14:13:09 UTC
too long lines were shrinked:

[127/320] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DINSTALL_PREFIX=\"/usr\" -DUSE_SFML_RENDERWINDOW -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/usr/include/SFML -I/usr/include/lua5.1 -I/var/tmp/portage/games-util/slade-3.2.4/work/SLADE-3.2.4/src/. -I/var/tmp/portage/games-util/slade-3.2
[128/320] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DINSTALL_PREFIX=\"/usr\" -DUSE_SFML_RENDERWINDOW -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/usr/include/SFML -I/usr/include/lua5.1 -I/var/tmp/portage/games-util/slade-3.2.4/work/SLADE-3.2.4/src/. -I/var/tmp/portage/games-util/slade-3.2
[129/320] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DINSTALL_PREFIX=\"/usr\" -DUSE_SFML_RENDERWINDOW -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/usr/include/SFML -I/usr/include/lua5.1 -I/var/tmp/portage/games-util/slade-3.2.4/work/SLADE-3.2.4/src/. -I/var/tmp/portage/games-util/slade-3.2
FAILED: src/CMakeFiles/slade.dir/MainEditor/UI/EntryPanel/TextEntryPanel.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DINSTALL_PREFIX=\"/usr\" -DUSE_SFML_RENDERWINDOW -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/usr/include/SFML -I/usr/include/lua5.1 -I/var/tmp/portage/games-util/slade-3.2.4/work/SLADE-3.2.4/src/. -I/var/tmp/portage/games-util/slade-3.2.4/work/SL
/var/tmp/portage/games-util/slade-3.2.4/work/SLADE-3.2.4/src/MainEditor/UI/EntryPanel/TextEntryPanel.cpp: In constructor slade::TextEntryPanel::TextEntryPanel(wxWindow*):
/var/tmp/portage/games-util/slade-3.2.4/work/SLADE-3.2.4/src/MainEditor/UI/EntryPanel/TextEntryPanel.cpp:96:33: error: call of overloaded addActionGroup(const char [8], <brace-enclosed initializer list>, bool) is ambiguous
   96 |         toolbar_->addActionGroup("Compile", { "arch_scripts_compileacs" }, true);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20240828-173502

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 03216736a7c3da5fc6f48a1af6b277bbb05f000c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 1 11:34:04 2024 +0000

    2024-09-01 11:34:04 UTC

emerge -qpvO =games-util/slade-3.2.4
[ebuild  N    ] games-util/slade-3.2.4  USE="fluidsynth -timidity -webkit" LUA_SINGLE_TARGET="lua5-1 -lua5-3"
Comment 1 Toralf Förster gentoo-dev 2024-09-01 14:13:10 UTC
Created attachment 901863 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-01 14:13:12 UTC
Created attachment 901864 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-09-01 14:13:13 UTC
Created attachment 901865 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-01 14:13:14 UTC
Created attachment 901866 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-01 14:13:15 UTC
Created attachment 901867 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-01 14:13:16 UTC
Created attachment 901868 [details]
games-util:slade-3.2.4:20240901-130119.log
Comment 7 Toralf Förster gentoo-dev 2024-09-01 14:13:17 UTC
Created attachment 901869 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-01 14:13:18 UTC
Created attachment 901870 [details]
temp.tar.xz
Comment 9 Leonid Kopylov 2024-09-27 17:17:35 UTC
same error with both gcc 13 + gcc 14
Comment 10 Agostino Sarubbo gentoo-dev 2024-11-20 14:08:32 UTC
ci has reproduced this issue with version 3.2.4-r1 - Updating summary.
Comment 11 Chase Phelps 2024-11-23 20:42:35 UTC
Created attachment 911713 [details, diff]
Fixes ambiguity of addActionGroup calls

In all addActionGroup calls with ambiguous usage, use a vector of strings to disambiguate.
Comment 12 Larry the Git Cow gentoo-dev 2024-11-23 21:25:42 UTC
The bug has been closed via the following commit(s):

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

commit 7e5dd0f48556372ba10313ffc50ca05f4c072eea
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-23 21:20:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-23 21:24:56 +0000

    games-util/slade: fix build
    
    "Fixes ambiguity of addActionGroup calls.
    
    In all addActionGroup calls with ambiguous usage, use a vector of strings
    to disambiguate."
    
    Closes: https://bugs.gentoo.org/938887
    Thanks-to: Chase
    Signed-off-by: Sam James <sam@gentoo.org>

 games-util/slade/files/slade-3.2.4-compile.patch | 64 ++++++++++++++++++++++++
 games-util/slade/slade-3.2.4-r1.ebuild           |  1 +
 2 files changed, 65 insertions(+)
Comment 13 Larry the Git Cow gentoo-dev 2024-11-23 22:23:14 UTC
The bug has been referenced in the following commit(s):

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

commit 99d6e1f030642c03a3d25603c0edd4dff2abc26c
Author:     Kacper Słomiński <kacper.slominski72@gmail.com>
AuthorDate: 2024-11-23 21:44:09 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-11-23 22:23:00 +0000

    games-util/slade: add 3.2.6
    
    Fixes build issues caused by newer wxGTK.
    
    Also add wxGTK[curl(+)] USE dependency since that's needed for
    >=3.2.2.1-r5. Also inherit from xdg eclass for pkg_postinst and
    pkg_postrm since the .desktop file registers handling for .wad
    (application/x-doom-wad) files. Also add a patch to fix a build issue in
    the bundled sol2 with newer GCC/Clang.
    
    Bug: https://github.com/sirjuddington/SLADE/issues/1750
    Bug: https://bugs.gentoo.org/938887
    Signed-off-by: Kacper Słomiński <kacper.slominski72@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/39438
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-util/slade/Manifest                        |  1 +
 games-util/slade/files/slade-3.2.6-fix-sol.patch | 14 ++++
 games-util/slade/slade-3.2.6.ebuild              | 82 ++++++++++++++++++++++++
 3 files changed, 97 insertions(+)