Fails to install hy3 on version hl0.40.0
Xrayya opened this issue · 1 comments
Xrayya commented
I tried every method but all failed and now I'm kinda desperate...
- [Failed] I immediately ran
hyprpm update
with hy3 already installed after updating hyprland - [Failed] I remove hy3, and then ran
hyprpm update
and then install hy3 - [Failed] I
sudo rm -rf /usr/include/hyprland
,sudo rm -rf /usr/local/include/hyprland
,sudo rm /usr/share/pkgconfig/hyprland.pc
, andsudo rm /usr/local/share/pkgconfig/hyprland.pc
, and then reinstall hyprland, ranhyprpm update
- [Failed] I removed hy3, then ran
sudo pacman -Rns hyprland
, thensudo pacman -S hyprland
, thenhyprpm update
, then install hy3 - And maybe other attempts but all failed
My system:
- OS: Arch Linux
- Kernel: 6.8.7-arch1-1.1-g14
- Hyprland: 0.40.0-1 (pacman)
- Hyprlang: 0.5.1-1 (pacman)
Every time I installed or updated hy3, the error was always the same
❯ hyprpm add https://github.com/outfoxxed/hy3 -v
[v] version returned: Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0).
Date: Sat May 4 15:42:32 2024
Tag: v0.40.0, commits: 4606
flags: (if any)
[v] parsed commit cba1ade848feac44b2eda677503900639581c3f4 at branch on Sat May 4 15:42:32 2024, commits 4606
✔ adding a new plugin repository from https://github.com/outfoxxed/hy3
MAKE SURE that you trust the authors. DO NOT install random plugins without verifying the code and author.
Are you sure? [Y/n]
→ Cloning https://github.com/outfoxxed/hy3
✔ cloned
✔ found hyprpm manifest
✔ parsed manifest, found 1 plugins:
→ hy3 by outfoxxed version
→ Manifest has 9 pins, checking
✔ commit pin 584a1b1e357412a1a4ac40dbc6c4e5adaa7ec59b matched hl, resetting
✔ Hyprland headers OK
→ Building hy3
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━ 3 / 5 Building plugin(s)[v] shell returned: -> cd /tmp/hyprpm/xrayya && PKG_CONFIG_PATH="/home/xrayya/.local/share/hyprpm/headersRoot/share/pkgconfig" cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -B build
-- The C compiler identification is GNU 14.1.1
-- The CXX compiler identification is GNU 14.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1")
-- Checking for modules 'hyprland;pixman-1;libdrm;pango;pangocairo'
-- Found hyprland, version 0.39.1
-- Found pixman-1, version 0.43.4
-- Found libdrm, version 2.4.120
-- Found pango, version 1.52.2
-- Found pangocairo, version 1.52.2
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/xrayya/build
-> cd /tmp/hyprpm/xrayya && PKG_CONFIG_PATH="/home/xrayya/.local/share/hyprpm/headersRoot/share/pkgconfig" cmake --build build
[ 14%] Building CXX object CMakeFiles/hy3.dir/src/main.cpp.o
In file included from /home/xrayya/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:52,
from /home/xrayya/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
from /home/xrayya/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:7,
from /tmp/hyprpm/xrayya/src/main.cpp:1:
/home/xrayya/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/hy3.dir/build.make:76: CMakeFiles/hy3.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/hy3.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
✖ Plugin hy3 failed to build.
This likely means that the plugin is either outdated, not yet available for your version, or broken.
If you are on -git, update first.
Try re-running with -v to see more verbose output.
✔ all plugins built
✔ installed repository
✔ you can now enable the plugin(s) with hyprpm enable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Done!
Xrayya commented
Nevermind, I found the rat, I didn't install hyprwayland-scanner
. I knew a few weeks ago that hyprland needed that package. I installed hyprland from arch repo. I expected all dependencies to be installed with hyprland, but this one was not