Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All plugins fail to build on latest git #8183

Open
1 task done
DockterTeagle opened this issue Oct 20, 2024 · 2 comments
Open
1 task done

All plugins fail to build on latest git #8183

DockterTeagle opened this issue Oct 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@DockterTeagle
Copy link

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Yes

System Info and Version

System/Version info
Hyprland 0.44.0 built from branch  at commit 0e630e9e74ad34683194a07cfe6afe55a2c0685f  ().
Date: 2024-10-17
Tag: , commits: 5352
built against aquamarine 0.4.3


flags set:
debug


System Information:
System name: Linux
Node name: nixos
Release: 6.11.4
Version: #1-NixOS SMP PREEMPT_DYNAMIC Thu Oct 17 13:27:02 UTC 2024


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-H GT2 [UHD Graphics] [8086:9bc4] (rev 05) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] [10de:1f15] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16 21:39:15 UTC 2024


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20241018.4c2fcb0"
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:
  borders-plus-plus by Vaxry ver 1.0
  hy3 by outfoxxed ver 0.1
  hyprbars by Vaxry ver 1.0

======Config-Start======


Config File: /home/cdockter/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/ldpr2fzzk97pzml87z7lmvhqg7pp65lf-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/4h096bxy34c18qhfnlq8vq0pd3bwmd42-borders-plus-plus-0.1/lib/libborders-plus-plus.so
plugin=/nix/store/rxnlrq62v2ilqxk8lzgvay8mvfsb8da9-hy3-hl0.44.0/lib/libhy3.so
plugin=/nix/store/ysf988rbzdp06n8q4lhcqblg3qmcvhav-hyprbars-0.1/lib/libhyprbars.so
$mainMod=SUPER_L
$terminal=kitty
animations {
  enabled=true
}

decoration {
  blur {
    contrast=1.000000
    enabled=1
    ignore_opacity=1
    new_optimizations=1
    noise=0.030000
    passes=4
    size=4
    xray=1
  }
  dim_inactive=true
  dim_strength=0.100000
  drop_shadow=1
  rounding=0
  shadow_offset=0 0
  shadow_range=20
  shadow_render_power=2
}

dwindle {
  preserve_split=yes
  pseudotile=yes
}

gestures {
  workspace_swipe=off
}

input {
  touchpad {
    disable_while_typing=true
    natural_scroll=yes
  }
  follow_mouse=1
  kb_layout=us
  kb_model=
  kb_options=
  kb_rules=
  kb_variant=
  monitor=eDP-1, 1920x1080@144 , 0x0, 1
  monitor=HDMI-A-1, 3840x2160, 1920x0, 1.50
  numlock_by_default=true
  sensitivity=0
}

plugin {
}
bind=,XF86AudioMicMute,exec,wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bind=,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind=,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+
bind=,XF86AudioLowerVolume,exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-
bind=,XF86MonBrightnessDown,exec,brightnessctl s 5%-
bind=,XF86MonBrightnessUp,exec,brightnessctl s +5%
bind=,Print,exec,grimblast save screen |wl-copy -t image/png
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 , F, fullscreen
bind=$mainMod,l,exec,hyprctl dispatch exit
bind=$mainMod_SHIFT,l,exec,hyprlock
bind=$mainMod,q,exec,$terminal
bind=$mainMod_SHIFT,s,exec,hyprshot -m region
bind=$mainMod SHIFT,F,fullscreen, 1
bind=$mainMod,D,exec,discord --enable-features=UseOzonePlatform --ozone-platform=wayland
bind=$mainMod,c,killactive,
bind=$mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
bindm=$mainMod, mouse:272, movewindow
bindm=$mainMod, mouse:273, resizewindow
bindr=SUPER_L,$mainMod,exec,rofi -show run
env=SLURP_ARGS,-d -b -B F050F022 -b 10101022 -c ff00ff
exec-once=hypridle
exec-once=hyprctl setcursor Bibata-Modern-Ice 24
exec-once=wl-paste --type text --watch cliphist store
exec-once=wl-paste --type image --watch cliphist store
exec-once=hyprpaper 
exec-once=steam
exec-once=$terminal
exec-once=discord
exec-once=firefox
windowrulev2=idleinhibit focus, class:^steam_app_.*$

======Config-End========

Description

upon trying to build latest git, I get met with something along these lines, no mater what plugin I use:

ind=$mainMod_SHIFT,l,exec,hyprlock
bind=$mainMod,q,exec,$terminal
bind=$mainMod_SHIFT,s,exec,hyprshot -m region
bind=$mainMod SHIFT,F,fullscreen, 1
bind=$mainMod,D,exec,discord --enable-features=UseOzonePlatform --ozone-platform=wayland
/build/ms27axnsmfdan6ff96qwy46wld1mmk88-source/src/Hy3Layout.cpp:1064:88: note:   mismatched types 'auto*' and 'Hyprutils::Memory::CSharedPointer<CMonitor>'
 1064 |                 auto* monitor = g_pCompositor->getMonitorFromID(workspace->m_iMonitorID);
      |                                                                                        ^
/build/ms27axnsmfdan6ff96qwy46wld1mmk88-source/src/Hy3Layout.cpp: In member function 'void Hy3Layout::applyNodeDataToWindow(Hy3Node*, bool)':
/build/ms27axnsmfdan6ff96qwy46wld1mmk88-source/src/Hy3Layout.cpp:1557:58: error: cannot convert 'PHLMONITOR' {aka 'Hyprutils::Memory::CSharedPointer<CMonitor>'} to 'CMonitor*' in assignment
 1557 |                 monitor = g_pCompositor->getMonitorFromID(node->workspace->m_iMonitorID);
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                          |
      |                                                          PHLMONITOR {aka Hyprutils::Memory::CSharedPointer<CMonitor>}
/build/ms27axnsmfdan6ff96qwy46wld1mmk88-source/src/Hy3Layout.cpp: In member function 'bool Hy3Layout::shouldRenderSelected(const PHLWINDOW&)':
/build/ms27axnsmfdan6ff96qwy46wld1mmk88-source/src/Hy3Layout.cpp:1438:1: warning: control reaches end of non-void function [-Wreturn-type]
 1438 | }
      | ^
[4/7] Building CXX object CMakeFiles/hy3.dir/src/main.cpp.o
[5/7] Building CXX object CMakeFiles/hy3.dir/src/SelectionHook.cpp.o
[6/7] Building CXX object CMakeFiles/hy3.dir/src/dispatchers.cpp.o

I am on nixos

How to reproduce

try to build one of either hyprbars, hy3, or borders plus plus on latest git and an error similar to this will appear.(I can give the errors for each plugin separately) This appears only on the latest git

Crash reports, logs, images, videos

No response

@DockterTeagle DockterTeagle added the bug Something isn't working label Oct 20, 2024
@DockterTeagle
Copy link
Author

hy3:
logs.txt

hyprbars:

loghyprbars.txt
borders-plus-plus:
borders-plus-plus.txt

@zakk4223
Copy link
Contributor

Yeah, there was a breaking change made to Hyprland. Plugin authors will need to update (...damnit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants