Package: dpkg-dev
Version: 1.21.21
Severity: wishlist

When building libvirt, dpkg-gensymbols currently produces the
following output:

  dpkg-gensymbols: warning: debian/libvirt0/DEBIAN/symbols doesn't match 
completely debian/libvirt0.symbols
  --- debian/libvirt0.symbols (libvirt0_9.2.0-2_amd64)
  +++ dpkg-gensymbolsFLVUCu     2023-04-22 11:43:15.646242440 +0200
  @@ -1,5 +1,5 @@
   libvirt-admin.so.0 libvirt0 #MINVER#
  - (symver|optional)LIBVIRT_ADMIN_1.3.0 1.2.18
  +#MISSING: 9.2.0-2# (symver|optional)LIBVIRT_ADMIN_1.3.0 1.2.18
    (symver|optional)LIBVIRT_ADMIN_2.0.0 2.0.0~rc1
    (symver|optional)LIBVIRT_ADMIN_3.0.0 3.0.0
    (symver|optional)LIBVIRT_ADMIN_8.6.0 8.9.0

This is because debian/libvirt0.symbols contains

  libvirt-admin.so.0 libvirt0 #MINVER#
   *@LIBVIRT_ADMIN_1.3.0 1.2.18

even though no LIBVIRT_ADMIN_1.3.0 symbol was ever added to the
library.

It would be nice if such a mistake on the maintainer's part could be
reported in a way that can't be easily missed or ignored, i.e. a
build failure. After the maintainer has explicitly opted into this
behavior by setting DPKG_GENSYMBOLS_CHECK_LEVEL, of course :)

-- 
Andrea Bolognani <[email protected]>
Resistance is futile, you will be garbage collected.

Attachment: signature.asc
Description: PGP signature

Reply via email to