Your message dated Tue, 03 May 2022 18:00:10 +0000
with message-id <[email protected]>
and subject line Bug#894508: fixed in dlib 19.23-1
has caused the Debian Bug report #894508,
regarding dlib: SONAME version number should not be based on package version 
number
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.)


-- 
894508: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894508
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dlib
Version: 18.18-2

Hi,

Currently the SONAME version number of dlib in Debian is the same as the
package's version number:

> $ cat debian/patches/fix-soname.patch 
> Set the libdlib soname to libdlib.so.18
> --- a/dlib/CMakeLists.txt
> +++ b/dlib/CMakeLists.txt
> @@ -413,7 +413,8 @@
>         if(UNIX)
>             set_target_properties(dlib-shared PROPERTIES
>                                          OUTPUT_NAME dlib 
> -                                        VERSION ${VERSION})
> +                                        VERSION ${VERSION}
> +                                        SOVERSION 
> ${CPACK_PACKAGE_VERSION_MAJOR})
>             install(TARGETS dlib dlib-shared
>                     EXPORT dlib 
>                     RUNTIME DESTINATION bin # Windows (including cygwin) 
> considers .dll to be runtime artifacts

While I am not an expert in packaging of shared libraries, this looks
like a bad practice. The Debian Library Packaging guide[0] states:

>  In most cases, if a package version matches the SONAME, it is a sign
>  that there is a problem with the versioning scheme. Scrap it, and
>  bash the upstream with the libtool manual. It is usually a good sign
>  that either he has not read the manual thoroughly, or he has not
>  understood it, or both. 

Going through the history of the git repository, it looks like you
introduced this patch in order to fix the following lintian warning:

> W: dlib: package-name-doesnt-match-sonames libdlib18.18.0
> N:
> N:    The package name of a library package should usually reflect the soname
> N:    of the included library. The package name can determined from the
> N:    library file name with the following code snippet:
> N:
> N:     $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n 
> -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
> N:         sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/;s/(.*)/\L&/'
> N:
> N:    Severity: normal, Certainty: possible
> N:
> N:    Check: binaries, Type: binary, udeb

IMO a correct fix would rather be to change binary package name to
libdlib18.18-0, instead of changing the SONAME.

I'm currently working on the next Debian release of dlib, see
#894118[1].

Regards,
 Hugo

[0] https://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894118

-- 
             Hugo Lefeuvre (hle)    |    www.owl.eu.com
4096/ 9C4F C8BF A4B0 8FC5 48EB 56B8 1962 765B B9A8 BACA

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: dlib
Source-Version: 19.23-1
Done: Pierre Gruet <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dlib, 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.
Pierre Gruet <[email protected]> (supplier of updated dlib 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: Mon, 02 May 2022 22:52:31 +0200
Source: dlib
Binary: libdlib-data libdlib-dev libdlib19.1 libdlib19.1-dbgsym
Architecture: source all amd64
Version: 19.23-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Pierre Gruet <[email protected]>
Description:
 libdlib-data - C++ toolkit for machine learning and computer vision - models
 libdlib-dev - C++ toolkit for machine learning and computer vision - developmen
 libdlib19.1 - C++ toolkit for machine learning and computer vision - library
Closes: 894508 1009008
Changes:
 dlib (19.23-1) experimental; urgency=medium
 .
   * New upstream version 19.23
   * Refreshing patches
   * Refreshing d/copyright
   * Bumping SOVERSION to 19.1 (Closes: #894508)
   * Adding d/gbp.conf to handle the MUT package with gbp
   * Switching to debhelper-compat 13
   * Handling xz compression instead of gzip in d/orig-models-tar.sh
   * Raising Standards version to 4.6.0:
     - Rules-Requires-Root: no
   * Adding myself as uploader
   * Installing the pkgconfig file in the -dev package
   * Fixing missing dependencies of the -dev package (Closes: #1009008)
   * Adding a Lintian override for the txt files that are put in
     usr/include/dlib in the -dev package
   * Removing an unused Lintian override in the shared lib package
   * Removing the symlink with '0' suffix
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
 .
   [Hugo Lefeuvre]
   * Bump compat to 12, switch to debhelper-compat.
   * Bump Standards-Version to 4.4.0.
   * Fix incorrect tarball name in debian/orig-tar.sh.
   * Bump copyright years.
Checksums-Sha1:
 39f8079e782113f49840c860a6eab3ce5c37285c 2433 dlib_19.23-1.dsc
 4e97565c886cf21e084314476cb16b5aef01f4eb 200162247 
dlib_19.23.orig-dlib-models.tar.bz2
 215014f412306d444013bb892fc08bb194758ebd 8621940 dlib_19.23.orig.tar.bz2
 9fb34ad45e75fb3132fad45291df43d9e151095b 9788 dlib_19.23-1.debian.tar.xz
 b7d5a728da46f4ab650cb9786e6d50e8255095b7 7891 dlib_19.23-1_amd64.buildinfo
 d9d5c7f0d1c451214e20dedf179c9eb46d85cb3b 63403224 libdlib-data_19.23-1_all.deb
 c04b6bcb12dcc41076f35959e615b85429b78116 2023284 libdlib-dev_19.23-1_amd64.deb
 393ff4567bb58e2c12480bf69471aafa6911957e 5903184 
libdlib19.1-dbgsym_19.23-1_amd64.deb
 d790c496637d8347b95cbe21989a7bc2930fc4dd 3728436 libdlib19.1_19.23-1_amd64.deb
Checksums-Sha256:
 230d923223e4694e2405da818bf45df1796598be1d8bc5aa933f0931edcbff11 2433 
dlib_19.23-1.dsc
 c444257fd7cc50da300f0de340cc27d35be69a018248afa4efdbdd3d1d5520a0 200162247 
dlib_19.23.orig-dlib-models.tar.bz2
 75e3f25b7fa88e784c0db7a6e8b12f2f64decfc4a57c00f6b280dcc9006ec342 8621940 
dlib_19.23.orig.tar.bz2
 fa32349b76a97c2d1052a6d1b055e27b68e34f44016cd0ceb0192565b1d89d48 9788 
dlib_19.23-1.debian.tar.xz
 61ee8d8a22559bf08e3484d67eae6ec9b1e138e45cf6878d9e57962e423d202b 7891 
dlib_19.23-1_amd64.buildinfo
 6bb016761b2de31a970a3e747de833d02f2592f97e1ec550fcc73dfea30dc72d 63403224 
libdlib-data_19.23-1_all.deb
 fe7c94b9984ee3ee505502a51bbefe6191170633a22931a6064d3d44932696f0 2023284 
libdlib-dev_19.23-1_amd64.deb
 98d279481e6ec1a33fa89752af9aaeb9799c5f4fbef790b347cc98154ebd5e55 5903184 
libdlib19.1-dbgsym_19.23-1_amd64.deb
 f3f7d6f696ea1ec60e6a3d01f6ce6fa52b1bc2336ef57186be8584513c3aba30 3728436 
libdlib19.1_19.23-1_amd64.deb
Files:
 267502081dabe2283214ff57b20ae905 2433 libs optional dlib_19.23-1.dsc
 66e3257e03e67f5b36952be87913af96 200162247 libs optional 
dlib_19.23.orig-dlib-models.tar.bz2
 1ffa8289d541b0e1d5eaaaee95599cc0 8621940 libs optional dlib_19.23.orig.tar.bz2
 3b980aa8faead396217ca7347e10d9c2 9788 libs optional dlib_19.23-1.debian.tar.xz
 964c645e5851a0e1d473ea63d2df2fa6 7891 libs optional 
dlib_19.23-1_amd64.buildinfo
 457222378b9472d30cbf9e1c1f528d22 63403224 libs optional 
libdlib-data_19.23-1_all.deb
 894dc81e7f27a2700d09eba3890ec478 2023284 libdevel optional 
libdlib-dev_19.23-1_amd64.deb
 27edf2c42caa556f499d921d8072a8fa 5903184 debug optional 
libdlib19.1-dbgsym_19.23-1_amd64.deb
 a37947d045f92fdc598a1b95770e9b82 3728436 libs optional 
libdlib19.1_19.23-1_amd64.deb

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

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmJwug0ACgkQYAMWptwn
dHZ3sg//dxp1naSiuoTNDUnfuCgKFX+TXEBr6vidh3MIYeayOYJMJHCrDMrmSI4V
bfdkwx4KM+NU0ggh0qgEtQNIOqTktv0842eb3doBP9T73DOWxAWr9tzOenTy7qaP
PNkTBIQzdxyufI4bAV/Yvo//KZRJECHUs3NmXUm7cyNp1D84Q8ZoIDNGdhD39swR
4L6NnGqAXyujLZ4LJi4jyLobknB/NbOCbodDTSfUd2LhvWmepERfJKK1K/snvpiV
+NbuNX2BA0E+z8WQY9096ZO+Wk3oEBVbRszuhY4TESWL3gb27vJpeJVdFkGHWBFx
OAizK+uiTMs8MhTZNymkpUQys3Qy95iak3oCbw1karDs/jASnuATUO8l2SG+ROn/
RzsCSa+gcUVA/n/tbJYIo3W5Xvf3R+3aQHQBBcqC1QIQnXRBT1gf9fPfaiWjpGn+
lvkXMA68FUHov3Az/5GwQwowznoFZkfnseV8QaaVygAFapCFfGAfqFLlltDPS/CE
QCLwC76TesZo0d345UeZHWX93ihakpB2KQKVhkHVeHd6xWpbwT5XD6KthS5XtmHL
tec/xYjQLYzpKbf8E2x+MryTwT5YrRyhCbTtIxiSxs9XCy48YO/gU5SeRyq6T5f+
ItNMWM7MFcaiabQvYwagk48pvwBRME6CvtextQ+m2zM/7Y559DM=
=kmTU
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to