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.14k stars 885 forks source link

Hyprland not compiling (requiring hyprutils 0.2.3 but found 0.2.1) #8022

Closed fredcamaral closed 2 weeks ago

fredcamaral commented 2 weeks ago

Already reported ? *

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 4e41cda27ed4176005082436cb35878335e63fae (). Date: 2024-10-06 Tag: , commits: 5301 built against aquamarine 0.4.1 flags: (if any) System Information: System name: Linux Node name: lorinand Release: 6.11.1 Version: #1-NixOS SMP PREEMPT_DYNAMIC Mon Sep 30 14:31:09 UTC 2024 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.11.20241004.bc947f5" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.11 (Vicuna)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.11 (Vicuna)" VERSION_CODENAME=vicuna VERSION_ID="24.11" plugins: hy3 by outfoxxed ver 0.1 ======Config-Start====== Config File: /home/fredamaral/.config/hypr/hyprland.conf: Read Succeeded exec-once = /nix/store/4a86f7kq7757fjwf5zzwk0jxixn4330n-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target plugin=/nix/store/d6clp42qz7dhb5xxlp4v9s37q0ahkl57-hy3-hl0.44.0/lib/libhy3.so animations { bezier=fluent_decel, 0, 0.2, 0.4, 1 bezier=easeOutCirc, 0, 0.55, 0.45, 1 bezier=easeOutCubic, 0.33, 1, 0.68, 1 bezier=easeinoutsine, 0.37, 0, 0.63, 1 animation=windowsIn, 1, 3, easeOutCubic, popin 30% animation=windowsOut, 1, 3, fluent_decel, popin 70% animation=windowsMove, 1, 2, easeinoutsine, slide animation=fadeIn, 1, 3, easeOutCubic animation=fadeOut, 1, 2, easeOutCubic animation=fadeSwitch, 0, 1, easeOutCirc animation=fadeShadow, 1, 10, easeOutCirc animation=fadeDim, 1, 4, fluent_decel animation=border, 1, 2.7, easeOutCirc animation=borderangle, 1, 30, fluent_decel, once animation=workspaces, 1, 4, easeOutCubic, fade enabled=true } decoration { blur { brightness=1 contrast=1.400000 enabled=true ignore_opacity=true new_optimizations=true noise=0 passes=2 size=2 xray=true } col.shadow=rgba(00000099) drop_shadow=true rounding=0 shadow_ignore_window=true shadow_offset=0 2 shadow_range=20 shadow_render_power=3 } dwindle { force_split=0 no_gaps_when_only=true preserve_split=yes pseudotile=yes special_scale_factor=1.000000 split_width_multiplier=1.000000 use_active_for_splits=true } general { $mainMod=SUPER border_part_of_window=false border_size=3 col.active_border=rgb(6fb3d2) col.inactive_border=rgb(b0b0b0) gaps_in=1 gaps_out=1 layout=hy3 no_border_on_floating=false } group { groupbar { col.active=rgb(6fb3d2) col.inactive=rgb(b0b0b0) text_color=rgb(e0e0e0) } col.border_active=rgb(6fb3d2) col.border_inactive=rgb(b0b0b0) col.border_locked_active=rgb(76c7b7) } input { touchpad { natural_scroll=true } float_switch_override_focus=0 follow_mouse=1 kb_layout=us mouse_refocus=0 numlock_by_default=true sensitivity=0 } master { new_status=master no_gaps_when_only=false special_scale_factor=1 } misc { always_follow_on_dnd=true animate_manual_resizes=false background_color=rgb(000000) disable_autoreload=true disable_hyprland_logo=true enable_swallow=true focus_on_activate=true layers_hog_keyboard_focus=true middle_click_paste=false new_window_takes_over_fullscreen=2 } bind=$mainMod, F1, exec, show-keybinds bind=$mainMod, Return, exec, kitty bind=ALT, Return, exec, kitty --title float_kitty bind=$mainMod SHIFT, Return, exec, kitty --start-as=fullscreen -o 'font_size=16' bind=$mainMod, B, exec, hyprctl dispatch exec '[workspace 1 silent] floorp' bind=$mainMod, Q, killactive, bind=$mainMod, F, fullscreen, 0 bind=$mainMod SHIFT, F, fullscreen, 1 bind=$mainMod, Space, exec, rofi -show drun || pkill rofi bind=$mainMod, L, exec, hyprlock bind=$mainMod, Escape, exec, power-menu bind=$mainMod, P, pseudo, bind=$mainMod, J, togglesplit, bind=$mainMod, T, exec, toggle_oppacity bind=$mainMod, E, exec, nautilus bind=$mainMod SHIFT, B, exec, toggle_waybar bind=$mainMod, C, exec, hyprpicker -a bind=$mainMod, W, exec, wallpaper-picker bind=$mainMod, N, exec, swaync-client -t -sw bind=$mainMod SHIFT, W, exec, vm-start bind=$mainMod, Print, exec, grimblast --notify --cursor --freeze save area ~/Pictures/$(date +'%Y-%m-%d-At-%Ih%Mm%Ss').png bind=,Print, exec, grimblast --notify --cursor --freeze copy area bind=$mainMod, left, movefocus, l bind=$mainMod, right, movefocus, r bind=$mainMod, up, movefocus, u bind=$mainMod, down, movefocus, d 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 bind=$mainMod SHIFT, 1, movetoworkspacesilent, 1 bind=$mainMod SHIFT, 2, movetoworkspacesilent, 2 bind=$mainMod SHIFT, 3, movetoworkspacesilent, 3 bind=$mainMod SHIFT, 4, movetoworkspacesilent, 4 bind=$mainMod SHIFT, 5, movetoworkspacesilent, 5 bind=$mainMod SHIFT, 6, movetoworkspacesilent, 6 bind=$mainMod SHIFT, 7, movetoworkspacesilent, 7 bind=$mainMod SHIFT, 8, movetoworkspacesilent, 8 bind=$mainMod SHIFT, 9, movetoworkspacesilent, 9 bind=$mainMod SHIFT, 0, movetoworkspacesilent, 10 bind=$mainMod CTRL, c, movetoworkspace, empty bind=$mainMod SHIFT, left, movewindow, l bind=$mainMod SHIFT, right, movewindow, r bind=$mainMod SHIFT, up, movewindow, u bind=$mainMod SHIFT, down, movewindow, d bind=$mainMod CTRL, left, resizeactive, -80 0 bind=$mainMod CTRL, right, resizeactive, 80 0 bind=$mainMod CTRL, up, resizeactive, 0 -80 bind=$mainMod CTRL, down, resizeactive, 0 80 bind=$mainMod ALT, left, moveactive, -80 0 bind=$mainMod ALT, right, moveactive, 80 0 bind=$mainMod ALT, up, moveactive, 0 -80 bind=$mainMod ALT, down, moveactive, 0 80 bind=,XF86AudioMute,exec, pamixer -t bind=,XF86AudioPlay,exec, playerctl play-pause bind=,XF86AudioNext,exec, playerctl next bind=,XF86AudioPrev,exec, playerctl previous bind=,XF86AudioStop, exec, playerctl stop bind=,XF86MonBrightnessUp, exec, brightnessctl set 2%+ bind=,XF86MonBrightnessDown, exec, brightnessctl set 2%- bind=$mainMod, mouse_down, workspace, e-1 bind=$mainMod, mouse_up, workspace, e+1 bind=$mainMod, V, exec, clipman pick -t rofi binde=,XF86AudioRaiseVolume,exec, pamixer -i 2 binde=,XF86AudioLowerVolume,exec, pamixer -d 2 bindl=,XF86MonBrightnessUp, exec, brightnessctl set 2%+ bindl=,XF86MonBrightnessDown, exec, brightnessctl set 2%- bindl=$mainMod, XF86MonBrightnessUp, exec, brightnessctl set 100%+ bindl=$mainMod, XF86MonBrightnessDown, exec, brightnessctl set 100%- bindm=$mainMod, mouse:272, movewindow bindm=$mainMod, mouse:273, resizewindow exec-once=systemctl --user import-environment & exec-once=hash dbus-update-activation-environment 2>/dev/null & exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP & exec-once=nm-applet & exec-once=wl-paste -t text --watch clipman store exec-once=poweralertd & exec-once=waybar & exec-once=swaync & exec-once=hyprlock windowrule=float,qView windowrule=center,qView windowrule=size 1200 725,qView windowrule=float,imv windowrule=center,imv windowrule=size 1200 725,imv windowrule=float,mpv windowrule=center,mpv windowrule=tile,Aseprite windowrule=size 1200 725,mpv windowrule=float,title:^(float_kitty)$ windowrule=center,title:^(float_kitty)$ windowrule=size 950 600,title:^(float_kitty)$ windowrule=float,audacious windowrule=pin,rofi windowrule=tile, neovide windowrule=idleinhibit focus,mpv windowrule=float,udiskie windowrule=float,title:^(Transmission)$ windowrule=float,title:^(Volume Control)$ windowrule=float,title:^(Firefox — Sharing Indicator)$ windowrule=move 0 0,title:^(Firefox — Sharing Indicator)$ windowrule=size 700 450,title:^(Volume Control)$ windowrule=move 40 55%,title:^(Volume Control)$ windowrulev2=float, title:^(Picture-in-Picture)$ windowrulev2=opacity 1.0 override 1.0 override, title:^(Picture-in-Picture)$ windowrulev2=pin, title:^(Picture-in-Picture)$ windowrulev2=opacity 1.0 override 1.0 override, title:^(.*imv.*)$ windowrulev2=opacity 1.0 override 1.0 override, title:^(.*mpv.*)$ windowrulev2=opacity 1.0 override 1.0 override, class:(Aseprite) windowrulev2=opacity 1.0 override 1.0 override, class:(Unity) windowrulev2=opacity 1.0 override 1.0 override, class:(floorp) windowrulev2=opacity 1.0 override 1.0 override, class:(evince) windowrulev2=workspace 1, class:^(floorp)$ windowrulev2=workspace 4, class:^(discord)$ windowrulev2=workspace 4, class:^(Gimp-2.10)$ windowrulev2=workspace 4, class:^(Aseprite)$ windowrulev2=workspace 5, class:^(Audacious)$ windowrulev2=workspace 5, class:^(Spotify)$ windowrulev2=idleinhibit focus, class:^(mpv)$ windowrulev2=idleinhibit fullscreen, class:^(firefox)$ windowrulev2=float,class:^(zenity)$ windowrulev2=center,class:^(zenity)$ windowrulev2=size 850 500,class:^(zenity)$ windowrulev2=float,class:^(org.gnome.FileRoller)$ windowrulev2=center,class:^(org.gnome.FileRoller)$ windowrulev2=size 850 500,class:^(org.gnome.FileRoller)$ windowrulev2=size 850 500,title:^(File Upload)$ windowrulev2=float,class:^(pavucontrol)$ windowrulev2=float,class:^(SoundWireServer)$ windowrulev2=float,class:^(.sameboy-wrapped)$ windowrulev2=float,class:^(file_progress)$ windowrulev2=float,class:^(confirm)$ windowrulev2=float,class:^(dialog)$ windowrulev2=float,class:^(download)$ windowrulev2=float,class:^(notification)$ windowrulev2=float,class:^(error)$ windowrulev2=float,class:^(confirmreset)$ windowrulev2=float,title:^(Open File)$ windowrulev2=float,title:^(File Upload)$ windowrulev2=float,title:^(branchdialog)$ windowrulev2=float,title:^(Confirm to replace files)$ windowrulev2=float,title:^(File Operation Progress)$ windowrulev2=opacity 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2=noanim,class:^(xwaylandvideobridge)$ windowrulev2=noinitialfocus,class:^(xwaylandvideobridge)$ windowrulev2=maxsize 1 1,class:^(xwaylandvideobridge)$ windowrulev2=noblur,class:^(xwaylandvideobridge)$ monitor=eDP-1,3840x2400@60,0x0,2 monitor=DP-7,5120x1440@60,-5120x0,1 monitor=Unknown-1,disabled # monitor=DP-2,2560x1440@59.95,2560x0,1 # monitor=DP-3,2560x1440@59.95,0x0,1 workspace=1,monitor:eDP-1 workspace=2,monitor:DP-7 workspace=3,monitor:DP-7 workspace=4,monitor:DP-7 workspace=5,monitor:DP-7 workspace=6,monitor:DP-7 xwayland { force_zero_scaling = false } ======Config-End======== ```

