need help here, what should i do with this
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 'wlroots' (https://gitlab.freedesktop.org/wlroots/wlroots.git) registered for path 'subprojects/wlroots'
Cloning into '/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/hyprland-protocols'...
done.
Cloning into '/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/tracy'...
done.
Cloning into '/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/udis86'...
done.
Cloning into '/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots'...
done.
Submodule path 'subprojects/hyprland-protocols': checked out '0c2ce70625cb30aef199cb388f99e19a61a6ce03'
Submodule path 'subprojects/tracy': checked out '37aff70dfa50cf6307b3fee6074d627dc2929143'
Submodule path 'subprojects/udis86': checked out '5336633af70f3917760a6d441ff02d93477b0c86'
Submodule path 'subprojects/wlroots': checked out '00b869c1a96f300a8f25da95d624524895e0ddf2'
HEAD is now at 00b869c1 backend/drm: add support for atomic tearing page-flips
/home/ogios/.cache/yay/hyprland-git/PKGBUILD: line 92: subprojects/packagefiles/wlroots-meson-build.patch: No such file or directory
==> 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
and i've searched through, no such .patch
thing:
$ sudo find ~/ | grep subprojects | grep wlroots | grep meson | grep hyprland-git
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/drm/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/headless/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/libinput/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/multi/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/session/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/wayland/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/x11/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/examples/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/include/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/include/wlr/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/meson_options.txt
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/protocol/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/allocator/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/gles2/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/gles2/shaders/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/pixman/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/vulkan/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/vulkan/shaders/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/tinywl/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/types/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/util/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/xcursor/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/xwayland/meson.build
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.