hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
306 stars 48 forks source link

Can't install xdg-desktop-portal-hyprland-git. #231

Closed Raff932 closed 4 months ago

Raff932 commented 4 months ago
❯ yay -S xdg-desktop-portal-hyprland-git
AUR Explicit (1): xdg-desktop-portal-hyprland-git-1.3.1.r14.g2d2fb547-1
:: PKGBUILD up to date, skipping download: xdg-desktop-portal-hyprland-git
  1 xdg-desktop-portal-hyprland-git  (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  1 xdg-desktop-portal-hyprland-git  (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: xdg-desktop-portal-hyprland-git 1.3.1.r14.g2d2fb547-1 (Tue Jul  2 21:21:08 2024)
==> Retrieving sources...
  -> Updating xdg-desktop-portal-hyprland git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    xdg-desktop-portal-hyprland ... Skipped
:: (1/1) Parsing SRCINFO: xdg-desktop-portal-hyprland-git
==> Making package: xdg-desktop-portal-hyprland-git 1.3.1.r14.g2d2fb547-1 (Tue Jul  2 21:21:10 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating xdg-desktop-portal-hyprland git repo...
==> Validating source files with sha256sums...
    xdg-desktop-portal-hyprland ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of xdg-desktop-portal-hyprland git repo...
Cloning into 'xdg-desktop-portal-hyprland'...
done.
==> Starting prepare()...
Submodule 'hyprland-protocols' (https://github.com/hyprwm/hyprland-protocols) registered for path 'subprojects/hyprland-protocols'
Submodule 'subprojects/sdbus-cpp' (https://github.com/Kistler-Group/sdbus-cpp) registered for path 'subprojects/sdbus-cpp'
Cloning into '/home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/subprojects/hyprland-protocols'...
Cloning into '/home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/subprojects/sdbus-cpp'...
Submodule path 'subprojects/hyprland-protocols': checked out '4d29e48433270a2af06b8bc711ca1fe5109746cd'
Submodule path 'subprojects/sdbus-cpp': checked out '0eda85574546d19d9f06d6d5418bc192b3846f96'
==> Starting pkgver()...
==> Updated version: xdg-desktop-portal-hyprland-git 1.3.2.r1.gc7894aa5-1
==> Sources are ready.
==> Making package: xdg-desktop-portal-hyprland-git 1.3.2.r1.gc7894aa5-1 (Tue Jul  2 21:21:18 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- 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
-- Configuring XDPH in Release with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1")
-- Checking for modules 'wayland-client;wayland-protocols;wayland-scanner;libpipewire-0.3;libspa-0.2;libdrm;gbm;hyprlang>=0.2.0'
--   Found wayland-client, version 1.23.0
--   Found wayland-protocols, version 1.36
--   Found wayland-scanner, version 1.23.0
--   Found libpipewire-0.3, version 1.2.0
--   Found libspa-0.2, version 0.2
--   Found libdrm, version 2.4.122
--   Found gbm, version 24.1.2-arch1.1
--   Found hyprlang, version 0.5.2
-- Checking for module 'sdbus-c++'
--   Found sdbus-c++, version 1.5.0
-- Checking for module 'hyprland-protocols'
--   Found hyprland-protocols, version 0.2
-- Found WaylandScanner at /usr/bin/wayland-scanner
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Configuring done (2.4s)
-- Generating done (0.1s)
-- Build files have been written to: /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/build
[  2%] Generating /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/protocols/wlr-screencopy-unstable-v1-protocol.h
[  5%] Generating /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/protocols/hyprland-global-shortcuts-v1-protocol.c
[  8%] Generating /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/protocols/hyprland-global-shortcuts-v1-protocol.h
[ 11%] Generating /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/protocols/hyprland-toplevel-export-v1-protocol.c
[ 14%] Generating /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/protocols/hyprland-toplevel-export-v1-protocol.h
[ 17%] Generating /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/protocols/linux-dmabuf-unstable-v1-protocol.c
[ 20%] Generating /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/protocols/linux-dmabuf-unstable-v1-protocol.h
[ 23%] Generating /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/protocols/wlr-foreign-toplevel-management-unstable-v1-protocol.c
[ 26%] Generating /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/protocols/wlr-foreign-toplevel-management-unstable-v1-protocol.h
[ 29%] Generating /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/protocols/wlr-screencopy-unstable-v1-protocol.c
[ 32%] Building CXX object CMakeFiles/xdg-desktop-portal-hyprland.dir/src/core/PortalManager.cpp.o
In file included from /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/src/core/../portals/Screencopy.hpp:6,
                 from /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/src/core/PortalManager.hpp:8,
                 from /home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/src/core/PortalManager.cpp:1:
/usr/include/spa-0.2/spa/pod/dynamic.h: In function ‘void spa_pod_dynamic_builder_init(spa_pod_dynamic_builder*, void*, uint32_t, uint32_t)’:
/home/raff/.cache/yay/xdg-desktop-portal-hyprland-git/src/xdg-desktop-portal-hyprland/src/core/../portals/../shared/ScreencopyShared.hpp:9:43: error: expected primary-expression before ‘.’ token
    9 | #define SPA_VERSION_POD_BUILDER_CALLBACKS .version = 0
      |                                           ^
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-address-of-temporary’ may have been intended to silence earlier diagnostics
make[2]: *** [CMakeFiles/xdg-desktop-portal-hyprland.dir/build.make:116: CMakeFiles/xdg-desktop-portal-hyprland.dir/src/core/PortalManager.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:102: CMakeFiles/xdg-desktop-portal-hyprland.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: xdg-desktop-portal-hyprland-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
xdg-desktop-portal-hyprland-git - exit status 4
vaxerski commented 4 months ago

227