Closed postsolar closed 1 year ago
The hyprland-nvidia-git
pkgbuild is missing the step to install headers as per https://github.com/Duckonaut/hyprload/issues/25#issuecomment-1783918986, just need to edit that line and it should install correctly.
Someone submitted that change as a request on the aur page, but the maintainer hasn't implemented it yet.
@tchofy thank you
Hyprland Version
hyprland-nvidia-git 0.31.0.r69.gf10996b5-1
Bug or Regression?
Bug
Description
Trying to install hy3 plugin I get an error about there not being a file
version.h
.Build log
``` ==> Making package: hy3-git r209.65a849b-3 (Thu 02 Nov 2023 09:05:50 PM EET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating hy3 git repo... ==> Validating source files with sha256sums... hy3 ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of hy3 git repo... Cloning into 'hy3'... done. ==> Starting pkgver()... ==> Updated version: hy3-git r214.352419b-1 ==> Sources are ready. ==> Making package: hy3-git r214.352419b-1 (Thu 02 Nov 2023 09:05:53 PM EET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... -- 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 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for modules 'hyprland;pixman-1;libdrm;pango;pangocairo' -- Found hyprland, version 0.31.0 -- Found pixman-1, version 0.42.2 -- Found libdrm, version 2.4.116 -- Found pango, version 1.51.0 -- Found pangocairo, version 1.51.0 -- Configuring done (0.7s) -- Generating done (0.0s) -- Build files have been written to: /home/me/.cache/yay/hy3-git/src/build [ 14%] Building CXX object CMakeFiles/hy3.dir/src/main.cpp.o In file included from /usr/include/hyprland/src/helpers/Vector2D.hpp:5, from /usr/include/hyprland/src/includes.hpp:147, from /usr/include/hyprland/src/defines.hpp:1, from /usr/include/hyprland/src/Compositor.hpp:7, from /home/me/.cache/yay/hy3-git/src/hy3/src/main.cpp:3: /usr/include/hyprland/src/macros.hpp:17:10: fatal error: version.h: No such file or directory 17 | #include "version.h" | ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/hy3.dir/build.make:76: CMakeFiles/hy3.dir/src/main.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/hy3.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: hy3-git-exit status 4 -> devel check for package failed: '/usr/bin/git ls-remote https://github.com/hyprwm/Hyprland.git HEAD' encountered an error: fatal: Unable to read current working directory: No such file or directory -> Failed to install the following packages. Manual intervention is required: hy3-git - exit status 4 ```The readme of hy3 says I should delete files in
/usr/include/hyprland/
and/usr/share/pkgconfig/hyprland.pc
and reinstall Hyprland, but the issue persists. If I open/usr/include/hyprland/src/macros.hpp
the LSP tells me there's no fileversion.h
.Under prefix
/usr/local/
rather than/usr/
there are no files related to hyprland.How to reproduce
install hyprland-nvidia-git
Crash reports, logs, images, videos
No response