[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1014255: marked as done (lintian: very-long-line-length-in-source-file should use file/magic to distinguish text from binary files)



Your message dated Mon, 08 Sep 2025 17:21:11 +0000
with message-id <E1uvfYF-00FZIP-12@fasolo.debian.org>
and subject line Bug#1014255: fixed in lintian 2.124.0
has caused the Debian Bug report #1014255,
regarding lintian: very-long-line-length-in-source-file should use file/magic to distinguish text from binary files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1014255: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014255
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.115.2
Severity: minior
Control: affects -1 src:gnupg2

lintian 2.115.2 complains (in --pedantic) in the following way about
these non-text files in the gnupg2 sources:

P: gnupg2 source: very-long-line-length-in-source-file 1008 > 512 [po/eo.gmo:7]
P: gnupg2 source: very-long-line-length-in-source-file 1092 > 512 [po/hu.gmo:14]
P: gnupg2 source: very-long-line-length-in-source-file 1128 > 512 [po/id.gmo:10]
P: gnupg2 source: very-long-line-length-in-source-file 1240 > 512 [po/pt.gmo:12]
P: gnupg2 source: very-long-line-length-in-source-file 1372 > 512 [po/fi.gmo:14]
P: gnupg2 source: very-long-line-length-in-source-file 1488 > 512 [po/sk.gmo:7]
P: gnupg2 source: very-long-line-length-in-source-file 1544 > 512 [po/ca.gmo:15]
P: gnupg2 source: very-long-line-length-in-source-file 1555 > 512 [g10/t-keydb-get-keyblock.gpg:1091]
P: gnupg2 source: very-long-line-length-in-source-file 1819 > 512 [po/ro.gmo:39]
P: gnupg2 source: very-long-line-length-in-source-file 2016 > 512 [po/et.gmo:14]
P: gnupg2 source: very-long-line-length-in-source-file 2116 > 512 [po/gl.gmo:15]
P: gnupg2 source: very-long-line-length-in-source-file 2832 > 512 [po/el.gmo:11]
P: gnupg2 source: very-long-line-length-in-source-file 2921 > 512 [po/sv.gmo:1671]
P: gnupg2 source: very-long-line-length-in-source-file 3272 > 512 [po/zh_TW.gmo:54]
P: gnupg2 source: very-long-line-length-in-source-file 3508 > 512 [po/da.gmo:62]
P: gnupg2 source: very-long-line-length-in-source-file 3663 > 512 [po/ja.gmo:1530]
P: gnupg2 source: very-long-line-length-in-source-file 3667 > 512 [po/en@boldquot.gmo:1555]
P: gnupg2 source: very-long-line-length-in-source-file 3667 > 512 [po/en@quot.gmo:1550]
P: gnupg2 source: very-long-line-length-in-source-file 3772 > 512 [po/zh_CN.gmo:103]
P: gnupg2 source: very-long-line-length-in-source-file 4054 > 512 [po/cs.gmo:2986]
P: gnupg2 source: very-long-line-length-in-source-file 4227 > 512 [po/de.gmo:3034]
P: gnupg2 source: very-long-line-length-in-source-file 4235 > 512 [po/pl.gmo:3016]
P: gnupg2 source: very-long-line-length-in-source-file 4264 > 512 [po/nb.gmo:83]
P: gnupg2 source: very-long-line-length-in-source-file 4285 > 512 [po/it.gmo:2998]
P: gnupg2 source: very-long-line-length-in-source-file 4324 > 512 [po/fr.gmo:2628]
P: gnupg2 source: very-long-line-length-in-source-file 4344 > 512 [po/ru.gmo:3005]
P: gnupg2 source: very-long-line-length-in-source-file 4564 > 512 [po/uk.gmo:2931]
P: gnupg2 source: very-long-line-length-in-source-file 4628 > 512 [po/tr.gmo:41]
P: gnupg2 source: very-long-line-length-in-source-file 4900 > 512 [po/es.gmo:74]
P: gnupg2 source: very-long-line-length-in-source-file 520 > 512 [tests/gpgsm/cert_dfn_pca15.der:5]
P: gnupg2 source: very-long-line-length-in-source-file 536 > 512 [tests/openpgp/tofu/cross-sigs/871C2247-2.gpg:5]
P: gnupg2 source: very-long-line-length-in-source-file 536 > 512 [tests/openpgp/tofu/cross-sigs/871C2247-3.gpg:7]
P: gnupg2 source: very-long-line-length-in-source-file 536 > 512 [tests/openpgp/tofu/cross-sigs/871C2247-4.gpg:8]
P: gnupg2 source: very-long-line-length-in-source-file 544 > 512 [tests/openpgp/tofu/conflicting/BE04EB2B-secret.gpg:11]
P: gnupg2 source: very-long-line-length-in-source-file 562 > 512 [tests/openpgp/tofu/cross-sigs/EC38277E-1.gpg:3]
P: gnupg2 source: very-long-line-length-in-source-file 562 > 512 [tests/openpgp/tofu/cross-sigs/EC38277E-2.gpg:4]
P: gnupg2 source: very-long-line-length-in-source-file 570 > 512 [tests/openpgp/tofu/conflicting/1C005AF3-secret.gpg:2]
P: gnupg2 source: very-long-line-length-in-source-file 585 > 512 [tests/openpgp/tofu/conflicting/B662E42F.gpg:6]
P: gnupg2 source: very-long-line-length-in-source-file 610 > 512 [tests/openpgp/tofu/cross-sigs/EC38277E-secret.gpg:6]
P: gnupg2 source: very-long-line-length-in-source-file 687 > 512 [tests/openpgp/tofu/conflicting/B662E42F-secret.gpg:8]
P: gnupg2 source: very-long-line-length-in-source-file 692 > 512 [build-aux/speedo/w32/gnupg-logo-150x57.bmp:1]
P: gnupg2 source: very-long-line-length-in-source-file 719 > 512 [g10/t-keydb-keyring.kbx:1]
P: gnupg2 source: very-long-line-length-in-source-file 925 > 512 [build-aux/speedo/w32/gnupg-logo-164x314.bmp:1]

I could add some overrides, but it doesn't really make sense to do so.
I'd prefer it if lintian instead just wouldn't flag non-text source
files with this tag.

We could argue about whether upstream *should* be including non-text
files in source, of course, but there are some not-implausible reasons:

 - some of these files are test vectors (OpenPGP certificates in binary
   form, DER-formatted X.509 certificates, kbx files)

 - some of them are graphics files (gnupg-logo-*.bmp)

 - some of them are GNU message catalogs -- compiled output of .po files
   that upstream prefers to ship in the tarball for folks building the
   package without l10n toolchains.  we rebuild them in debian, but i'd
   still rather ship the upstream tarball if possible.

And i'd rather not try to convince upstream that they should ship a
different tarball.

If there's some way that i need to flag these files as non-text for
lintian's sake, i'm willing to do that, but i don't know how to do it.

          --dkg

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.124.0
Done: Louis-Philippe Véronneau <pollo@debian.org>

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 1014255@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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 08 Sep 2025 09:21:44 -0400
Source: lintian
Architecture: source
Version: 2.124.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Louis-Philippe Véronneau <pollo@debian.org>
Closes: 1014255
Changes:
 lintian (2.124.0) unstable; urgency=medium
 .
   [ Louis-Philippe Véronneau ]
   * Bump the uses-debhelper-compat-file tag from pedantic to warning.
     and add mention of breakage in dh14.
   * Try to decode font file using utf8 if it fails with cp1252.
 .
   [ Matt Barry ]
   * Check file_type in LineLength. (Closes: #1014255)
 .
   [ Nilesh Patra ]
   * Adjust tests to not display very-long-line-length on non-ascii/unicode
     files.
 .
   [ Yadd ]
   * Update lintian to accept debian/watch files version 5.
 .
   [ Alexandre Detiste ]
   * apply the Multi-Arch hint for lintian-doc.
 .
   [ Simon McVittie ]
   * obsolete-packages: Deprecate libgirepository1.0-dev.
Checksums-Sha1:
 8641e7e855e599d6d55e82643b18a29994fd01db 3587 lintian_2.124.0.dsc
 68fbefde494bb6977bf40d037d0822f552b0d6df 2286400 lintian_2.124.0.tar.xz
 7e89401e53d91af896ac493b46416c6d3ad93744 21089 lintian_2.124.0_amd64.buildinfo
Checksums-Sha256:
 d2b85294107bc8eeccd68c8d8805c490adc1de7fe7f675a3518517767f37f036 3587 lintian_2.124.0.dsc
 8c6f5abe7b603e9bd3fff55f01d2c97296b7c59ab6cbd291367c6d6bea1f2a74 2286400 lintian_2.124.0.tar.xz
 22efaa9445aae65e597224c36fe4664f81b00f2352a64bbdc01f8e0f53e9165d 21089 lintian_2.124.0_amd64.buildinfo
Files:
 55d9433b992fe7480f39cdb9b5ef8eda 3587 devel optional lintian_2.124.0.dsc
 df95075750556000d2590a4bb4e80c3c 2286400 devel optional lintian_2.124.0.tar.xz
 46f05589400d98e38b4bd811ac2689be 21089 devel optional lintian_2.124.0_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQTKp0AHB6gWsCAvw830JXpQshz6hQUCaL8KQgAKCRD0JXpQshz6
hY+OAPoDmi0taP0/9JHYLadbO44na3O5bYGcNbBriut6PSK6RwD/QjGenb85h6OU
RuIBXEXSufczNXL204sWmaBWEIAgLgo=
=fbZI
-----END PGP SIGNATURE-----

Attachment: pgp9nr_XGxJnG.pgp
Description: PGP signature


--- End Message ---

Reply to: