Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895098 - dev-games/mygui-3.4.1 - /.../MyGUI_UString.h: error: redefinition of MyGUI::UString MyGUI::operator+(const UString&, int)
Summary: dev-games/mygui-3.4.1 - /.../MyGUI_UString.h: error: redefinition of MyGUI::U...
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:
: 895708 (view as bug list)
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-17 09:59 UTC by Toralf Förster
Modified: 2023-05-27 14:02 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.94 KB, text/plain)
2023-02-17 09:59 UTC, Toralf Förster
Details
dev-games:mygui-3.4.1:20230217-070154.log (dev-games:mygui-3.4.1:20230217-070154.log,139.08 KB, text/plain)
2023-02-17 09:59 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,55.17 KB, application/x-bzip)
2023-02-17 09:59 UTC, Toralf Förster
Details
environment (environment,101.77 KB, text/plain)
2023-02-17 09:59 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,707 bytes, application/x-bzip)
2023-02-17 09:59 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,36.93 KB, application/x-bzip)
2023-02-17 09:59 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.85 KB, application/x-bzip)
2023-02-17 09:59 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.67 KB, application/x-bzip)
2023-02-17 09:59 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-02-17 09:59:08 UTC
/var/tmp/portage/dev-games/mygui-3.4.1/work/mygui-MyGUI3.4.1/MyGUIEngine/include/MyGUI_UString.h:982:63: error: MyGUI::UString::code_point has not been declared
  982 |         inline UString operator+( const UString& s1, UString::code_point c ) {
      |                                                               ^~~~~~~~~~
/var/tmp/portage/dev-games/mygui-3.4.1/work/mygui-MyGUI3.4.1/MyGUIEngine/include/MyGUI_UString.h:986:63: error: MyGUI::UString::unicode_char has not been declared
  986 |         inline UString operator+( const UString& s1, UString::unicode_char c ) {
      |                                                               ^~~~~~~~~~~~
/var/tmp/portage/dev-games/mygui-3.4.1/work/mygui-MyGUI3.4.1/MyGUIEngine/include/MyGUI_UString.h:986:24: error: redefinition of MyGUI::UString MyGUI::operator+(const UString&, int)
  986 |         inline UString operator+( const UString& s1, UString::unicode_char c ) {
      |                        ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20230214-230019

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit 5d3e6c1153212b81027947aa1256f91e613e4a8b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Feb 17 05:46:59 2023 +0000

    2023-02-17 05:46:59 UTC

emerge -qpvO dev-games/mygui
[ebuild  N    ] dev-games/mygui-3.4.1  USE="opengl -debug -doc (-ogre) -plugins -samples -static-libs -test -tools" L10N="-ru"
Comment 1 Toralf Förster gentoo-dev 2023-02-17 09:59:09 UTC
Created attachment 852110 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-17 09:59:10 UTC
Created attachment 852112 [details]
dev-games:mygui-3.4.1:20230217-070154.log
Comment 3 Toralf Förster gentoo-dev 2023-02-17 09:59:11 UTC
Created attachment 852114 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-02-17 09:59:13 UTC
Created attachment 852116 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-17 09:59:13 UTC
Created attachment 852118 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-17 09:59:14 UTC
Created attachment 852120 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-17 09:59:15 UTC
Created attachment 852122 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-17 09:59:16 UTC
Created attachment 852124 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-18 11:27:40 UTC
*** Bug 895708 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2023-04-18 11:31:09 UTC
The bug has been closed via the following commit(s):

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

commit 790927a7ccf40f62ce7b5f62ddcd88f69ca83d76
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-18 11:30:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-18 11:30:37 +0000

    dev-games/mygui: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/895098
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-games/mygui/files/mygui-3.4.1-gcc13.patch | 23 +++++++++++++++++++++++
 dev-games/mygui/mygui-3.4.1.ebuild            |  3 ++-
 2 files changed, 25 insertions(+), 1 deletion(-)
Comment 11 Larry the Git Cow gentoo-dev 2023-05-27 14:02:29 UTC
The bug has been referenced in the following commit(s):

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

commit e7d104928289020b991102a7400f85ff57c07a72
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-27 13:58:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-27 14:01:58 +0000

    dev-games/mygui: revbump for header fixes
    
    While the reported bug was for mygui itself, DarthGandalf points out that
    it affects an installed header, so needed for consumers.
    
    Bug: https://bugs.gentoo.org/895098
    Fixes: 790927a7ccf40f62ce7b5f62ddcd88f69ca83d76
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-games/mygui/{mygui-3.4.1.ebuild => mygui-3.4.1-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)