Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926143 - games-strategy/megaglest-3.13.0-r1 fails to compile: menu_state_connected_game.h:42:6: error: type Glest::Game::FTPMessageType violates the C++ One Definition Rule [-Werror=odr]
Summary: games-strategy/megaglest-3.13.0-r1 fails to compile: menu_state_connected_gam...
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:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-04 08:53 UTC by Agostino Sarubbo
Modified: 2024-03-22 05:33 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,905.71 KB, text/plain)
2024-03-04 08:53 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-04 08:53:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-strategy/megaglest-3.13.0-r1 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-04 08:53:10 UTC
Created attachment 886660 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-04 08:53:11 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- ** WARNING: Could not find GoogleBreakpad. Disabling GoogleBreakpad support.
/var/tmp/portage/games-strategy/megaglest-3.13.0-r1/work/megaglest-3.13.0/source/glest_game/menu/menu_state_connected_game.h:42:6: error: type ‘Glest::Game::FTPMessageType’ violates the C++ One Definition Rule [-Werror=odr[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wodr]]
Comment 3 Larry the Git Cow gentoo-dev 2024-03-22 05:33:17 UTC
The bug has been closed via the following commit(s):

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

commit 7cb6fe35cfba26df82753ba440d657a2e6676a85
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-03-22 02:36:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-22 05:31:53 +0000

    games-strategy/megaglest: mark as LTO-unsafe
    
    Closes: https://bugs.gentoo.org/926143
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 games-strategy/megaglest/megaglest-3.13.0-r1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)