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

Bug 933460

Summary: gui-wm/hyprland-0.40.0-r1 fails to compile: libliftoff.c:410:27: error: too few arguments to function liftoff_output_apply
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Julien Roy <julien>
Status: CONFIRMED ---    
Severity: normal CC: johnmh, joost.ruis, julien, proxy-maint, tomenglund26
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 934198    
Bug Blocks:    
Attachments: build.log

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

Issue: gui-wm/hyprland-0.40.0-r1 fails to compile.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-03 06:44:20 UTC
Created attachment 894984 [details]
build.log

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


FAILED: subprojects/wlroots-hyprland/libwlroots.a.p/backend_drm_libliftoff.c.o 
Library execinfo found: NO
Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake)
wlroots-hyprland| Run-time dependency xcb-renderutil found: NO (tried pkgconfig and cmake)
../hyprland-source/subprojects/wlroots-hyprland/backend/drm/libliftoff.c:410:27: error: too few arguments to function ‘liftoff_output_apply’
Comment 3 Joost Ruis 2024-06-03 21:44:03 UTC
Same happens with gui-wm/hyprland-0.39.1-r3
Comment 4 Tom Englund 2024-06-04 11:05:33 UTC
yeah hyprland has to bump the version of the subproject wlroots-hyprland to get the somewhat recent commit https://github.com/hyprwm/wlroots-hyprland/commit/91de8da4b6b9b3c5630123d2446cd6de4e80071a , i made an upstream bugreport on hyprwm so it will eventually solve itself.
Comment 5 Joost Ruis 2024-06-04 16:21:22 UTC
Seems upstream has a patch. Testing it.

https://github.com/hyprwm/Hyprland/commit/098ac916a6314a2b731532e0c85f357e3cf90d2f
Comment 6 Joost Ruis 2024-06-04 21:27:03 UTC
(In reply to Joost Ruis from comment #5)
> Seems upstream has a patch. Testing it.
> 
> https://github.com/hyprwm/Hyprland/commit/
> 098ac916a6314a2b731532e0c85f357e3cf90d2f

Decided to fall back on stable tree on this. With dev-libs/libliftoff-0.4.1 gui-wm/hyprland-0.39.1-r3 compiles fine.
Comment 7 Julien Roy 2024-06-08 00:02:16 UTC
(In reply to Joost Ruis from comment #5)
> Seems upstream has a patch. Testing it.
> 
> https://github.com/hyprwm/Hyprland/commit/
> 098ac916a6314a2b731532e0c85f357e3cf90d2f

Hyprland 0.40.0-r1 compiles fine with dev-libs/libliftoff-0.4.1, so the issue seems to be with just dev-libs/libliftoff-0.5.0

Masking >= 0.5.0 should fix this until the next Hyprland release
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-22 10:22:41 UTC
Add a < dep for now, if you don't want to backport the patch? (although backporting the patch would be preferred)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-22 12:15:13 UTC
Ah, nevermind, I see bug 934198.