Your message dated Mon, 30 May 2022 16:34:38 +0000
with message-id <[email protected]>
and subject line Bug#1012088: fixed in libsdl2 2.0.22+dfsg-4
has caused the Debian Bug report #1012088,
regarding libsdl2-dev is possibly missing dependencies
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1012088: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012088
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsdl2-dev
Version: 2.0.20+dfsg-2build1
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
I think that libsdl-dev may possibly need its dependency list updating. I
noticed the issue in Ubuntu, but the dependencies in Ubuntu are essentially the
same as those in upstream Debian (apart from some things like libc and
pkg-config which presumably apply to all packages), so I am reporting it to you
too.
WHAT LED UP TO THE SITUATION?
I moved from Ubuntu 20.04 Focal Fossa to 22.04 Jammy Jellyfish. The Jammy
version of this package (2.2.20+dfsg-2build1) is behind the Debian Sid version,
but both versions have the same dependencies if there is a problem, then it is
still there.
(This is how I discovered the issue, but there is probably a much more minimal
reproduction case)
1. Downloaded the Simutrans-Extended repo:
https://github.com/jamespetts/simutrans-extended
2. Downloaded the dependencies, at a minimum libsdl2-dev
3. Followed the instructions there for building with autotools
EXPECTED RESULTS
Simutrans-Extended compiles correctly, as it did on Focal Fossa.
ACTUAL RESULTS
When I tried to build it on Jammy Jellyfish, the build failed with the
following errors from the linker:
/usr/bin/ld: cannot find -ldrm: No such file or directory
/usr/bin/ld: cannot find -lgbm: No such file or directory
/usr/bin/ld: cannot find -ldecor-0: No such file or directory
Installing Ubuntu's libdrm-dev, libgbm-dev, and libdecor-0-dev packages ("the
'missing' packages") solved that problem. But I wonder whether it might be a
packaging bug. I follow Simutrans-Extended development quite closely and we
have not intentionally introduced dependencies on those packages; I think they
have been brought in by SDL2.
If a program using sdl2-dev used to be able to compile without the 'missing'
packages, but now requires them, it seems to me that they are now dependencies
of sdl2-dev. Or at least should be 'suggests'. But I am not an expert on either
Debian packaging or SDL2.
COMMENTS
The 'missing' libraries are not direct dependencies of Simutrans. However, the
sdl2-0-0 packages in Debian and Ubuntu have recently added dependencies on
libgbm1, libdrm2, and libdecor-0-0.
Compare the Bullseye dependencies....
https://packages.debian.org/bullseye/libsdl2-2.0-0
......with the Bookworm dependencies:
https://packages.debian.org/bookworm/libsdl2-2.0-0
However, the Bookworm and Sid libsdl2-dev packages do **not** list dependencies
on the 'missing' -dev packages: https://packages.debian.org/bookworm/libsdl2-dev
I notice that SDL's own build guide lists those packages as dependencies for
building SDL2 itself on Focal Fossa:
https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md
But that change was made in February 2021 so it affects Ubuntu's version of
SDL2 in Jammy, not Focal:
https://github.com/libsdl-org/SDL/commit/2f4e9294aa260635d876b5699846adc458f555db
That change was before Bullseye was released so I am not sure how that fits
with the Debian timescale.
I initially asked about this on AskUbuntu and a comment there confirmed that
the required .so files are in (for example) libgbm-dev, not lib-gbm1:
https://askubuntu.com/questions/1410876/is-ubuntus-libsdl2-dev-package-missing-dependencies-or-have-i-made-a-mistake?noredirect=1#comment2451919_1410876
That seemed to confirm that this might be a packaging/dependencies issue.
The downstream report for Ubuntu is here:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976198
Thank you for your time. I hope this feedback is helpful and not just my
misunderstanding.
-- System Information:
Debian Release: bookworm/sid
APT prefers jammy-updates
APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'),
(100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.15.0-33-generic (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libsdl2-dev depends on:
ii libasound2-dev 1.2.6.1-1ubuntu1
ii libc6 2.35-0ubuntu3
ii libdbus-1-dev 1.12.20-2ubuntu4
ii libegl1-mesa-dev 22.0.1-1ubuntu2
ii libgl-dev 1.4.0-1
ii libgles-dev 1.4.0-1
ii libglu1-mesa-dev 9.0.2-1
ii libibus-1.0-dev 1.5.26-4
ii libopengl0 1.4.0-1
ii libpulse-dev 1:15.99.1+dfsg1-1ubuntu1
ii libsdl2-2.0-0 2.0.20+dfsg-2build1
ii libsndio-dev 1.8.1-1.1
ii libudev-dev 249.11-0ubuntu3.1
ii libwayland-dev 1.20.0-1
ii libx11-6 2:1.7.5-1
ii libx11-dev 2:1.7.5-1
ii libxcursor-dev 1:1.2.0-2build4
ii libxext-dev 2:1.3.4-1build1
ii libxi-dev 2:1.8-1build1
ii libxinerama-dev 2:1.1.4-3
ii libxkbcommon-dev 1.4.0-1
ii libxrandr-dev 2:1.5.2-1build1
ii libxss-dev 1:1.2.3-1build2
ii libxt-dev 1:1.2.1-1
ii libxv-dev 2:1.0.11-1build2
ii libxxf86vm-dev 1:1.1.4-1build3
libsdl2-dev recommends no packages.
libsdl2-dev suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: libsdl2
Source-Version: 2.0.22+dfsg-4
Done: Simon McVittie <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libsdl2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <[email protected]> (supplier of updated libsdl2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 30 May 2022 16:43:30 +0100
Source: libsdl2
Architecture: source
Version: 2.0.22+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian SDL packages maintainers
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Closes: 1011583 1012088
Changes:
libsdl2 (2.0.22+dfsg-4) unstable; urgency=medium
.
[ Gianfranco Costamagna ]
* Ignore tests if the system is Ubuntu and architecture arm64,
requiring some real new hw to complete successfully
(workaround for LP: #1976288)
.
[ Simon McVittie ]
* d/control: Remove Sam Hocevar from Uploaders,
with thanks for past contributions (Closes: #1011583)
* d/tests/installed-tests: Assert that at least one test was run
* d/control: Add missing dependencies for static linking
(Closes: #1012088, LP: #1976198)
* d/tests/cmake: Exercise static linking to SDL
* Standards-Version: 4.6.1 (no changes required)
* Only skip testatomic on Ubuntu, not the rest of the test suite.
This lets us get at least some confidence that the package is working.
Checksums-Sha1:
0d17a7cee123822f2630aee6514ffe5db7bd3d01 3169 libsdl2_2.0.22+dfsg-4.dsc
6e5112a5b0a2b22aaa6727a5c81dfb597ca5c891 41892
libsdl2_2.0.22+dfsg-4.debian.tar.xz
2648591cf8cee8b97571c3a42d3986833c1fb292 10694
libsdl2_2.0.22+dfsg-4_source.buildinfo
Checksums-Sha256:
3b02d011cf7e404c1337737d5d99e47aaad4ea09b6c1cf6ff3b748a08fdadefd 3169
libsdl2_2.0.22+dfsg-4.dsc
e5a0443091b606298862175114d5064a59287baa0924ce8d0c94273776c4627a 41892
libsdl2_2.0.22+dfsg-4.debian.tar.xz
768523e2a1d92f8dbc642dae623ce3c599259dac9fa05ea3ae32ccfa6ecd431b 10694
libsdl2_2.0.22+dfsg-4_source.buildinfo
Files:
dfb07646660c413ab27d4068a30ed96d 3169 libs optional libsdl2_2.0.22+dfsg-4.dsc
0c16a6aadad0a04f0ac9dafcbd0ceda4 41892 libs optional
libsdl2_2.0.22+dfsg-4.debian.tar.xz
b125ab548732d724dda224434cd9a5f9 10694 libs optional
libsdl2_2.0.22+dfsg-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmKU718ACgkQ4FrhR4+B
TE83NRAAmLLJxUkBwMGNbAVo8x57YFliXYU9D+pko+/wqB1x/Mm7Em5r/hUbSwJN
irunEPvxUoLOf7qkA6SpsWPKb8G3Us96gScNxkgvfvGrdItNg8mpEG+/Gz7CrlbI
5x5t+GVxAFTOYARmdZ3lRjSDsgnHCMCJzOoPbxwP4xU8mUzDQ4/CUeEUpd4uztoT
UbwyCgJnxtPBPl24QBinrfc3OcFOJ+HagJ77JDlI0I7qN+P037ZsH++QBrjlNxZY
9saeyntRjLgOdlCiMN37kBt+ydy+41bbtdm3pKZOSoW24pxX95cAdCCjRITBvTcC
/IJC7TCnk3dN0MAUIfbIaJcxbLV94a06B/7OOfgAjtcDiilrtykG4kDGszySBJR1
ca4PUSolK63WE/qXBQ7HLbd4wnPF5TflD7WFTrqrMHpwo9GBwc0DXrVE2wWQ9ziR
+6eizWKhhLlZPX4QpQD8+GIOUrhbAoI/PiwjYM3DjTich2IUyKw9PBSIAPP3ZCR1
Fp5hKCm5XceLBoJvyTvAy5vTtGANQpKfXzkXk616nnpRlqsztz372Myk+0hlHkJe
YlnXQ+vwyOU8jPMq/uHRskPJVl+ZP/PG5SJmRfo9+97JZsHVof1eEkCi5YHnuBKR
AkJe7GgHgl04MYoo6DUJnIl04O/ttBK3y8adKTGJwrvzLr9XiYY=
=Vzoq
-----END PGP SIGNATURE-----
--- End Message ---