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
21.05k stars 881 forks source link

error on hyprpm update #6909

Closed Anik200 closed 2 months ago

Anik200 commented 3 months ago

Regression?

No

System Info and Version

System/Version info ```sh ~ ❯ hyprctl systeminfo -c Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886 flags: (if any) System Information: System name: Linux Node name: void Release: 6.6.38_1 Version: #1 SMP PREEMPT_DYNAMIC Tue Jul 9 19:40:21 UTC 2024 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09) (prog-if 00 [VGA controller]) os-release: NAME="Void" ID="void" PRETTY_NAME="Void Linux" HOME_URL="https://voidlinux.org/" DOCUMENTATION_URL="https://docs.voidlinux.org/" LOGO="void-logo" ANSI_COLOR="0;38;2;71;128;97" DISTRIB_ID="void" plugins: ======Config-Start====== Config File: /home/anik/.config/hypr/hyprland.conf: Read Succeeded # This is an example Hyprland config file. # Refer to the wiki for more information. # https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ # Please note not all available settings / options are set here. # For a full list, see the wiki # You can split this configuration into multiple files # Create your files separately and then link them to this file like this: # source = ~/.config/hypr/myColors.conf ################ ### MONITORS ### ################ # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,auto ################### ### MY PROGRAMS ### ################### # See https://wiki.hyprland.org/Configuring/Keywords/ # Set programs that you use $terminal = alacritty #$terminal = kitty $fileManager = nautilus $menu = wofi --show drun $bar = waybar $browser = firefox ################# ### AUTOSTART ### ################# # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: # exec-once = $terminal exec-once = nm-applet & blueman-applet & dunst exec-once = waybar exec-once = swww img --transition-type grow --transition-pos 0.54,0.77 --transition-step 255 --transition-fps 60 /home/anik/Downloads/skyway.jpg ############################# ### ENVIRONMENT VARIABLES ### ############################# # See https://wiki.hyprland.org/Configuring/Environment-variables/ env = HYPRCURSOR_SIZE,19 env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that env = WLR_DRM_NO_ATOMIC,1 # some nvidia fix env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland ##################### ### LOOK AND FEEL ### ##################### # Refer to https://wiki.hyprland.org/Configuring/Variables/ # https://wiki.hyprland.org/Configuring/Variables/#general general { gaps_in = 8 gaps_out = 15 border_size = 2 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors col.active_border = rgb(0352fc) rgb(00ff91) 45deg col.inactive_border = rgb(1842ab) rgb(18ab84) 45deg # Set to true enable resizing windows by clicking and dragging on borders and gaps resize_on_border = true # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false layout = dwindle } # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { rounding = 9 # Change transparency of focused and unfocused windows active_opacity = 1 inactive_opacity = 0.999 drop_shadow = true shadow_range = 20 shadow_render_power = 9 col.shadow = rgba(0, 0, 0, 1) # https://wiki.hyprland.org/Configuring/Variables/#blur blur { enabled = true size = 3 passes = 5 noise= 0.0 vibrancy = 1 } } # https://wiki.hyprland.org/Configuring/Variables/#animations animations { enabled = true # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more #bezier = defaultBezier, 0.05, 0.9, 0.1, 1.05 #animation = windowsOut, 1, 7, default, popin 80% #animation = border, 1, 10, default # animation = borderangle, 1, 8, default # animation = fade, 1, 7, default #animation = workspaces, 1, 6, defaultBezier bezier = overshot, 0.13, 0.99, 0.29, 1.1 animation = windows, 1, 7, overshot, slide animation = windowsIn, 1, 7, overshot, slide animation = windowsOut, 1, 7, overshot, slide animation = windowsMove, 1, 7, overshot, slide animation = border, 1, 10, default animation = fade, 1, 7, overshot, animation = workspaces, 1, 6, overshot, slidehor } # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more master { new_is_master = true no_gaps_when_only = true } # https://wiki.hyprland.org/Configuring/Variables/#misc misc { force_default_wallpaper = 1 # Set to 0 or 1 to disable the anime mascot wallpapers disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( } ############# ### INPUT ### ############# # https://wiki.hyprland.org/Configuring/Variables/#input input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. touchpad { natural_scroll = true disable_while_typing = true } } # https://wiki.hyprland.org/Configuring/Variables/#gestures gestures { workspace_swipe = true } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { name = epic-mouse-v1 sensitivity = -0.5 } #################### ### KEYBINDINGSS ### #################### # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier $secmod = HOME # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, $terminal bind = $mainMod, C, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, A, exec, $menu bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, F, exec, firefox, bind = $mainMod, L, exec, hyprlock bind = $mainMod, O, exec, wlogout bind = $mainMod, N, exec, chromium # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Example special workspace (scratchpad) bind = $mainMod, B, togglespecialworkspace, magic bind = $mainMod SHIFT, B, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # screenshot bind = ALT, S, exec, grim -g "$(slurp -d)" - | wl-copy bind = CTRL, PRINT, exec, grim -g "$(slurp -o)" $(xdg-user-dir PICTURES)/$(date +'%s_grim.png') bind = CTRL SHIFT, print, exec, grim -g "$(slurp)" $(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png') bind =$mainMod, l, hyprctl dispatch exit ############################## ### WINDOWS AND WORKSPACES ### ############################## # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ debug { suppress_errors = true } .titlebar-buttonbox-container{ display:none } bind = , XF86MonBrightnessUp, exec, brightnessctl s +5 bind = , XF86MonBrightnessDown, exec,brightnessctl s 5%- bind = , XF86AudioRaiseVolume, exec, pamixer -i 5 bind = , XF86AudioLowerVolume, exec, pamixer -d 2 bind = , XF86AudioMicMute, exec, pamixer --default-source -m bind = , XF86AudioMute, exec, pamixer -t bind = , XF86AudioPlay, exec, playerctl play-pause bind = , XF86AudioPause, exec, playerctl play-pause bind = , XF86AudioNext, exec, playerctl next bind = , XF86AudioPrev, exec, playerctl previous bind = , ESCAPE, CTRL, SHIFT, exec, xfce4-taskmanager #exec-once=/usr/libexec/xdg-desktop-portal exec-once=pkill -f xdg-desktop-portal-hyprland & /usr/libexec/xdg-desktop-portal-hyprland exec-once=pipewire $ wireplumber exec-once=hyprctl setcursor Bibata-Modern-Classic 19 #bindl=,switch:off:Lid Switch, exec, hyprlock #blurls = waybar exec-once=swww-daemon --format xrgb ======Config-End======== ~ ❯ ```

Description

hyprpm update -v shows a cd error and says i dont have headers installed even though all the deps are installed

How to reproduce

install hyprland on void linux and run the command

Crash reports, logs, images, videos

hyprlandCrashReport30264.txt

fufexan commented 3 months ago

Please paste the output of hyprpm update -v. Also, is the attached crash report relevant? Doesn't seem like it.

Anik200 commented 3 months ago

~ ❯ hyprpm update -v [v] version returned: Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886

flags: (if any)

[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch on Tue Jun 25 12:06:02 2024, commits 4886

╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0 / 5 Cloning the hyprland re! Cloning https://github.com/hyprwm/hyprland, this might take a moment. ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0 / 5 Cloning the hyprland re[v] will shallow since: Tue Jun 18 12:06:02 2024

╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0 / 5 Cloning the hyprland re✔ cloned ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0 / 5 Cloning the hyprland re ━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2 / 5 Checking out[v] git returned (co): Your branch is up to date with 'origin/main'.

━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2 / 5 Checking out[v] git returned (rs): rm 'subprojects/tracy' HEAD is now at 918d834 flake.lock: update

━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2 / 5 Checking out✔ checked out to running ver ━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2 / 5 Checking out ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━ 3 / 5 Building ! configuring Hyprland ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━ 3 / 5 Building [v] setting PREFIX for cmake to /home/anik/.local/share/hyprpm/headersRoot ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━ 3 / 5 Building [v] cmake returned: CMake Warning (dev) at /usr/share/cmake-3.29/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.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: /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.4") found components: Interpreter Building itab.c/itab.h... -- Setting up wlroots -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.0") -- 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;hyprutils>=0.1.5' -- 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.54.0 -- Found pangocairo, version 1.54.0 -- Found pixman-1, version 0.43.4 -- Found libdrm, version 2.4.121 -- Found libinput, version 1.26.0 -- Found hwdata, version 0.375 -- Found libseat, version 0.8.0 -- Found libdisplay-info, version 0.1.1 -- Found libliftoff, version 0.4.1 -- Found libudev, version 251 -- Found gbm, version 24.1.2 -- Found hyprlang, version 0.5.2 -- Found hyprcursor, version 0.1.9 -- Found hyprutils, version 0.1.5 -- 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.16.1 -- Found xwayland, version 24.1.0 -- Found xcb-util, version 0.4.1 -- Found xcb-render, version 1.16.1 -- Found xcb-xfixes, version 1.16.1 -- Found xcb-icccm, version 0.4.2 -- Found xcb-composite, version 1.16.1 -- Found xcb-res, version 1.16.1 -- 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.1.5 -- Checking for modules 'tomlplusplus;hyprutils>=0.1.1' -- Found tomlplusplus, version 3.4.0 -- Found hyprutils, version 0.1.5 -- Configuring done (5.7s) -- Generating done (0.1s) -- Build files have been written to: /tmp/hyprpm/hyprland-anik/build

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━ 3 / 5 Building [v] meson returned: The Meson build system Version: 1.4.0 Source dir: /tmp/hyprpm/hyprland-anik/subprojects/wlroots-hyprland Build dir: /tmp/hyprpm/hyprland-anik/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.0 "cc (GCC) 13.2.0") C linker for the host machine: cc ld.bfd 2.41 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