Description

error: builder for '/nix/store/wwdklc731lpdgixw04hc54m329vy03hg-hyprland-0.44.0+date=2024-10-07_a364df4.drv' failed with exit code 1; last 10 log lines:

Run-time dependency wayland-client found: YES 1.23.1 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 Dependency hyprutils found: NO. Found 0.2.1 but need: '>= 0.2.3' Run-time dependency hyprutils found: NO

src/meson.build:19:4: ERROR: Dependency lookup for hyprutils with method 'pkgconfig' failed: Invalid version, need 'hyprutils' ['>= 0.2.3'] found '0.2.1'.

A full log can be found at /build/source/build/meson-logs/meson-log.txt For full logs, run 'nix log /nix/store/wwdklc731lpdgixw04hc54m329vy03hg-hyprland-0.44.0+date=2024-10-07_a364df4.drv'. error: 1 dependencies of derivation '/nix/store/mky69wlhk4jlvrsqxkw72n4cwc5vfgsb-activation-script.drv' failed to build error: 1 dependencies of derivation '/nix/store/1k7vinivdr5l25srf44dkkxf9ivbmpjz-home-manager-path.drv' failed to build error: 1 dependencies of derivation '/nix/store/9l23p159fb44b686z96wiyjzxn9mv6x1-home-manager-generation.drv' failed to build

How to reproduce

my flake.nix:

{
  description = "###";
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    home-manager.url = "github:nix-community/home-manager";

    hyprland = {
      url = "github:hyprwm/hyprland";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    hypr-contrib.url = "github:hyprwm/contrib";
    hyprpicker.url = "github:hyprwm/hyprpicker";
    hy3.url = "github:outfoxxed/hy3?ref=hl0.43.0";

    alejandra.url = "github:kamadorueda/alejandra";
    agenix.url = "github:ryantm/agenix";
    stylix.url = "github:danth/stylix";
    nixos-hardware.url = "github:NixOS/nixos-hardware/master";
    zen-browser.url = "github:MarceColl/zen-browser-flake";
    nixvim.url = "github:mikaelfangel/nixvim-config";
  };

  outputs = inputs @ {
    self,
    nixpkgs,
    home-manager,
    ...
  }: let
    username = "fredamaral";
    mkSystem = import ./lib/mksystem.nix;
    mkHome = import ./lib/mkhome.nix;
    system = "x86_64-linux";
    pkgs = import nixpkgs {
      inherit system;
      config.allowUnfree = true;
    };
  in {
    formatter.${system} = pkgs.alejandra;

    nixosConfigurations = {
      lothlorien = mkSystem {
        inherit system pkgs inputs username;
        hostModule = ./hosts/lothlorien;
        extraModules = [];
      };

      lorinand = mkSystem {
        inherit system pkgs inputs username;
        hostModule = ./hosts/lorinand;
        extraModules = [
          inputs.nixos-hardware.nixosModules.lenovo-thinkpad-p1
          inputs.nixos-hardware.nixosModules.common-hidpi
        ];
      };

      beleriand = mkSystem {
        inherit system pkgs inputs username;
        hostModule = ./hosts/beleriand;
        extraModules = [];
      };
    };

    homeConfigurations =
      builtins.mapAttrs
      (hostname: nixosConfig:
        mkHome {
          pkgs = nixosConfig.pkgs;
          inherit inputs username;
          host = hostname;
        })
      self.nixosConfigurations
      // {
        "${username}" = mkHome {
          inherit pkgs inputs username;
          host = "lorinand";
        };
      };
  };
}

