hyprwm / hyprland-plugins

Official plugins for Hyprland
BSD 3-Clause "New" or "Revised" License
536 stars 55 forks source link

error updating hyprpm #234

Open Latinlee opened 1 day ago

Latinlee commented 1 day ago

hyprpm failed to install headers with error code 4.

[v] version returned: Hyprland, built from branch at commit 4520b30d498daca8079365bdb909a8dea38e8d55 (version: bump to 0.44.1). Date: Wed Oct 9 12:54:39 2024 Tag: v0.44.1, commits: 5309 built against aquamarine 0.4.2

flags: (if any)

[v] parsed commit 4520b30d498daca8079365bdb909a8dea38e8d55 at branch on Wed Oct 9 12:54:39 2024, commits 5309

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.
[v] will shallow since: Wed Oct 02 12:54:39 2024

✔ cloned
[v] will run: cd /tmp/hyprpm/hyprland-carlosc && git checkout 4520b30d498daca8079365bdb909a8dea38e8d55 2>&1
[v] git returned (co): fatal: no es posible leer el árbol (4520b30d498daca8079365bdb909a8dea38e8d55)

[v] git returned (rs): rm 'subprojects/tracy'
fatal: No se pudo analizar el objeto '4520b30d498daca8079365bdb909a8dea38e8d55'.

✔ checked out to running ver
! configuring Hyprland
[v] setting PREFIX for cmake to /home/carlosc/.local/share/hyprpm/headersRoot
[v] cmake returned: Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.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 PkgConfig: /usr/bin/pkg-config (found version "2.1.1") -- Checking for module 'udis86>=1.7.2' -- Found udis86, version 1.7.2 -- Found wayland-protocols at //usr/share/wayland-protocols -- Found wayland-scanner pkgdatadir at //usr/share/wayland -- 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 module 'hyprutils>=0.2.1' -- Found hyprutils, version 0.2.3 -- Checking for module 'aquamarine>=0.4.2' -- Found aquamarine, version 0.4.3 -- Checking for modules 'xkbcommon;uuid;wayland-server>=1.22.90;wayland-protocols;cairo;pango;pangocairo;pixman-1;xcursor;libdrm;libinput;gbm;gio-2.0;hyprlang>=0.3.2;hyprcursor>=0.1.7;hyprutils>=0.2.3' -- Found xkbcommon, version 1.7.0 -- Found uuid, version 2.40.2 -- Found wayland-server, version 1.23.1 -- Found wayland-protocols, version 1.38 -- Found cairo, version 1.18.2 -- Found pango, version 1.54.0 -- Found pangocairo, version 1.54.0 -- Found pixman-1, version 0.43.4 -- Found xcursor, version 1.2.2 -- Found libdrm, version 2.4.123 -- Found libinput, version 1.26.2 -- Found gbm, version 24.2.5-arch1.1 -- Found gio-2.0, version 2.82.2 -- Found hyprlang, version 0.5.3 -- Found hyprcursor, version 0.1.10 -- Found hyprutils, version 0.2.3 -- 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;xcb-render;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-errors' -- Found xcb, version 1.17.0 -- 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-errors, version 1.0.1 -- SYSTEMD support is requested (NO_SYSTEMD not defined)... -- Setting precompiled headers -- Setting link libraries -- Checking for module 'hyprland-protocols>=0.4.0' -- Found hyprland-protocols, version 0.4.0 -- hyprland-protocols dependency set to //usr/share/hyprland-protocols -- Checking for module 'hyprutils>=0.1.1' -- Found hyprutils, version 0.2.3 -- Checking for modules 'tomlplusplus;hyprutils>=0.1.1' -- Found tomlplusplus, version 3.4.0 -- Found hyprutils, version 0.2.3 -- Configuring done (1.4s) -- Generating done (0.1s) -- Build files have been written to: /tmp/hyprpm/hyprland-carlosc/build

