Your message dated Tue, 31 May 2022 13:03:55 +0000
with message-id <[email protected]>
and subject line Bug#1012088: fixed in libsdl2 
2.0.22+git20220530+g3c3c025+dfsg-1
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+git20220530+g3c3c025+dfsg-1
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: Tue, 31 May 2022 13:26:32 +0100
Source: libsdl2
Architecture: source
Version: 2.0.22+git20220530+g3c3c025+dfsg-1
Distribution: experimental
Urgency: medium
Maintainer: Debian SDL packages maintainers 
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Closes: 1011583 1012088
Changes:
 libsdl2 (2.0.22+git20220530+g3c3c025+dfsg-1) experimental; urgency=medium
 .
   * Merge packaging from unstable
   * New upstream git snapshot
   * Refresh patches
 .
 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:
 2b120d2cf5268f6a3df7b3af3a74d2322bddeb33 3353 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg-1.dsc
 c17ec0c5a1509a6b0cee7346b1a8fd4f3789875a 4641304 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg.orig.tar.gz
 024b93164dbb79bd30ea9396154dfab678b33295 32148 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg-1.debian.tar.xz
 498f57fbec2a3c441eb02c13ccd0b57348e8b8df 10799 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg-1_source.buildinfo
Checksums-Sha256:
 788df9fc2ed8f10617f68c8c86eee0bab70ac2eef1bd9ca0089caecc50e29b76 3353 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg-1.dsc
 3e524116057fa082cc76a0171fbff6534b31095502645faabb882f028a50209e 4641304 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg.orig.tar.gz
 9855fe7cb250dcbfe6ae07daa360e913b952d8714dae9d407fb50b95a94ca1f6 32148 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg-1.debian.tar.xz
 31762a9339e3ae663397c9594b2803a0954f8c14e6092c2eb2203f20beeb24f6 10799 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg-1_source.buildinfo
Files:
 a56c624bb5566770fa1f7729cbf6d2db 3353 libs optional 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg-1.dsc
 baa5aba6842f0a8fec7c7267fe38f7e4 4641304 libs optional 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg.orig.tar.gz
 dd5f679e20bfbfddd3e422f3a5c3b57c 32148 libs optional 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg-1.debian.tar.xz
 b0849ef603bcf1b755716d2b65a730b3 10799 libs optional 
libsdl2_2.0.22+git20220530+g3c3c025+dfsg-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmKWEEQACgkQ4FrhR4+B
TE/w+Q/8DIB8JMbi175mjYoJ8TH0c2blBkClq9sAFOM7zD/yivAnL8jVowz2DdLw
wR2hgC1644uxvyfRBFfm9/vzkamXqTPWT/ItLAche8ca/QwzOYNbXjsRptlJS94k
SfUVnaH9IvgaxYiWWvanHAuN5YaIR/t3m8Fa/2YHCLqtBWBBSVnFGEG0xGMwbOgy
8EkR5C5IcmSaRDOdZPDPFkk+D8qRlQJLhrgp8htTg3+b0aI7/mQfBLKVc6UB5ko0
Fo1ZkKp0LZpeBpTmOdzWbl5dmlYiet8zWebzcX3DsHmGOcsc6RjtMp5zsa59cQpO
9TmobL7tC6jVGbjm27Hjqeh0uHIGqrsbk4d+cyl7Jxz6kkWyBxRv9mKvFpFcDovH
0JhlVYNa9epenW3i47nEeQrlp8P16LUA/Rl/dN02j3tTj0u+gc8t0RH7SXDNZusF
0dZmz/A22P4rzPbhR+5AFc30yLri77rPE80uv9adTlHhMzwrdWBxwwgypjj0s4DJ
BVLMu7HWyIUAJAw+WuG0WSF4yE2XJqEiVpLfEi39tHlxiVhOlGiRfv8OgMI7E5lf
dV+M5LojPwe8ZwpIQX7j3VcU1gGYEwqcHFhpjLZ4IT0Tq7UFZ5O4fWq++lVeNMQQ
4IWnhDBi5aljzrD+uVp7QjugnMKsK1YbK4vd3nCtXtNkbKGqd7g=
=7YpS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to