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

Unable to use hyprpm #4573

Closed
AniAggarwal opened this issue Jan 31, 2024 · 11 comments · Fixed by #4585
Closed

Unable to use hyprpm #4573

AniAggarwal opened this issue Jan 31, 2024 · 11 comments · Fixed by #4585
Labels
bug Something isn't working

Comments

@AniAggarwal
Copy link

Hyprland Version

System/Version info
Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d  (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)

Bug or Regression?

Bug

Description

Running hyprpm update, add, etc. all fail (on hyprland 0.34, not git).
Ex:

hyprpm add https://github.com/hyprwm/hyprland-plugins
terminate called after throwing an instance of 'toml::v3::ex::parse_error'
  what():  File could not be opened for reading
zsh: IOT instruction (core dumped)  hyprpm add https://github.com/hyprwm/hyprland-plugins
hyprpm update       

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                                                                     
 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0 / 5  Cloning the hyprland repo✔ cloned                                                                             
 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0 / 5  Cloning the hyprland repo✔ checked out to running ver                                                         
! configuring Hyprland                                                               
✔ configured Hyprland                                                                
! in order to install the sources, you will need to input your password.             
  If nothing pops up, make sure you have polkit and an authentication daemon running.
✖ failed to install headers with error code 3                                        
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed                   

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

I've tried deleting headers and following some of the other issues opened but none of them seem to help.

How to reproduce

Details above.
Running hyprpm update results in error code 3. Running any other hyprpm command results in a core dump.

Crash reports, logs, images, videos

No relevant crash reports, attached the only .log file I found in /tmp/hypr. LMK if you need anything else.

hyprland.log

@AniAggarwal AniAggarwal added the bug Something isn't working label Jan 31, 2024
@vaxerski
Copy link
Member

vaxerski commented Feb 1, 2024

append -v to hyprpm commands please

@AniAggarwal
Copy link
Author

Oops. Pasted below:

hyprpm -v update                                     
[v] version returned: Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d  (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)


[v] parsed commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d at branch HEAD

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                                                                     
✔ cloned                                                                                                                                                                    
[v] git returned: Your branch is up to date with 'origin/main'.                                                                                                             
HEAD is now at 03ebbe18 props: bump ver to 0.34.0

✔ checked out to running ver                                                                                                                                                
! configuring Hyprland                                                                                                                                                      
✔ configured Hyprland                                                                                                                                                       
! in order to install the sources, you will need to input your password.                                                                                                    
  If nothing pops up, make sure you have polkit and an authentication daemon running.
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing sources[v] pkexec returned: mkdir -p /usr/local/include/hyprland                                     
mkdir -p /usr/local/include/hyprland/protocols
mkdir -p /usr/local/include/hyprland/wlroots
mkdir -p /usr/local/share/pkgconfig
find src -name '*.h*' -print0 | cpio --quiet -0dump /usr/local/include/hyprland
/bin/sh: line 1: cpio: command not found
find: ‘standard output’: Broken pipe
find: write error
make: *** [Makefile:81: installheaders] Error 127

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

✖ Headers corrupted. Please run hyprpm update to fix those.
hyprpm -v reload
[v] version returned: Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d  (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)


[v] parsed commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d at branch HEAD

✖ headers are not up-to-date, please run hyprpm update.
hyprpm -v add https://github.com/hyprwm/hyprland-plugins
terminate called after throwing an instance of 'toml::v3::ex::parse_error'
  what():  File could not be opened for reading
zsh: IOT instruction (core dumped)  hyprpm -v add https://github.com/hyprwm/hyprland-plugins

@vaxerski
Copy link
Member

vaxerski commented Feb 1, 2024

well you can see the issue with headers is definitely that you dont have cpio installed

@AniAggarwal
Copy link
Author

Of course, no idea how I missed that.
Added cpio and below is output:

$ hyprpm -v update                                        
[v] version returned: Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d  (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)


[v] parsed commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d at branch HEAD

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                                                                     
 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0 / 5  Cloning the hyprland repo✔ cloned                                                                             
 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0 / 5  Cloning the hyprland repo[v] git returned: Your branch is up to date with 'origin/main'.                      
HEAD is now at 03ebbe18 props: bump ver to 0.34.0

