Your message dated Sun, 29 Nov 2015 21:14:47 +0100
with message-id <20151129211447.79223...@heffalump.sk2.org>
and subject line Re: Bug#799623: g++-mingw-w64, gfortran-mingw-w64, 
gobjc-mingw-w64, gobjc++-mingw-w64: copyright file missing after upgrade 
(policy 12.5)
has caused the Debian Bug report #799623,
regarding g++-mingw-w64, gfortran-mingw-w64, gobjc-mingw-w64, 
gobjc++-mingw-w64: copyright file missing after upgrade (policy 12.5)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
799623: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799623
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: g++-mingw-w64,gfortran-mingw-w64,gobjc-mingw-w64,gobjc++-mingw-w64
Version: 5.1.1-9+16~exp1
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:

  sid -> experimental

in each of the 4 packages 

  g++-mingw-w64 gfortran-mingw-w64 gobjc-mingw-w64 gobjc++-mingw-w64

>From the attached log (scroll to the bottom...):

1m47.0s ERROR: WARN: Inadequate results from running adequate!
  g++-mingw-w64: missing-copyright-file /usr/share/doc/g++-mingw-w64/copyright
  
  MISSING COPYRIGHT FILE: /usr/share/doc/g++-mingw-w64/copyright
  # ls -lad /usr/share/doc/g++-mingw-w64
  drwxr-xr-x 2 root root 40 Sep 20 09:34 /usr/share/doc/g++-mingw-w64
  # ls -la /usr/share/doc/g++-mingw-w64/
  total 0
  drwxr-xr-x   2 root root   40 Sep 20 09:34 .
  drwxr-xr-x 115 root root 2500 Sep 20 09:34 ..


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

Attachment: g++-mingw-w64_5.1.1-9+16~exp1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Version: 16

Hi Andreas,

On Sun, 20 Sep 2015 23:48:36 +0200, Andreas Beckmann <a...@debian.org> wrote:
> 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.

Thanks for filing this, I forgot to mention in the changelog for version 16
that this is fixed (using symlink_to_dir).

Regards,

Stephen

Attachment: pgpTcmA58Bq_9.pgp
Description: OpenPGP digital signature


--- End Message ---

Reply via email to