d/*lintian-overrides*: deal with formatting changes
authorHans van Kranenburg <hans@knorrie.org>
Sat, 6 Aug 2022 09:55:52 +0000 (11:55 +0200)
committerHans van Kranenburg <hans@knorrie.org>
Tue, 23 Aug 2022 11:40:41 +0000 (13:40 +0200)
The message output of lintian is changing, and the override lines are
meant to match those messages to silence them.

THEN:
   statically-linked-binary usr/lib/xen-4.16/boot/xen-shim

NOW:
   statically-linked-binary [usr/lib/xen-4.16/boot/xen-shim]

Also see: https://bugs.debian.org/1007002

So, the goal while writing these overrides is not to be as specific as
possible, it's better to be more generic and aim for the lowest chance
to accidentally match (hide) another problem.

For example, for the no-symbols-control-file one in libxenmisc it's the
case for ALL of the so files in the package, so there's not really a
need to put more effort in matching them specifically.

For others, we mostly can just put a * before and after the file names,
so that this will work with old and new lintian versions.

For binary-has-unneeded-section and spelling-error-in-binary, it seems
the order of stuff on the line has changed (filename is now in brackets
and is moved to the beginning of the line), so for them just also use
only the file name with some added *'s... O_o

debian/libxenmiscV.lintian-overrides.vsn-in
debian/xen-hypervisor-V-F.lintian-overrides.vsn-in
debian/xen-utils-V.lintian-overrides.vsn-in
debian/xenstore-utils.lintian-overrides

index e2ab9a8af78ea63ffd3e9004cf7c539fa6723a9f..7eb58e97655106d3535389823d91959f3dabf024 100644 (file)
@@ -1,7 +1,7 @@
 # The ABI changes every Xen release and every Debian release anyway
 # and we do not upload to Debian packages based on Xen upstream
 # versions which are at least an rc with a stable ABI.
-no-symbols-control-file usr/lib/*/lib*.so.@version@.0
+no-symbols-control-file
 
 # Yes, this is a portmanteau package.  They all change at once.
 package-name-doesnt-match-sonames
index 5c6df104ac2c48e0802caa7ebea5f1421dfea132..e8ea8332009eb6fee995219304399a5ebc5aa68f 100644 (file)
@@ -1,4 +1,4 @@
 # Aas is traditional for kernels too, we ship the debug information
 # in the hypervisor package rather than creating yet another
 # package just for this file, which is only 50K or so anyway.
-debug-suffix-not-dbg usr/lib/debug/xen-*.efi.map.gz
+debug-suffix-not-dbg *usr/lib/debug/xen-*.efi.map.gz*
index 2fb84c24a411d784cbe6bea686db479af7e900bb..cb1e5c477fe8316ec484a52493702bbbaa5b74c3 100644 (file)
@@ -1,6 +1,6 @@
-statically-linked-binary usr/lib/xen-@version@/boot/hvmloader
-statically-linked-binary usr/lib/xen-@version@/boot/xen-shim
+statically-linked-binary *usr/lib/xen-@version@/boot/hvmloader*
+statically-linked-binary *usr/lib/xen-@version@/boot/xen-shim*
 
-# That section is certainly needed for the tools etc. to be able
-# to load it!
-binary-has-unneeded-section usr/lib/xen-@version@/boot/xen-shim .note
+# The .note section is certainly needed for the tools etc. to be
+# able to load it!
+binary-has-unneeded-section *usr/lib/xen-@version@/boot/xen-shim*
index e82a32baab7dd566d7a8da099359dd3510b08b26..ef8c4110a8d101e34d834dc784556f212946c55a 100644 (file)
@@ -1,2 +1,2 @@
 # These have --upto as a command line argument
-spelling-error-in-binary usr/bin/xenstore* upto up to
+spelling-error-in-binary *usr/bin/xenstore*