#1088243 libgcrypt20: please add a superficial autopkgtest

#1088243#5
Date:
2024-11-25 15:26:06 UTC
From:
To:
Packaging a shared library involves various annoying subtleties which
are easy to get wrong, and surprisingly often they can be detected and
avoided by a superficial autopkgtest that links an almost-trivial program
to the library under test.

I attach a simple implementation of this, which I found useful while
adjusting the packaging of libgcrypt20 in the Steam Runtime, a
Debian-derived container used to run games on Linux.

(For testing/unstable you might prefer to replace references to
pkg-config with pkgconf; the attached version is more backportable.)

Thanks,
    smcv

#1088243#10
Date:
2024-11-25 17:34:30 UTC
From:
To:
Control: tags -1 pending
[...]

Thanks, commited to GIT (locally, salsa seems to be rebooting right
now). As suggested I have switched to pkgconf.

cu Andreas

#1088243#17
Date:
2024-12-24 14:49:05 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libgcrypt20, 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 1088243@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated libgcrypt20 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: Tue, 24 Dec 2024 13:35:47 +0100
Source: libgcrypt20
Architecture: source
Version: 1.11.0-7
Distribution: unstable
Urgency: medium
Maintainer: Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Closes: 1088243
Changes:
 libgcrypt20 (1.11.0-7) unstable; urgency=medium
 .
   [ Simon McVittie ]
   * Add an autopkgtest smoke-test for linking to libgcrypt.
     Superficial tests like this one are a surprisingly effective way to
     detect packaging regressions. Closes: #1088243
 .
   [ Andreas Metzler ]
   * Sync with Ubuntu 1.11.0-6ubuntu1:
     Pull upstream patch to fix FTBFS on s390x during build-time tests:
     + lp2083245-disable-sha3-s390x-acceleration-for-cshake.patch
     (LP: #2083245)
   * Run wrap-and-sort -ast.
Checksums-Sha1:
 74d7dcd52471359a8f0e56e9e294c1c73d789490 2945 libgcrypt20_1.11.0-7.dsc
 8bbcd0df28033c1a517ae5d7164be035ffa260b7 40452 libgcrypt20_1.11.0-7.debian.tar.xz
Checksums-Sha256:
 275f26ee0b57fe374b8642213f8d5896bdd22f0d687727f8869701d72308b719 2945 libgcrypt20_1.11.0-7.dsc
 c6811619ea9ae05a214256264c21816b3d1cf1d5ae1113f658071efae3ba9355 40452 libgcrypt20_1.11.0-7.debian.tar.xz
Files:
 8ba8d94d0d11774c20dfe8ffacb60172 2945 libs optional libgcrypt20_1.11.0-7.dsc
 f51ad1ed84cf65d9c040945620fda68d 40452 libs optional libgcrypt20_1.11.0-7.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAmdqx54ACgkQpU8BhUOC
FIS1dQ//Uhthh/RFOKxsI5i6pnK4q0CCJFmvbfT0Ph0p0BNy1p5JJYkbgSKMldC7
HU3IJIXvYHB4MA6rIEaToekFD5qV7nlh+IZrE3O62ICPWMzVaNYqbqLVPjjbjU3w
xP4XMnVsjUVmfO2wGrG3IcNxQrsQet4kuGAvZu44nD16OWzduUdtosmknt+NzA2N
tMLXFsoly/RQD0clrZc9764Ly7wG/iwrUlfpdXScH8++HwfyMyAxm12UpoZkkd8o
8NvaWFPK5+juzs8TbGyWwM9A3JaTVO+O+SWNlhqDH/r7MivtLdXAZWDlSkgoXWln
t6D2dZrF+JH0PtBPQc77An6PNuX+K2RxO09A3WRit9bkyUP1tWog+pWQN3NT128T
C8viXYkpjuHKCiNK5b4Ail93J/PEHwXpk4UsXRjrH4NylT4TE3ilVpxNEutuGgCJ
HPBFz8ZP4VYNRah3a08jImxg9larq/Xje8ciELzyiVgk7j85qErpWmON5pyn7Jou
OuhJbzZ5aM1Mw2JeMMxAz45zuEh22xxbS/PX+6Rafz9hOQZ/sOHkJfpVEB7PRPJU
hZLgOIcrtlwDmcLX+xXysJWvUlAiBwOMD04aDZTpQX2ncooKI2MjaeCmZgHZVj3F
yvxvTZ+ClVKb0kAEuEHrapDvBp3Ud3HGfnNgmt1MgA873/9d/7Y=
=aeuO
-----END PGP SIGNATURE-----