Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921123 - 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]
Summary: gui-wm/hyprland-0.33.1 fails to compile (GCC-14-SYSTEM): tablet_pad.c:36:38: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Julien
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-12-31 10:42 UTC by Agostino Sarubbo
Modified: 2024-01-02 12:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,279.88 KB, text/plain)
2023-12-31 10:42 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)