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

Bug 926752

Summary: media-gfx/arss-0.2.3-r1 fails to compile: sound_io.c:92:26: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

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

Issue: media-gfx/arss-0.2.3-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-11 11:07:31 UTC
Created attachment 887348 [details]
build.log

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


FAILED: CMakeFiles/arss.dir/sound_io.o 
/var/tmp/portage/media-gfx/arss-0.2.3-r1/work/arss-0.2.3-src/src/sound_io.c:92:26: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Comment 3 Larry the Git Cow gentoo-dev 2024-03-17 05:34:50 UTC
The bug has been closed via the following commit(s):

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

commit 5ccfe32874dab1d3531dc007f8695ada8c738888
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-03-17 02:56:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-17 05:28:38 +0000

    media-gfx/arss: fix LTO properly this time
    
    Unsure what happened to me but this logic did not work as the wrong
    phase was modified.
    
    Fixes: e886fb559492e6f472ff70aa2794c33e5225c59e
    Bug: https://bugs.gentoo.org/859604
    Closes: https://bugs.gentoo.org/926752
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/arss/arss-0.2.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)