-
-
Notifications
You must be signed in to change notification settings - Fork 957
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 update - failed to install headers with error code 2 #5896
Comments
Might've been affected by #5667, but I don't see anything that might trigger a failure. Can you check a commit prior to the ones introduced by the PR? |
Perhaps I've missed a |
Same issue. Tried adding |
I have the same issue here.
It may be an issue installing the headers |
how would i go about using this commit through the aur? |
presuming this PKGBUILD, add |
@LOSEARDES77 can you try using cmake to build the plugins? $ cmake --build -S . -B build -G Ninja |
That didn't work but doing:
worked for hyprwinwrap but hyprexpo may work for other but i have a problem with with cmake and didn't work for me
I have this same issue when building hyprland so i have been doing it with meson and worked |
I blame @fufexan |
I am also getting this error. I cannot build Hyprland on NixOS with plugins |
@matt1432 are you using hyprpm? Or the |
I am using the Logs: @nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/d3q8pw123ph3wipgp3z24xmpvqp9j5ih-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
fixing cmake files...
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/m1wkvlk45nhxn210232v53302zg63jmz-hyprland-0.40.0+date=2024-05-07_6ccc221/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/m1wkvlk45nhxn210232v53302zg63jmz-hyprland-0.40.0+date=2024-05-07_6ccc221/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/m1wkvlk45nhxn210232v53302zg63jmz-hyprland-0.40.0+date=2024-05-07_6ccc221/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/m1wkvlk45nhxn210232v53302zg63jmz-hyprland-0.40.0+date=2024-05-07_6ccc221/share/doc/Hyprland -DCMAKE_INSTALL_INFODIR=/nix/store/m1wkvlk45nhxn210232v53302zg63jmz-hyprland-0.40.0+date=2024-05-07_6ccc221/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/nyw6zw7j320z5d3mb706s0nzvq481p1h-hyprland-0.40.0+date=2024-05-07_6ccc221-man/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/fif45d1nigjcilqcyq0a6hmdkjrgz64a-hyprland-0.40.0+date=2024-05-07_6ccc221-dev/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/fif45d1nigjcilqcyq0a6hmdkjrgz64a-hyprland-0.40.0+date=2024-05-07_6ccc221-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/m1wkvlk45nhxn210232v53302zg63jmz-hyprland-0.40.0+date=2024-05-07_6ccc221/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/m1wkvlk45nhxn210232v53302zg63jmz-hyprland-0.40.0+date=2024-05-07_6ccc221/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/m1wkvlk45nhxn210232v53302zg63jmz-hyprland-0.40.0+date=2024-05-07_6ccc221/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/4i0gb09kcanl3gbmqmm82iivbcjh2lmw-gcc-wrapper-13.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/4i0gb09kcanl3gbmqmm82iivbcjh2lmw-gcc-wrapper-13.2.0/bin/ranlib -DCMAKE_AR=/nix/store/4i0gb09kcanl3gbmqmm82iivbcjh2lmw-gcc-wrapper-13.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/m1wkvlk45nhxn210232v53302zg63jmz-hyprland-0.40.0+date=2024-05-07_6ccc221 -DNO_XWAYLAND:BOOL=FALSE -DLEGACY_RENDERER:BOOL=FALSE -DNO_SYSTEMD:BOOL=FALSE
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/4i0gb09kcanl3gbmqmm82iivbcjh2lmw-gcc-wrapper-13.2.0/bin/gcc - 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: /nix/store/4i0gb09kcanl3gbmqmm82iivbcjh2lmw-gcc-wrapper-13.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
�[31mCMake Error at CMakeLists.txt:32 (add_subdirectory):
The source directory
/build/source/subprojects/udis86
does not contain a CMakeLists.txt file.
�[0m
-- Setting up wlroots
-- Found PkgConfig: /nix/store/vbk2n3094zyl9ywijks6a3d7s2i6wnfm-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Found WaylandScanner at /nix/store/jsdqzw2g14h1wk6x93bl551drcd5i9ha-wayland-1.22.0-bin/bin/wayland-scanner
-- Found wayland-protocols at //nix/store/6v7nvm2lm6sy4ws9x4ksgyfjxxnpad9d-wayland-protocols-1.35/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: /nix/store/n5plv6lv08bxshqq9ina34ckzklc7i81-libGL-1.7.0/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;hyprwayland-scanner>=0.3.4;hyprlang>=0.3.2;hyprcursor>=0.1.7'
-- Found xkbcommon, version 1.5.0
-- Found uuid, version 2.39.3
-- Found wayland-server, version 1.22.0
-- Found wayland-client, version 1.22.0
-- Found wayland-cursor, version 1.22.0
-- Found wayland-protocols, version 1.35
-- 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.381
-- 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.0.5
-- Found hyprwayland-scanner, version 0.3.4
-- Found hyprlang, version 0.5.1
-- Found hyprcursor, version 0.1.7
-- 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'
-- No package 'epoll-shim' 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'
-- Found xcb, version 1.17.0
-- Found xwayland, version 23.2.6
-- 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
-- Checking for module 'xcb-errors'
-- Found xcb-errors, version 1.0.1
-- SYSTEMD support is requested (NO_SYSTEMD not defined)...
-- Setting precompiled headers
-- Setting link libraries
Could not open input file: No such file or directory
Could not open input file: No such file or directory
Could not open input file: No such file or directory
Could not open input file: No such file or directory
Couldn't load proto
-- Checking for module 'tomlplusplus'
-- Found tomlplusplus, version 3.4.0
-- Configuring incomplete, errors occurred! |
Have you changed the hyprland input url as per #5891? |
If this is stopping you from updating plugins: Save and then rerun hyprpm update The installed hyprland.pc is missing the ${prefix} from the include line |
That file gets overwritten when running |
Yes, but update doesn't re-install the headers every time, unless you use -f flag. Once you edit the file the header version check will pass and hyprpm won't redownload/reinstall the headers until you upgrade hyprland. Then you'll have to re-edit it (assuming it hasn't been fixed by then) |
Understood, but it is still not working for me ( % cat ~/.local/share/hyprpm/headersRoot/share/pkgconfig/hyprland.pc
prefix=/home/mark/.local/share/hyprpm/headersRoot
includedir=${prefix}/include
Name: Hyprland
URL: https://github.com/hyprwm/Hyprland
Description: Hyprland header files
Version: 0.40.0
Cflags: -I${includedir} -I${includedir}/hyprland/protocols -I${includedir}/hyprland
% hyprpm update
! Cloning https://github.com/hyprwm/hyprland, this might take a moment.
✔ cloned
✔ checked out to running ver
! configuring Hyprland
✔ configured Hyprland
✖ failed to install headers with error code 2
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Failed
✖ Headers missing. Please run hyprpm update to fix those.
% cat ~/.local/share/hyprpm/headersRoot/share/pkgconfig/hyprland.pc
prefix=/home/mark/.local/share/hyprpm/headersRoot
includedir=include
Name: Hyprland
URL: https://github.com/hyprwm/Hyprland
Description: Hyprland header files
Version: 0.40.0
Cflags: -I${includedir} -I${includedir}/hyprland/protocols -I${includedir}/hyprland Edit (pre-reqs are fine): % yay -Q cpio meson cmake
cpio 2.15-1
meson 1.4.0-5
cmake 3.29.2-1 |
Can anyone test #5929? |
Worked for me |
I tried the following: git clone --recursive https://github.com/hyprwm/Hyprland
cd Hyprland
gh pr checkout 5929
make all && sudo make install Then ran hyprpm update -v
[v] version returned: Hyprland, built from branch fixhyprpm at commit 6ae4278df3345364b3ec008f15991ddc37df2f9d (Makefile: fix installheaders).
Date: Tue May 7 12:09:40 2024
Tag: v0.40.0-24-g6ae4278d, commits: 4630
flags: (if any)
[v] parsed commit 6ae4278df3345364b3ec008f15991ddc37df2f9d at branch fixhyprpm on Tue May 7 12:09:40 2024, commits 4630
! Cloning https://github.com/hyprwm/hyprland, this might take a moment.
[v] will shallow since: Tue Apr 30 12:09:40 2024
✔ cloned
[v] git returned (co): error: pathspec 'fixhyprpm' did not match any file(s) known to git
[v] git returned (rs): rm 'subprojects/tracy'
fatal: Could not parse object '6ae4278df3345364b3ec008f15991ddc37df2f9d'.
✔ checked out to running ver
! configuring Hyprland
[v] setting PREFIX for cmake to /home/saipavanchitta/.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 13.2.1
-- The CXX compiler identification is GNU 13.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 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;hyprwayland-scanner>=0.3.5;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.22.0
-- Found wayland-client, version 1.22.0
-- Found wayland-cursor, version 1.22.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.0.6-arch1.2
-- Found hyprwayland-scanner, version 0.3.5
-- Found hyprlang, version 0.5.1
-- Found hyprcursor, version 0.1.7
-- 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'
-- Found xcb, version 1.17.0
-- Found xwayland, version 23.2.6
-- 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
-- Checking for module 'xcb-errors'
-- 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.9s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-saipavanchitta/build
[v] meson returned: The Meson build system
Version: 1.4.0
Source dir: /tmp/hyprpm/hyprland-saipavanchitta/subprojects/wlroots-hyprland
Build dir: /tmp/hyprpm/hyprland-saipavanchitta/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 13.2.1 "cc (GCC) 13.2.1 20240417")
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.22.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.22.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.0.6-arch1.2
Run-time dependency glesv2 found: YES 3.2
Program ./embed.sh found: YES (/tmp/hyprpm/hyprland-saipavanchitta/subprojects/wlroots-hyprland/render/gles2/shaders/./embed.sh)
Dependency pixman-1 found: YES 0.43.4 (cached)
Dependency gbm found: YES 24.0.6-arch1.2 (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.22.0
Run-time dependency xwayland found: YES 23.2.6
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...
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.0 at /usr/bin/ninja
✔ configured Hyprland
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/saipavanchitta/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-saipavanchitta/Makefile && cd /tmp/hyprpm/hyprland-saipavanchitta && make installheaders
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━ 4 / 5 Installing sources[v] installer returned: rm -fr /home/saipavanchitta/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/saipavanchitta/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/saipavanchitta/.local/share/hyprpm/headersRoot/include/hyprland/protocols
mkdir -p /home/saipavanchitta/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland
mkdir -p /home/saipavanchitta/.local/share/hyprpm/headersRoot/share/pkgconfig
find src -name '*.h*' -print0 | cpio --quiet -0dump /home/saipavanchitta/.local/share/hyprpm/headersRoot/include/hyprland
cd subprojects/wlroots-hyprland/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/saipavanchitta/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland && cd ../../..
cd subprojects/wlroots-hyprland/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/saipavanchitta/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland && cd ../../../..
cp ./protocols/*.h /home/saipavanchitta/.local/share/hyprpm/headersRoot/include/hyprland/protocols
cp ./protocols/*.hpp /home/saipavanchitta/.local/share/hyprpm/headersRoot/include/hyprland/protocols
cp ./build/hyprland.pc /home/saipavanchitta/.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/saipavanchitta/.local/share/hyprpm/headersRoot/include/hyprland
chmod 755 /home/saipavanchitta/.local/share/hyprpm/headersRoot/share/pkgconfig
✖ failed to install headers with error code 2
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Failed
✖ Headers missing. Please run hyprpm update to fix those. |
not working |
User experience wise speaking, hyprpm telling you to run |
Had to include the wlroot-hyprland directory in the Cflags to fix the error. The resulting hyprland.pc file
|
should be fixed |
I still get this error on
|
Hyprland Version
System/Version info
Bug or Regression?
Bug
Description
How to reproduce
hyprpm update -v
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: