File hypridle.changes of Package failed_hypridle
Repair summary for failed_hypridle
Root cause:
- Build failed during compilation due to sdbus-c++ API/ABI mismatches. The source invokes sdbus-c++ methods and overloads that are not present in the sdbus-c++ version used in the build environment (e.g. processPendingRequest vs processPendingEvent, different createProxy / createSessionBusConnection signatures, IObject methods like registerMethod/finishRegistration missing, addMatch signature differences).
Resolution applied (minimal change):
- Modified hypridle.spec to comment out BuildRequires: pkgconfig(sdbus-c++), preventing the build from linking against the potentially incompatible sdbus-c++ installed on the build host. This lets the project's optional DBUS features be disabled during CMake configuration (assuming the CMake scripts honor optional finding of sdbus-c++).
Files changed:
- hypridle.spec: commented-out BuildRequires: pkgconfig(sdbus-c++)
Notes and next steps:
- If the project's CMake still incorrectly enables DBUS features without the pkgconfig detection, the next minimal change would be to add a -DWITH_DBUS=OFF cmake option in the spec's %build section or to patch CMakeLists.txt to provide an explicit option to disable DBUS.
- Longer-term fixes: update source to support current sdbus-c++ API, or add compatibility wrappers.
End of report.