Open BasitAli opened 2 months ago
Can you check whether make installheaders
works in the cloned repo?
It does.
i have the same issue the verbose update log gives me this
v] version returned: Hyprland, built from branch main at commit 358e59e69d27a69381bc0872b5b8d1184bc6b6a1 (layout: fix centering of new floating windows).
Date: Sun Jun 2 21:11:55 2024
Tag: v0.40.0-150-g358e59e6, commits: 4756
flags: (if any)
[v] parsed commit 358e59e69d27a69381bc0872b5b8d1184bc6b6a1 at branch main on Sun Jun 2 21:11:55 2024, commits 4756
! Cloning https://github.com/hyprwm/hyprland, this might take a moment.
[v] will shallow since: Sun May 26 21:11:55 2024
✔ cloned
[v] git returned (co): Already on 'main'
Your branch is up to date with 'origin/main'.
[v] git returned (rs): rm 'subprojects/tracy'
fatal: Could not parse object '358e59e69d27a69381bc0872b5b8d1184bc6b6a1'.
✔ checked out to running ver
! configuring Hyprland
[v] setting PREFIX for cmake to /home/Haku/.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
fatal: No names found, cannot describe anything.
-- Found Python3: /usr/bin/python3.12 (found version "3.12.3") 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'
-- Found xkbcommon, version 1.7.0
-- Found uuid, version 2.40.1
-- 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.52.2
-- Found pangocairo, version 1.52.2
-- Found pixman-1, version 0.43.4
-- Found libdrm, version 2.4.120
-- Found libinput, version 1.25.0
-- Found hwdata, version 0.382
-- Found libseat, version 0.8.0
-- Found libdisplay-info, version 0.1.1
-- Found libliftoff, version 0.4.1
-- Found libudev, version 255
-- Found gbm, version 24.1.0-arch1.1
-- Found hyprlang, version 0.5.2
-- Found hyprcursor, version 0.1.9
-- 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.0
-- 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 'tomlplusplus'
-- Found tomlplusplus, version 3.4.0
-- Configuring done (2.1s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-Haku/build
[v] meson returned: The Meson build system
Version: 1.4.1
Source dir: /tmp/hyprpm/hyprland-Haku/subprojects/wlroots-hyprland
Build dir: /tmp/hyprpm/hyprland-Haku/subprojects/wlroots-hyprland/build
Build type: native build
Project name: wlroots
Project version: 0.18.0-dev
C compiler for the host machine: cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240522")
C linker for the host machine: cc ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wimplicit-fallthrough=2: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Woverflow: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Walloca: YES
Compiler for C supports arguments -Wno-missing-braces: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Run-time dependency wayland-server found: YES 1.23.0
Run-time dependency libdrm found: YES 2.4.120
Run-time dependency xkbcommon found: YES 1.7.0
Run-time dependency pixman-1 found: YES 0.43.4
Library m found: YES
Library rt found: YES
Run-time dependency wayland-protocols found: YES 1.36
Build-time dependency wayland-scanner found: YES 1.23.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Has header "linux/dma-buf.h" : YES
Run-time dependency egl found: YES 1.5
Run-time dependency gbm found: YES 24.1.0-arch1.1
Run-time dependency glesv2 found: YES 3.2
Program ./embed.sh found: YES (/tmp/hyprpm/hyprland-Haku/subprojects/wlroots-hyprland/render/gles2/shaders/./embed.sh)
Dependency pixman-1 found: YES 0.43.4 (cached)
Dependency gbm found: YES 24.1.0-arch1.1 (cached)
Checking for function "gbm_bo_get_fd_for_plane" with dependency gbm: YES
Run-time dependency libudev found: YES 255
Run-time dependency libseat found: YES 0.8.0
Build-time dependency hwdata found: YES 0.382
Run-time dependency libdisplay-info found: YES 0.1.1
Run-time dependency libliftoff found: YES 0.4.1
Run-time dependency libinput found: YES 1.25.0
Run-time dependency xcb found: YES 1.17.0
Run-time dependency xcb-dri3 found: YES 1.17.0
Run-time dependency xcb-present found: YES 1.17.0
Run-time dependency xcb-render found: YES 1.17.0
Run-time dependency xcb-renderutil found: YES 0.3.10
Run-time dependency xcb-shm found: YES 1.17.0
Run-time dependency xcb-xfixes found: YES 1.17.0
Run-time dependency xcb-xinput found: YES 1.17.0
Run-time dependency wayland-client found: YES 1.23.0
Run-time dependency xwayland found: YES 24.1.0
Dependency xcb found: YES 1.17.0 (cached)
Run-time dependency xcb-composite found: YES 1.17.0
Run-time dependency xcb-ewmh found: YES 0.4.2
Run-time dependency xcb-icccm found: YES 0.4.2
Dependency xcb-render found: YES 1.17.0 (cached)
Run-time dependency xcb-res found: YES 1.17.0
Dependency xcb-xfixes found: YES 1.17.0 (cached)
Run-time dependency xcb-errors found: YES 1.0.1
Checking for function "xcb_xfixes_set_client_disconnect_mode" with dependencies xcb, xcb-composite, xcb-ewmh, xcb-icccm, xcb-render, xcb-res, xcb-xfixes, xcb-errors: YES
Configuring config.h using configuration
Configuring version.h using configuration
Configuring config.h using configuration
Message: Patches found. Applying...
NEW: 'patches/nvidia-hardware-cursors.patch'
NEW: 'patches/surface-nondivisible-by-scale.patch'
Build targets in project: 136
wlroots 0.18.0-dev
drm-backend : YES
x11-backend : YES
libinput-backend: YES
xwayland : YES
gles2-renderer : YES
vulkan-renderer : NO
gbm-allocator : YES
session : YES
xcb-errors : YES
egl : YES
libliftoff : YES
User defined options
examples : false
renderers : gles2
Found ninja-1.12.1 at /usr/bin/ninja
✔ configured Hyprland
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/Haku/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-Haku/Makefile && cd /tmp/hyprpm/hyprland-Haku && make installheaders
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━ 4 / 5 Installing sources[v] installer returned: # remove previous headers from hyprpm's dir
rm -fr /home/Haku/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/Haku/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/Haku/.local/share/hyprpm/headersRoot/include/hyprland/protocols
mkdir -p /home/Haku/.local/share/hyprpm/headersRoot/include/hyprland/wlr
mkdir -p /home/Haku/.local/share/hyprpm/headersRoot/share/pkgconfig
cmake --build ./build --config Release --target generate-protocol-headers
[0/2] Re-checking globbed directories...
[1/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/hyprland-global-shortcuts-v1-protocol.h
[2/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/wlr-gamma-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/wlr-gamma-control-unstable-v1.hpp
[3/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/wlr-foreign-toplevel-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/wlr-foreign-toplevel-management-unstable-v1.hpp
[4/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/wlr-screencopy-unstable-v1-protocol.h
[5/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/hyprland-toplevel-export-v1-protocol.h
[6/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/linux-dmabuf-unstable-v1-protocol.h
[7/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/text-input-unstable-v1-protocol.h
[8/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/wlr-output-power-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/wlr-output-power-management-unstable-v1.hpp
[9/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/virtual-keyboard-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/virtual-keyboard-unstable-v1.hpp
[10/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/wlr-virtual-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/wlr-virtual-pointer-unstable-v1.hpp
[11/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/input-method-unstable-v2.cpp, /tmp/hyprpm/hyprland-Haku/protocols/input-method-unstable-v2.hpp
[12/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/wlr-output-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/wlr-output-management-unstable-v1.hpp
[13/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/kde-server-decoration.cpp, /tmp/hyprpm/hyprland-Haku/protocols/kde-server-decoration.hpp
[14/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/wlr-data-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/wlr-data-control-unstable-v1.hpp
[15/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/hyprland-focus-grab-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/hyprland-focus-grab-v1.hpp
[16/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/wlr-layer-shell-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/wlr-layer-shell-unstable-v1.hpp
[17/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/tearing-control-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/tearing-control-v1.hpp
[18/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/xdg-output-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/xdg-output-unstable-v1.hpp
[19/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/fractional-scale-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/fractional-scale-v1.hpp
[20/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/cursor-shape-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/cursor-shape-v1.hpp
[21/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/idle-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/idle-inhibit-unstable-v1.hpp
[22/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/relative-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/relative-pointer-unstable-v1.hpp
[23/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/xdg-decoration-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/xdg-decoration-unstable-v1.hpp
[24/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/alpha-modifier-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/alpha-modifier-v1.hpp
[25/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/ext-foreign-toplevel-list-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/ext-foreign-toplevel-list-v1.hpp
[26/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/pointer-gestures-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/pointer-gestures-unstable-v1.hpp
[27/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/keyboard-shortcuts-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/keyboard-shortcuts-inhibit-unstable-v1.hpp
[28/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/text-input-unstable-v3.cpp, /tmp/hyprpm/hyprland-Haku/protocols/text-input-unstable-v3.hpp
[29/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/pointer-constraints-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/pointer-constraints-unstable-v1.hpp
[30/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/xdg-activation-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/xdg-activation-v1.hpp
[31/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/ext-idle-notify-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/ext-idle-notify-v1.hpp
[32/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/ext-session-lock-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/ext-session-lock-v1.hpp
[33/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/tablet-v2.cpp, /tmp/hyprpm/hyprland-Haku/protocols/tablet-v2.hpp
[34/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/presentation-time.cpp, /tmp/hyprpm/hyprland-Haku/protocols/presentation-time.hpp
[35/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/xdg-shell.cpp, /tmp/hyprpm/hyprland-Haku/protocols/xdg-shell.hpp
[36/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/primary-selection-unstable-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/primary-selection-unstable-v1.hpp
[37/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/wayland.cpp, /tmp/hyprpm/hyprland-Haku/protocols/wayland.hpp
[38/39] Generating /tmp/hyprpm/hyprland-Haku/protocols/xwayland-shell-v1.cpp, /tmp/hyprpm/hyprland-Haku/protocols/xwayland-shell-v1.hpp
find src -name '*.h*' -print0 | cpio --quiet -0dump /home/Haku/.local/share/hyprpm/headersRoot/include/hyprland
cd subprojects/wlroots-hyprland/include/wlr && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/Haku/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../..
cd subprojects/wlroots-hyprland/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/Haku/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../..
cp ./protocols/*.h* /home/Haku/.local/share/hyprpm/headersRoot/include/hyprland/protocols
cp ./build/hyprland.pc /home/Haku/.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/Haku/.local/share/hyprpm/headersRoot/include/hyprland
chmod 755 /home/Haku/.local/share/hyprpm/headersRoot/share/pkgconfig
✖ failed to install headers with error code 4
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Failed
✖ Headers version mismatch. Please run hyprpm update to fix those.
Can you check whether
make installheaders
works in the cloned repo?
Looked more carefully at the logs and your comment and tried to run this in the cloned repo,
sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/basit/.local/share/hyprpm/headersRoot#" Makefile
make installheaders
This worked without any issues and running hyprpm -n -v
updated all the plugins as well.
can you explain a bit more on how you did this exactly and how i can repeat what you did im a bit confused
It seems like it's fixed with the latest update.
Can you check whether
make installheaders
works in the cloned repo?Looked more carefully at the logs and your comment and tried to run this in the cloned repo,
sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/basit/.local/share/hyprpm/headersRoot#" Makefile make installheaders
This worked without any issues and running
hyprpm -n -v
updated all the plugins as well.
I have this repository cloned in a directory and I ran the above commands in there.
i also am facing the similar issue, I just built from source and hyprpm update shows this error here is the verbose of hyprpm update https://paste.c-net.org/DipperForth
System Info and Version
System/Version info
```sh Hyprland, built from branch main at commit 358e59e69d27a69381bc0872b5b8d1184bc6b6a1 (layout: fix centering of new floating windows). Date: Mon Jun 3 02:11:55 2024 Tag: v0.40.0-150-g358e59e6, commits: 4756 flags: (if any) System Information: System name: Linux Node name: basit-arch Release: 6.9.3-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000 GPU information: 0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3070 Ti] [10de:2482] (rev a1) (prog-if 00 [VGA controller])``` ```Bug or Regression?
Regression
Description
hyprpm update fails with
How to reproduce
Crash reports, logs, images, videos
Complete logs
``` ❯ hyprpm update -n -v [v] version returned: Hyprland, built from branch main at commit 358e59e69d27a69381bc0872b5b8d1184bc6b6a1 (layout: fix centering of new floating windows). Date: Mon Jun 3 02:11:55 2024 Tag: v0.40.0-150-g358e59e6, commits: 4756 flags: (if any) [v] parsed commit 358e59e69d27a69381bc0872b5b8d1184bc6b6a1 at branch main on Mon Jun 3 02:11:55 2024, commits 4756 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0 / 5 Cloning the hyprland repo! Cloning https://github.com/hyprwm/hyprland, this might take a moment. ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0 / 5 Cloning the hyprland repo[v] will shallow since: Mon May 27 02:11:55 2024 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0 / 5 Cloning the hyprland repo✔ cloned ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0 / 5 Cloning the hyprland repo[v] git returned (co): Already on 'main' Your branch is up to date with 'origin/main'. [v] git returned (rs): rm 'subprojects/tracy' fatal: Could not parse object '358e59e69d27a69381bc0872b5b8d1184bc6b6a1'. ✔ checked out to running ver ! configuring Hyprland [v] setting PREFIX for cmake to /home/basit/.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 fatal: No names found, cannot describe anything. -- Found Python3: /usr/bin/python3.12 (found version "3.12.3") 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' -- Found xkbcommon, version 1.7.0 -- Found uuid, version 2.40.1 -- 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.52.2 -- Found pangocairo, version 1.52.2 -- Found pixman-1, version 0.43.4 -- Found libdrm, version 2.4.120 -- Found libinput, version 1.25.0 -- Found hwdata, version 0.382 -- Found libseat, version 0.8.0 -- Found libdisplay-info, version 0.1.1 -- Found libliftoff, version 0.4.1 -- Found libudev, version 255 -- Found gbm, version 24.1.0-arch1.1 -- Found hyprlang, version 0.5.1 -- Found hyprcursor, version 0.1.9 -- 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.0 -- 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 'tomlplusplus' -- Found tomlplusplus, version 3.4.0 -- Configuring done (1.2s) -- Generating done (0.0s) -- Build files have been written to: /tmp/hyprpm/hyprland-basit/build [v] meson returned: The Meson build system Version: 1.4.1 Source dir: /tmp/hyprpm/hyprland-basit/subprojects/wlroots-hyprland Build dir: /tmp/hyprpm/hyprland-basit/subprojects/wlroots-hyprland/build Build type: native build Project name: wlroots Project version: 0.18.0-dev C compiler for the host machine: cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240522") C linker for the host machine: cc ld.bfd 2.42.0 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wimplicit-fallthrough=2: YES Compiler for C supports arguments -Wendif-labels: YES Compiler for C supports arguments -Wstrict-aliasing=2: YES Compiler for C supports arguments -Woverflow: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Walloca: YES Compiler for C supports arguments -Wno-missing-braces: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1 Run-time dependency wayland-server found: YES 1.23.0 Run-time dependency libdrm found: YES 2.4.120 Run-time dependency xkbcommon found: YES 1.7.0 Run-time dependency pixman-1 found: YES 0.43.4 Library m found: YES Library rt found: YES Run-time dependency wayland-protocols found: YES 1.36 Build-time dependency wayland-scanner found: YES 1.23.0 Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner) Has header "linux/dma-buf.h" : YES Run-time dependency egl found: YES 1.5 Run-time dependency gbm found: YES 24.1.0-arch1.1 Run-time dependency glesv2 found: YES 3.2 Program ./embed.sh found: YES (/tmp/hyprpm/hyprland-basit/subprojects/wlroots-hyprland/render/gles2/shaders/./embed.sh) Dependency pixman-1 found: YES 0.43.4 (cached) Dependency gbm found: YES 24.1.0-arch1.1 (cached) Checking for function "gbm_bo_get_fd_for_plane" with dependency gbm: YES Run-time dependency libudev found: YES 255 Run-time dependency libseat found: YES 0.8.0 Build-time dependency hwdata found: YES 0.382 Run-time dependency libdisplay-info found: YES 0.1.1 Run-time dependency libliftoff found: YES 0.4.1 Run-time dependency libinput found: YES 1.25.0 Run-time dependency xcb found: YES 1.17.0 Run-time dependency xcb-dri3 found: YES 1.17.0 Run-time dependency xcb-present found: YES 1.17.0 Run-time dependency xcb-render found: YES 1.17.0 Run-time dependency xcb-renderutil found: YES 0.3.10 Run-time dependency xcb-shm found: YES 1.17.0 Run-time dependency xcb-xfixes found: YES 1.17.0 Run-time dependency xcb-xinput found: YES 1.17.0 Run-time dependency wayland-client found: YES 1.23.0 Run-time dependency xwayland found: YES 24.1.0 Dependency xcb found: YES 1.17.0 (cached) Run-time dependency xcb-composite found: YES 1.17.0 Run-time dependency xcb-ewmh found: YES 0.4.2 Run-time dependency xcb-icccm found: YES 0.4.2 Dependency xcb-render found: YES 1.17.0 (cached) Run-time dependency xcb-res found: YES 1.17.0 Dependency xcb-xfixes found: YES 1.17.0 (cached) Run-time dependency xcb-errors found: YES 1.0.1 Checking for function "xcb_xfixes_set_client_disconnect_mode" with dependencies xcb, xcb-composite, xcb-ewmh, xcb-icccm, xcb-render, xcb-res, xcb-xfixes, xcb-errors: YES Configuring config.h using configuration Configuring version.h using configuration Configuring config.h using configuration Message: Patches found. Applying... NEW: 'patches/nvidia-hardware-cursors.patch' NEW: 'patches/surface-nondivisible-by-scale.patch' Build targets in project: 136 wlroots 0.18.0-dev drm-backend : YES x11-backend : YES libinput-backend: YES xwayland : YES gles2-renderer : YES vulkan-renderer : NO gbm-allocator : YES session : YES xcb-errors : YES egl : YES libliftoff : YES User defined options examples : false renderers : gles2 Found ninja-1.12.1 at /usr/bin/ninja ✔ configured Hyprland [v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/basit/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-basit/Makefile && cd /tmp/hyprpm/hyprland-basit && make installheaders ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━ 4 / 5 Installing sources[v] installer returned: # remove previous headers from hyprpm's dir rm -fr /home/basit/.local/share/hyprpm/headersRoot/include/hyprland mkdir -p /home/basit/.local/share/hyprpm/headersRoot/include/hyprland mkdir -p /home/basit/.local/share/hyprpm/headersRoot/include/hyprland/protocols mkdir -p /home/basit/.local/share/hyprpm/headersRoot/include/hyprland/wlr mkdir -p /home/basit/.local/share/hyprpm/headersRoot/share/pkgconfig cmake --build ./build --config Release --target generate-protocol-headers [0/2] Re-checking globbed directories... [1/39] Generating /tmp/hyprpm/hyprland-basit/protocols/wlr-screencopy-unstable-v1-protocol.h [2/39] Generating /tmp/hyprpm/hyprland-basit/protocols/hyprland-global-shortcuts-v1-protocol.h [3/39] Generating /tmp/hyprpm/hyprland-basit/protocols/hyprland-toplevel-export-v1-protocol.h [4/39] Generating /tmp/hyprpm/hyprland-basit/protocols/wlr-gamma-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/wlr-gamma-control-unstable-v1.hpp [5/39] Generating /tmp/hyprpm/hyprland-basit/protocols/wlr-foreign-toplevel-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/wlr-foreign-toplevel-management-unstable-v1.hpp [6/39] Generating /tmp/hyprpm/hyprland-basit/protocols/wlr-output-power-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/wlr-output-power-management-unstable-v1.hpp [7/39] Generating /tmp/hyprpm/hyprland-basit/protocols/linux-dmabuf-unstable-v1-protocol.h [8/39] Generating /tmp/hyprpm/hyprland-basit/protocols/text-input-unstable-v1-protocol.h [9/39] Generating /tmp/hyprpm/hyprland-basit/protocols/virtual-keyboard-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/virtual-keyboard-unstable-v1.hpp [10/39] Generating /tmp/hyprpm/hyprland-basit/protocols/wlr-virtual-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/wlr-virtual-pointer-unstable-v1.hpp [11/39] Generating /tmp/hyprpm/hyprland-basit/protocols/input-method-unstable-v2.cpp, /tmp/hyprpm/hyprland-basit/protocols/input-method-unstable-v2.hpp [12/39] Generating /tmp/hyprpm/hyprland-basit/protocols/wlr-output-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/wlr-output-management-unstable-v1.hpp [13/39] Generating /tmp/hyprpm/hyprland-basit/protocols/kde-server-decoration.cpp, /tmp/hyprpm/hyprland-basit/protocols/kde-server-decoration.hpp [14/39] Generating /tmp/hyprpm/hyprland-basit/protocols/wlr-data-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/wlr-data-control-unstable-v1.hpp [15/39] Generating /tmp/hyprpm/hyprland-basit/protocols/hyprland-focus-grab-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/hyprland-focus-grab-v1.hpp [16/39] Generating /tmp/hyprpm/hyprland-basit/protocols/wlr-layer-shell-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/wlr-layer-shell-unstable-v1.hpp [17/39] Generating /tmp/hyprpm/hyprland-basit/protocols/tearing-control-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/tearing-control-v1.hpp [18/39] Generating /tmp/hyprpm/hyprland-basit/protocols/fractional-scale-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/fractional-scale-v1.hpp [19/39] Generating /tmp/hyprpm/hyprland-basit/protocols/xdg-output-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/xdg-output-unstable-v1.hpp [20/39] Generating /tmp/hyprpm/hyprland-basit/protocols/cursor-shape-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/cursor-shape-v1.hpp [21/39] Generating /tmp/hyprpm/hyprland-basit/protocols/idle-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/idle-inhibit-unstable-v1.hpp [22/39] Generating /tmp/hyprpm/hyprland-basit/protocols/relative-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/relative-pointer-unstable-v1.hpp [23/39] Generating /tmp/hyprpm/hyprland-basit/protocols/xdg-decoration-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/xdg-decoration-unstable-v1.hpp [24/39] Generating /tmp/hyprpm/hyprland-basit/protocols/ext-foreign-toplevel-list-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/ext-foreign-toplevel-list-v1.hpp [25/39] Generating /tmp/hyprpm/hyprland-basit/protocols/alpha-modifier-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/alpha-modifier-v1.hpp [26/39] Generating /tmp/hyprpm/hyprland-basit/protocols/pointer-gestures-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/pointer-gestures-unstable-v1.hpp [27/39] Generating /tmp/hyprpm/hyprland-basit/protocols/keyboard-shortcuts-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/keyboard-shortcuts-inhibit-unstable-v1.hpp [28/39] Generating /tmp/hyprpm/hyprland-basit/protocols/text-input-unstable-v3.cpp, /tmp/hyprpm/hyprland-basit/protocols/text-input-unstable-v3.hpp [29/39] Generating /tmp/hyprpm/hyprland-basit/protocols/pointer-constraints-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/pointer-constraints-unstable-v1.hpp [30/39] Generating /tmp/hyprpm/hyprland-basit/protocols/xdg-activation-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/xdg-activation-v1.hpp [31/39] Generating /tmp/hyprpm/hyprland-basit/protocols/ext-idle-notify-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/ext-idle-notify-v1.hpp [32/39] Generating /tmp/hyprpm/hyprland-basit/protocols/ext-session-lock-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/ext-session-lock-v1.hpp [33/39] Generating /tmp/hyprpm/hyprland-basit/protocols/presentation-time.cpp, /tmp/hyprpm/hyprland-basit/protocols/presentation-time.hpp [34/39] Generating /tmp/hyprpm/hyprland-basit/protocols/primary-selection-unstable-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/primary-selection-unstable-v1.hpp [35/39] Generating /tmp/hyprpm/hyprland-basit/protocols/tablet-v2.cpp, /tmp/hyprpm/hyprland-basit/protocols/tablet-v2.hpp [36/39] Generating /tmp/hyprpm/hyprland-basit/protocols/xdg-shell.cpp, /tmp/hyprpm/hyprland-basit/protocols/xdg-shell.hpp [37/39] Generating /tmp/hyprpm/hyprland-basit/protocols/xwayland-shell-v1.cpp, /tmp/hyprpm/hyprland-basit/protocols/xwayland-shell-v1.hpp [38/39] Generating /tmp/hyprpm/hyprland-basit/protocols/wayland.cpp, /tmp/hyprpm/hyprland-basit/protocols/wayland.hpp find src -name '*.h*' -print0 | cpio --quiet -0dump /home/basit/.local/share/hyprpm/headersRoot/include/hyprland cd subprojects/wlroots-hyprland/include/wlr && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/basit/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../.. cd subprojects/wlroots-hyprland/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/basit/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../.. cp ./protocols/*.h* /home/basit/.local/share/hyprpm/headersRoot/include/hyprland/protocols cp ./build/hyprland.pc /home/basit/.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/basit/.local/share/hyprpm/headersRoot/include/hyprland chmod 755 /home/basit/.local/share/hyprpm/headersRoot/share/pkgconfig ✖ failed to install headers with error code 4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Failed ✖ Headers version mismatch. Please run hyprpm update to fix those. sh: -c: line 1: unexpected EOF while looking for matching `'' ```