Bug#1063994: libgdal32: library is not marked for multi-arch

Yuriy M. Kaminskiy yumkam+debian at gmail.com
Thu Feb 15 12:05:46 GMT 2024


Package: libgdal32
Version: 3.6.2+dfsg-1
Severity: normal
Tags: patch

Dear Maintiner,
libgdal32 is installed in multi-arch compatible way, but not marked as
Multi-Arch. This prevents co-installing dependent libraries (notably,
OpenCV).
gdal-bin looks provied only CLI, thus should be matched as M-A: foreign.
gdal-plugins contain only some config in multi-arch compatible location,
so probably M-A: same
libgdal-dev package is definitely not multi-arch compatible (due to at least
bin/gdal-config and include/gdal/cpl_config.h)
Trivial patch attached.
Disclaimer: I was able to co-install M-A-patched
libgdal32/libogdi4.1/libarmadillo11/libhdf4 libraries on stable/bookworm,
but have no way to verify if there are any problems with their use.

-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (100, 'proposed-updates')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 6.1.0-17-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgdal32 depends on:
ii  gdal-data        3.6.2+dfsg-1.1~local1
ii  gdal-plugins     3.6.2+dfsg-1.1~local1
ii  libarmadillo11   1:11.4.2+dfsg-1.1~local1
ii  libblosc1        1.21.3+ds-1
ii  libc6            2.36-9+deb12u4
ii  libcfitsio10     4.2.0-3
ii  libcurl4         7.88.1-10+deb12u5
ii  libdeflate0      1.14-1
ii  libexpat1        2.5.0-1
ii  libfreexl1       1.0.6-2
ii  libfyba0         4.1.1-8
ii  libgcc-s1        12.2.0-14
ii  libgeos-c1v5     3.11.1-1
ii  libgeotiff5      1.7.1-2+b1
ii  libgif7          5.2.1-2.5
ii  libhdf4-0-alt    4.2.15-5.1~local1
ii  libhdf5-103-1    1.10.8+repack1-1
ii  libheif1         1.15.1-1
ii  libjpeg62-turbo  1:2.1.5-2
ii  libjson-c5       0.16-2
ii  libkmlbase1      1.3.0-10
ii  libkmldom1       1.3.0-10
ii  libkmlengine1    1.3.0-10
ii  liblz4-1         1.9.4-1
ii  liblzma5         5.4.1-0.2
ii  libmariadb3      1:10.11.6-0+deb12u1
ii  libnetcdf19      1:4.9.0-3+b1
ii  libodbc2         2.3.11-2+deb12u1
ii  libodbcinst2     2.3.11-2+deb12u1
ii  libogdi4.1       4.1.0+ds-6.1~local1
ii  libopenjp2-7     2.5.0-2
ii  libpcre2-8-0     10.42-1
ii  libpng16-16      1.6.39-2
ii  libpoppler126    22.12.0-2+b1
ii  libpq5           15.6-0+deb12u1
ii  libproj25        9.1.1-1+b1
ii  libqhull-r8.0    2020.2-5
ii  libspatialite7   5.0.1-3
ii  libsqlite3-0     3.40.1-2
ii  libssl3          3.0.11-1~deb12u2
ii  libstdc++6       12.2.0-14
ii  libtiff6         4.5.0-6+deb12u1
ii  libwebp7         1.2.4-0.2+deb12u1
ii  libxerces-c3.2   3.2.4+debian-1
ii  libxml2          2.9.14+dfsg-1.3~deb12u1
ii  libzstd1         1.5.4+dfsg2-5
ii  zlib1g           1:1.2.13.dfsg-1

Versions of packages libgdal32 recommends:
ii  proj-bin  9.1.1-1+b1

libgdal32 suggests no packages.

-- no debconf information
-------------- next part --------------
diff -Nru gdal-3.6.2+dfsg/debian/changelog gdal-3.6.2+dfsg/debian/changelog
--- gdal-3.6.2+dfsg/debian/changelog	2023-01-05 11:20:25.000000000 +0300
+++ gdal-3.6.2+dfsg/debian/changelog	2024-02-15 00:33:27.000000000 +0300
@@ -1,3 +1,10 @@
+gdal (3.6.2+dfsg-1.1~local1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark as Multi-Arch.
+
+ -- Yuriy M. Kaminskiy <yumkam+debian at gmail.com>  Thu, 15 Feb 2024 00:33:27 +0300
+
 gdal (3.6.2+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru gdal-3.6.2+dfsg/debian/control gdal-3.6.2+dfsg/debian/control
--- gdal-3.6.2+dfsg/debian/control	2023-01-05 10:58:52.000000000 +0300
+++ gdal-3.6.2+dfsg/debian/control	2024-02-15 00:33:27.000000000 +0300
@@ -67,6 +67,7 @@
 
 Package: libgdal32
 Architecture: any
+Multi-Arch: same
 Section: libs
 Depends: gdal-data (>= ${source:Version}),
          gdal-plugins (>= ${binary:Version}),
@@ -159,6 +160,7 @@
 
 Package: gdal-bin
 Architecture: any
+Multi-Arch: foreign
 Depends: python3-gdal (= ${binary:Version}),
          ${python3:Depends},
          ${shlibs:Depends},
@@ -213,6 +215,7 @@
 
 Package: gdal-plugins
 Architecture: any
+Multi-Arch: same
 Depends: ${misc:Depends}
 Description: Geospatial Data Abstraction Library - Plugins
  GDAL is a translator library for raster geospatial data formats.


More information about the Pkg-grass-devel mailing list