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

Bug#387360: marked as done ([checks/po-debconf] Invalid files in debian/po directory)



Your message dated Sat, 18 Nov 2006 17:32:15 -0800
with message-id <E1GlbXb-00056k-8X@spohr.debian.org>
and subject line Bug#387360: fixed in lintian 1.23.26
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: lintian
Version: 1.23.24
Severity: wishlist
Tags: patch

Hi,

The debian/po/ directory, if using po-debconf, should only contain *.po
files and the POTFILES.in and templates.pot files. Other files may
appear because of an unclean package, or because of a wrong filename.
In the attached "results.list" file, you will find the warnings for the
whole archive.

The two other files are patches to add this check.

Cheers,

-- 
Thomas Huriaux
W: amanda source: unknown-po-debconf-file debian/po/fr.po.poedit
W: bootsplash source: unknown-po-debconf-file debian/po/cs.po~
W: bootsplash source: unknown-po-debconf-file debian/po/fr.po~
W: bootsplash source: unknown-po-debconf-file debian/po/ja.po~
W: bootsplash source: unknown-po-debconf-file debian/po/pt.po~
W: bootsplash source: unknown-po-debconf-file debian/po/pt_BR.po~
W: cdebconf source: unknown-po-debconf-file debian/po/output
W: checksecurity source: unknown-po-debconf-file debian/po/messages.mo
W: console-data source: unknown-po-debconf-file debian/po/output
W: cpad-kernel source: unknown-po-debconf-file debian/po/es.po~
W: cpad-kernel source: unknown-po-debconf-file debian/po/vi.po~
W: cvsd source: unknown-po-debconf-file debian/po/pt_BR.po~
W: cvsd source: unknown-po-debconf-file debian/po/da.po~
W: cvsd source: unknown-po-debconf-file debian/po/de.po~
W: cvsd source: unknown-po-debconf-file debian/po/cs.po~
W: cvsd source: unknown-po-debconf-file debian/po/es.po~
W: cvsd source: unknown-po-debconf-file debian/po/fr.po~
W: cvsd source: unknown-po-debconf-file debian/po/ja.po~
W: cvsd source: unknown-po-debconf-file debian/po/nl.po~
W: cvsd source: unknown-po-debconf-file debian/po/pt.po~
W: cvsd source: unknown-po-debconf-file debian/po/vi.po~
W: dbengine source: unknown-po-debconf-file debian/po/CVS
W: debian-edu-install source: unknown-po-debconf-file debian/po/ChangeLog
W: debian-edu-install source: unknown-po-debconf-file debian/po/output
W: debian-edu-install source: unknown-po-debconf-file debian/po/nds.po
W: dist source: unknown-po-debconf-file debian/po/.arch-ids
W: dnprogs source: unknown-po-debconf-file debian/po/CVS
W: dpkg-www source: unknown-po-debconf-file debian/po/cs.po.Miroslav_Kure
W: euro-support source: unknown-po-debconf-file debian/po/messages.mo
W: foomatic-gui source: unknown-po-debconf-file debian/po/CVS
W: freepops source: unknown-po-debconf-file debian/po/fr.po~
W: freepops source: unknown-po-debconf-file debian/po/sv.po~
W: freepops source: unknown-po-debconf-file debian/po/vi.po~
W: gcl source: unknown-po-debconf-file debian/po/CVS
W: gpsd source: unknown-po-debconf-file debian/po/output
W: hearse source: unknown-po-debconf-file debian/po/.cvsignore
W: hearse source: unknown-po-debconf-file debian/po/cs.po.~1~
W: hearse source: unknown-po-debconf-file debian/po/fr.po.~1~
W: hearse source: unknown-po-debconf-file debian/po/sv.po.~1~
W: hearse source: unknown-po-debconf-file debian/po/vi.po.~1~
W: igaelic source: unknown-po-debconf-file debian/po/output
W: iirish source: unknown-po-debconf-file debian/po/output
W: iirish source: unknown-po-debconf-file debian/po/kok.po
W: iirish source: unknown-po-debconf-file debian/po/nso.po
W: imanx source: unknown-po-debconf-file debian/po/output
W: localization-config source: unknown-po-debconf-file debian/po/output
W: ltsp source: unknown-po-debconf-file debian/po/output
W: mailagent source: unknown-po-debconf-file debian/po/.arch-ids
W: mapserver source: unknown-po-debconf-file debian/po/output
W: netenv source: unknown-po-debconf-file debian/po/CVS
W: norwegian source: unknown-po-debconf-file debian/po/norwegian-cs.po
W: phpqladmin source: unknown-po-debconf-file debian/po/CVS
W: plan source: unknown-po-debconf-file debian/po/output
W: popularity-contest source: unknown-po-debconf-file debian/po/output
W: setserial source: unknown-po-debconf-file debian/po/setserial.ja.po
W: setserial source: unknown-po-debconf-file debian/po/setserial.pl.po
W: slrn source: unknown-po-debconf-file debian/po/output
W: spamprobe source: unknown-po-debconf-file debian/po/fr.po.save
W: sun-java5 source: unknown-po-debconf-file debian/po/.svn
W: tiger source: unknown-po-debconf-file debian/po/CVS
W: tpctl source: unknown-po-debconf-file debian/po/.svn
W: ucf source: unknown-po-debconf-file debian/po/.arch-ids
W: ucf source: unknown-po-debconf-file debian/po/ChangeLog
W: user-setup source: unknown-po-debconf-file debian/po/output
W: vtun source: unknown-po-debconf-file debian/po/vtun_2.6-3_ja.po
W: wacom-tools source: unknown-po-debconf-file debian/po/cs.po~
W: wacom-tools source: unknown-po-debconf-file debian/po/fr.po~
W: wacom-tools source: unknown-po-debconf-file debian/po/ja.po~
W: wacom-tools source: unknown-po-debconf-file debian/po/vi.po~
W: webmin-ldap-user-simple source: unknown-po-debconf-file debian/po/.svn
W: wims source: unknown-po-debconf-file debian/po/cs.po~
W: wims source: unknown-po-debconf-file debian/po/fr.po~
W: wims source: unknown-po-debconf-file debian/po/pt.po~
W: wwwoffle source: unknown-po-debconf-file debian/po/fr.po~
W: xdebconfigurator source: unknown-po-debconf-file debian/po/output
W: xdm source: unknown-po-debconf-file debian/po/pothead.in
W: xorg source: unknown-po-debconf-file debian/po/pothead.in
W: zephyr source: unknown-po-debconf-file debian/po/.svn
--- /usr/share/lintian/checks/po-debconf	2006-05-17 04:09:04.000000000 +0200
+++ po-debconf	2006-09-13 22:24:03.000000000 +0200
@@ -114,6 +114,8 @@
 opendir(DEBIAN, 'debfiles/po')
         or fail("Can't open debfiles/po directory.");
 while (defined(my $file=readdir(DEBIAN))) {
+        tag "unknown-po-debconf-file", "debian/po/$file"
+          unless ($file =~ /^([a-z]{2,2}(_[A-Z]{2,2})?\.po|(templates|test)\.pot|POTFILES.in|\.\.?)$/);
         next unless $file =~ m/\.po$/;
         local ($/) = "\n\n";
         $_ = '';
--- /usr/share/lintian/checks/po-debconf.desc	2006-05-07 08:26:02.000000000 +0200
+++ po-debconf.desc	2006-09-13 22:14:22.000000000 +0200
@@ -63,3 +63,11 @@
  This can be ensured by running debconf-updatepo in the 'clean' target
  of <tt>debian/rules</tt>. PO files will then always be up-to-date when
  building the source package.
+
+Tag: unknown-po-debconf-file
+Type: warning
+Info: Invalid file name
+ The only valid filenames in the debian/po/ directory are:
+  * templates.pot
+  * POTFILES.in
+  * PO files with a valid language code

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 1.23.26

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:

lintian_1.23.26.dsc
  to pool/main/l/lintian/lintian_1.23.26.dsc
lintian_1.23.26.tar.gz
  to pool/main/l/lintian/lintian_1.23.26.tar.gz
lintian_1.23.26_all.deb
  to pool/main/l/lintian/lintian_1.23.26_all.deb



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 387360@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Russ Allbery <rra@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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 18 Nov 2006 17:21:22 -0800
Source: lintian
Binary: lintian
Architecture: source all
Version: 1.23.26
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Russ Allbery <rra@debian.org>
Description: 
 lintian    - Debian package checker
Closes: 97502 133027 189656 190897 289723 322244 332770 360227 380286 387360 389070 393975 394104 394419 394720 395028 395468 396278 398670 399245
Changes: 
 lintian (1.23.26) unstable; urgency=low
 .
   * checks/binaries{.desc,}:
     + [RA] Add a policy reference for unstripped-binary-or-object.
       Thanks, Bas Wijnen.  (Closes: #394419)
     + [RA] Add a special exception to the shared library dependency check
       for the dynamic loader itself.
   * checks/changelog-file.desc:
     + [RA] Downgrade to a warning several errors with changelog files,
       including compression and a text version of HTML changelogs, that
       are only shoulds in Policy.  (Closes: #289723)
     + [RA] Cleaned up language and use of unbalanced single quotes in
       numerous descriptions.
   * checks/control-file{.desc,}:
     + [RA] Diagnose a control file that creates binary packages in a
       different archive category from the source package or the other
       binary packages.  Idea from Yann Dirson.  (Closes: #394720)
     + [RA] Close opened files.
     + [RA] Add info-level check for Section in the source section of the
       control file.  (Closes: #322244)
   * checks/cruft{.desc,}:
     + [RA] Tighten the timestamp check on config.{sub,guess} to look for
       files dated 2004 or newer, since that's when x86_64 was added.
       Increase to an error at the request of Ryan Murray since we already
       suppress this warning of config.{guess,sub} are modified by the
       Debian patch or if the package build-depends on autotools-dev.
       (Closes: #190897)
   * checks/debconf{.desc,}:
     + [RA] Take into account comma escaping when checking the number of
       translated choices.  Reported by Frans Pop.  (Closes: #395028)
     + [RA] Only require debconf be loaded in the postinst script if a
       config script exists.  Reported by Josselin Mouette.
     + [RA] Require pre-depends on debconf if debconf is used in the
       preinst script.  Update the long description to deprecate only
       depending on debconf and falling back on another configuration
       system.  Reported by Josselin Mouette.  (Closes: #395468)
     + [RA] Warn of debconf notes displayed with low or medium priority,
       with an exception for Policy-required device file warnings.  Based
       on a patch by Thomas Huriaux.  (Closes: #389070)
     + [RA] Close files after opening them, fixing incorrect line numbers
       when reporting problems with config scripts.
   * checks/debdiff{.desc,}:
     + [RA] Check for creation of ~ and .xxx.swp backup files in the Debian
       diff, but only at the info level for now since they cause no harm.
       (Closes: #332770)
   * checks/fields{.desc,}:
     + [RA] Clarify in missing-build-dependency why lintian does not take
       into account transitive build dependencies.  (Closes: #393975)
     + [RA] Avoid Perl warning when diagnosing a Python-Version of the form
       "all, >= 2.4".  Thanks, Thijs Kinkhorst.  (Closes: #394104)
     + [RA] Teach the debian/rules parsing about make conditionals and
       don't require build dependencies for lines encountered inside a
       conditional (in other words, assume people using conditionals know
       what they're doing).  Fixes a false positive due to the unusual
       arch-specific build dependencies for openoffice.org, reported by
       Rene Engelhard.  (Closes: #380286)
   * checks/files{.desc,}:
     + [RA] Check for vim .swp files in the package.
     + [RA] Split the warning for NFS temporary files into a separate tag
       from the warning for editor backup files.
   * checks/infofiles:
     + [RA] Close opened files.
     + [RA] debhelper no longer adds a --section flag to install-info, so
       don't warn about any install-info invocation without --section.
       Instead, check each info file for INFO-DIR-SECTION and diagnose
       calling install-info without --section if any info file is missing
       this information.  (Closes: #97502, #398670)
     + [RA] Checks for the compression and suffixes of info files were not
       being run due to a mistake in specifying either /usr/info or
       /usr/share/info as an info directory.  Re-enable them.
   * checks/md5sums{.desc,}:
     + [RA] Add a tag for a missing md5sums control file, but only at info
       level, at least for now.  (Closes: #133027)
     + [RA] Do better syntax checking of the md5sums control file and
       report malformed lines as a tag rather than aborting lintian.
     + [RA] Downgrade file-missing-in-md5sums to a warning since it doesn't
       break the package or debsums and may be intentional.
   * checks/menu.desc:
     + [RA] Remove stray commas in Ref strings since the reporting code
       considers commas to be separating two different references.
   * checks/menu-format{.desc,}:
     + [RA] Support the sux, gksu, and kdesu wrappers in menu commands as
       well as su-to-root.  (Closes: #360227)
     + [RA] Fix tag name for menu-icon-cannot-be-parsed.  Thanks, Bill
       Allombert.  (Closes: #399245)
   * checks/po-debconf{.desc,}:
     + [RA] Check for misnamed PO files in debian/po, which cause
       translations to be merged into the template with the wrong names and
       not found.  Based on a patch by Thomas Huriaux.  (Closes: #387360)
   * checks/shared-libs:
     + [RA] Calling ldconfig is also required for libraries installed in
       various subdirectories of its standard search path based on hardware
       capabilities.  Reported by Aurelien Jarno.  (Closes: #396278)
 .
   * debian/rules:
     + [RA] Exclude testset/diffs/binary.c~ from dh_clean.
 .
   * frontend/lintian:
     + [RA] Add --fail-on-warning option to exit with non-zero status if
       any warnings were found.  Thanks, Daniel Bonniot.  (Closes: #189656)
 .
   * man/lintian.1:
     + [RA] Document --fail-on-warning.
Files: 
 cda4e08aaf178b646cc6ce23bc1c30a0 803 devel optional lintian_1.23.26.dsc
 15742add8a98724dc3aba2357db88ce9 322262 devel optional lintian_1.23.26.tar.gz
 d87b2eee380fc9c8670ca44a69af93e0 273294 devel optional lintian_1.23.26_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFX7Oe+YXjQAr8dHYRAm7nAKCftMal/2IrIrynjs8e2YNTUfk5dACeNgOf
KUA4Fbc4gqYaEs1Fubv3Au8=
=RaCW
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: