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

Bug 927071

Summary: media-sound/supercollider-3.13.0 fails to compile: SC_Unit.h:95:82: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Andie Verbus <andieverbus>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz93, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/supercollider/supercollider/issues/1450
https://github.com/supercollider/supercollider/pull/1923
https://github.com/supercollider/supercollider/issues/5893
https://github.com/supercollider/supercollider/issues/6245
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-15 13:24:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/supercollider-3.13.0 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-15 13:24:35 UTC
Created attachment 887682 [details]
build.log

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


FAILED: server/plugins/CMakeFiles/ReverbUGens.dir/ReverbUGens.cpp.o 
/var/tmp/portage/media-sound/supercollider-3.13.0/work/SuperCollider-3.13.0-Source/include/plugin_interface/SC_Unit.h:95:82: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Comment 3 Eli Schwartz 2024-04-02 06:29:36 UTC
Reported a dedicated issue.
Comment 4 Larry the Git Cow gentoo-dev 2024-04-02 09:59:03 UTC
The bug has been closed via the following commit(s):

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

commit 9fb89e04acbc479130d607130f6b4b731c8827e2
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-02 06:40:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-02 09:58:29 +0000

    media-sound/supercollider: mark as LTO-unsafe, strict-aliasing unsafe
    
    Closes: https://bugs.gentoo.org/927071
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/supercollider/supercollider-3.13.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)