> * Jakub Wilk <uba...@users.sf.net>, 2009-08-03, 09:43:

Hi,

> >>Just one comment: lintian 2.2.13 (from sid) reports:
> >>
> >>$ lintian -i --pedantic *.changes
> >>E: cflow: package-contains-info-dir-file usr/share/info/dir.gz
> >
> >[snip]
> >
> >>and in fact it is correct:
> >>
> >>$ dpkg --contents cflow_1.3-1_i386.deb | grep info
> >>drwxr-xr-x root/root         0 2009-08-03 03:03 ./usr/share/info/
> >>-rw-r--r-- root/root       448 2009-08-03 03:02 ./usr/share/info/dir.gz
> >>-rw-r--r-- root/root     24212 2009-08-03 03:03
> >> ./usr/share/info/cflow.info.gz
> >
> >Well, my pbuilder produces a correct result:
> >
> >$ lintian --version
> >Lintian v2.2.13
> >
> >$ lintian -I -E --pedantic cflow_1.3-1_i386.changes && echo $?
> >0
> >
> >$ $ dpkg --contents cflow_1.3-1_i386.deb | grep -c dir
> >0
>
> It seems the the bug is triggered only when install-info is installed.

Yes, install-info is priority important and also found in my cowbuilder image. 
Sure, I can --login and remove it, then build from there, but I expect it 
autobuilders also have it in their chroots environments, which would result in 
building a package with that extra dir.gz.

As Bernhard Link also suggested, I tracked this down to the recent install-
info (being called by upstream makefile) which actually calls ginstall-info 
which creates the dir file into the package directory. This makes sense system-
wide, but not for package directories, hence I guess such upstream targets are 
better to be avoided when it comes to installation into package directories. 
Your solution also works, but it kinda falls into `install'em-all-then-remove-
some' category ;-)

> Fixed and uploaded to mentors:
> - URL: http://mentors.debian.net/debian/pool/main/c/cflow
> - Source repository: deb-src http://mentors.debian.net/debian unstable main
> contrib non-free - dget
> http://mentors.debian.net/debian/pool/main/c/cflow/cflow_1.3-1.dsc

Uploaded. Thanks for your work!

-- 
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to