@earlybird please update your local PKGBUILD file, it's probably out of sync if you're still getting the mv
error.
Search Criteria
Package Details: hyprland-git 0.39.1.r105.5e6f7b1c-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/hyprland-git.git (read-only, click to copy) |
---|---|
Package Base: | hyprland-git |
Description: | A dynamic tiling Wayland compositor based on wlroots that doesn't sacrifice on its looks. |
Upstream URL: | https://github.com/hyprwm/Hyprland |
Licenses: | BSD |
Conflicts: | hyprland |
Provides: | hyprland |
Submitter: | hertog |
Maintainer: | memchr (Vaxry) |
Last Packager: | memchr |
Votes: | 74 |
Popularity: | 5.48 |
First Submitted: | 2022-04-12 20:26 (UTC) |
Last Updated: | 2024-05-15 08:45 (UTC) |
Dependencies (46)
- cairo (cairo-gitAUR)
- cpio (cpio-gitAUR)
- gcc-libs (gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-gitAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR, glib2-selinuxAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR)
- glslang (glslang-gitAUR, glslang-minimal-gitAUR)
- hyprcursor (hyprcursor-gitAUR)
- hyprlang (hyprlang-gitAUR)
- hyprwayland-scanner (hyprwayland-scanner-gitAUR)
- libdisplay-info (libdisplay-info-gitAUR)
- libdisplay-info.so (libdisplay-info-gitAUR, libdisplay-info)
- libdrm (libdrm-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libinput (libinput-three-finger-dragAUR, libinput-multiplierAUR)
- libliftoff (libliftoff-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxfixes
- libxkbcommon (libxkbcommon-gitAUR)
- Show 26 more dependencies...
Required by (35)
- 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)
- hyprdwl-git (requires hyprland)
- hyprforest-installer-bin (requires hyprland) (optional)
- hyprfreeze-git (requires hyprland)
- hyprland-activewindow (requires hyprland)
- hyprland-autoname-workspaces-git (requires hyprland)
- hyprland-plugin-borders-plus-plus-git (make)
- hyprland-plugin-csgo-vulkan-fix-git (make)
- hyprland-plugin-hyprbars-git (make)
- hyprland-plugin-hyprtrails-git (make)
- hyprland-plugin-hyprwinwrap-git (make)
- hyprland-scratchpad-git (requires hyprland)
- hyprland-workspaces (requires hyprland)
- hyprnotify (requires hyprland)
- Show 15 more...
Sources (5)
memchr commented on 2024-05-20 01:48 (UTC)
earlybird commented on 2024-05-19 12:30 (UTC)
Working pkgbuild - please change this PKGBUILD
mitch_mg2 commented on 2024-05-17 01:35 (UTC) (edited on 2024-05-17 01:37 (UTC) by mitch_mg2)
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.
ding4 commented on 2024-05-15 20:59 (UTC)
@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.
Onyx0452 commented on 2024-05-15 20:52 (UTC)
@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
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)
memchr 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?
Pinned Comments
memchr commented on 2024-04-26 13:54 (UTC) (edited on 2024-04-26 13:55 (UTC) by memchr)
What is the difference between
foo
andfoo-git
packages?Many AUR packages come in "stable" release and "unstable" development versions. Development packages usually have a suffix denoting their Version Control System and are not intended for regular use, but may offer new features or bugfixes. Because these packages only download the latest available source when you execute makepkg, their pkgver() in the AUR does not reflect upstream changes.