Re: lintian errors?
On Tue, Jun 12, 2001 at 12:12:42PM +1000, Brian May wrote:
> when trying to inspect my package with lintian, I get all
> sorts of weird and wonderful errors, from the changes file. However,
> everything looks OK to me. Any ideas?
>
> [522] [snoopy:unstable:bam] ~/source/ext2fs >ls -l heimdal_0.3e-6.diff.gz
> -rw-rw-r-- 1 bam bam 597972 Jun 12 10:48 heimdal_0.3e-6.diff.gz
>
> f545b05f1b87e2e2d8508bda1fd8ff70 597927 non-US optional heimdal_0.3e-6.diff.gz
>
> what size should it be?
Well, isn't it obvious that they need to be synchronized? :)
% echo E: foo: file-size-mismatch-in-changes-file | lintian-info
E: foo: file-size-mismatch-in-changes-file
N:
N: The actual file size does not match what's listed in the .changes
N: file.
N:
You can accomplish that either with a full rebuild and re-sign (not fakeroot
debian/rules binary) or by using debsign(1) or something like that.
> W: heimdal source: dh-make-template-in-source debian/shlibs.local.ex
> W: heimdal source: dh-make-template-in-source debian/cron.d.ex
> W: heimdal source: dh-make-template-in-source debian/emacsen-install.ex
> W: heimdal source: dh-make-template-in-source debian/emacsen-remove.ex
> W: heimdal source: dh-make-template-in-source debian/menu.ex
> W: heimdal source: dh-make-template-in-source debian/init.d.ex
> W: heimdal source: dh-make-template-in-source debian/emacsen-startup.ex
> W: heimdal source: dh-make-template-in-source debian/watch.ex
> W: heimdal source: dh-make-template-in-source debian/postinst.ex
> W: heimdal source: dh-make-template-in-source debian/ex.doc-base.package
> W: heimdal source: dh-make-template-in-source debian/postrm.ex
> W: heimdal source: dh-make-template-in-source debian/prerm.ex
> W: heimdal source: dh-make-template-in-source debian/preinst.ex
> W: heimdal source: dh-make-template-in-source debian/manpage.1.ex
You should delete all of those files.
> W: heimdal-kdc: non-standard-dir-perm var/lib/heimdal-kdc/ 0700 != 0755
Security measure? Make Lintian override the warning if there's a reason.
> W: heimdal-kdc: postinst-uses-db-input
% echo W: foo: postinst-uses-db-input | lintian-info
W: foo: postinst-uses-db-input
N:
N: It is generally not a good idea for postinst scripts to use debconf
N: commands like db_input. Typically, they should restrict themselves to
N: db_get to request previously acquired information, and have the config
N: script do the actual prompting.
N:
> E: heimdal-dev: binary-without-manpage compile_et
> E: heimdal-dev: binary-without-manpage krb5-config
> E: heimdal-dev: binary-without-manpage mk_cmds
> E: heimdal-clients: binary-without-manpage dump_log
> E: heimdal-clients: binary-without-manpage kadmin
> E: heimdal-clients: binary-without-manpage kauth
> E: heimdal-clients: binary-without-manpage krcp
> E: heimdal-clients: binary-without-manpage krsh
> E: heimdal-clients: binary-without-manpage ksu
> E: heimdal-clients: binary-without-manpage ktutil
> E: heimdal-clients: binary-without-manpage replay_log
> E: heimdal-clients: binary-without-manpage string2key
> E: heimdal-clients: binary-without-manpage truncate_log
> E: heimdal-clients: binary-without-manpage verify_krb5_conf
Write manual pages to fix these :)
(Note: these are questions for debian-mentors, not debian-devel.)
--
Digital Electronic Being Intended for Assassination and Nullification
Reply to: