Your message dated Sun, 02 Feb 2020 22:31:31 +0000
with message-id <[email protected]>
and subject line Bug#909740: fixed in libsdl2 2.0.10+dfsg1-2
has caused the Debian Bug report #909740,
regarding libsdl2-dev: No longer multi-arch co-installable
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.)


-- 
909740: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909740
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsdl2-dev
Version: 2.0.8+dfsg1-2
Severity: normal
Tags: patch

Dear Maintainer,

The package libsdl2-dev is no longer multi-arch co-installable,
as the Multi-Arch: same marking was removed in the most recent
release.

This was because SDL_config.h is no longer byte-for-byte
identical across architectures.

Unfortunately, the removal of the multi-arch marking affects
packages such as Wine, which require multi-arch support from
libsdl2-dev.

The attached patch moves SDL_config.h to /usr/include/<triplet>,
which is a far better solution. Note that this path is one of
the default search paths for headers.




-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
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.1.6-1
ii  libdbus-1-dev      1.12.10-1
ii  libegl1-mesa-dev   18.1.8-1
ii  libgl1-mesa-dev    18.1.8-1
ii  libgles2-mesa-dev  18.1.8-1
ii  libglu1-mesa-dev   9.0.0-2.1
ii  libibus-1.0-dev    1.5.19-1
ii  libpulse-dev       12.2-2
ii  libsdl2-2.0-0      2.0.8+dfsg1-2
ii  libsndio-dev       1.5.0-2
ii  libudev-dev        239-10
ii  libwayland-dev     1.16.0-1
ii  libx11-dev         2:1.6.6-1
ii  libxcursor-dev     1:1.1.15-1
ii  libxext-dev        2:1.3.3-1+b2
ii  libxi-dev          2:1.7.9-1
ii  libxinerama-dev    2:1.1.4-1
ii  libxkbcommon-dev   0.8.2-1
ii  libxrandr-dev      2:1.5.1-1
ii  libxss-dev         1:1.2.3-1
ii  libxt-dev          1:1.1.5-1
ii  libxv-dev          2:1.0.11-1
ii  libxxf86vm-dev     1:1.1.4-1+b2

libsdl2-dev recommends no packages.

libsdl2-dev suggests no packages.

-- no debconf information
diff -ur tmp2/libsdl2-2.0.8+dfsg1/debian/control 
tmp/libsdl2-2.0.8+dfsg1/debian/control
--- tmp2/libsdl2-2.0.8+dfsg1/debian/control     2018-09-09 09:41:38.000000000 
+1000
+++ tmp/libsdl2-2.0.8+dfsg1/debian/control      2018-09-27 23:47:22.837561819 
+1000
@@ -66,6 +66,7 @@
 Package: libsdl2-dev
 Section: libdevel
 Architecture: any
+Multi-Arch: same
 Depends:
  libasound2-dev [linux-any],
  libdbus-1-dev,
diff -ur tmp2/libsdl2-2.0.8+dfsg1/debian/libsdl2-dev.install 
tmp/libsdl2-2.0.8+dfsg1/debian/libsdl2-dev.install
--- tmp2/libsdl2-2.0.8+dfsg1/debian/libsdl2-dev.install 2018-09-09 
09:41:38.000000000 +1000
+++ tmp/libsdl2-2.0.8+dfsg1/debian/libsdl2-dev.install  2018-09-26 
23:29:15.075917158 +1000
@@ -1,4 +1,5 @@
 usr/bin/sdl2-config
