Package: src:pysdl2
Version: 0.9.16+dfsg-1
Severity: serious
Tags: ftbfs patch
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
Install main build dependencies (apt-based resolver)
----------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sbuild-build-depends-main-dummy : Depends: libgl1-mesa-glx but it is not
installable
E: Unable to correct problems, you have held broken packages.
apt-get failed.
E: Package installation failed
Not removing build depends: cloned chroot in use
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202406/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Note: This happens because the build depends has "libgl1-mesa-glx | libgl1".
When using a virtual package, there must be a real package first.
The attached first patch fixes this by reversing the order.
However, this is a good time to review such line. Does libgl1-mesa-glx
still make sense in trixie/sid? If not, then the second suggested patch
would be more appropriate.
Thanks.
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends:
dia,
dh-python,
libgl1-mesa-dri,
- libgl1-mesa-glx | libgl1,
+ libgl1 | libgl1-mesa-glx,
libsdl2-2.0-0,
libsdl2-gfx-1.0-0,
libsdl2-image-2.0-0,
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends:
dia,
dh-python,
libgl1-mesa-dri,
- libgl1-mesa-glx | libgl1,
+ libgl1,
libsdl2-2.0-0,
libsdl2-gfx-1.0-0,
libsdl2-image-2.0-0,