Bug#470913: lintian: False positive: Manual pages should be compressed with gzip -9

2008-03-15 Thread Russ Allbery
Russ Allbery [EMAIL PROTECTED] writes:

 I'm afraid I don't.  After getting the source and building it, I get the
 same lintian output as I get with the binary package currently in the
 archive, namely:

 windlord:~/tmp lintian -I *.changes
 W: tomoyo-ccstools: maintainer-script-empty preinst
 W: tomoyo-ccstools: maintainer-script-empty prerm
 windlord:~/tmp lintian -V
 Lintian v1.23.46

I've been able to reproduce this problem now with a current sid chroot.
Lintian is correct; the man pages really aren't compressed:

wanderer:~/tmp/tomoyo-ccstools/usr/share/man/man8 file *.gz
ccs-auditd.8.gz: troff or preprocessor input text
ccs-ccstree.8.gz:troff or preprocessor input text
ccs-checkpolicy.8.gz:troff or preprocessor input text
ccs-domainmatch.8.gz:troff or preprocessor input text
ccs-editpolicy.8.gz: troff or preprocessor input text
ccs-editpolicy_offline.8.gz: troff or preprocessor input text
ccs-findtemp.8.gz:   troff or preprocessor input text
ccs-init.8.gz:   troff or preprocessor input text
ccs-ld-watch.8.gz:   troff or preprocessor input text
ccs-loadpolicy.8.gz: troff or preprocessor input text
ccs-notifyd.8.gz:troff or preprocessor input text
ccs-pathmatch.8.gz:  troff or preprocessor input text
ccs-patternize.8.gz: troff or preprocessor input text
ccs-queryd.8.gz: troff or preprocessor input text
ccs-savepolicy.8.gz: troff or preprocessor input text
ccs-setlevel.8.gz:   troff or preprocessor input text
ccs-setprofile.8.gz: troff or preprocessor input text
ccs-sortpolicy.8.gz: troff or preprocessor input text
init_policy.sh.8.gz: troff or preprocessor input text
tomoyo-init.8.gz:troff or preprocessor input text
tomoyo_init_policy.sh.8.gz:  troff or preprocessor input text
wanderer:~/tmp/tomoyo-ccstools/usr/share/man/man8 head ccs-auditd.8.gz 
.\ DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
.TH CCS-AUDITD 8 January 2008 ccs-auditd 1.5.3 System Administration 
Utilities
.SH NAME
ccs-auditd \- TOMOYO Linux's auditing daemon
.SH SYNOPSIS
.B ccs-auditd
\fIlocation_to_save_grant_log location_to_save_reject_log\fR
.SH DESCRIPTION
This program reads access request logs from kernel and writes to specified 
location.
.PP

It looks an interaction between dh_installman and man --recode is at
fault.  Upstream installs the man pages already compressed, but then
dh_installman does:

man --recode UTF-8 ./ccs\-notifyd\.8\.gz  ccs\-notifyd\.8\.gz\.new
chmod 644 ccs-notifyd.8.gz.new
mv -f ccs-notifyd.8.gz.new ccs-notifyd.8.gz

for each man page.  man can read the compressed man page just fine, but
writes out an uncompressed man page, and they're not then recompressed
because they still have *.gz extensions.

I'll reassign this bug to debhelper.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#470913: lintian: False positive: Manual pages should be compressed with gzip -9

2008-03-14 Thread Hideki Yamane (Debian-JP)
Package: lintian
Version: 1.23.46
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear lintian maintainers,

 I've got warning from lintian, as follows.

 $ lintian -i ../ccstools_1.5.3-20080131-2_i386.changes 
 E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-auditd.8.gz
 N:
 N:   Manual pages should be compressed with gzip -9.
 N:   
 N:   Refer to Policy Manual, section 12.1 for details.
 N:

  However, it seems that compressed with gzip -9 (max compression).

  $ file man8/ccs-auditd.8.gz 
  man8/ccs-auditd.8.gz: gzip compressed data, from Unix, last modified: Fri Jan 
25 11:32:55 2008, max compression

- --
Regards,

 Hideki Yamane henrich @ debian.or.jp/samba.gr.jp/iijmio-mail.jp



- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii  diffstat1.45-2   produces graph of changes introduc
ii  dpkg-dev1.14.16.6package building tools for Debian
ii  file4.23-2   Determines file type using magic
ii  gettext 0.17-2   GNU Internationalization utilities
ii  intltool-debian 0.35.0+20060710.1Help i18n of RFC822 compliant conf
ii  libparse-debianchan 1.1.1-2  parse Debian changelogs and output
ii  liburi-perl 1.35.dfsg.1-1Manipulates and accesses URI strin
ii  man-db  2.5.1-3  on-line manual pager
ii  perl [libdigest-md5 5.8.8-12 Larry Wall's Practical Extraction 

lintian recommends no packages.

- -- no debconf information

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

iD8DBQFH2oE8Iu0hy8THJksRAhEQAKCcRA8y9Hf5rs08XgiQAI5aN7A1fACfbWtd
ETAHJbKACeTRAOPqGLw1BBE=
=23jH
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#470913: lintian: False positive: Manual pages should be compressed with gzip -9

2008-03-14 Thread Russ Allbery
Hideki Yamane (Debian-JP) [EMAIL PROTECTED] writes:

  I've got warning from lintian, as follows.

  $ lintian -i ../ccstools_1.5.3-20080131-2_i386.changes 
  E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
 usr/share/man/man8/ccs-auditd.8.gz
  N:
  N:   Manual pages should be compressed with gzip -9.
  N:   
  N:   Refer to Policy Manual, section 12.1 for details.
  N:

   However, it seems that compressed with gzip -9 (max compression).

   $ file man8/ccs-auditd.8.gz 
   man8/ccs-auditd.8.gz: gzip compressed data, from Unix, last modified: Fri 
 Jan 25 11:32:55 2008, max compression

The current version of this package doesn't give this warning, so
something must have changed.  I gather you either just uploaded this or
haven't yet?  I don't see it in the archive yet.

The warning is based on file output and wouldn't have been issued for the
file output you show above, so something weird is going on.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#470913: lintian: False positive: Manual pages should be compressed with gzip -9

2008-03-14 Thread Russ Allbery
Hideki Yamane [EMAIL PROTECTED] writes:
 Russ Allbery [EMAIL PROTECTED] wrote:

 The current version of this package doesn't give this warning, so
 something must have changed.  I gather you either just uploaded this or
 haven't yet?  I don't see it in the archive yet.

  Just you get source with apt-get source and debuild it, you'll
  see same warning. The version of this package is ccstools_1.5.3-20080131-1,
  it's uploaded at 2008-02-06.

I'm afraid I don't.  After getting the source and building it, I get the
same lintian output as I get with the binary package currently in the
archive, namely:

windlord:~/tmp lintian -I *.changes
W: tomoyo-ccstools: maintainer-script-empty preinst
W: tomoyo-ccstools: maintainer-script-empty prerm
windlord:~/tmp lintian -V
Lintian v1.23.46

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#470913: lintian: False positive: Manual pages should be compressed with gzip -9

2008-03-14 Thread Hideki Yamane
# I forgot to post this to BTS ;)

Hi Russ, 

 Thanks for your quick reply.

On Fri, 14 Mar 2008 14:25:06 -0700
Russ Allbery [EMAIL PROTECTED] wrote:
 I'm afraid I don't.  After getting the source and building it, I get the
 same lintian output as I get with the binary package currently in the
 archive, namely:
 
 windlord:~/tmp lintian -I *.changes
 W: tomoyo-ccstools: maintainer-script-empty preinst
 W: tomoyo-ccstools: maintainer-script-empty prerm
 windlord:~/tmp lintian -V
 Lintian v1.23.46

[EMAIL PROTECTED]:/tmp$ ls *.changes
ccstools_1.5.3-20080131-1_i386.changes

[EMAIL PROTECTED]:/tmp$ lintian -I *.changes
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-auditd.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-ccstree.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-checkpolicy.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-domainmatch.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-editpolicy.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-editpolicy_offline.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-findtemp.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-init.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-ld-watch.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-loadpolicy.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-notifyd.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-pathmatch.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-patternize.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-queryd.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-savepolicy.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-setlevel.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-setprofile.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/ccs-sortpolicy.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/init_policy.sh.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/tomoyo-init.8.gz
E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
usr/share/man/man8/tomoyo_init_policy.sh.8.gz
W: tomoyo-ccstools: maintainer-script-empty preinst
W: tomoyo-ccstools: maintainer-script-empty prerm

[EMAIL PROTECTED]:/tmp$ lintian -V
Lintian v1.23.46

 Umm?? why I get such errors...?




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#470913: lintian: False positive: Manual pages should be compressed with gzip -9

2008-03-14 Thread Russ Allbery
Hideki Yamane [EMAIL PROTECTED] writes:

 [EMAIL PROTECTED]:/tmp$ ls *.changes
 ccstools_1.5.3-20080131-1_i386.changes

 [EMAIL PROTECTED]:/tmp$ lintian -I *.changes
 E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
 usr/share/man/man8/ccs-auditd.8.gz
 E: tomoyo-ccstools: manpage-not-compressed-with-gzip 
 usr/share/man/man8/ccs-ccstree.8.gz

[...]

 [EMAIL PROTECTED]:/tmp$ lintian -V
 Lintian v1.23.46

  Umm?? why I get such errors...?

I have no idea.  I can't reproduce this.  Hm.

Do you by any chance have a locale setting?  Lintian is suppose to
sanitize the environment of anything that causes output to change or the
like, but maybe it's missing something.

There's *something* different about your environment than mine, but I'm
not sure what it is.  I built the package in a sid chroot, so it's not
that.  I'm running the latest version of lintian but on testing, which is
another possible difference; if that's it, I can check by running lintian
in a current sid environment this evening from home.

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]