On Wed, 17 Nov 2021 00:56:11 +0100 Guillem Jover <guillem@debian.org> wrote: [...] > The same with XS-Go-Import-Path, and I guess a bunch of other fields > that are unknown to dpkg-dev. Same here with my package (apt-listbugs). Running lintian/2.113.0 produces, among others, the following complaints: N: I: apt-listbugs source: adopted-extended-field XB-Ruby-Versions (in secti= on for apt-listbugs) [debian/control:16] N:=20 N: A field in debian/control has an extension prefix but is also known N: without it. N: =20 N: Extension prefixes like XS-* or XC-* allow experimental fields to N: propagate to the right place when packages are built with dpkg. In t= his N: case, however, the field is also known without the prefix. In all N: likelihood the field was permanently adopted, and dpkg learned how t= o deal N: with it. N: =20 N: Please consider removing the extension prefix for the field name. N:=20 N: Visibility: info N: Show-Always: no N: Check: debian/control/field/adopted N: Renamed from: xc-package-type-in-debian-control N: xs-testsuite-field-in-debian-control xs-vcs-field-in-debian-control N:=20 N: I: apt-listbugs source: adopted-extended-field XS-Ruby-Versions (in secti= on for source) [debian/control:9] This seems to be wrong (or at least very misleading, in case I am misreading the suggestions). Indeed, if I modify the debian/control file as in: --- a/debian/control +++ b/debian/control @@ -6,14 +6,14 @@ Build-Depends: debhelper-compat (=3D 13), debhelper (>=3D= 12.8~), gem2deb Build-Depends-Indep: ruby, rdtool, gettext, ruby-debian, ruby-gettext, rub= y-test-unit, ruby-soap4r, ruby-unicode Standards-Version: 4.6.0 Rules-Requires-Root: no -XS-Ruby-Versions: all +Ruby-Versions: all Vcs-Git: https://salsa.debian.org/frx-guest/apt-listbugs.git Vcs-Browser: https://salsa.debian.org/frx-guest/apt-listbugs Homepage: https://salsa.debian.org/frx-guest/apt-listbugs Package: apt-listbugs Architecture: all -XB-Ruby-Versions: ${ruby:Versions} +Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ruby:any, ruby-debian, apt, ruby-gettext, ruby-x= mlparser, ruby-soap4r, ruby-unicode Recommends: ruby-httpclient Suggests: reportbug, w3m | www-browser, sensible-utils, xdg-utils my package FTBFS in an up-to-date sid chroot with the following error: dpkg-source: warning: unknown information field 'Ruby-Versions' in input = data in general section of control info file dpkg-source: warning: unknown information field 'Ruby-Versions' in input da= ta in package's section of control info file [...] No XS-Ruby-Versions: field found in source! dh_auto_clean: error: dh_ruby --clean returned exit code 1 What did I fail to understand? Which is wrong? My modification attempt or the lintian check? Please clarify. Thanks for your time and patience. --=20 http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! ..................................................... Francesco Poli . GnuPG key fpr =3D=3D CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
Attachment:
pgp7fg9BAifry.pgp
Description: PGP signature