Dear Maintainer, For as long as I've been a Kali Linux maintainer (so that's 5 years now), I've been used to see (and to ignore) these Lintian warnings: ``` I: base-files source: adopted-extended-field (in section for source) XS-Debian-Vcs-Browser [debian/control:12] I: base-files source: adopted-extended-field (in section for source) XS-Debian-Vcs-Git [debian/control:11] I: base-files source: adopted-extended-field (in section for source) XSBC-Original-Maintainer [debian/control:4] ``` For background, these fields are commonly used in Debian derivatives, we use it to keep track of the original values. You might want to refer to Lintian commits: * aeea7148d5f3ea18f449cbb05bde8d982e6698ff * 754d945fb87feea18b6d12c47e2ce280597dd9ac I never understood why Lintian thinks those fields have been adopted though. If I try to rename it to drop the XS- and XSBC- prefixes, then it's dpkg-source that complains: ``` dpkg-source: warning: unknown information field 'Original-Maintainer' in input data in source package stanza of template control file dpkg-source: warning: unknown information field 'Debian-Vcs-Git' in input data in source package stanza of template control file dpkg-source: warning: unknown information field 'Debian-Vcs-Browser' in input data in source package stanza of template control file ``` I've seen this issue for so long, I wonder why nobody filed a bug report yet, so maybe I'm missing something. Best, Arnaud
XS-Debian-Vcs-Browser [debian/control:12] XS-Debian-Vcs-Git [debian/control:11] XSBC-Original-Maintainer [debian/control:4] we to in input data in source package stanza of template control file input data in source package stanza of template control file in input data in source package stanza of template control file report https://bugs.launchpad.net/ubuntu/+source/lintian/+bug/2158908
Hi Arnaud, Banjamin,
I don't understand the dynamics of control file fields in downstream distributions well enough, but my reading of the code suggests
that the fields added in the commits you mention are only partial, it should also instead the XS{,BC} prefixes.
This patch below should fix these lintian info tags. Could you give it a try? Would you also be able to run entire autopkgtest lintian testsuite
for Kali/Ubuntu and let me know if there are more regressions?
I'd also assume that rest of the fields mentioned below also need "XS-"? Let me know - otherwise, if you could come up with a patch for the remaining
fields as well, feel free to send an MR my way.
diff --git a/data/common/source-fields b/data/common/source-fields
index 141b69875..4ef9296cb 100644
--- a/data/common/source-fields
+++ b/data/common/source-fields
@@ -19,11 +19,11 @@ Checksums-Sha256
# NB: Do not rely on @if-vendor-is-not in your data files; it may
# disappear without notice
@if-vendor-is-not debian Debian-Vcs-Arch
-@if-vendor-is-not debian Debian-Vcs-Browser
+@if-vendor-is-not debian XS-Debian-Vcs-Browser
@if-vendor-is-not debian Debian-Vcs-Bzr
@if-vendor-is-not debian Debian-Vcs-Cvs
@if-vendor-is-not debian Debian-Vcs-Darcs
-@if-vendor-is-not debian Debian-Vcs-Git
+@if-vendor-is-not debian XS-Debian-Vcs-Git
@if-vendor-is-not debian Debian-Vcs-Hg
@if-vendor-is-not debian Debian-Vcs-Mtn
@if-vendor-is-not debian Debian-Vcs-Svn
@@ -48,7 +48,7 @@ Origin
#
# NB: Do not rely on @if-vendor-is-not in your data files; it may
# disappear without notice
-@if-vendor-is-not debian Original-Maintainer
+@if-vendor-is-not debian XSBC-Original-Maintainer
Package-List
Rules-Requires-Root
Oh well, no, this is going to lead to "unknown-field". #1013414 is related. The check needs fixing here instead.
OK, I have attempted to fix this in https://salsa.debian.org/lintian/lintian/-/merge_requests/767 The test should be tried with this MR and the patch pasted above both. Also please let me know which of these fields need prefixing and what prefix (XS? XC? XB? ...) MR welcome, ofcourse.
Thanks. I successfully tested the patch above + the salsa merge request. The Original-Maintainer needs "XSBC-". All the Debian-Vcs-* fields probably need "XS-". I grep in the local Ubuntu git clones and found "XS-Debian-Vcs-Browser" and "XS-Debian-Vcs-Git".
Hello, Bug #1141065 in lintian 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/lintian/lintian/-/commit/28b740d39d1bf7c0cad5278342f3e00844084967 ------------------------------------------------------------------------ source-fields: Update downstream fields with full prefix (Closes: #1141065) As confirmed in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141065#30 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1141065
Hello, Bug #1141065 in lintian 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/lintian/lintian/-/commit/28b740d39d1bf7c0cad5278342f3e00844084967 ------------------------------------------------------------------------ source-fields: Update downstream fields with full prefix (Closes: #1141065) As confirmed in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141065#30 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1141065
Hello, Bug #1141065 in lintian 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/lintian/lintian/-/commit/28b740d39d1bf7c0cad5278342f3e00844084967 ------------------------------------------------------------------------ source-fields: Update downstream fields with full prefix (Closes: #1141065) As confirmed in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141065#30 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1141065
We believe that the bug you reported is fixed in the latest version of
lintian, 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 1141065@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Louis-Philippe Véronneau <pollo@debian.org> (supplier of updated lintian 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, 04 Aug 2026 00:29:41 -0400
Source: lintian
Architecture: source
Version: 2.139.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Louis-Philippe Véronneau <pollo@debian.org>
Closes: 1013414 1029471 1140147 1140893 1141065 1141228 1141908 1142332 1142627 1142809
Changes:
lintian (2.139.0) unstable; urgency=medium
.
[ Nilesh Patra ]
* d/control: Drop ${misc:Depends} from Depends
* Move d/lintian-overrides -> d/lintian.lintian-overrides
* New tag: binary-contains-insecure-defaultgodebug-settings
(Closes: #1141908)
* tests(use-godebug): Add test to test against
`binary-contains-defaultgodebug-options`
* Add golang-go as a test-dep both for build and autopkgtest
* New tag: xs-go-import-path-differs-from-module-path
* tests(differing-golang-xs-go-import-path): Add test to test against
`xs-go-import-path-differs-from-module-path`
* Golang::ImportPath - consider first path in case of multiple
`XS-Go-Import-Path`
* tests(golang-xs-go-import-path-multiple): Add test to check
`xs-go-import-path-differs-from-module-path` against multiple go import
paths
* tests(differing-golang-xs-go-import-path): Drop bogus Go-Import-Path in
d/control.in
* Bump severity of `xs-go-import-path-differs-from-module-path` to `info`
* Rename `sub all` to `sub all_entries` in lib sources
* Replace `->all` calls with `->all_entries` in Checks, docs and tests
* Update `single_binary` to be provided by sequencers and debhelper itself
(Closes: #1140893)
* Update phpcomposer to be provided by dh-sequence-phpcomposer
(Closes: #1142809)
* Update phppear to be provided by dh-sequence-phppear
* tests(appstream-metadata-license-hang): Add test to check against hang due
to missing `expand_entities` set to `0` (test against: #1142332)
* Lintian::Check::Fields::Maintainer::Team - Update team email address for
go team
* Lintian::Check::Fields::Maintainer - Improve check for
`no-human-maintainers` to instead parse email and check hosts instead of
checking raw maintainer strings
* Add new tag wrong-package-mail-alias to flag instances of packages using
wrong packages.debian.org alias (Closes: #1142627)
* tests(fields-wrong-package-email-alias): Add test for tag
wrong-package-mail-alias
* Lintian::Check::Fields::Unknown - Drop prefix starting with X (XS-*,
XSBC-* etc) as the fields in `.dsc` strips them off
(Closes: #1029471, #1013414)
* tests(fields-unknown-autobuild-unrel): Add test to ensure XS-Autobuild
does not spawn unknown-field (to test against #1013414)
* source-fields: Update downstream fields with full prefix
(Closes: #1141065)
* Check for `__fentry__` for profiling options as well
* tests(binaries-general): Also add a test to compile with `-mno-fentry` on
amd64 to continue testing against `mcount`
.
[ Simon McVittie ]
* t: Make a test package more realistic
* Remove gobject-introspection-package-missing-depends-on-gir-depends tag
* Avoid typelib-missing-gir-depends with debhelper compat level 14
(Closes: #1140147)
* Add tests for #1140147
.
[ Benjamin Drung ]
* Disable unnecessary-team-upload and nmu-in-changelog tags in ubuntu/main
profile
* Use distro-info-data in changes-file/known-dists (Closes: #1141228)
(LP: #1012459)
.
[ Nicholas Guriev ]
* Do not fail at version guessing when Git binary is unavailable
* Do not fail spellintian on empty stdin
* Implement dpkg-build-api-level and debian-rules-defines-dpkg-build-api
tags
.
[ Nikolas Nyby ]
* Fix typos in CONTRIBUTING.md
* XML parser: Disable external entity expansion. (Closes: #1142332)
.
[ Louis-Philippe Véronneau ]
* d/control: debputy is a transitionnal package, use dh-debputy instead
* new tag 'puppet-module-but-not-dh-puppet'
Checksums-Sha1:
3aa3c75f043d957592e130a82e1fbb0f7b987bbc 3637 lintian_2.139.0.dsc
e71e1f8b674b1be60fcff962fdf5982d9f053c43 2088624 lintian_2.139.0.tar.xz
42ef4514c348118a6d6aa229208ed5a0657d3424 21582 lintian_2.139.0_amd64.buildinfo
Checksums-Sha256:
a82dfdee3721dc9989293e8e48a45c2352a31a4e58b148583053e28d0677ac09 3637 lintian_2.139.0.dsc
b2de9368c71f1da3298a145f0256a81cec9c11a33695b5f469ec3029ff28110d 2088624 lintian_2.139.0.tar.xz
3d805a1c554dc7e2195947d4a2e6cca6d8a9fcbfc0b259644705b5767f05cd19 21582 lintian_2.139.0_amd64.buildinfo
Files:
1da0a8d5cebaf714a1311fc97a1d9058 3637 devel optional lintian_2.139.0.dsc
64613c18818b062379072a324bd5212f 2088624 devel optional lintian_2.139.0.tar.xz
b2955b494dc88b36f4c4f931bd865f8b 21582 devel optional lintian_2.139.0_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQTKp0AHB6gWsCAvw830JXpQshz6hQUCanFw4wAKCRD0JXpQshz6
hft6AP9xhWR6Bc8Dkv8EyKbJE0vAXu78coIiVbDkFpBEFNV84QD+PHk5Rg0n6ooA
FMkO2YV44DE3HAuP1+iahTHFAPZVBg4=
=gIDt
-----END PGP SIGNATURE-----