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

Bug 921254

Summary: media-libs/libsdl2-2.28.5 fails to compile (GCC-14-SYSTEM): SDL_kmsdrmdyn.c:150:54: error: assignment to SDL_DYNKMSDRMFN_drmModeCrtcSetGamma {aka int ()(int, unsigned int, unsigned int, short unsigned int , short unsigned int , short unsigned int )} from
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo.qxrin, kocelfc, pashchenko.a.o
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 924034    
Bug Blocks: 870412    
Attachments: build.log

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

Issue: media-libs/libsdl2-2.28.5 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: gcc14_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-14 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-03 08:56:05 UTC
Created attachment 881355 [details]
build.log

build log and emerge --info
Comment 2 Kostadin Shishmanov 2024-02-09 16:28:36 UTC
Appears to be fixed with 2.30.0, can't find the exact commit, but it builds fine.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-18 07:01:27 UTC
*** Bug 924848 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2024-03-17 03:42:47 UTC
The bug has been closed via the following commit(s):

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

commit 0ad5e53f8cbd5848d7e6a5abc9453b31243d9c03
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-17 03:41:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-17 03:41:49 +0000

    media-libs/libsdl2: add 2.30.1
    
    Closes: https://bugs.gentoo.org/921254
    Closes: https://bugs.gentoo.org/924034
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libsdl2/Manifest              |   1 +
 media-libs/libsdl2/libsdl2-2.30.1.ebuild | 263 +++++++++++++++++++++++++++++++
 2 files changed, 264 insertions(+)