✔ checked out to running ver                                                         
! configuring Hyprland                                                               
✔ configured Hyprland                                                                
! in order to install the sources, you will need to input your password.             
  If nothing pops up, make sure you have polkit and an authentication daemon running.
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing sources[v] pkexec returned: mkdir -p /usr/local/include/hyprland
mkdir -p /usr/local/include/hyprland/protocols
mkdir -p /usr/local/include/hyprland/wlroots
mkdir -p /usr/local/share/pkgconfig
find src -name '*.h*' -print0 | cpio --quiet -0dump /usr/local/include/hyprland
cd subprojects/wlroots/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /usr/local/include/hyprland/wlroots && cd ../../..
cd subprojects/wlroots/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /usr/local/include/hyprland/wlroots && cd ../../../..
cp ./protocols/*-protocol.h /usr/local/include/hyprland/protocols
cp ./build/hyprland.pc /usr/local/share/pkgconfig
if [ -d /usr/share/pkgconfig ]; then cp ./build/hyprland.pc /usr/share/pkgconfig 2>/dev/null || true; fi
chmod -R 755 /usr/local/include/hyprland
chmod 755 /usr/local/share/pkgconfig

✔ installed headers                                                                  
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Done!                    
terminate called after throwing an instance of 'toml::v3::ex::parse_error'
  what():  File could not be opened for reading
zsh: IOT instruction (core dumped)  hyprpm -v update

$ hyprpm -v update                                        
[v] version returned: Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d  (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)


[v] parsed commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d at branch HEAD

✔ Your headers are already up-to-date.
terminate called after throwing an instance of 'toml::v3::ex::parse_error'
  what():  File could not be opened for reading
zsh: IOT instruction (core dumped)  hyprpm -v update
hyprpm -v add https://github.com/hyprwm/hyprland-plugins
terminate called after throwing an instance of 'toml::v3::ex::parse_error'
  what():  File could not be opened for reading
zsh: IOT instruction (core dumped)  hyprpm -v add https://github.com/hyprwm/hyprland-plugins

@vaxerski
Copy link
Member

vaxerski commented Feb 1, 2024

weird ass question but do you have access to write to ~/.local/share?

@AniAggarwal
Copy link
Author

AniAggarwal commented Feb 1, 2024

Sorry for slow response. I do. My user is ani.

$ stat ~/.local/share
File: /home/ani/.local/share
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 259,3	Inode: 50593810    Links: 26
Access: (0700/drwx------)  Uid: ( 1000/     ani)   Gid: ( 1000/     ani)
Access: 2024-01-31 22:23:20.889740813 -0500
Modify: 2024-01-31 22:20:26.646489982 -0500
Change: 2024-01-31 22:20:26.646489982 -0500
 Birth: 2023-06-05 14:48:19.993340563 -0400

$ ls -l ~/.local/share
drwx------ 26 ani ani 4096 Jan 31 22:20 share

@vaxerski
Copy link
Member

vaxerski commented Feb 1, 2024

#4585 should fix this

@vaxerski vaxerski linked a pull request Feb 1, 2024 that will close this issue
@AniAggarwal
Copy link
Author

I'll wait until its merged in and switch to git to test then update here?

@vaxerski
Copy link
Member

vaxerski commented Feb 1, 2024

si

@AniAggarwal
Copy link
Author

Update seems to work now, but can't add plugins. LMK if I should open a new issue for this:

$ hyprpm -v update
[v] version returned: Hyprland, built from branch main at commit 504ebe1b373726947a44fa2d6a68498d0edb85b6 dirty (box: add missing include).
Date: Fri Feb 2 20:31:52 2024
Tag: v0.34.0-96-g504ebe1b

flags: (if any)


[v] parsed commit 504ebe1b373726947a44fa2d6a68498d0edb85b6 at branch main

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                                                                                                                                                        
✔ cloned                                                                                                                                                                                                                                                       
[v] git returned: Already on 'main'                                                                                                                                                                                                                            
Your branch is up to date with 'origin/main'.
HEAD is now at 504ebe1b box: add missing include

✔ checked out to running ver                                                                                                                                                                                                                                   
! configuring Hyprland                                                                                                                                                                                                                                         
[v] setting PREFIX for cmake to /home/ani/.local/share/hyprpm/headersRoot                                                                                                                                                                                      
[v] cmake returned: Not searching for unused variables given on the command line.                                                                                                                                                                              
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
-- Found Python3: /usr/bin/python3.11 (found version "3.11.6") found components: Interpreter 
Building itab.c/itab.h...
-- Setting up wlroots
-- 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 PkgConfig: /usr/bin/pkg-config (found version "2.1.0") 
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Checking for modules 'wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;libdrm;xkbcommon;libinput;pango;pangocairo;pixman-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.33
--   Found cairo, version 1.18.0
--   Found libdrm, version 2.4.120
--   Found xkbcommon, version 1.6.0
--   Found libinput, version 1.25.0
--   Found pango, version 1.51.0
--   Found pangocairo, version 1.51.0
--   Found pixman-1, version 0.43.2
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Configuration supports execinfo
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - not found
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- Checking for module 'xcb'
--   Found xcb, version 1.16
-- SYSTEMD support is requested (NO_SYSTEMD not defined) checking deps...
-- Looking for systemd/sd-daemon.h
-- Looking for systemd/sd-daemon.h - found
-- Checking for module 'libsystemd'
--   Found libsystemd, version 255
-- Systemd found
-- Setting precompiled headers
-- Setting link libraries
-- Checking for module 'tomlplusplus'
--   Found tomlplusplus, version 3.4.0
-- Configuring done (1.8s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland/build

[v] meson returned: The Meson build system                                                                                                                                                                                                                     
Version: 1.3.1
Source dir: /tmp/hyprpm/hyprland/subprojects/wlroots
Build dir: /tmp/hyprpm/hyprland/subprojects/wlroots/build
Build type: native build
Project name: wlroots
Project version: 0.18.0-dev
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.42.0
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 
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.0
Run-time dependency wayland-server found: YES 1.22.0
Run-time dependency libdrm found: YES 2.4.120
Run-time dependency xkbcommon found: YES 1.6.0
Run-time dependency pixman-1 found: YES 0.43.2
Library m found: YES
Library rt found: YES
Run-time dependency wayland-protocols found: YES 1.33
Build-time dependency wayland-scanner found: YES 1.22.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Has header "linux/dma-buf.h" : YES 
Run-time dependency egl found: YES 1.5
Run-time dependency gbm found: YES 23.3.5-arch1.1
Run-time dependency glesv2 found: YES 3.2
Program ./embed.sh found: YES (/tmp/hyprpm/hyprland/subprojects/wlroots/render/gles2/shaders/./embed.sh)
Dependency pixman-1 found: YES 0.43.2 (cached)
Dependency gbm found: YES 23.3.5-arch1.1 (cached)
Checking for function "gbm_bo_get_fd_for_plane" with dependency gbm: YES 
Run-time dependency libudev found: YES 255
Run-time dependency libseat found: YES 0.8.0
Build-time dependency hwdata found: YES 0.378
Run-time dependency libdisplay-info found: YES 0.1.1
Run-time dependency libliftoff found: YES 0.4.1
Run-time dependency libinput found: YES 1.25.0
Run-time dependency xcb found: YES 1.16
Run-time dependency xcb-dri3 found: YES 1.16
Run-time dependency xcb-present found: YES 1.16
Run-time dependency xcb-render found: YES 1.16
Run-time dependency xcb-renderutil found: YES 0.3.10
Run-time dependency xcb-shm found: YES 1.16
Run-time dependency xcb-xfixes found: YES 1.16
Run-time dependency xcb-xinput found: YES 1.16
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency xwayland found: YES 23.2.4
Dependency xcb found: YES 1.16 (cached)
Run-time dependency xcb-composite found: YES 1.16
Run-time dependency xcb-ewmh found: YES 0.4.2
Run-time dependency xcb-icccm found: YES 0.4.2
Dependency xcb-render found: YES 1.16 (cached)
Run-time dependency xcb-res found: YES 1.16
Dependency xcb-xfixes found: YES 1.16 (cached)
Run-time dependency xcb-errors found: YES 1.0.1
Checking for function "xcb_xfixes_set_client_disconnect_mode" with dependencies xcb, xcb-composite, xcb-ewmh, xcb-icccm, xcb-render, xcb-res, xcb-xfixes, xcb-errors: YES 
Configuring config.h using configuration
Configuring version.h using configuration
Configuring config.h using configuration
Build targets in project: 130

wlroots 0.18.0-dev

    drm-backend     : YES
    x11-backend     : YES
    libinput-backend: YES
    xwayland        : YES
    gles2-renderer  : YES
    vulkan-renderer : NO
    gbm-allocator   : YES
    session         : YES
    xcb-errors      : YES
    egl             : YES
    libliftoff      : YES

  User defined options
    examples        : false
    renderers       : gles2

Found ninja-1.11.1 at /usr/bin/ninja
                                                 
✔ configured Hyprland                                                                                                                                                                                                                                          
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/ani/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland/Makefile && cd /tmp/hyprpm/hyprland && make installheaders                                                               
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing sources[v] installer returned: mkdir -p /home/ani/.local/share/hyprpm/headersRoot/include/hyprland                                                                                      
mkdir -p /home/ani/.local/share/hyprpm/headersRoot/include/hyprland/protocols
mkdir -p /home/ani/.local/share/hyprpm/headersRoot/include/hyprland/wlroots
mkdir -p /home/ani/.local/share/hyprpm/headersRoot/share/pkgconfig
find src -name '*.h*' -print0 | cpio --quiet -0dump /home/ani/.local/share/hyprpm/headersRoot/include/hyprland
cd subprojects/wlroots/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/ani/.local/share/hyprpm/headersRoot/include/hyprland/wlroots && cd ../../..
cd subprojects/wlroots/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/ani/.local/share/hyprpm/headersRoot/include/hyprland/wlroots && cd ../../../..
cp ./protocols/*-protocol.h /home/ani/.local/share/hyprpm/headersRoot/include/hyprland/protocols
cp ./build/hyprland.pc /home/ani/.local/share/hyprpm/headersRoot/share/pkgconfig
if [ -d /usr/share/pkgconfig ]; then cp ./build/hyprland.pc /usr/share/pkgconfig 2>/dev/null || true; fi
chmod -R 755 /home/ani/.local/share/hyprpm/headersRoot/include/hyprland
chmod 755 /home/ani/.local/share/hyprpm/headersRoot/share/pkgconfig

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

✖ No repos to update.
✔ Ensuring plugin load state
✔ Plugin load state ensured

$ hyprpm -v add https://github.com/hyprwm/hyprland-plugins
[v] version returned: Hyprland, built from branch main at commit 504ebe1b373726947a44fa2d6a68498d0edb85b6 dirty (box: add missing include).
Date: Fri Feb 2 20:31:52 2024
Tag: v0.34.0-96-g504ebe1b

flags: (if any)


[v] parsed commit 504ebe1b373726947a44fa2d6a68498d0edb85b6 at branch main
✔ adding a new plugin repository from https://github.com/hyprwm/hyprland-plugins
  MAKE SURE that you trust the authors. DO NOT install random plugins without verifying the code and author.
  Are you sure? [Y/n] y

! old plugin repo build files found in temp directory, removing.                                                                                                                                                                                               
 → Cloning https://github.com/hyprwm/hyprland-plugins                                                                                                                                                                                                          
✔ cloned                                                                                                                                                                                                                                                       
✔ found hyprpm manifest                                                                                                                                                                                                                                        
✔ parsed manifest, found 5 plugins:                                                                                                                                                                                                                            
 → borders-plus-plus by Vaxry version                                                                                                                                                                                                                          
 → csgo-vulkan-fix by Vaxry version                                                                                                                                                                                                                            
 → hyprbars by Vaxry version                                                                                                                                                                                                                                   
 → hyprtrails by Vaxry version                                                                                                                                                                                                                                 
 → hyprwinwrap by Vaxry version                                                                                                                                                                                                                                
 → Manifest has 3 pins, checking                                                                                                                                                                                                                               
✔ Hyprland headers OK                                                                                                                                                                                                                                          
 → Building borders-plus-plus                                                                                                                                                                                                                                  
✖ Plugin borders-plus-plus failed to build.                                                                                                                                                                                                                    

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/new && PKG_CONFIG_PATH="/home/ani/.local/share/hyprpm/headersRoot" make -C borders-plus-plus all                                          
make: Entering directory '/tmp/hyprpm/new/borders-plus-plus'
g++ -shared -fPIC --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2
In file included from /usr/local/include/hyprland/src/defines.hpp:1,
                 from /usr/local/include/hyprland/src/Compositor.hpp:7,
                 from main.cpp:6:
/usr/local/include/hyprland/src/includes.hpp:108:10: fatal error: wlr/util/transform.h: No such file or directory
  108 | #include <wlr/util/transform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/local/include/hyprland/src/defines.hpp:1,
                 from /usr/local/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from borderDeco.hpp:5,
                 from borderDeco.cpp:1:
/usr/local/include/hyprland/src/includes.hpp:108:10: fatal error: wlr/util/transform.h: No such file or directory
  108 | #include <wlr/util/transform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/new/borders-plus-plus'


 → Building csgo-vulkan-fix                                                                                                                                                                                                                                    
✖ Plugin csgo-vulkan-fix failed to build.                                                                                                                                                                                                                      

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/new && PKG_CONFIG_PATH="/home/ani/.local/share/hyprpm/headersRoot" make -C csgo-vulkan-fix all                                            
make: Entering directory '/tmp/hyprpm/new/csgo-vulkan-fix'
g++ -shared -fPIC --no-gnu-unique main.cpp -o csgo-vulkan-fix.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2
In file included from /usr/local/include/hyprland/src/defines.hpp:1,
                 from /usr/local/include/hyprland/src/Compositor.hpp:7,
                 from main.cpp:5:
/usr/local/include/hyprland/src/includes.hpp:108:10: fatal error: wlr/util/transform.h: No such file or directory
  108 | #include <wlr/util/transform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/new/csgo-vulkan-fix'


 → Building hyprbars                                                                                                                                                                                                                                           
✖ Plugin hyprbars failed to build.                                                                                                                                                                                                                             

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/new && PKG_CONFIG_PATH="/home/ani/.local/share/hyprpm/headersRoot" make -C hyprbars all                                                   
make: Entering directory '/tmp/hyprpm/new/hyprbars'
g++ -shared -fPIC --no-gnu-unique -g -std=c++2b -Wno-c++11-narrowing `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server hyprland` main.cpp barDeco.cpp  -o hyprbars.so `pkg-config --libs pangocairo` -O2
In file included from /usr/local/include/hyprland/src/defines.hpp:1,
                 from /usr/local/include/hyprland/src/Compositor.hpp:7,
                 from main.cpp:6:
/usr/local/include/hyprland/src/includes.hpp:108:10: fatal error: wlr/util/transform.h: No such file or directory
  108 | #include <wlr/util/transform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/local/include/hyprland/src/defines.hpp:1,
                 from /usr/local/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from barDeco.hpp:5,
                 from barDeco.cpp:1:
/usr/local/include/hyprland/src/includes.hpp:108:10: fatal error: wlr/util/transform.h: No such file or directory
  108 | #include <wlr/util/transform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:11: hyprbars.so] Error 1
make: Leaving directory '/tmp/hyprpm/new/hyprbars'


 → Building hyprtrails                                                                                                                                                                                                                                         
✖ Plugin hyprtrails failed to build.                                                                                                                                                                                                                           

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/new && PKG_CONFIG_PATH="/home/ani/.local/share/hyprpm/headersRoot" make -C hyprtrails all                                                 
make: Entering directory '/tmp/hyprpm/new/hyprtrails'
g++ -shared -fPIC --no-gnu-unique main.cpp trail.cpp -o hyprtrails.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2
In file included from /usr/local/include/hyprland/src/defines.hpp:1,
                 from /usr/local/include/hyprland/src/Compositor.hpp:7,
                 from main.cpp:6:
/usr/local/include/hyprland/src/includes.hpp:108:10: fatal error: wlr/util/transform.h: No such file or directory
  108 | #include <wlr/util/transform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/local/include/hyprland/src/defines.hpp:1,
                 from /usr/local/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from trail.hpp:7,
                 from trail.cpp:1:
/usr/local/include/hyprland/src/includes.hpp:108:10: fatal error: wlr/util/transform.h: No such file or directory
  108 | #include <wlr/util/transform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/new/hyprtrails'


 → Building hyprwinwrap                                                                                                                                                                                                                                        
✖ Plugin hyprwinwrap failed to build.                                                                                                                                                                                                                          

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/new && PKG_CONFIG_PATH="/home/ani/.local/share/hyprpm/headersRoot" make -C hyprwinwrap all                                                
make: Entering directory '/tmp/hyprpm/new/hyprwinwrap'
g++ -shared -fPIC --no-gnu-unique main.cpp -o hyprwinwrap.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b -O2
In file included from main.cpp:6:
/usr/local/include/hyprland/src/includes.hpp:108:10: fatal error: wlr/util/transform.h: No such file or directory
  108 | #include <wlr/util/transform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/new/hyprwinwrap'


✔ all plugins built                                                                                                                                                                                                                                            
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing repositoryterminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'                                                                                   
  what():  filesystem error: cannot copy file: No such file or directory [/tmp/hyprpm/new/borders-plus-plus/borders-plus-plus.so] [/home/ani/.local/share/hyprpm/hyprland-plugins/borders-plus-plus.so]
zsh: IOT instruction (core dumped)  hyprpm -v add https://github.com/hyprwm/hyprland-plugins

@vaxerski
Copy link
Member

vaxerski commented Feb 3, 2024

should be fixed with above

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

Successfully merging a pull request may close this issue.

2 participants