hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.87k stars 848 forks source link

hyprland-plugins: Error when updating on latest git #7254

Closed LOSEARDES77 closed 1 month ago

LOSEARDES77 commented 1 month ago

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7 (internal: introduce new types to avoid unsigned int rollover and signed int overflow (7216)). Date: Thu Aug 8 21:01:50 2024 Tag: v0.42.0-2-g4b4971c0, commits: 5071 flags: (if any) System Information: System name: Linux Node name: loseardes77-dtk Release: 6.10.3-273-tkg-pds Version: #1 SMP PREEMPT_DYNAMIC TKG Fri, 09 Aug 2024 10:48:29 +0000 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107 [GeForce RTX 4060] [10de:2882] (rev a1) (prog-if 00 [VGA controller]) NVRM version: NVIDIA UNIX x86_64 Kernel Module 555.58.02 Tue Jun 25 01:39:15 UTC 2024 os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ```

Description

When i updated hyprland today i tryed to update plugins too with hyprpm update but it failed with this output:

! Using --force, I hope you know what you are doing.
[v] version returned: Hyprland, built from branch main at commit 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7  (internal: introduce new types to avoid unsigned int rollover and signed int overflow (7216)).
Date: Thu Aug 8 21:01:50 2024
Tag: v0.42.0-2-g4b4971c0, commits: 5071

flags: (if any)

[v] parsed commit 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7 at branch main on Thu Aug 8 21:01:50 2024, commits 5071

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.
✔ cloned
[v] will run: cd /tmp/hyprpm/hyprland-loseardes77 && git checkout 4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7 2>&1
[v] git returned (co): Note: switching to '4b4971c06fb02df00a2bd20b6b47b5d0e7d799a7'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 4b4971c0 internal: introduce new types to avoid unsigned int rollover and signed int overflow (#7216)

[v] git returned (rs): rm 'subprojects/tracy'
HEAD is now at 4b4971c0 internal: introduce new types to avoid unsigned int rollover and signed int overflow (#7216)

✔ checked out to running ver
! configuring Hyprland
[v] setting PREFIX for cmake to /home/loseardes77/.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/g++ - 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...
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1")
-- 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 module 'hyprutils>=0.2.1'
--   Found hyprutils, version 0.2.1
-- Checking for modules 'aquamarine;xkbcommon;uuid;wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;pango;pangocairo;pixman-1;xcursor;libdrm;libinput;hwdata;libseat;libdisplay-info;libliftoff;libudev;gbm;hyprlang>=0.3.2;hyprcursor>=0.1.7;hyprutils>=0.2.1'
--   Found aquamarine, version 0.3.0
--   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 xcursor, version 1.2.2
--   Found libdrm, version 2.4.122
--   Found libinput, version 1.26.1
--   Found hwdata, version 0.385
--   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.3.0-devel
--   Found hyprlang, version 0.5.2
--   Found hyprcursor, version 0.1.9
--   Found hyprutils, version 0.2.1
-- 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.2
--   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.1
-- Checking for modules 'tomlplusplus;hyprutils>=0.1.1'
--   Found tomlplusplus, version 3.4.0
--   Found hyprutils, version 0.2.1
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-loseardes77/build

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

✔ installed headers
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Done!

 → checking for updates for hyprland-plugins
 → Cloning https://github.com/hyprwm/hyprland-plugins
✔ repository hyprland-plugins has updates.
 → Building hyprland-plugins
✔ found hyprpm manifest
 → Manifest has 16 pins, checking
 → Building borders-plus-plus
 ━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━  2 / 4  Updating hyprland-plugins[v] shell returned:  -> cd /tmp/hyprpm/loseardes77 && PKG_CONFIG_PATH="/home/loseardes77/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C borders-plus-plus all
make: Entering directory '/tmp/hyprpm/loseardes77/borders-plus-plus'
g++ -shared -fPIC --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:6:
/home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/Log.hpp:9,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:2,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from borderDeco.hpp:5,
                 from borderDeco.cpp:1:
/home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/loseardes77/borders-plus-plus'

✖ Plugin borders-plus-plus failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.
 → Building csgo-vulkan-fix
 ━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━  2 / 4  Updating hyprland-plugins[v] shell returned:  -> cd /tmp/hyprpm/loseardes77 && PKG_CONFIG_PATH="/home/loseardes77/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C csgo-vulkan-fix all
make: Entering directory '/tmp/hyprpm/loseardes77/csgo-vulkan-fix'
g++ -shared -fPIC --no-gnu-unique main.cpp -o csgo-vulkan-fix.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:5:
/home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/loseardes77/csgo-vulkan-fix'

✖ Plugin csgo-vulkan-fix failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.
 → Building hyprbars
 ━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━  2 / 4  Updating hyprland-plugins[v] shell returned:  -> cd /tmp/hyprpm/loseardes77 && PKG_CONFIG_PATH="/home/loseardes77/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprbars all
make: Entering directory '/tmp/hyprpm/loseardes77/hyprbars'
g++ -shared -fPIC --no-gnu-unique -g -std=c++2b -Wno-c++11-narrowing `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` main.cpp barDeco.cpp  -o hyprbars.so `pkg-config --libs pangocairo` -O2
In file included from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:6:
/home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/Log.hpp:9,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:2,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from barDeco.hpp:5,
                 from barDeco.cpp:1:
/home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:11: hyprbars.so] Error 1
make: Leaving directory '/tmp/hyprpm/loseardes77/hyprbars'

✖ Plugin hyprbars failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.
 → Building hyprexpo
 ━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━  2 / 4  Updating hyprland-plugins[v] shell returned:  -> cd /tmp/hyprpm/loseardes77 && PKG_CONFIG_PATH="/home/loseardes77/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprexpo all
make: Entering directory '/tmp/hyprpm/loseardes77/hyprexpo'
g++ -shared -fPIC --no-gnu-unique main.cpp overview.cpp -o hyprexpo.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -Wno-narrowing
In file included from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:5:
/home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/Log.hpp:9,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../defines.hpp:2,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/PluginAPI.hpp:26,
                 from globals.hpp:3,
                 from overview.hpp:5,
                 from overview.cpp:1:
/home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/loseardes77/hyprexpo'

✖ Plugin hyprexpo failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.
 → Building hyprtrails
 ━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━  2 / 4  Updating hyprland-plugins[v] shell returned:  -> cd /tmp/hyprpm/loseardes77 && PKG_CONFIG_PATH="/home/loseardes77/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprtrails all
make: Entering directory '/tmp/hyprpm/loseardes77/hyprtrails'
g++ -shared -fPIC --no-gnu-unique main.cpp trail.cpp -o hyprtrails.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:6:
/home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/Log.hpp:9,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../defines.hpp:2,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/PluginAPI.hpp:26,
                 from trail.hpp:6,
                 from trail.cpp:1:
/home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/loseardes77/hyprtrails'

✖ Plugin hyprtrails failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.
 → Building hyprwinwrap
 ━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━  2 / 4  Updating hyprland-plugins[v] shell returned:  -> cd /tmp/hyprpm/loseardes77 && PKG_CONFIG_PATH="/home/loseardes77/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprwinwrap all
make: Entering directory '/tmp/hyprpm/loseardes77/hyprwinwrap'
g++ -shared -fPIC --no-gnu-unique main.cpp -o hyprwinwrap.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/Log.hpp:9,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:2,
                 from /home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:11:
/home/loseardes77/.local/share/hyprpm/headersRoot/include/hyprland/src/debug/../helpers/MiscFunctions.hpp:9:10: fatal error: SharedDefs.hpp: No such file or directory
    9 | #include "SharedDefs.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/loseardes77/hyprwinwrap'

✖ Plugin hyprwinwrap failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.
✔ updated hyprland-plugins
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  4 / 4  Done!
✔ Ensuring plugin load state
✔ Loaded hyprexpo
✔ Plugin load state ensured

Investigating this i tryed to workarround modifying the file at .local/share/hyprpm/headersRoot/include/hyprland/src/helpers/MiscFunctions.hpp and /usr/include/hyprland/src/helpers/MiscFunctions.hpp and replace the #include "SharedDefs.hpp"and #include "macros.hpp" lines with #include "../SharedDefs.hpp" #include "../macros.hpp" and seams to work.

I am making this issue because i don't know how to fix it from the Hyprland sourcecode.

I don't know if this happens to other people but it hapñened to me today and maybe it is just because i installed it from the chaotic aur

How to reproduce

install latest git version and try updating plugins

Crash reports, logs, images, videos

No response

vaxerski commented 1 month ago

7245