#1146883 -dev package missing dependencies needed by pkg-config

#1146883#5
Date:
2026-09-06 16:27:49 UTC
From:
To:
After installing pkgconf and libopenslide-dev in a fresh sid container:

# pkg-config --libs openslide
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glib-2.0', required by 'openslide', not found
Package 'gio-2.0', required by 'openslide', not found
Package 'gobject-2.0', required by 'openslide', not found
Package 'cairo', required by 'openslide', not found
Package 'libxml-2.0', required by 'openslide', not found
Package 'libtiff-4', required by 'openslide', not found
Package 'libopenjp2', required by 'openslide', not found
Package 'libjpeg', required by 'openslide', not found
Package 'libpng', required by 'openslide', not found
Package 'zlib', required by 'openslide', not found
Package 'libzstd', required by 'openslide', not found

pkg-config is the supported way to determine how to link with
OpenSlide, and pkg-config requires the .pc files mentioned in
openslide.pc's Requires.private to exist, so libopenslide-dev isn't
useful without the -dev packages that provide these files.  By policy
3.5, libopenslide-dev must therefore depend on those packages.

A couple such dependencies were added in #1146800; see previous
discussion there.

#1146883#8
Date:
2026-09-06 17:40:42 UTC
From:
To:
Hello,

Bug #1146883 in openslide reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/med-team/openslide/-/commit/8f14db51fb17fd2bb6d9362ca6d6f57f85d99251
------------------------------------------------------------------------
d/control: provide complete libopenslide-dev dependencies.

Closes: #1146883
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1146883

#1146883#15
Date:
2026-09-06 18:49:20 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
openslide, 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 1146883@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Étienne Mollier <emollier@debian.org> (supplier of updated openslide 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 06 Sep 2026 20:25:55 +0200
Source: openslide
Architecture: source
Version: 4.0.1+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Étienne Mollier <emollier@debian.org>
Closes: 1146814 1146883
Changes:
 openslide (4.0.1+dfsg-2) unstable; urgency=medium
 .
   * d/rules: simplify and complement formats fetching.
     This change adds support for fetching specifications for argos, dicom,
     huron and zeiss formats, and makes the listing a little more readable,
     with less duplicates in the d/rules file.
   * d/openslide-formats.3.xml: add support for new formats.
     This change adds support to inject the argos, dicom, huron and zeiss
     formats into the xsl template.
   * d/openslide-formats.3: refresh the manual page to openslide 4.0.1
     and also document support for argos, dicom, huron and zeiss file
     formats.  (Closes: #1146814)
   * d/control: update file formats support list.
     The change includes a subtle wording change in order to make the delta
     between the package description and the exhaustive list of supported
     format less problematic.
   * d/rules: ensure openslide-format(3) version consistency.
     This change implements a check at an early stage of the package
     construction, in order to make sure that there is no delta between the
     new upstream version and its shipped documentation.
   * d/rules: provide a clean-man target to clean things up.
     This is a useful shortcut to clear artifacts downloaded during a
     refresh of openslide-formats(3) manual.
   * d/control: provide complete libopenslide-dev dependencies.
     (Closes: #1146883)
   * d/t/run-pkgconf: new autopkgtest.
     This change introduces, and enables via d/t/control, the script
     run-pkgconf that ensures the list of dependencies of the package
     libopenslide-dev is complete.
Checksums-Sha1:
 d08c1566495f1a2ef4ed2657068216225234ee3b 2780 openslide_4.0.1+dfsg-2.dsc
 f87c583876f4106d8a5c0d14069fbf50095b520d 25040 openslide_4.0.1+dfsg-2.debian.tar.xz
Checksums-Sha256:
 ddcf882ff54a6a2591129e463dde61e310c7dfa69af12a4d41c42884d181d51a 2780 openslide_4.0.1+dfsg-2.dsc
 33ea6d7ff25133e765653f1f0ba3f988413ab63afd151c53d3f7f211f541f3cd 25040 openslide_4.0.1+dfsg-2.debian.tar.xz
Files:
 cffbf99f40e8f8f4d31170a4dfb29783 2780 libs optional openslide_4.0.1+dfsg-2.dsc
 8938292056e925533a8d2701d7103393 25040 libs optional openslide_4.0.1+dfsg-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmqdsiQUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdrQLxAAq7x71xNpdZTRvb3BKo++Qf0iCPjA
MceWlvhNNsK4f/oYUHk/41ZNKw4bk56Tzv61hlRdQxoYBCYWftABCIw/sLoxlexp
X2xC5ImNT9KfaS5spriYbL3RFeiH83cgX8u+wrmafHGh3qs8uFHESKmvzjVqsfum
0n3VPgmG7BEwzVs+BrVDHGnNM1TLPuz7Xn++ZanGqJwC6ooqTCuNuDBsygFjIavt
2NSkdoqOWySSMiyLEesd/JWWCEcYaDp6H6W58liEIdoBMrZUlhj5ditP9EAfOv3z
Vdr7uPuIRUoQHLlzBO9zlcbLz2Mxhyl8Jy0ZenDsy0PcFshJplNtCHWz3qb4vs5p
VdLBPOWOmR8/5NA7Icmox0DSRkZ6vHpT1PVp9/SukPgNGv7/C1TP14wdhhoAsMld
iEbZYUXhyTmGVSaxH1rrhPoyH8pHx7hvJ7GQpO14uEUmRQEqPpo7CPVh/rdZhRuY
jz4ShRVQ8DCDNf/SwpNJEaEqOmR31aPrbITJw2Yx+yvVbWc8WU2LP36Hj7HEHLaj
vHtzSyLbJU9ZL/8ofpBLyc5OxotBK+TValRx15HwaDnjdJyKZy3FwyD4AB5vxU9W
eAYwz/FDHtqHOtABC+Hr2FFiofZT5K3W9fDfhjcs1ZZtoEFrG61HKhSjnzcr9YeQ
ziIRKnLR/qEe4ck=
=KxcI
-----END PGP SIGNATURE-----