-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hyprpm: protocol header install fails #6115
Comments
Works fine without commit a66cfe0 |
FUFFIEEEE @fufexan CAN YOU STOP BREAKING MY PLUGINS? |
My bad gang, didn't test outside CI. |
I will perform a prostate exam on you if you do that again |
Any fix for this? Someone else fixed it by reinstalling hyprwayland-scanner, but that doesn't seem to work for me. |
ask @fufexan |
Same error here. Can't use any plugin, tried all possible suggestions I saw |
Looks like the same error
|
Maybe try the newest version of |
Not really , I already had it from -git , but I tried with --devel just in case but also no
|
Yeah I'm not even sure if the commit is at fault. Running |
@fufexan In a66cfe0, you changed the hyprwayland-scanner commands from being executed at configure time (because of the use of From what I can tell, Why some people seem to fix it by (re)installing |
Makes sense. @cnt0 do you mind if I revert the commit, or do you have a better approach for this? |
I don't mind. Maybe just make those generated files part of the repository and call it a day? |
They're generated files, so no. |
can we actually keep both |
In my opinion the makefile should be changed so that |
But for now I think simply reverting is the best option until a better solution is implemented. |
Hyprland Version
System/Version info
Bug or Regression?
Bug
Description
✔ configured Hyprland
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/zakk/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-zakk/Makefile && cd /tmp/hyprpm/hyprland-zakk && make installheaders
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━ 4 / 5 Installing sources[v] installer returned: # remove previous headers from hyprpm's dir
rm -fr /home/zakk/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/zakk/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/zakk/.local/share/hyprpm/headersRoot/include/hyprland/protocols
mkdir -p /home/zakk/.local/share/hyprpm/headersRoot/include/hyprland/wlr
mkdir -p /home/zakk/.local/share/hyprpm/headersRoot/share/pkgconfig
find src -name '.h' -print0 | cpio --quiet -0dump /home/zakk/.local/share/hyprpm/headersRoot/include/hyprland
cd subprojects/wlroots-hyprland/include/wlr && find . -name '.h' -print0 | cpio --quiet -0dump /home/zakk/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../..
cd subprojects/wlroots-hyprland/build/include && find . -name '.h' -print0 | cpio --quiet -0dump /home/zakk/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../..
cp ./protocols/.h /home/zakk/.local/share/hyprpm/headersRoot/include/hyprland/protocols
cp: cannot stat './protocols/.h': No such file or directory
make: *** [Makefile:57: installheaders] Error 1
How to reproduce
hyprpm update
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: