Closed lifer0se closed 2 months ago
I have the exact same issue.
here is a full output from hyprpm add https://github.com/hyprwm/hyprland-plugins -v
:
Furthermore - I went ahead to downgrade to v0.41.2 to get plugins back up and running. It was a pain.
hyprpm does not seem to take the current branch into account when cloning the hyprland repo, so it'll clone v0.42.0 and crash trying to find missing library files (wlroots stuff that was removed).
Quick and dirty fix:
edit ./hyprpm/src/core/PluginManager.cpp at line 440:
std::string ret = execAndGet("cd /tmp/hyprpm && git clone --recursive --branch v0.41.2 https://github.com/hyprwm/hyprland hyprland-" + USERNAME + (bShallow ? " --shallow-since='" + SHALLOW_DATE + "'" : ""));
It'll pull the correct branch for v0.41.2 and hyprpm will run with no issues.
p.s. I could fix hyprpm to read the branch and clone that from git and do a PR, unless you're working on a different fix.
Regression?
Yes
System Info and Version
System/Version info
```sh Hyprland, built from branch main at commit 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7 (internal: introduce new types to avoid unsigned int rollover and signed int overflow (7216)). Date: Thu Aug 8 22:01:50 2024 Tag: v0.42.0-2-g4b4971c0, commits: 5071 flags: (if any) System Information: System name: Linux Node name: amnesia Release: 6.10.3-arch1-2 Version: #1 SMP PREEMPT_DYNAMIC Tue, 06 Aug 2024 07:21:19 +0000 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1080] [10de:1b80] (rev a1) (prog-if 00 [VGA controller]) NVRM version: NVIDIA UNIX x86_64 Kernel Module 555.58.02 Tue Jun 25 01:39:15 UTC 2024 os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo ```Description
After the 0.42 update, I cannot compile any plugins, getting the following error:
The same error appears for plugins I'm building manually from source, and plugins installed using hyprpm.
I've tried rebuilding Hyprland; does not fix the issue. I've tried building a plugin in a debug session of Hyprland; same error.
How to reproduce
Running
hyprpm add <url> -v
with any plugin causes the error for me.Crash reports, logs, images, videos
No response