FS#75631 - [gamescope] version 3.11.36-1 has conflicting files with libliftoff
Attached to Project:
Community Packages
Opened by Joonas Henriksson (ooo) - Wednesday, 17 August 2022, 16:56 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 18 August 2022, 09:04 GMT
Opened by Joonas Henriksson (ooo) - Wednesday, 17 August 2022, 16:56 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 18 August 2022, 09:04 GMT
|
Details
Description:
Installing gamescope-3.11.36-1 fails due to conflicting files with libliftoff-0.2.0-2, which itself is a dependency for gamescope. The problem was introduced with gamescope-3.11.36-1 update. $ pacman -S gamescope ... error: failed to commit transaction (conflicting files) /usr/include/libliftoff.h exists in both 'libliftoff' and 'gamescope' /usr/lib/pkgconfig/libliftoff.pc exists in both 'libliftoff' and 'gamescope' Errors occurred, no packages were upgraded. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Thursday, 18 August 2022, 09:04 GMT
Reason for closing: Fixed
Additional comments about closing: 3.11.36-2
Thursday, 18 August 2022, 09:04 GMT
Reason for closing: Fixed
Additional comments about closing: 3.11.36-2
FS#75633Dependency libliftoff found: NO found 0.2.0 but need: '>= 0.3.0' ; matched: '< 0.4.0'
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libliftoff found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libliftoff
Executing subproject libliftoff
libliftoff| Project name: libliftoff
libliftoff| Project version: 0.3.0-dev
Currently libliftoff in Arch is at 0.2.0. So it will not use this dependency, but switches to build it internally as meson subprojects and so include it within the final package.
So to fix this there are 2 options
1. update libliftoff to 0.3.0 -> https://gitlab.freedesktop.org/emersion/libliftoff/-/commit/c4488eeff94f511aa4d93ef93a042e471c1b2705 and rebuild gamescope (recommended)
2. remove the dependency from libliftoff and add it to the conflicts of gamescope
Both will result in a working package