-
-
Notifications
You must be signed in to change notification settings - Fork 898
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
error on hyprpm update #6909
Comments
Please paste the output of |
~ ❯ hyprpm update -v flags: (if any) [v] parsed commit 918d834 at branch on Tue Jun 25 12:06:02 2024, commits 4886 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0 / 5 Cloning the hyprland re! Cloning https://github.com/hyprwm/hyprland, this might take a moment. ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0 / 5 Cloning the hyprland re✔ cloned ━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2 / 5 Checking out[v] git returned (rs): rm 'subprojects/tracy' ━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2 / 5 Checking out✔ checked out to running ver -- The C compiler identification is GNU 13.2.0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━ 3 / 5 Building [v] meson returned: The Meson build system meson.build:83:11: ERROR: Command A full log can be found at /tmp/hyprpm/hyprland-anik/subprojects/wlroots-hyprland/build/meson-logs/meson-log.txt ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━ 3 / 5 Building ✔ configured Hyprland ✖ failed to install headers with error code 2 ✖ Headers missing. Please run hyprpm update to fix those. |
Can you check this as well?
|
I honestly don't think I've ever gotten hyprpm to work with any distro specific package, whether on Arch, Nix, Void, or (long ago) OpenSUSE. I always just end up specifically installing Hyprland from source and using meta packages to handle dependencies required. |
Having a similar issue with hyperpm update
|
$] <> hyprpm -s -v update flags: (if any) [v] parsed commit 918d834 at branch on Tue Jun 25 12:06:02 2024, commits 4886 ! Cloning https://github.com/hyprwm/hyprland, this might take a moment. You are in 'detached HEAD' state. You can look around, make experimental If you want to create a new branch to retain commits you create, you may git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 918d834 flake.lock: update [v] git returned (rs): rm 'subprojects/tracy' ✔ checked out to running ver -- The C compiler identification is GNU 14.1.1 ✔ configured Hyprland ✖ failed to install headers with error code 2 ✖ Headers missing. Please run hyprpm update to fix those. |
Did someone get any lucky here? I am facing the same issue. |
Same issue. I have scoured the internet for possible bug fixes and couldn't find anything either. All dependencies have been installed. I am guessing this might be because of teething issues recent decision to ditch wlroots? |
I got kinda the same error, only with error code 4. Here's the output of ! Using --force, I hope you know what you are doing.
[v] version returned: Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886
flags: (if any)
[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch on Tue Jun 25 12:06:02 2024, commits 4886
! Cloning https://github.com/hyprwm/hyprland, this might take a moment.
✔ cloned
[v] git returned (co): Your branch is up to date with 'origin/main'.
[v] git returned (rs): rm 'subprojects/tracy'
fatal: not a git repository: ../../.git/modules/subprojects/wlroots-hyprland
fatal: could not reset submodule index
✔ checked out to running ver
! configuring Hyprland
[v] setting PREFIX for cmake to /home/username/.local/share/hyprpm/headersRoot
[v] cmake returned: CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:253 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Call Stack (most recent call first):
CMakeLists.txt:5 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
Not searching for unused variables given on the command line.
-- 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
-- Gathering git info
-- Found Python3: /usr/bin/python3.12 (found version "3.12.4") found components: Interpreter
Building itab.c/itab.h...
-- Setting up wlroots
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1")
-- Found WaylandScanner at /usr/bin/wayland-scanner
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Configuring Hyprland in Release with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so found components: GLES3
-- Checking for modules 'xkbcommon;uuid;wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;pango;pangocairo;pixman-1;libdrm;libinput;hwdata;libseat;libdisplay-info;libliftoff;libudev;gbm;hyprlang>=0.3.2;hyprcursor>=0.1.7;hyprutils>=0.1.5'
-- Found xkbcommon, version 1.7.0
-- Found uuid, version 2.40.2
-- Found wayland-server, version 1.23.0
-- Found wayland-client, version 1.23.0
-- Found wayland-cursor, version 1.23.0
-- Found wayland-protocols, version 1.36
-- Found cairo, version 1.18.0
-- Found pango, version 1.54.0
-- Found pangocairo, version 1.54.0
-- Found pixman-1, version 0.43.4
-- Found libdrm, version 2.4.122
-- Found libinput, version 1.26.1
-- Found hwdata, version 0.384
-- Found libseat, version 0.8.0
-- Found libdisplay-info, version 0.2.0
-- Found libliftoff, version 0.5.0
-- Found libudev, version 256
-- Found gbm, version 24.1.4-arch1.2
-- Found hyprlang, version 0.5.2
-- Found hyprcursor, version 0.1.9
-- Found hyprutils, version 0.2.0
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Configuration supports execinfo
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - not found
-- Looking for sys/timerfd.h
-- Looking for sys/timerfd.h - found
-- Checking for module 'epoll-shim'
-- Package 'epoll-shim', required by 'virtual:world', not found
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- Checking for modules 'xcb;xwayland;xcb-util;xcb-render;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-ewmh;xcb-errors'
-- Found xcb, version 1.17.0
-- Found xwayland, version 24.1.1
-- Found xcb-util, version 0.4.1
-- Found xcb-render, version 1.17.0
-- Found xcb-xfixes, version 1.17.0
-- Found xcb-icccm, version 0.4.2
-- Found xcb-composite, version 1.17.0
-- Found xcb-res, version 1.17.0
-- Found xcb-ewmh, version 0.4.2
-- Found xcb-errors, version 1.0.1
-- SYSTEMD support is requested (NO_SYSTEMD not defined)...
-- Setting precompiled headers
-- Setting link libraries
-- Checking for module 'hyprutils>=0.1.1'
-- Found hyprutils, version 0.2.0
-- Checking for modules 'tomlplusplus;hyprutils>=0.1.1'
-- Found tomlplusplus, version 3.4.0
-- Found hyprutils, version 0.2.0
-- Configuring done (2.6s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-username/build
[v] meson returned:
ERROR: Neither source directory 'build' nor build directory None contain a build file meson.build.
✔ configured Hyprland
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/username/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-username/Makefile && cd /tmp/hyprpm/hyprland-username && make installheaders
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━ 4 / 5 Installing sources[v] installer returned: # remove previous headers from hyprpm's dir
rm -fr /home/username/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/username/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/username/.local/share/hyprpm/headersRoot/include/hyprland/protocols
mkdir -p /home/username/.local/share/hyprpm/headersRoot/include/hyprland/wlr
mkdir -p /home/username/.local/share/hyprpm/headersRoot/share/pkgconfig
cmake --build ./build --config Release --target generate-protocol-headers
[0/2] Re-checking globbed directories...
[1/41] Generating /tmp/hyprpm/hyprland-username/protocols/wlr-screencopy-unstable-v1-protocol.h
[2/41] Generating /tmp/hyprpm/hyprland-username/protocols/wlr-gamma-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/wlr-gamma-control-unstable-v1.hpp
[3/41] Generating /tmp/hyprpm/hyprland-username/protocols/wlr-foreign-toplevel-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/wlr-foreign-toplevel-management-unstable-v1.hpp
[4/41] Generating /tmp/hyprpm/hyprland-username/protocols/wlr-output-power-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/wlr-output-power-management-unstable-v1.hpp
[5/41] Generating /tmp/hyprpm/hyprland-username/protocols/hyprland-global-shortcuts-v1-protocol.h
[6/41] Generating /tmp/hyprpm/hyprland-username/protocols/hyprland-toplevel-export-v1-protocol.h
[7/41] Generating /tmp/hyprpm/hyprland-username/protocols/text-input-unstable-v1-protocol.h
[8/41] Generating /tmp/hyprpm/hyprland-username/protocols/virtual-keyboard-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/virtual-keyboard-unstable-v1.hpp
[9/41] Generating /tmp/hyprpm/hyprland-username/protocols/wlr-virtual-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/wlr-virtual-pointer-unstable-v1.hpp
[10/41] Generating /tmp/hyprpm/hyprland-username/protocols/kde-server-decoration.cpp, /tmp/hyprpm/hyprland-username/protocols/kde-server-decoration.hpp
[11/41] Generating /tmp/hyprpm/hyprland-username/protocols/input-method-unstable-v2.cpp, /tmp/hyprpm/hyprland-username/protocols/input-method-unstable-v2.hpp
[12/41] Generating /tmp/hyprpm/hyprland-username/protocols/wlr-output-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/wlr-output-management-unstable-v1.hpp
[13/41] Generating /tmp/hyprpm/hyprland-username/protocols/hyprland-focus-grab-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/hyprland-focus-grab-v1.hpp
[14/41] Generating /tmp/hyprpm/hyprland-username/protocols/wlr-data-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/wlr-data-control-unstable-v1.hpp
[15/41] Generating /tmp/hyprpm/hyprland-username/protocols/wlr-layer-shell-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/wlr-layer-shell-unstable-v1.hpp
[16/41] Generating /tmp/hyprpm/hyprland-username/protocols/wayland-drm.cpp, /tmp/hyprpm/hyprland-username/protocols/wayland-drm.hpp
[17/41] Generating /tmp/hyprpm/hyprland-username/protocols/tearing-control-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/tearing-control-v1.hpp
[18/41] Generating /tmp/hyprpm/hyprland-username/protocols/fractional-scale-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/fractional-scale-v1.hpp
[19/41] Generating /tmp/hyprpm/hyprland-username/protocols/xdg-output-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/xdg-output-unstable-v1.hpp
[20/41] Generating /tmp/hyprpm/hyprland-username/protocols/cursor-shape-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/cursor-shape-v1.hpp
[21/41] Generating /tmp/hyprpm/hyprland-username/protocols/idle-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/idle-inhibit-unstable-v1.hpp
[22/41] Generating /tmp/hyprpm/hyprland-username/protocols/relative-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/relative-pointer-unstable-v1.hpp
[23/41] Generating /tmp/hyprpm/hyprland-username/protocols/xdg-decoration-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/xdg-decoration-unstable-v1.hpp
[24/41] Generating /tmp/hyprpm/hyprland-username/protocols/alpha-modifier-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/alpha-modifier-v1.hpp
[25/41] Generating /tmp/hyprpm/hyprland-username/protocols/ext-foreign-toplevel-list-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/ext-foreign-toplevel-list-v1.hpp
[26/41] Generating /tmp/hyprpm/hyprland-username/protocols/pointer-gestures-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/pointer-gestures-unstable-v1.hpp
[27/41] Generating /tmp/hyprpm/hyprland-username/protocols/keyboard-shortcuts-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/keyboard-shortcuts-inhibit-unstable-v1.hpp
[28/41] Generating /tmp/hyprpm/hyprland-username/protocols/text-input-unstable-v3.cpp, /tmp/hyprpm/hyprland-username/protocols/text-input-unstable-v3.hpp
[29/41] Generating /tmp/hyprpm/hyprland-username/protocols/pointer-constraints-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/pointer-constraints-unstable-v1.hpp
[30/41] Generating /tmp/hyprpm/hyprland-username/protocols/xdg-activation-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/xdg-activation-v1.hpp
[31/41] Generating /tmp/hyprpm/hyprland-username/protocols/ext-idle-notify-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/ext-idle-notify-v1.hpp
[32/41] Generating /tmp/hyprpm/hyprland-username/protocols/ext-session-lock-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/ext-session-lock-v1.hpp
[33/41] Generating /tmp/hyprpm/hyprland-username/protocols/presentation-time.cpp, /tmp/hyprpm/hyprland-username/protocols/presentation-time.hpp
[34/41] Generating /tmp/hyprpm/hyprland-username/protocols/tablet-v2.cpp, /tmp/hyprpm/hyprland-username/protocols/tablet-v2.hpp
[35/41] Generating /tmp/hyprpm/hyprland-username/protocols/primary-selection-unstable-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/primary-selection-unstable-v1.hpp
[36/41] Generating /tmp/hyprpm/hyprland-username/protocols/xwayland-shell-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/xwayland-shell-v1.hpp
[37/41] Generating /tmp/hyprpm/hyprland-username/protocols/xdg-shell.cpp, /tmp/hyprpm/hyprland-username/protocols/xdg-shell.hpp
[38/41] Generating /tmp/hyprpm/hyprland-username/protocols/viewporter.cpp, /tmp/hyprpm/hyprland-username/protocols/viewporter.hpp
[39/41] Generating /tmp/hyprpm/hyprland-username/protocols/linux-dmabuf-v1.cpp, /tmp/hyprpm/hyprland-username/protocols/linux-dmabuf-v1.hpp
[40/41] Generating /tmp/hyprpm/hyprland-username/protocols/wayland.cpp, /tmp/hyprpm/hyprland-username/protocols/wayland.hpp
find src -name '*.h*' -print0 | cpio --quiet -0dump /home/username/.local/share/hyprpm/headersRoot/include/hyprland
cd subprojects/wlroots-hyprland/include/wlr && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/username/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../..
/bin/sh: line 1: cd: subprojects/wlroots-hyprland/include/wlr: No such file or directory
make: *** [Makefile:56: installheaders] Error 1
✖ failed to install headers with error code 4
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Failed
✖ Headers version mismatch. Please run hyprpm update to fix those. |
try latest hyprpm, pushed a fix |
Just rebuilt hyprpm from latest commit, same issue |
Does your output also start out like this? ! Using --force, I hope you know what you are doing.
[v] version returned: Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886
flags: (if any)
[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch on Tue Jun 25 12:06:02 2024, commits 4886
! Cloning https://github.com/hyprwm/hyprland, this might take a moment.
✔ cloned
[v] git returned (co): Your branch is up to date with 'origin/main'.
[v] git returned (rs): rm 'subprojects/tracy'
fatal: not a git repository: ../../.git/modules/subprojects/wlroots-hyprland
fatal: could not reset submodule index
[ ... ] |
nope, same issue as the others
|
Thanks it worked for me. |
That is literally the beginning of the output of one of said others
Yes Im aware of that but I dont really care about that part atm |
oops sorry misread your comment, yes it does start like this |
I just rebuilt from aur's hyprland-git from latest, and I still have the issue -- is that synced with this repo or do I need to clone the source and manually build it? |
I just built from source, still having the same issue here.
|
Anyone got any solution to this |
Can confirm that on Arch Linux, things work as expected using
Also, a reminder to remember to install |
I have installed the programs and the aur package for hyprland-git Still getting this error
|
When was the last time you updated hyprland? |
Just updated my Arch Linux system It updated the kernel, headers and also updated hyprland-git aur to the latest git build And running hyprpm update works fine |
on my system, this doesn't work yet, and some of the packages are listed as cached: Dependency hyprland-protocols found: YES 0.2 (overridden)
Build-time dependency hyprwayland-scanner found: YES 0.4.0
Program /usr/bin/hyprwayland-scanner found: YES (/usr/bin/hyprwayland-scanner)
Run-time dependency wayland-server found: YES 1.23.0
Run-time dependency aquamarine found: YES 0.2.0
Run-time dependency gbm found: YES 24.1.5-arch1.1
Run-time dependency xcursor found: YES 1.2.2
Dependency wayland-server found: YES 1.23.0 (cached)
Run-time dependency wayland-client found: YES 1.23.0
Run-time dependency cairo found: YES 1.18.0
Run-time dependency hyprcursor found: YES 0.1.9
Run-time dependency hyprlang found: YES 0.5.2
Run-time dependency hyprutils found: YES 0.2.1
Run-time dependency libdrm found: YES 2.4.122
Run-time dependency egl found: YES 1.5
Run-time dependency xkbcommon found: YES 1.7.0
Run-time dependency libinput found: YES 1.26.1
Run-time dependency pixman-1 found: YES 0.43.4
Run-time dependency gl found: YES 1.2
Run-time dependency threads found: YES
Run-time dependency pango found: YES 1.54.0
Run-time dependency pangocairo found: YES 1.54.0
Run-time dependency uuid found: YES 2.40.2
Dependency hyprutils found: YES 0.2.1 (cached)
Dependency hyprutils found: YES 0.2.1 (cached)
Dependency threads found: YES unknown (cached)
Run-time dependency tomlplusplus found: YES 3.4.0
Build targets in project: 48 I deleted the yay cache, which did not affect those, so it's probably missing a cmake flag or something else. If I figured out where that cache is I'll update |
I think this can be closed with 0.42.0 |
yay -Q hyprland
Still has this issue hyprpm -s -v -f update
|
is it some kind of cache in ~/.local/share/hyprpm causing this? |
i dont think so, just removed ~/.local/share/hyprpm and tried updating again, still this error message |
because those two |
so what im trying to say is whatever you are running is not being fetched upstream for whatever reason |
im gonna try building it manually now. maybe it help |
ok, i completely nuked hyprland from system and install it again from aur hyprland-git, now it's working, thanks! |
Everyone if you encounter this issue Just please update to the latest hyprland-git |
I was also able to make it work by re-installing from the repo, but not necessarily AUR |
Regression?
No
System Info and Version
System/Version info
Description
hyprpm update -v
shows a cd error and says i dont have headers installed even though all the deps are installedHow to reproduce
install hyprland on void linux and run the command
Crash reports, logs, images, videos
hyprlandCrashReport30264.txt
The text was updated successfully, but these errors were encountered: