** Description changed:

  [ Impact ]
  
  All Ubuntu packages that have a modification (in other words: every time
  someone develops a patch for Ubuntu) will spit out this false positive:
  
  I: base-files source: adopted-extended-field (in section for source)
  XSBC-Original-Maintainer [debian/control:4]
  
  This leads to people trying to apply the wrong "solution" for it.
  
  [ Test Plan ]
  
  Run lintian on a package with Ubuntu modification (could even be the
  lintian package itself). The affected lintian should show a adopted-
  extended-field entry, but the fixed one shouldn't.
  
  In addition check the autopkgtest result.
+ 
+ The distro-info change is tested via the lintian test and also by the
+ autopkgtest change of distro-info.
  
  [ Where problems could occur ]
  
  lintian is used as linter for people doing packaging. I expect users to
  call lintian directly or lintian being used in CI systems. lintian could
  start to crash making it unusable and therefore breaking the CI systems.
  
  [ Original report ]
  
  Imported from Debian bug http://bugs.debian.org/1141065:
  
  Package: lintian
  Version: 2.137.1
  Severity: normal
  User: [email protected]
  Usertags: origin-kali
  
  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167987

Title:
  lintian: incorrectly complains about adopted-extended-field for
  derivatives (XS-Debian-Vcs-Browser, XS-Debian-Vcs-Git, XSBC-Original-
  Maintainer)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lintian/+bug/2167987/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to