Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921339 - [guru] gui-apps/hyprland-plugins-0.32.3-r1 fails to compile: includes.hpp:117:10: fatal error: xwayland.h: No such file or directory
Summary: [guru] gui-apps/hyprland-plugins-0.32.3-r1 fails to compile: includes.hpp:117...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Julien
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-04 10:06 UTC by Agostino Sarubbo
Modified: 2024-02-23 01:36 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,61.00 KB, text/plain)
2024-01-04 10:06 UTC, Agostino Sarubbo
Details
hyprland-plugins.log (build.log,517.03 KB, text/x-log)
2024-01-04 11:22 UTC, Gonçalo Negrier Duarte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-04 10:06:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: gui-apps/hyprland-plugins-0.32.3-r1 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-04 10:06:40 UTC
Created attachment 881453 [details]
build.log

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


/usr/include/hyprland/src/includes.hpp:117:10: fatal error: wlr/xwayland.h: No such file or directory
/usr/include/hyprland/src/includes.hpp:117:10: fatal error: wlr/xwayland.h: No such file or directory
Comment 3 Gonçalo Negrier Duarte 2024-01-04 11:22:29 UTC
Strange a can get this error and I notice hyprland is inded install in the gentoo tinderbox so it strange why is not detecting the hyprland-headers for the plugins, since the hyprland ebuild install them in the appropiated path:
/usr/include/hyprland/wlroots/wlr

I gonna post a build log
Comment 4 Gonçalo Negrier Duarte 2024-01-04 11:22:55 UTC
Created attachment 881467 [details]
hyprland-plugins.log
Comment 5 Wings Zeng 2024-01-07 08:38:40 UTC
Got the same error when trying to build another plugin. After looking around I found that wlroots will not install wlr/xwayland.h header without xwayland feature enabled. Hyprland just installs what wlroots given. But it is strange that hyprland needs wlr/xwayland.h in includes.hpp if xwayland feature is disabled. Plugins needs includes.hpp to build.
Comment 6 Julien 2024-01-07 17:20:28 UTC
(In reply to Wings Zeng from comment #5)
> Got the same error when trying to build another plugin. After looking around
> I found that wlroots will not install wlr/xwayland.h header without xwayland
> feature enabled. Hyprland just installs what wlroots given. But it is
> strange that hyprland needs wlr/xwayland.h in includes.hpp if xwayland
> feature is disabled. Plugins needs includes.hpp to build.

You should upgrade to Hyprland 0.34.0 and use the built-in plugin manager (hyprpm) instead of this ebuild. It is out-dated by two versions and is not needed any longer on 0.34.0
Comment 7 Larry the Git Cow gentoo-dev 2024-02-23 01:36:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74879f17ae71c029b6192fed3614c01bd9be7e61

commit 74879f17ae71c029b6192fed3614c01bd9be7e61
Author:     Julien Roy <julien@jroy.ca>
AuthorDate: 2024-02-23 01:29:07 +0000
Commit:     Julien Roy <julien@jroy.ca>
CommitDate: 2024-02-23 01:29:59 +0000

    gui-apps/hyprland-plugins: treeclean
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=921339
    
    Signed-off-by: Julien Roy <julien@jroy.ca>

 gui-apps/hyprland-plugins/Manifest                 |  1 -
 .../hyprland-plugins-0.32.3-r1.ebuild              | 96 ----------------------
 .../hyprland-plugins/hyprland-plugins-9999.ebuild  | 96 ----------------------
 gui-apps/hyprland-plugins/metadata.xml             | 23 ------
 4 files changed, 216 deletions(-)