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

Bug 926081

Summary: games-engines/scummvm-tools-2.7.0_p1 fails to compile: dump.cpp:31:31: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
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://bugs.scummvm.org/ticket/15039
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:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-engines/scummvm-tools-2.7.0_p1 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:30 UTC
Created attachment 886583 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-03-22 05:33:21 UTC
The bug has been closed via the following commit(s):

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

commit c5bae0eccbd80a162b0ac3f0abb31d5501e17b16
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-03-22 02:08:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-22 05:31:51 +0000

    games-engines/scummvm-tools: mark as LTO-unsafe, strict-aliasing unsafe
    
    Closes: https://bugs.gentoo.org/926081
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 games-engines/scummvm-tools/scummvm-tools-2.7.0_p1.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)