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

Bug 921123

Summary: gui-wm/hyprland-0.33.1 fails to compile (GCC-14-SYSTEM): tablet_pad.c:36:38: error: calloc sizes specified with sizeof in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Julien <julien>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/34588
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 914580    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-12-31 10:42:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: gui-wm/hyprland-0.33.1 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 2023-12-31 10:42:12 UTC
Created attachment 881094 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-01-02 12:08:31 UTC
The bug has been closed via the following commit(s):

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

commit e303fa66ac1d3fb7581c20f05d70f004295383ef
Author:     Julien Roy <julien@jroy.ca>
AuthorDate: 2023-12-31 21:57:37 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2024-01-02 12:06:35 +0000

    gui-wm/hyprland: add patch for gcc14
    
    Closes: https://bugs.gentoo.org/921123
    Closes: https://github.com/gentoo/gentoo/pull/34588
    Signed-off-by: Julien Roy <julien@jroy.ca>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 gui-wm/hyprland/files/gcc14.patch      | 32 ++++++++++++++++++++++++++++++++
 gui-wm/hyprland/hyprland-0.33.1.ebuild |  4 ++++
 2 files changed, 36 insertions(+)