Hello,
I can't update because hyprlang package is not new enough, how can I get the newer one?
src/meson.build:14:4: ERROR: Dependency lookup for hyprlang with method 'pkgconfig' failed: Invalid version, need 'hyprlang' ['>= 0.3.2'] found '0.2.1'.
A full log can be found at /home/dimic/.cache/yay/hyprland-git/src/Hyprland/build/meson-logs/meson-log.txt
==> 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
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.