Source: xdg-desktop-portal-hyprland
Version: 1.3.3-1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: z...@debian.org


sdbus-cpp 2.0.0 has been uploaded to experimental, your package FTBFS with that.

/<<PKGBUILDDIR>>/src/portals/Screencopy.cpp: In member function ‘void 
CScreencopyPortal::onSelectSources(sdbus::MethodCall&)’:
/<<PKGBUILDDIR>>/src/portals/Screencopy.cpp:344:88: error: no matching function 
for call to ‘sdbus::Error::Error(<brace-enclosed initializer list>)’
  344 |         auto reply = call.createErrorReply(sdbus::Error{"NOSESSION", 
"No session found"});
      |                                                                         
               ^
In file included from /usr/include/sdbus-c++/TypeTraits.h:30,
                 from /usr/include/sdbus-c++/IConnection.h:30,
                 from /usr/include/sdbus-c++/sdbus-c++.h:27,
                 from /<<PKGBUILDDIR>>/src/portals/Screencopy.hpp:5,
                 from /<<PKGBUILDDIR>>/src/portals/Screencopy.cpp:1:
/usr/include/sdbus-c++/Error.h:66:9: note: candidate: 
‘sdbus::Error::Error(Name, std::string)’
   66 |         Error(Name name, std::string message)
      |         ^~~~~
/usr/include/sdbus-c++/Error.h:66:20: note:   no known conversion for argument 
1 from ‘const char [10]’ to ‘sdbus::Error::Name’
   66 |         Error(Name name, std::string message)
      |               ~~~~~^~~~
/usr/include/sdbus-c++/Error.h:61:18: note: candidate: 
‘sdbus::Error::Error(Name, const char*)’
   61 |         explicit Error(Name name, const char* message = nullptr)
      |                  ^~~~~


Upstream switches to sdbus-cpp 2.0.0 in 1.3.7, see
https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/5c72a7fea1e5375e16cc16c43159922bccf1159e


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to