@ding4 @xiota in case you are using yay: managed to make it work by clearing the yay cache (yay -Scc
) and clean rebuilding. Might be enough to delete ~/.cache/yay/hyprland-git
Search Criteria
Package Details: hyprland-git 0.45.0.r18.3fb47372-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/hyprland-git.git (read-only, click to copy) |
---|---|
Package Base: | hyprland-git |
Description: | Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks |
Upstream URL: | https://github.com/hyprwm/Hyprland |
Licenses: | BSD-3-Clause |
Conflicts: | hyprland |
Provides: | hyprland |
Submitter: | hertog |
Maintainer: | Vaxry (zjeffer, alba4k) |
Last Packager: | alba4k |
Votes: | 97 |
Popularity: | 8.70 |
First Submitted: | 2022-04-12 20:26 (UTC) |
Last Updated: | 2024-11-21 17:56 (UTC) |
Dependencies (54)
- aquamarine-gitAUR
- cairo (cairo-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- glslang (glslang-gitAUR)
- hyprcursor-gitAUR
- hyprlang-gitAUR
- hyprutils-gitAUR
- libdisplay-info (libdisplay-info-gitAUR)
- libdrm (libdrm-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libinput (libinput-noaccumAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR)
- libliftoff (libliftoff-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxcursor
- libxfixes
- libxkbcommon (libxkbcommon-gitAUR)
- libxrender
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-amber)
- opengl-driver (nvidia-410xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, nvidia-vulkan-utilsAUR, nvidia-390xx-utilsAUR, mesa-minimal-gitAUR, mesa-gitAUR, nvidia-utils-teslaAUR, mesa-wsl2-gitAUR, nvidia-535xx-utilsAUR, nvidia-525xx-utilsAUR, nvidia-510xx-utilsAUR, nvidia-utils-betaAUR, nvidia-470xx-utilsAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, nvidia-550xx-utilsAUR, mesa, mesa-amber, nvidia-utils)
- pango (pango-gitAUR)
- pixman (pixman-gitAUR)
- polkit (polkit-gitAUR, polkit-consolekitAUR)
- seatd (seatd-gitAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, sysupdated-systemd-libs-gitAUR, systemd-libs-fmlAUR, systemd-libs-gitAUR)
- tomlplusplus
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- wayland-protocols (wayland-protocols-gitAUR)
- xcb-proto (xcb-proto-gitAUR)
- xcb-util
- xcb-util-errors
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- xorg-xwayland (xorg-xwayland-gitAUR, xorg-xwayland-hidpi-xpropAUR, xorg-xwayland-bug865-issue1578AUR)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- hyprland-protocols-gitAUR (make)
- hyprwayland-scanner-gitAUR (make)
- jq (jq-gitAUR) (make)
- make (make-gitAUR) (make)
- meson (meson-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- patch (patch-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- xorgproto (xorgproto-gitAUR) (make)
- cmake (cmake-gitAUR) (optional) – to build and install plugins using hyprpm
- cpio (cpio-gitAUR) (optional) – to build and install plugins using hyprpm
- meson (meson-gitAUR) (optional) – to build and install plugins using hyprpm
- uwsmAUR (optional) – the recommended way to start Hyprland
Required by (61)
- focal-hyprland-git (requires hyprland)
- gbar-git (requires hyprland) (optional)
- grimblast-git (requires hyprland)
- hdisplays (requires hyprland) (make)
- hy3 (requires hyprland)
- hy3-git (requires hyprland)
- hycov-git (requires hyprland)
- hypr-trans-git (requires hyprland)
- hyprdim (requires hyprland)
- hyprdwl-git (requires hyprland)
- hyprforest-installer-bin (requires hyprland) (optional)
- hyprfreeze-git (requires hyprland)
- hyprgui (requires hyprland) (optional)
- hyprgui-bin (requires hyprland) (optional)
- hyprland-activewindow (requires hyprland)
- hyprland-autoname-workspaces-git (requires hyprland)
- hyprland-plugin-borders-plus-plus (requires hyprland)
- hyprland-plugin-borders-plus-plus (requires hyprland) (make)
- hyprland-plugin-borders-plus-plus-git (make)
- hyprland-plugin-csgo-vulkan-fix (requires hyprland)
- hyprland-plugin-csgo-vulkan-fix (requires hyprland) (make)
- hyprland-plugin-csgo-vulkan-fix-git (make)
- hyprland-plugin-hyprbars (requires hyprland)
- hyprland-plugin-hyprbars (requires hyprland) (make)
- hyprland-plugin-hyprbars-git (make)
- hyprland-plugin-hyprexpo (requires hyprland)
- hyprland-plugin-hyprexpo (requires hyprland) (make)
- hyprland-plugin-hyprscroller-git (requires hyprland)
- hyprland-plugin-hyprtrails (requires hyprland)
- hyprland-plugin-hyprtrails (requires hyprland) (make)
- hyprland-plugin-hyprtrails-git (make)
- hyprland-plugin-hyprwinwrap (requires hyprland)
- hyprland-plugin-hyprwinwrap (requires hyprland) (make)
- hyprland-plugin-hyprwinwrap-git (make)
- hyprland-scratchpad-git (requires hyprland)
- hyprland-target (requires hyprland)
- hyprland-workspaces (requires hyprland)
- hyprlux (requires hyprland)
- hyproled-git (requires hyprland)
- hyprpanel (requires hyprland)
- hyprpanel-bin (requires hyprland)
- hyprpaper-gen-git (requires hyprland) (optional)
- hyprscratch (requires hyprland)
- hyprshade (requires hyprland)
- hyprshade-git (requires hyprland)
- hyprshade-rewrite-git (requires hyprland)
- hyprsome-git (requires hyprland)
- hyprsunset (requires hyprland)
- hyprswitch (requires hyprland)
- lxqt-wayland-session-git (requires hyprland) (optional)
- mist-de (requires hyprland)
- ml4w-hyprland (requires hyprland)
- ml4w-hyprland-git (requires hyprland)
- pyprland (requires hyprland)
- signal-desktop-fix-sway (requires hyprland) (optional)
- wallpickr-git (requires hyprland)
- wlr-layout-ui (requires hyprland) (optional)
- wlr-layout-ui-git (requires hyprland) (optional)
- xdg-desktop-portal-hyprland-git (requires hyprland) (optional)
- zdhpctl (requires hyprland) (optional)
- zdhpctl (optional)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 32 Next › Last »
Onyx0452 commented on 2024-05-15 20:52 (UTC)
ding4 commented on 2024-05-15 20:29 (UTC) (edited on 2024-05-15 20:33 (UTC) by ding4)
Following brownfox's fix I got further in the upgrade. I'm getting the same error as xiota for version hyprland-git-0.39.1.r105.5e6f7b1c-1
mv: cannot stat '/home/ding/.cache/yay/hyprland-git/pkg/hyprland-git/usr/include/wlr': No such file or directory
Ghosthree3 commented on 2024-05-15 15:21 (UTC)
Yes, a recent commit bumped the hyprwayland-scanner version requirement to >=0.3.7, which has not yet hit the official repo.
brownfox commented on 2024-05-15 13:26 (UTC) (edited on 2024-05-15 13:36 (UTC) by brownfox)
Found ninja-1.12.1 at /usr/bin/ninja
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /home/derek/.cache/yay/hyprland-git/src/Hyprland/build
ninja: Entering directory `/home/derek/.cache/yay/hyprland-git/src/Hyprland/build'
[138/573] Generating protocols/_usr_share_wayland_wayland_xml with a custom command
FAILED: protocols/wayland.cpp protocols/wayland.hpp
/usr/bin/hyprwayland-scanner --wayland-enums /usr/share/wayland/wayland.xml protocols
Couldn't load proto
[148/573] Compiling C object subprojects/udis86/liblibudis86.a.p/libudis86_decode.c.o
../subprojects/udis86/libudis86/decode.c: In function ‘decode_operand’:
../subprojects/udis86/libudis86/decode.c:1959:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
1959 | u->br_far = 1;
| ~~~~~~~~~~~^~~
../subprojects/udis86/libudis86/decode.c:1961:5: note: here
1961 | case OP_M:
| ^~~~
../subprojects/udis86/libudis86/decode.c:1962:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1962 | if (MODRM_MOD(modrm(u)) == 3) {
| ^
../subprojects/udis86/libudis86/decode.c:1966:5: note: here
1966 | case OP_E:
| ^~~~
../subprojects/udis86/libudis86/decode.c:1992:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1992 | if (MODRM_MOD(modrm(u)) != 3) {
| ^
../subprojects/udis86/libudis86/decode.c:1996:5: note: here
1996 | case OP_Q:
| ^~~~
../subprojects/udis86/libudis86/decode.c:2003:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
2003 | if (MODRM_MOD(modrm(u)) != 3) {
| ^
../subprojects/udis86/libudis86/decode.c:2007:9: note: here
2007 | case OP_W:
| ^~~~
[155/573] Compiling C++ object hyprpm/src/hyprpm.p/core_PluginManager.cpp.o
../hyprpm/src/core/PluginManager.cpp: In function ‘std::string execAndGet(std::string)’:
../hyprpm/src/core/PluginManager.cpp:45:50: warning: ignoring attributes on template argument ‘int (*)(FILE*)’ [-Wignored-attributes]
45 | const std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd.c_str(), "r"), pclose);
| ^
[157/573] Precompiling header ../src/pch/pch.hpp
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: hyprland-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
hyprland-git - exit status 4
Compilation error
==== Solution
- remove hyprland-scanner and hyprland-scanner-debug
yay -Rns hyprwayland-scanner-debug hyprwayland-scanner
- reinstall hyprland-scanner-git
yay -S hyprland-scanner-git
Onyx0452 commented on 2024-05-15 13:20 (UTC)
@memchr they provide their own static-linked fork of wlroots, so I suppose system-installed wlroots should not be a dep (see https://github.com/hyprwm/wlroots-hyprland)
<deleted-account> commented on 2024-05-15 08:48 (UTC)
What is the significance of /usr/lib/libwlroots.a
? Can anyone confirm if this is needed to build the plugin?
xiota commented on 2024-05-14 15:59 (UTC)
In case the actual error message is helpful. Clean chroot.
mv: cannot stat '/home/main-builder/pkgwork/pkg/hyprland-git/usr/include/wlr': No such file or directory
==> ERROR: A failure occurred in package().
kotv commented on 2024-05-14 15:46 (UTC)
@rpi2 still does not work, need to drop lines 130-131 as meson now builds wlroots
directly into $pkgdir/usr/include/hyprland/wlr
rpi2 commented on 2024-05-14 12:53 (UTC)
ok, @SentakuHM thanks fixed.
SentakuHM commented on 2024-05-14 11:29 (UTC) (edited on 2024-05-14 13:06 (UTC) by SentakuHM)
line 131 need to be:
mv "$pkgdir/usr/include/hyprland/wlroots" "$pkgdir/usr/include/hyprland/wlr"
Pinned Comments
zjeffer commented on 2024-07-17 16:50 (UTC) (edited on 2024-07-17 16:52 (UTC) by zjeffer)
Tips & tricks, common issues
using ccache/sccache
Precompiled headers (PCH) was enabled by default, this would most likely invalidate the compiler cache if any of the upstream header files change. To disable PCH, add the meson build option
-Db_pch=false
tobuild()
.Build with specific pull requests
Use
pick_mr <pull request number>
at the end ofprepare()
to merge pull requests locally. For example, to merge https://github.com/hyprwm/Hyprland/pull/6268, useEnable legacy renderer
In the
build()
function, add-D legacy_renderer=true
to meson setupCompilation errors
If you encounter compilation errors, try the following first:
protocols/
, such asprotocols/linux-dmabuf-v1.hpp
, then rebuild or installhyprwayland-scanner-git
;makepkg --cleanbuild
.Symbol not declared
Errors like
<symbol> was not declared in this scope
<symbol> has not been declared
are usually caused by missing headers. Please consider reporting this upstream or creating a pull request if it has not already been done.