+usr/include/*/SDL2
 usr/include/SDL2
 usr/lib/*/cmake/SDL2/sdl2-config.cmake
 usr/lib/*/libSDL2*.so
diff -ur tmp2/libsdl2-2.0.8+dfsg1/debian/rules 
tmp/libsdl2-2.0.8+dfsg1/debian/rules
--- tmp2/libsdl2-2.0.8+dfsg1/debian/rules       2018-09-09 09:41:38.000000000 
+1000
+++ tmp/libsdl2-2.0.8+dfsg1/debian/rules        2018-09-26 23:28:54.273521156 
+1000
@@ -69,6 +69,11 @@
        rm -f debian/examples.tar.gz
        rm -rf output
 
+override_dh_install:
+       mkdir -p debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/SDL2
+       mv debian/tmp/usr/include/SDL2/SDL_config.h 
debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/SDL2
+       dh_install
+
 override_dh_missing:
        dh_missing --fail-missing -XlibSDL2.la -XlibSDL2main.la 
-XlibSDL2_test.la
 

--- End Message ---
--- Begin Message ---
Source: libsdl2
Source-Version: 2.0.10+dfsg1-2

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.
Felix Geyer <[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: SHA512

Format: 1.8
Date: Sun, 02 Feb 2020 23:02:25 +0100
Source: libsdl2
Architecture: source
Version: 2.0.10+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian SDL packages maintainers 
<[email protected]>
Changed-By: Felix Geyer <[email protected]>
Closes: 909740 946496
Changes:
 libsdl2 (2.0.10+dfsg1-2) unstable; urgency=medium
 .
   [ Simon McVittie ]
   * d/tests: Add a test that detecting SDL2 via CMake does not regress.
     This is the sort of thing that could easily regress while solving #909740.
   * Install all headers in an architecture-specific location.
     This approach was suggested by Adrian Bunk on #909740, as one of several
     possible ways to avoid SDL_config.h colliding between architectures.
     Because this approach uses a different @includedir@ for each architecture,
     we can no longer have @includedir@ in sdl2-config.in: that would result
     in non-co-installability. However, simply removing it (similar to
     no-libdir.patch) is not an option, because the SDL 2 headers are not
     on the default include path (and they cannot be added to it without
     breaking parallel-installability of SDL 1.2 or a hypothetical future
     SDL 3). Instead, patch sdl-config.in to ask pkg-config for its CFLAGS
     and LIBS. This can supersede the previous no-libdir.patch.
     This relies on the assumption that cross-compilation will always set
     PKG_CONFIG, even if that environment variable is not otherwise used by
     the build system that is invoking sdl2-config.
     The sdl2-config.cmake.in part of no-libdir.patch can simply be dropped,
     because that file is installed to an architecture-specific location
     anyway, namely ${libdir}/cmake.
   * Mark libsdl2-dev as Multi-Arch: same (Closes: #909740)
 .
   [ Gianfranco Costamagna ]
   * Upload part of Ubuntu delta to Debian
 .
   [ Timo Aaltonen ]
   * rules: Disable GLES1, it's getting enabled because libgles-dev ships
     GLES1 headers now, but they have conflicting types against the ones
     SDL has.
 .
   [ Steve Langasek ]
   * Make autopkgtests cross-test-friendly. (Closes: #946496)
 .
   [ Felix Geyer ]
   * Drop build-all autopkgtest.
     - We already have tests that check if building against SDL2 with 
pkg-config,
       sdl2-config and cmake works correctly.
     - It has a large overhead as it rebuilds SDL2 and requires supporting
       cmake as a second buildsystem.
   * Add the non-multiarch include dir to pkg-config cflags for compatibility.
Checksums-Sha1:
 b1959c77c201d3b39a6382b01f80cfff24af9d2c 2827 libsdl2_2.0.10+dfsg1-2.dsc
 2d636f97998b493db73cb371c450f121a622f69c 19812 
libsdl2_2.0.10+dfsg1-2.debian.tar.xz
Checksums-Sha256:
 90c6848b04d27dbccc787396c4a662c64d7bffdf14caed491098e0aefd48ff41 2827 
libsdl2_2.0.10+dfsg1-2.dsc
 3302df95fed97908637fcfaa706f183c0fcd83140007c472fe7e1acdb1021776 19812 
libsdl2_2.0.10+dfsg1-2.debian.tar.xz
Files:
 70606ee0457c6ac09da40b6902aca4e9 2827 libs optional libsdl2_2.0.10+dfsg1-2.dsc
 85d01559661a6c618dff83a5c6835f45 19812 libs optional 
libsdl2_2.0.10+dfsg1-2.debian.tar.xz

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

iQIzBAEBCgAdFiEEFkxwUS95KUdnZKtW/iLG/YMTXUUFAl43SscACgkQ/iLG/YMT
XUVJTxAAw0zcHslFmWbhRnmXbVatV1FpDysvaPj9vvClzrIVD7+NtVs5DgtaUZTq
I77S0yo0VAXQMPM+vBxQz05AcsRXYrUAXg0J6RDrFtwBhv/axNda2AhXadFGAhMb
ktWG7O/jNXI4TYGw1jV4PjmV3U6aME6kXk/BAqU2Vr/biCNgBhM83/IZF5A9q5xC
UsOwkBI8POABBOrKCLaGmnAlChHeMlv69XwuvwRWhLR3UMmw+Xf3Mp4QOCWJQACX
/NmRaKRQENXHB6NlVi824OoyIF9LtF2lQvz4BxM4GdAe4AKGFUxkgO4M/7h7WSFw
F7sgDi1dZpGoPnZ+WZzdPJKOpquB0MyeaXfBQMt1v99vodqKVvzgmE7Cpkn3UOzi
fPsO4fvc1K86vhF+0WBdUS/qKhkgqPMpdXYceXf4mB0QB5lMuSKTWpJxZIcPinuk
ay0s1SDt09R7PGjX8CBy93Ge/F5K4DG9dV8bP2O6bzZSORwLsRzeqDUNFSz0bmXn
4Pq/TW7Au5t19i5tLVQyB22YEo9aCMvnCk0dQt8zvT14t5aYo4LK1atiiuP4fQn0
9enq+hqyN+3FIQgeVM6xiBeVuxB1MgCQDaT6pNeiF6mNQG5OX2qaOs1nhlA3E/d2
KO0bGDrhFudsUmEBFD3E85qE7+a9fY5BQrNf79Y8PWlrta8HX9M=
=+Qu6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to