✔ configured Hyprland
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/carlosc/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-carlosc/Makefile && cd /tmp/hyprpm/hyprland-carlosc && make installheaders ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━ 4 / 5 Installing sources[v] installer returned: # remove previous headers from hyprpm's dir rm -fr /home/carlosc/.local/share/hyprpm/headersRoot/include/hyprland mkdir -p /home/carlosc/.local/share/hyprpm/headersRoot/include/hyprland mkdir -p /home/carlosc/.local/share/hyprpm/headersRoot/include/hyprland/protocols mkdir -p /home/carlosc/.local/share/hyprpm/headersRoot/share/pkgconfig cmake --build ./build --config Release --target generate-protocol-headers [0/2] Re-checking globbed directories... [1/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/hyprland-global-shortcuts-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/hyprland-global-shortcuts-v1.hpp [2/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/hyprland-toplevel-export-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/hyprland-toplevel-export-v1.hpp [3/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/wlr-screencopy-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/wlr-screencopy-unstable-v1.hpp [4/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/text-input-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/text-input-unstable-v1.hpp [5/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/wlr-gamma-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/wlr-gamma-control-unstable-v1.hpp [6/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/wlr-foreign-toplevel-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/wlr-foreign-toplevel-management-unstable-v1.hpp [7/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/wlr-output-power-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/wlr-output-power-management-unstable-v1.hpp [8/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/virtual-keyboard-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/virtual-keyboard-unstable-v1.hpp [9/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/wlr-virtual-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/wlr-virtual-pointer-unstable-v1.hpp [10/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/wlr-output-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/wlr-output-management-unstable-v1.hpp [11/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/input-method-unstable-v2.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/input-method-unstable-v2.hpp [12/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/kde-server-decoration.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/kde-server-decoration.hpp [13/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/wlr-data-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/wlr-data-control-unstable-v1.hpp [14/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/hyprland-focus-grab-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/hyprland-focus-grab-v1.hpp [15/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/wlr-layer-shell-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/wlr-layer-shell-unstable-v1.hpp [16/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/wayland-drm.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/wayland-drm.hpp [17/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/hyprland-ctm-control-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/hyprland-ctm-control-v1.hpp [18/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/tearing-control-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/tearing-control-v1.hpp [19/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/fractional-scale-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/fractional-scale-v1.hpp [20/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/xdg-output-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/xdg-output-unstable-v1.hpp [21/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/cursor-shape-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/cursor-shape-v1.hpp [22/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/idle-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/idle-inhibit-unstable-v1.hpp [23/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/relative-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/relative-pointer-unstable-v1.hpp [24/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/xdg-decoration-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/xdg-decoration-unstable-v1.hpp [25/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/alpha-modifier-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/alpha-modifier-v1.hpp [26/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/ext-foreign-toplevel-list-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/ext-foreign-toplevel-list-v1.hpp [27/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/pointer-gestures-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/pointer-gestures-unstable-v1.hpp [28/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/keyboard-shortcuts-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/keyboard-shortcuts-inhibit-unstable-v1.hpp [29/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/text-input-unstable-v3.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/text-input-unstable-v3.hpp [30/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/pointer-constraints-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/pointer-constraints-unstable-v1.hpp [31/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/xdg-activation-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/xdg-activation-v1.hpp [32/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/ext-session-lock-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/ext-session-lock-v1.hpp [33/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/ext-idle-notify-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/ext-idle-notify-v1.hpp [34/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/tablet-v2.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/tablet-v2.hpp [35/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/presentation-time.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/presentation-time.hpp [36/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/xdg-shell.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/xdg-shell.hpp [37/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/primary-selection-unstable-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/primary-selection-unstable-v1.hpp [38/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/xwayland-shell-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/xwayland-shell-v1.hpp [39/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/viewporter.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/viewporter.hpp [40/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/linux-dmabuf-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/linux-dmabuf-v1.hpp [41/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/drm-lease-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/drm-lease-v1.hpp [42/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/xdg-dialog-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/xdg-dialog-v1.hpp [43/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/linux-drm-syncobj-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/linux-drm-syncobj-v1.hpp [44/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/single-pixel-buffer-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/single-pixel-buffer-v1.hpp [45/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/wayland.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/wayland.hpp [46/47] Generating /tmp/hyprpm/hyprland-carlosc/protocols/security-context-v1.cpp, /tmp/hyprpm/hyprland-carlosc/protocols/security-context-v1.hpp find src -name '.h' -print0 | cpio --quiet -0dump /home/carlosc/.local/share/hyprpm/headersRoot/include/hyprland cp ./protocols/.h /home/carlosc/.local/share/hyprpm/headersRoot/include/hyprland/protocols cp ./build/hyprland.pc /home/carlosc/.local/share/hyprpm/headersRoot/share/pkgconfig if [ -d /usr/share/pkgconfig ]; then cp ./build/hyprland.pc /usr/share/pkgconfig 2>/dev/null || true; fi chmod -R 755 /home/carlosc/.local/share/hyprpm/headersRoot/include/hyprland chmod 755 /home/carlosc/.local/share/hyprpm/headersRoot/share/pkgconfig

✖ failed to install headers with error code 4 (Headers version mismatched)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Failed

✖ Headers version mismatch. Please run hyprpm update to fix those.

vaxerski commented 16 hours ago

hyprpm update --no-shallow?

Latinlee commented 10 hours ago

hyprpm update --no-shallow?

You are a master, the problem is solved, thank you.