Hey Andreas,

debian/rules uses this:

override_dh_installdocs:
        dh_installdocs --link-doc=xserver-xorg-video-geode NEWS README TODO

Surely that would link the -dbg package's /usr/share/doc/foo-dbg to
.../foo, wouldn't it?

Martin-Éric


2015-01-16 5:21 GMT+02:00 Andreas Beckmann <a...@debian.org>:
> Package: xserver-xorg-video-geode-dbg
> Version: 2.11.16-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
>
> >From the attached log (scroll to the bottom...):
>
> 3m56.0s ERROR: WARN: Inadequate results from running adequate!
>   xserver-xorg-video-geode-dbg: missing-copyright-file 
> /usr/share/doc/xserver-xorg-video-geode-dbg/copyright
>
> 3m59.5s DUMP:
>   MISSING COPYRIGHT FILE: 
> /usr/share/doc/xserver-xorg-video-geode-dbg/copyright
>   # ls -lad /usr/share/doc/xserver-xorg-video-geode-dbg
>   drwxr-xr-x 2 root root 40 Jan 15 11:43 
> /usr/share/doc/xserver-xorg-video-geode-dbg
>   # ls -la /usr/share/doc/xserver-xorg-video-geode-dbg/
>   total 0
>   drwxr-xr-x   2 root root   40 Jan 15 11:43 .
>   drwxr-xr-x 185 root root 3840 Jan 15 11:43 ..
>
>
> 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.mainstscript.
> 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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to