Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 926080

Summary: games-emulation/vbam-2.1.7 fails to compile: expr-lex.cpp:187:8: error: type struct yy_buffer_state violates the C++ One Definition Rule [-Werror=odr]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/visualboyadvance-m/visualboyadvance-m/issues/1260
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-03 08:28:25 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-emulation/vbam-2.1.7 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-03 08:28:27 UTC
Created attachment 886582 [details]
build.log

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


Could NOT find SFML (missing:  SFML_NETWORK_LIBRARY SFML_SYSTEM_LIBRARY)
FAILED: vbam 
expr-lex.cpp:187:8: error: type ‘struct yy_buffer_state’ violates the C++ One Definition Rule [-Werror=odr]
Comment 3 Larry the Git Cow gentoo-dev 2024-03-22 05:33:20 UTC
The bug has been closed via the following commit(s):

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

commit 85fc56aec46c02a6c5ea1d46f940398e12022e34
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-03-22 02:57:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-22 05:31:54 +0000

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

 games-emulation/vbam/vbam-2.1.7.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)