meson.build:83:11: ERROR: Command /tmp/hyprpm/hyprland-anik/subprojects/wlroots-hyprland/./patches/apply.sh failed with status 1.

A full log can be found at /tmp/hyprpm/hyprland-anik/subprojects/wlroots-hyprland/build/meson-logs/meson-log.txt

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

✖ failed to install headers with error code 2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━ 4 / 5 Installing ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Failed

✖ Headers missing. Please run hyprpm update to fix those. ~ ❯ here is the output of hyprpm update -v

fufexan commented 3 months ago

Can you check this as well?

meson.build:83:11: ERROR: Command /tmp/hyprpm/hyprland-anik/subprojects/wlroots-hyprland/./patches/apply.sh failed with status 1. A full log can be found at /tmp/hyprpm/hyprland-anik/subprojects/wlroots-hyprland/build/meson-logs/meson-log.txt

Anik200 commented 3 months ago

image i dont think thats valid

Makrennel commented 2 months ago

I honestly don't think I've ever gotten hyprpm to work with any distro specific package, whether on Arch, Nix, Void, or (long ago) OpenSUSE. I always just end up specifically installing Hyprland from source and using meta packages to handle dependencies required.

qnlbnsl commented 2 months ago

Having a similar issue with hyperpm update

❯ hyprpm update -v
[v] version returned: Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch  on Tue Jun 25 12:06:02 2024, commits 4886

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                      
[v] will shallow since: Tue Jun 18 12:06:02 2024                                                                             

✔ cloned                                                                                                                     
[v] git returned (co): Your branch is up to date with 'origin/main'.                                                         

[v] git returned (rs): rm 'subprojects/tracy'                                                                                
fatal: not a git repository: ../../.git/modules/subprojects/wlroots-hyprland
fatal: could not reset submodule index

✔ checked out to running ver                                                                                                 
! configuring Hyprland                                                                                                       
[v] setting PREFIX for cmake to /home/qnlbnsl/.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
-- Found Python3: /usr/bin/python3.12 (found version "3.12.4") 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;hyprutils>=0.1.5'
--   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 libdrm, version 2.4.122
--   Found libinput, version 1.26.1
--   Found hwdata, version 0.384
--   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.1.4-arch1.2
--   Found hyprlang, version 0.5.2
--   Found hyprcursor, version 0.1.9
--   Found hyprutils, version 0.2.0
-- 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.1
--   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.0
-- Checking for modules 'tomlplusplus;hyprutils>=0.1.1'
--   Found tomlplusplus, version 3.4.0
--   Found hyprutils, version 0.2.0
-- Configuring done (1.3s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-qnlbnsl/build

[v] meson returned:                                                                                                          
ERROR: Neither source directory 'build' nor build directory None contain a build file meson.build.

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

✖ failed to install headers with error code 2                                                                                
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed                                                           

✖ Headers missing. Please run hyprpm update to fix those.
antimidas commented 2 months ago

$] <> hyprpm -s -v update [v] version returned: Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886

flags: (if any)

[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch on Tue Jun 25 12:06:02 2024, commits 4886

! Cloning https://github.com/hyprwm/hyprland, this might take a moment. ✔ cloned [v] git returned (co): Note: switching to '918d8340afd652b011b937d29d5eea0be08467f5'.

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

Or undo this operation with:

git switch -

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

HEAD is now at 918d8340 flake.lock: update

[v] git returned (rs): rm 'subprojects/tracy' Submodule 'subprojects/wlroots-hyprland' (https://github.com/hyprwm/wlroots-hyprland) registered for path 'subprojects/wlroots-hyprland' Cloning into '/tmp/hyprpm/hyprland-anti/subprojects/wlroots-hyprland'... Submodule path 'subprojects/wlroots-hyprland': checked out '422207dbcf0949e28042403edab539159282885e' HEAD is now at 918d8340 flake.lock: update

✔ checked out to running ver ! configuring Hyprland [v] setting PREFIX for cmake to /home/anti/.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 -- Found Python3: /usr/bin/python3.12 (found version "3.12.4") 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;hyprutils>=0.1.5' -- 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 libdrm, version 2.4.122 -- Found libinput, version 1.26.1 -- Found hwdata, version 0.384 -- 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.1.4-arch1.3 -- 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.1 -- 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 (2.1s) -- Generating done (0.0s) -- Build files have been written to: /tmp/hyprpm/hyprland-anti/build

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

✖ failed to install headers with error code 2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Failed

✖ Headers missing. Please run hyprpm update to fix those.

albertossilva commented 2 months ago

Did someone get any lucky here? I am facing the same issue.

comrade-s commented 2 months ago

Did someone get any lucky here? I am facing the same issue.

Same issue. I have scoured the internet for possible bug fixes and couldn't find anything either. All dependencies have been installed. I am guessing this might be because of teething issues recent decision to ditch wlroots?

lukeemhigh commented 2 months ago

I got kinda the same error, only with error code 4. Here's the output of hyprpm update -s -v -f

! Using --force, I hope you know what you are doing.
[v] version returned: Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch  on Tue Jun 25 12:06:02 2024, commits 4886

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                                                                                                         
✔ cloned                                                                                                                                                                                                        
[v] git returned (co): Your branch is up to date with 'origin/main'.                                                                                                                                            

[v] git returned (rs): rm 'subprojects/tracy'                                                                                                                                                                   
fatal: not a git repository: ../../.git/modules/subprojects/wlroots-hyprland
fatal: could not reset submodule index

✔ checked out to running ver                                                                                                                                                                                    
! configuring Hyprland                                                                                                                                                                                          
[v] setting PREFIX for cmake to /home/username/.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
-- Found Python3: /usr/bin/python3.12 (found version "3.12.4") 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;hyprutils>=0.1.5'
--   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 libdrm, version 2.4.122
--   Found libinput, version 1.26.1
--   Found hwdata, version 0.384
--   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.1.4-arch1.2
--   Found hyprlang, version 0.5.2
--   Found hyprcursor, version 0.1.9
--   Found hyprutils, version 0.2.0
-- 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.1
--   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.0
-- Checking for modules 'tomlplusplus;hyprutils>=0.1.1'
--   Found tomlplusplus, version 3.4.0
--   Found hyprutils, version 0.2.0
-- Configuring done (2.6s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-username/build

[v] meson returned:                                                                                                                                                                                             
ERROR: Neither source directory 'build' nor build directory None contain a build file meson.build.

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

✖ failed to install headers with error code 4                                                                                                                                                                   
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed                                                                                                                                              

✖ Headers version mismatch. Please run hyprpm update to fix those.
vaxerski commented 2 months ago

try latest hyprpm, pushed a fix

maxguuse commented 2 months ago

Just rebuilt hyprpm from latest commit, same issue

a-usr commented 2 months ago

Just rebuilt hyprpm from latest commit, same issue

Does your output also start out like this?

! Using --force, I hope you know what you are doing.
[v] version returned: Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch  on Tue Jun 25 12:06:02 2024, commits 4886

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                                                                                                         
✔ cloned                                                                                                                                                                                                        
[v] git returned (co): Your branch is up to date with 'origin/main'.                                                                                                                                            

[v] git returned (rs): rm 'subprojects/tracy'                                                                                                                                                                   
fatal: not a git repository: ../../.git/modules/subprojects/wlroots-hyprland
fatal: could not reset submodule index
[ ... ]
maxguuse commented 2 months ago

Just rebuilt hyprpm from latest commit, same issue

Does your output also start out like this?

! Using --force, I hope you know what you are doing.
[v] version returned: Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch  on Tue Jun 25 12:06:02 2024, commits 4886

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                                                                                                         
✔ cloned                                                                                                                                                                                                        
[v] git returned (co): Your branch is up to date with 'origin/main'.                                                                                                                                            

[v] git returned (rs): rm 'subprojects/tracy'                                                                                                                                                                   
fatal: not a git repository: ../../.git/modules/subprojects/wlroots-hyprland
fatal: could not reset submodule index

nope, same issue as the others

/bin/sh: line 1: cd: subprojects/wlroots-hyprland/include/wlr: No such file or directory
make: *** [Makefile:56: installheaders] Error 1
albertossilva commented 2 months ago

try latest hyprpm, pushed a fix

Thanks it worked for me.

a-usr commented 2 months ago

nope, same issue as the others

That is literally the beginning of the output of one of said others

/bin/sh: line 1: cd: subprojects/wlroots-hyprland/include/wlr: No such file or directory
make: *** [Makefile:56: installheaders] Error 1

Yes Im aware of that but I dont really care about that part atm

maxguuse commented 2 months ago

nope, same issue as the others

That is literally the beginning of the output of one of said others

/bin/sh: line 1: cd: subprojects/wlroots-hyprland/include/wlr: No such file or directory
make: *** [Makefile:56: installheaders] Error 1

Yes Im aware of that but I dont really care about that part atm

oops sorry misread your comment, yes it does start like this

rymcol commented 2 months ago

try latest hyprpm, pushed a fix

I just rebuilt from aur's hyprland-git from latest, and I still have the issue -- is that synced with this repo or do I need to clone the source and manually build it?

Lau-San commented 2 months ago

I just built from source, still having the same issue here.

hyprpm update -v ``` [v] version returned: Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886 flags: (if any) [v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch on Tue Jun 25 12:06:02 2024, commits 4886 ! Cloning https://github.com/hyprwm/hyprland, this might take a moment. [v] will shallow since: Tue Jun 18 12:06:02 2024 ✔ cloned [v] will run: cd /tmp/hyprpm/hyprland-laura && git checkout 918d8340afd652b011b937d29d5eea0be08467f5 2>&1 [v] git returned (co): Note: switching to '918d8340afd652b011b937d29d5eea0be08467f5'. 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 Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 918d834 flake.lock: update [v] git returned (rs): rm 'subprojects/tracy' Submodule 'subprojects/wlroots-hyprland' (https://github.com/hyprwm/wlroots-hyprland) registered for path 'subprojects/wlroots-hyprland' Cloning into '/tmp/hyprpm/hyprland-laura/subprojects/wlroots-hyprland'... Submodule path 'subprojects/wlroots-hyprland': checked out '422207dbcf0949e28042403edab539159282885e' HEAD is now at 918d834 flake.lock: update ✔ checked out to running ver ! configuring Hyprland [v] setting PREFIX for cmake to /home/laura/.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/sbin/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/sbin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Gathering git info -- Found Python3: /usr/sbin/python3.12 (found version "3.12.4") found components: Interpreter Building itab.c/itab.h... -- Setting up wlroots -- Found PkgConfig: /usr/sbin/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;hyprutils>=0.1.5' -- 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 libdrm, version 2.4.122 -- Found libinput, version 1.26.1 -- Found hwdata, version 0.384 -- 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.1.4-arch1.2 -- 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.1 -- 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 (2.7s) -- Generating done (0.2s) -- Build files have been written to: /tmp/hyprpm/hyprland-laura/build ✔ configured Hyprland [v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/laura/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-laura/Makefile && cd /tmp/hyprpm/hyprland-laura && make installheaders ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━ 4 / 5 Installing sources[v] installer returned: # remove previous headers from hyprpm's dir rm -fr /home/laura/.local/share/hyprpm/headersRoot/include/hyprland mkdir -p /home/laura/.local/share/hyprpm/headersRoot/include/hyprland mkdir -p /home/laura/.local/share/hyprpm/headersRoot/include/hyprland/protocols mkdir -p /home/laura/.local/share/hyprpm/headersRoot/include/hyprland/wlr mkdir -p /home/laura/.local/share/hyprpm/headersRoot/share/pkgconfig cmake --build ./build --config Release --target generate-protocol-headers [0/2] Re-checking globbed directories... [1/41] Generating /tmp/hyprpm/hyprland-laura/protocols/wlr-gamma-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/wlr-gamma-control-unstable-v1.hpp [2/41] Generating /tmp/hyprpm/hyprland-laura/protocols/wlr-foreign-toplevel-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/wlr-foreign-toplevel-management-unstable-v1.hpp [3/41] Generating /tmp/hyprpm/hyprland-laura/protocols/wlr-output-power-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/wlr-output-power-management-unstable-v1.hpp [4/41] Generating /tmp/hyprpm/hyprland-laura/protocols/wlr-screencopy-unstable-v1-protocol.h [5/41] Generating /tmp/hyprpm/hyprland-laura/protocols/hyprland-global-shortcuts-v1-protocol.h [6/41] Generating /tmp/hyprpm/hyprland-laura/protocols/hyprland-toplevel-export-v1-protocol.h [7/41] Generating /tmp/hyprpm/hyprland-laura/protocols/text-input-unstable-v1-protocol.h [8/41] Generating /tmp/hyprpm/hyprland-laura/protocols/virtual-keyboard-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/virtual-keyboard-unstable-v1.hpp [9/41] Generating /tmp/hyprpm/hyprland-laura/protocols/wlr-virtual-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/wlr-virtual-pointer-unstable-v1.hpp [10/41] Generating /tmp/hyprpm/hyprland-laura/protocols/input-method-unstable-v2.cpp, /tmp/hyprpm/hyprland-laura/protocols/input-method-unstable-v2.hpp [11/41] Generating /tmp/hyprpm/hyprland-laura/protocols/wlr-output-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/wlr-output-management-unstable-v1.hpp [12/41] Generating /tmp/hyprpm/hyprland-laura/protocols/kde-server-decoration.cpp, /tmp/hyprpm/hyprland-laura/protocols/kde-server-decoration.hpp [13/41] Generating /tmp/hyprpm/hyprland-laura/protocols/wlr-data-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/wlr-data-control-unstable-v1.hpp [14/41] Generating /tmp/hyprpm/hyprland-laura/protocols/hyprland-focus-grab-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/hyprland-focus-grab-v1.hpp [15/41] Generating /tmp/hyprpm/hyprland-laura/protocols/wlr-layer-shell-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/wlr-layer-shell-unstable-v1.hpp [16/41] Generating /tmp/hyprpm/hyprland-laura/protocols/wayland-drm.cpp, /tmp/hyprpm/hyprland-laura/protocols/wayland-drm.hpp [17/41] Generating /tmp/hyprpm/hyprland-laura/protocols/tearing-control-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/tearing-control-v1.hpp [18/41] Generating /tmp/hyprpm/hyprland-laura/protocols/fractional-scale-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/fractional-scale-v1.hpp [19/41] Generating /tmp/hyprpm/hyprland-laura/protocols/xdg-output-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/xdg-output-unstable-v1.hpp [20/41] Generating /tmp/hyprpm/hyprland-laura/protocols/cursor-shape-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/cursor-shape-v1.hpp [21/41] Generating /tmp/hyprpm/hyprland-laura/protocols/idle-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/idle-inhibit-unstable-v1.hpp [22/41] Generating /tmp/hyprpm/hyprland-laura/protocols/relative-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/relative-pointer-unstable-v1.hpp [23/41] Generating /tmp/hyprpm/hyprland-laura/protocols/xdg-decoration-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/xdg-decoration-unstable-v1.hpp [24/41] Generating /tmp/hyprpm/hyprland-laura/protocols/alpha-modifier-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/alpha-modifier-v1.hpp [25/41] Generating /tmp/hyprpm/hyprland-laura/protocols/ext-foreign-toplevel-list-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/ext-foreign-toplevel-list-v1.hpp [26/41] Generating /tmp/hyprpm/hyprland-laura/protocols/pointer-gestures-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/pointer-gestures-unstable-v1.hpp [27/41] Generating /tmp/hyprpm/hyprland-laura/protocols/keyboard-shortcuts-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/keyboard-shortcuts-inhibit-unstable-v1.hpp [28/41] Generating /tmp/hyprpm/hyprland-laura/protocols/text-input-unstable-v3.cpp, /tmp/hyprpm/hyprland-laura/protocols/text-input-unstable-v3.hpp [29/41] Generating /tmp/hyprpm/hyprland-laura/protocols/pointer-constraints-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/pointer-constraints-unstable-v1.hpp [30/41] Generating /tmp/hyprpm/hyprland-laura/protocols/xdg-activation-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/xdg-activation-v1.hpp [31/41] Generating /tmp/hyprpm/hyprland-laura/protocols/ext-idle-notify-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/ext-idle-notify-v1.hpp [32/41] Generating /tmp/hyprpm/hyprland-laura/protocols/ext-session-lock-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/ext-session-lock-v1.hpp [33/41] Generating /tmp/hyprpm/hyprland-laura/protocols/presentation-time.cpp, /tmp/hyprpm/hyprland-laura/protocols/presentation-time.hpp [34/41] Generating /tmp/hyprpm/hyprland-laura/protocols/primary-selection-unstable-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/primary-selection-unstable-v1.hpp [35/41] Generating /tmp/hyprpm/hyprland-laura/protocols/xwayland-shell-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/xwayland-shell-v1.hpp [36/41] Generating /tmp/hyprpm/hyprland-laura/protocols/xdg-shell.cpp, /tmp/hyprpm/hyprland-laura/protocols/xdg-shell.hpp [37/41] Generating /tmp/hyprpm/hyprland-laura/protocols/tablet-v2.cpp, /tmp/hyprpm/hyprland-laura/protocols/tablet-v2.hpp [38/41] Generating /tmp/hyprpm/hyprland-laura/protocols/viewporter.cpp, /tmp/hyprpm/hyprland-laura/protocols/viewporter.hpp [39/41] Generating /tmp/hyprpm/hyprland-laura/protocols/linux-dmabuf-v1.cpp, /tmp/hyprpm/hyprland-laura/protocols/linux-dmabuf-v1.hpp [40/41] Generating /tmp/hyprpm/hyprland-laura/protocols/wayland.cpp, /tmp/hyprpm/hyprland-laura/protocols/wayland.hpp find src -name '*.h*' -print0 | cpio --quiet -0dump /home/laura/.local/share/hyprpm/headersRoot/include/hyprland cd subprojects/wlroots-hyprland/include/wlr && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/laura/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../.. cd subprojects/wlroots-hyprland/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/laura/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../.. /bin/sh: line 1: cd: subprojects/wlroots-hyprland/build/include: No such file or directory make: *** [Makefile:57: installheaders] Error 1 ✖ failed to install headers with error code 2 (Headers missing) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Failed ✖ Headers missing. Please run hyprpm update to fix those. ```
SakuraBlossomTree commented 2 months ago

Anyone got any solution to this

eagerestwolf commented 2 months ago

Can confirm that on Arch Linux, things work as expected using hyprland-git (AUR). My guess is the Arch package is out of date again. For reference, all you need to do is run the following command and Pacman will sort everything out.

  • Yay:
    yay -S hyprland-git
    • Paru:
      paru -S hyprland-git

Also, a reminder to remember to install hyprwayland-scanner-git, base-devel, cpio, and cmake.

SakuraBlossomTree commented 2 months ago

I have installed the programs and the aur package for hyprland-git

Still getting this error

[v] version returned: Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch  on Tue Jun 25 12:06:02 2024, commits 4886

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.
[v] will shallow since: Tue Jun 18 12:06:02 2024

✔ cloned
[v] will run: cd /tmp/hyprpm/hyprland-sakura && git checkout 918d8340afd652b011b937d29d5eea0be08467f5 2>&1
[v] git returned (co): Note: switching to '918d8340afd652b011b937d29d5eea0be08467f5'.

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 918d834 flake.lock: update

[v] git returned (rs): rm 'subprojects/tracy'
Submodule 'subprojects/wlroots-hyprland' (https://github.com/hyprwm/wlroots-hyprland) registered for path 'subprojects/wlroots-hyprland'
Cloning into '/tmp/hyprpm/hyprland-sakura/subprojects/wlroots-hyprland'...
Submodule path 'subprojects/wlroots-hyprland': checked out '422207dbcf0949e28042403edab539159282885e'
HEAD is now at 918d834 flake.lock: update

✔ checked out to running ver
! configuring Hyprland
[v] setting PREFIX for cmake to /home/sakura/.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.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 Python3: /usr/bin/python3.12 (found version "3.12.4") 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;hyprutils>=0.1.5'
--   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 libdrm, version 2.4.122
--   Found libinput, version 1.26.1
--   Found hwdata, version 0.384
--   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.1.5-arch1.1
--   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.1
--   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 (2.6s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-sakura/build

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

✖ failed to install headers with error code 2 (Headers missing)
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed

✖ Headers missing. Please run hyprpm update to fix those.
a-usr commented 2 months ago

I have installed the programs and the aur package for hyprland-git

Still getting this error

When was the last time you updated hyprland?

SakuraBlossomTree commented 2 months ago

Just updated my Arch Linux system

It updated the kernel, headers and also updated hyprland-git aur to the latest git build

And running hyprpm update works fine

rymcol commented 2 months ago

on my system, this doesn't work yet, and some of the packages are listed as cached:

Dependency hyprland-protocols found: YES 0.2 (overridden)
Build-time dependency hyprwayland-scanner found: YES 0.4.0
Program /usr/bin/hyprwayland-scanner found: YES (/usr/bin/hyprwayland-scanner)
Run-time dependency wayland-server found: YES 1.23.0
Run-time dependency aquamarine found: YES 0.2.0
Run-time dependency gbm found: YES 24.1.5-arch1.1
Run-time dependency xcursor found: YES 1.2.2
Dependency wayland-server found: YES 1.23.0 (cached)
Run-time dependency wayland-client found: YES 1.23.0
Run-time dependency cairo found: YES 1.18.0
Run-time dependency hyprcursor found: YES 0.1.9
Run-time dependency hyprlang found: YES 0.5.2
Run-time dependency hyprutils found: YES 0.2.1
Run-time dependency libdrm found: YES 2.4.122
Run-time dependency egl found: YES 1.5
Run-time dependency xkbcommon found: YES 1.7.0
Run-time dependency libinput found: YES 1.26.1
Run-time dependency pixman-1 found: YES 0.43.4
Run-time dependency gl found: YES 1.2
Run-time dependency threads found: YES
Run-time dependency pango found: YES 1.54.0
Run-time dependency pangocairo found: YES 1.54.0
Run-time dependency uuid found: YES 2.40.2
Dependency hyprutils found: YES 0.2.1 (cached)
Dependency hyprutils found: YES 0.2.1 (cached)
Dependency threads found: YES unknown (cached)
Run-time dependency tomlplusplus found: YES 3.4.0
Build targets in project: 48

I deleted the yay cache, which did not affect those, so it's probably missing a cmake flag or something else. If I figured out where that cache is I'll update

vaxerski commented 2 months ago

I think this can be closed with 0.42.0

xlsft commented 2 months ago

yay -Q hyprland

hyprland-git 0.42.0.r0.9a09eac7-1

Still has this issue

hyprpm -s -v -f update

! Using --force, I hope you know what you are doing.
[v] version returned: Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch  on Tue Jun 25 12:06:02 2024, commits 4886

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

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 918d8340 flake.lock: update

[v] git returned (rs): rm 'subprojects/tracy'                                                                 
Submodule 'subprojects/wlroots-hyprland' (https://github.com/hyprwm/wlroots-hyprland) registered for path 'subprojects/wlroots-hyprland'
Cloning into '/tmp/hyprpm/hyprland-workstation/subprojects/wlroots-hyprland'...
Submodule path 'subprojects/wlroots-hyprland': checked out '422207dbcf0949e28042403edab539159282885e'
HEAD is now at 918d8340 flake.lock: update

✔ checked out to running ver                                                                                  
! configuring Hyprland                                                                                        
[v] setting PREFIX for cmake to /home/workstation/.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.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 Python3: /usr/bin/python3.12 (found version "3.12.4") 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;hyprutils>=0.1.5'
--   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 libdrm, version 2.4.122
--   Found libinput, version 1.26.1
--   Found hwdata, version 0.384
--   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.1.5-arch1.1
--   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.1
--   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 (1.5s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-workstation/build

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

✖ failed to install headers with error code 2 (Headers missing)                                               
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed                                            

✖ Headers missing. Please run hyprpm update to fix those.
gulafaran commented 2 months ago

is it some kind of cache in ~/.local/share/hyprpm causing this?

xlsft commented 2 months ago

is it some kind of cache in ~/.local/share/hyprpm causing this?

i dont think so, just removed ~/.local/share/hyprpm and tried updating again, still this error message

gulafaran commented 2 months ago

is it some kind of cache in ~/.local/share/hyprpm causing this?

i dont think so, just removed ~/.local/share/hyprpm and tried updating again, still this error message

because those two find lines have been removed in the repo weeks ago https://github.com/hyprwm/Hyprland/commit/016da234d0e852de3ef20eb2e89ac58d2a85f6e7#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52

gulafaran commented 2 months ago

so what im trying to say is whatever you are running is not being fetched upstream for whatever reason

xlsft commented 2 months ago

im gonna try building it manually now. maybe it help

xlsft commented 2 months ago

ok, i completely nuked hyprland from system and install it again from aur hyprland-git, now it's working, thanks!

SakuraBlossomTree commented 2 months ago

Everyone if you encounter this issue

Just please update to the latest hyprland-git

rymcol commented 2 months ago

I was also able to make it work by re-installing from the repo, but not necessarily AUR