Crash reports, logs, images, videos

`` Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/xkix0scs2gsxkk4whl3k4bcr9s1fqsck-source source root is source Running phase: patchPhase @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: updateAutotoolsGnuConfigScriptsPhase @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } Running phase: configurePhase @nix { "action": "setPhase", "phase": "configurePhase" } mesonConfigurePhase flags: --prefix=/nix/store/gbr01rfz6vsij2xnfmczkg0442pkchld-hyprland-0.44.0+date=2024-10-07_a364df4 --libdi r=/nix/store/gbr01rfz6vsij2xnfmczkg0442pkchld-hyprland-0.44.0+date=2024-10-07_a364df4/lib --libexecdir=/nix/store/gbr01rfz6vsij2xnfmczkg0442pkchld-hyprland-0.44.0+date=2024-10-07_a364df4/libexec --bindir=/nix/store/gbr01rfz6vsij2xnfmczkg0442pkchld-hyprland-0.44.0+date=2024-10-07_a364df4/bin --sbindir=/nix/store/gbr01rfz6vsij2xnfmczkg0442pkchld-hyprland-0.44.0+date=2024-10-07_a364df4/sbin --includedir=/nix/store/jsxll6fyk91731253yd11dyzp764a00z-hyprland-0.44.0+date=2024-10-07_a364df4-dev/include --mandir=/nix/store/dbf2vblr11irqaaf5z8wrxdy0zq6izwr-hyprland-0.44.0+date=2024-10-07_a364df4-man/share/man --infodir=/nix/store/gbr01rfz6vsij2xnfmczkg0442pkchld-hyprland-0.44.0+date=2024-10-07_a364df4/share/info --localedir=/nix/store/gbr01rfz6vsij2xnfmczkg0442pkchld-hyprland-0.44.0+date=2024-10-07_a364df4/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=release -Dlegacy_renderer=disabled -Dsystemd=enabled -Dxwayland=enabled -Db_pch=false -Dtracy_enable=false The Meson build system Version: 1.5.1 Source dir: /build/source Build dir: /build/source/build Build type: native build Project name: Hyprland Project version: 0.44.0 C compiler for the host machine: gcc (gcc 14.2.0 "gcc (GCC) 14.2.0") C linker for the host machine: gcc ld.mold 2.34.0 C++ compiler for the host machine: g++ (gcc 14.2.0 "g++ (GCC) 14.2.0") C++ linker for the host machine: g++ ld.mold 2.34.0 Host machine cpu family: x86_64 Host machine cpu: x86_64 Check usable header "execinfo.h" : YES Found pkg-config: YES (/nix/store/02vzklfgfpaf457rq927fq3jj5hn133f-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency aquamarine found: YES 0.3.3 Run-time dependency xcb found: YES 1.17.0 Run-time dependency xcb-composite found: YES 1.17.0 Run-time dependency xcb-errors found: YES 1.0.1 Run-time dependency xcb-icccm found: YES 0.4.2 Run-time dependency xcb-render found: YES 1.17.0 Run-time dependency xcb-res found: YES 1.17.0 Run-time dependency xcb-xfixes found: YES 1.17.0 Run-time dependency gio-2.0 found: YES 2.80.4 Library execinfo found: NO Did not find CMake 'cmake' Found CMake: NO Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake) Run-time dependency tracy found: NO (tried pkgconfig and cmake) Run-time dependency wayland-protocols found: YES 1.36 Run-time dependency hyprland-protocols found: YES 0.3.0 Build-time dependency hyprwayland-scanner found: YES 0.4.0 Program /nix/store/zrkvxfqhgrqbhxnydh7h43bcxh67kv77-hyprwayland-scanner-0.4.0+date=2024-07-18_a048a6c/bin/hyprwayland-scanner found: YES (/nix/store/zrkvxfqhgrqbhxnydh7h43bcxh67kv77-hyprwayland-scanner-0.4.0+date=2024-07-18_a048a6c/bin/hyprwayland-scanner) Run-time dependency wayland-scanner found: YES 1.23.1 Run-time dependency gbm found: YES 24.2.2 Run-time dependency xcursor found: YES 1.2.2 Run-time dependency wayland-server found: YES 1.23.1 Run-time dependency gbm found: YES 24.2.2 Run-time dependency xcursor found: YES 1.2.2 Run-time dependency wayland-server found: YES 1.23.1 Run-time dependency wayland-client found: YES 1.23.1 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 Dependency hyprutils found: NO. Found 0.2.1 but need: '>= 0.2.3' Run-time dependency hyprutils found: NO

src/meson.build:19:4: ERROR: Dependency lookup for hyprutils with method 'pkgconfig' failed: Invalid version, need 'hyprutils' ['>= 0.2.3'] found '0.2.1'. ``

vaxerski commented 2 weeks ago

update the dependency then instead of opening an issue while providing the solution yourself