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

Bug#555408: Locale generated, but Lintian still complains of manpage character errors



package lintian
reopen 555408
found 555408 2.3.2
thanks

On 10-Jan-2010, Russ Allbery wrote:
> #  * debian/postinst:
> #    + [RA] Generate an en_US.UTF-8 locale in /var/lib/lintian/locale for
> #      use for tests, particularly man page tests.  (Closes: #555408)

The locale is generated, but the tag is still reported. As before, it
only happens when the locales are not available (in my case, inside a
pbuilder chroot), which is why I've reopened this report.

My hook for running Lintian looks like this:

===== $HOME/.pbuilder/hooks/B90_lintian
#! /bin/sh
# Run lintian on the generated package

echo "I: installing lintian and running it on the package"
aptitude install -y --assume-yes lintian
LINTIAN_OPTS="--allow-root --color=always -IE --pedantic"
lintian ${LINTIAN_OPTS} /tmp/buildd/*.changes | tee /tmp/buildd/lintian
=====

The result is:

=====
$ sudo pbuilder --build ../build-area/burn_0.4.6-1.dsc
[…]
I: user script /var/cache/pbuilder/build//5668/tmp/hooks/B90_lintian starting
I: installing lintian and running it on the package
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
The following NEW packages will be installed:
  diffstat{a} libapt-pkg-perl{a} libclass-accessor-perl{a} libio-pty-perl{a} libio-string-perl{a} libipc-run-perl{a} libparse-debianchangelog-perl{a}
  libsub-name-perl{a} liburi-perl{a} lintian locales{a}
The following packages are RECOMMENDED but will NOT be installed:
  libhtml-parser-perl libhtml-template-perl libxml-simple-perl
0 packages upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/5728kB of archives. After unpacking 16.6MB will be used.
Writing extended state information... Done
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package locales.
(Reading database ... 13820 files and directories currently installed.)
Unpacking locales (from .../locales_2.10.2-5_all.deb) ...
Selecting previously deselected package diffstat.
Unpacking diffstat (from .../diffstat_1.47-1_powerpc.deb) ...
Selecting previously deselected package libapt-pkg-perl.
Unpacking libapt-pkg-perl (from .../libapt-pkg-perl_0.1.24_powerpc.deb) ...
Selecting previously deselected package libsub-name-perl.
Unpacking libsub-name-perl (from .../libsub-name-perl_0.04-1_powerpc.deb) ...
Selecting previously deselected package libclass-accessor-perl.
Unpacking libclass-accessor-perl (from .../libclass-accessor-perl_0.34-1_all.deb) ...
Selecting previously deselected package libio-pty-perl.
Unpacking libio-pty-perl (from .../libio-pty-perl_1%3a1.07-2_powerpc.deb) ...
Selecting previously deselected package libio-string-perl.
Unpacking libio-string-perl (from .../libio-string-perl_1.08-2_all.deb) ...
Selecting previously deselected package libipc-run-perl.
Unpacking libipc-run-perl (from .../libipc-run-perl_0.84-1_all.deb) ...
Selecting previously deselected package libparse-debianchangelog-perl.
Unpacking libparse-debianchangelog-perl (from .../libparse-debianchangelog-perl_1.1.1-2_all.deb) ...
Selecting previously deselected package liburi-perl.
Unpacking liburi-perl (from .../liburi-perl_1.52-1_all.deb) ...
Selecting previously deselected package lintian.
Unpacking lintian (from .../archives/lintian_2.3.2_all.deb) ...
Processing triggers for man-db ...
Setting up locales (2.10.2-5) ...
Generating locales (this might take a while)...
Generation complete.
Setting up diffstat (1.47-1) ...
Setting up libapt-pkg-perl (0.1.24) ...
Setting up libsub-name-perl (0.04-1) ...
Setting up libclass-accessor-perl (0.34-1) ...
Setting up libio-pty-perl (1:1.07-2) ...
Setting up libio-string-perl (1.08-2) ...
Setting up libipc-run-perl (0.84-1) ...
Setting up libparse-debianchangelog-perl (1.1.1-2) ...
Setting up liburi-perl (1.52-1) ...
Setting up lintian (2.3.2) ...
Generating en_US.UTF-8 locale for internal Lintian use....
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Writing extended state information... Done

W: burn: manpage-has-errors-from-man usr/share/man/man1/burn-configure.1.gz  Invalid or incomplete multibyte or wide character
W: burn: manpage-has-errors-from-man usr/share/man/man1/burn.1.gz  Invalid or incomplete multibyte or wide character
I: user script /var/cache/pbuilder/build//5668/tmp/hooks/B90_lintian finished
=====

Whereas if I use Lintian *outside* the chroot to test the very same
binary package, the report does not include those tags:

=====
$ lintian --allow-root --color=always -IE --pedantic /var/cache/pbuilder/sid-powerpc/result/burn_0.4.6-1_powerpc.changes
$
=====

-- 
 \         “Nature hath given men one tongue but two ears, that we may |
  `\          hear from others twice as much as we speak.” —Epictetus, |
_o__)                                                      _Fragments_ |
Ben Finney <ben@benfinney.id.au>

Attachment: signature.asc
Description: Digital signature


Reply to: