Hello,

I think I fixed this with a maintscript, but this is the first time I
do so. I'd feel better if you could double-check that I did it right,
eg by rerunning the script, please.

Thanks for your work,
Mt.

On Tue, Dec 06, 2016 at 11:33:34PM +0100, Andreas Beckmann wrote:
> Package: quilt-el
> Version: 0.63-5
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> a test with piuparts revealed that your package misses the copyright
> file after an upgrade, which is a violation of Policy 12.5:
> https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile
> 
> After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory.
> 
> This was observed on the following upgrade paths:
> 
>   wheezy -> jessie (no package in jessie, keeping wheezy version
>   installed) -> stretch
> 
> >From the attached log (scroll to the bottom...):
> 
> 3m38.6s ERROR: WARN: Inadequate results from running adequate!
>   quilt-el: missing-copyright-file /usr/share/doc/quilt-el/copyright
> 
> 3m43.4s DUMP: 
>   MISSING COPYRIGHT FILE: /usr/share/doc/quilt-el/copyright
>   # ls -lad /usr/share/doc/quilt-el
>   drwxr-xr-x 2 root root 40 Sep 15 10:31 /usr/share/doc/quilt-el
>   # ls -la /usr/share/doc/quilt-el/
>   total 0
>   drwxr-xr-x   2 root root   40 Sep 15 10:31 .
>   drwxr-xr-x 294 root root 6060 Sep 15 10:31 ..
> 
> 
> Additional info may be available here:
> https://wiki.debian.org/MissingCopyrightFile
> 
> Note that dpkg intentionally does not replace directories with symlinks
> and vice versa, you need the maintainer scripts to do this.
> See in particular the end of point 4 in
> https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase
> 
> It is recommended to use the dpkg-maintscript-helper commands
> 'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
> to perform the conversion, ideally using d/$PACKAGE.maintscript.
> Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
> See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.
> 
> 
> cheers,
> 
> Andreas


-- 
You have a problem and decide to use floats. 
Now you have 2.000000000001 problems.

Attachment: signature.asc
Description: PGP signature

Reply via email to