Since latest PKGBUILD change:
error: could not find all required packages:
hyprwayland-scanner>=0.3.10 (wanted by: hyprland-git)
when installing/updating the package. Preferably, this package would use the hyprwayland-scanner-git package.
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.47 |
First Submitted: | 2022-04-12 20:26 (UTC) |
Last Updated: | 2024-11-21 17:56 (UTC) |
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 32 Next › Last »
Since latest PKGBUILD change:
error: could not find all required packages:
hyprwayland-scanner>=0.3.10 (wanted by: hyprland-git)
when installing/updating the package. Preferably, this package would use the hyprwayland-scanner-git package.
@electwix
Update your hyprland source code. Remove --holdver
flag if you use it.
See: https://github.com/hyprwm/Hyprland/commit/098ac916a6314a2b731532e0c85f357e3cf90d2f
I'm getting error with cleanbuild
FAILED: subprojects/wlroots-hyprland/libwlroots.a.p/backend_drm_libliftoff.c.o ccache cc -Isubprojects/wlroots-hyprland/libwlroots.a.p -Isubprojects/wlroots-hyprland -I../subprojects/wlroots-hyprland -Isubprojects/wlroots-hyprland/include -I../subprojects/wlroots-hyprland/include -Isubprojects/wlroots-hyprland/protocol -Isubprojects/wlroots-hyprland/render/gles2/shaders -Isubprojects/wlroots-hyprland/backend/drm -I/usr/include/libdrm -I/usr/include/pixman-1 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -D_POSIX_C_SOURCE=200809L -DWLR_USE_UNSTABLE -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter -fmacro-prefix-map=../subprojects/wlroots-hyprland/= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/electwix/.cache/yay/hyprland-git/src=/usr/src/debug/hyprland-git -flto=auto -fPIC -MD -MQ subprojects/wlroots-hyprland/libwlroots.a.p/backend_drm_libliftoff.c.o -MF subprojects/wlroots-hyprland/libwlroots.a.p/backend_drm_libliftoff.c.o.d -o subprojects/wlroots-hyprland/libwlroots.a.p/backend_drm_libliftoff.c.o -c ../subprojects/wlroots-hyprland/backend/drm/libliftoff.c ../subprojects/wlroots-hyprland/backend/drm/libliftoff.c: In function ‘commit’: ../subprojects/wlroots-hyprland/backend/drm/libliftoff.c:412:27: error: too many arguments to function ‘liftoff_output_apply’ 412 | int ret = liftoff_output_apply(crtc->liftoff, req, flags, NULL); | ^~~~~~~~~~~~~~~~~~~~ In file included from ../subprojects/wlroots-hyprland/backend/drm/libliftoff.c:2: /usr/local/include/libliftoff.h:76:1: note: declared here 76 | liftoff_output_apply(struct liftoff_output *output, drmModeAtomicReq *req, | ^~~~~~~~~~~~~~~~~~~~ [415/583] 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
@bmuks071
I can't reproduce it. Have you tried `makepkg --cleanbuild' or deleting source files?
Been getting this issue.
==> Starting prepare()...
Submodule 'subprojects/hyprland-protocols' (https://github.com/hyprwm/hyprland-protocols) registered for path 'subprojects/hyprland-protocols'
Submodule 'subprojects/tracy' (https://github.com/wolfpld/tracy) registered for path 'subprojects/tracy'
Submodule 'subprojects/udis86' (https://github.com/canihavesomecoffee/udis86) registered for path 'subprojects/udis86'
Submodule 'subprojects/wlroots-hyprland' (https://github.com/hyprwm/wlroots-hyprland) registered for path 'subprojects/wlroots-hyprland'
Cloning into '/tmp/makepkg/hyprland-git/src/Hyprland/subprojects/hyprland-protocols'...
done.
Cloning into '/tmp/makepkg/hyprland-git/src/Hyprland/subprojects/tracy'...
done.
Cloning into '/tmp/makepkg/hyprland-git/src/Hyprland/subprojects/udis86'...
done.
Cloning into '/tmp/makepkg/hyprland-git/src/Hyprland/subprojects/wlroots-hyprland'...
done.
Submodule path 'subprojects/hyprland-protocols': checked out 'e06482e0e611130cd1929f75e8c1cf679e57d161'
error: Could not read b6ee9359b8584ed23b1d4dcc303cf60043f6f2be
fatal: Unable to checkout '37aff70dfa50cf6307b3fee6074d627dc2929143' in submodule path 'subprojects/tracy'
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: hyprland-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
hyprland-git - exit status 4
@earlybird please update your local PKGBUILD file, it's probably out of sync if you're still getting the mv
error.
Working pkgbuild - please change this PKGBUILD
Currently cant build using paru with the following meson error:
protocols/meson.build:92:18: ERROR: File //usr/share/hyprland-protocols/protocols/hyprland-focus-grab-v1.xml does not exist.
@Onyx0452, thanks. That was the trick. I must have had the PKGBUILD from the previous commit with the same pkgver number cached. I kept wondering why it was trying to mv that file when I could see that that line had been removed in the latest commit.
@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
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.