[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#910222: marked as done (opam: copyright file missing after upgrade (policy 12.5))



Your message dated Sun, 21 Oct 2018 13:49:30 +0000
with message-id <E1gEE6k-0003TH-4P@fasolo.debian.org>
and subject line Bug#910222: fixed in opam 2.0.0-5
has caused the Debian Bug report #910222,
regarding opam: 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 owner@bugs.debian.org
immediately.)


-- 
910222: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910222
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: opam
Version: 2.0.0-4
Severity: serious
User: debian-qa@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#copyright-information

After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory.

This was observed on the following upgrade paths:

  stretch -> buster

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

0m52.3s ERROR: WARN: Inadequate results from running adequate!
  opam: missing-copyright-file /usr/share/doc/opam/copyright

  MISSING COPYRIGHT FILE: /usr/share/doc/opam/copyright
  # ls -lad /usr/share/doc/opam
  drwxr-xr-x 2 root root 40 Sep 24 12:23 /usr/share/doc/opam
  # ls -la /usr/share/doc/opam/
  total 0
  drwxr-xr-x   2 root root   40 Sep 24 12:23 .
  drwxr-xr-x 137 root root 3440 Sep 24 12:23 ..


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#details-of-unpack-phase-of-installation-or-upgrade

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

Attachment: opam_2.0.0-4.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: opam
Source-Version: 2.0.0-5

We believe that the bug you reported is fixed in the latest version of
opam, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 910222@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ralf Treinen <treinen@debian.org> (supplier of updated opam package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 20 Oct 2018 12:16:56 +0200
Source: opam
Binary: opam opam-docs opam-installer
Architecture: source
Version: 2.0.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Ralf Treinen <treinen@debian.org>
Description:
 opam       - package manager for OCaml
 opam-docs  - package manager for OCaml (documentation)
 opam-installer - Utility handling (un)installation of Opam .install files
Closes: 909542 910222
Changes:
 opam (2.0.0-5) unstable; urgency=medium
 .
   * Team upload.
   * debian/rules: create separate targets build-indep and build-arch
     (Closes: #909542).
   * invoke in opam/{preinst,postint,postrm} dpkg-maintscript-helper
     to handle the transition of /usr/share/doc/opam from a directory
     to a symlink (Closes: #910222).
   * install README.md and CHANGES into package opam-docs. Do not install
     extra LICENSE file, add it to debian/not-installed.
   * drop invocation of dh-exec in opam-installer.install, drop
     build-dependency dh-exec.
   * list extra files to remove by dh_clean in debian/clean.
   * drop duplicated build-dependency cppo.
   * change build-dependency on jbuilder to dune.
Checksums-Sha1:
 52fd2590d05fd337bba12bc2663455d87cda53e1 2527 opam_2.0.0-5.dsc
 f147bb7b8e5f2b3885c094159500cc1fe403f31e 7308 opam_2.0.0-5.debian.tar.xz
 18e95285b2e4d94144902770a34e7cc8fb09a5a7 8067 opam_2.0.0-5_source.buildinfo
Checksums-Sha256:
 9762242572951f11646dcb54c4ca91eb675cb9f4175834d48c30959c0e02f8c3 2527 opam_2.0.0-5.dsc
 9a73d68319dbe5570e032c6c75c2ebb3fcd1257a9d583d0a77075e894b9a6e33 7308 opam_2.0.0-5.debian.tar.xz
 b8469a59bfb0a18a73ff279234bb114ed87b458aa26b64a34baee5cd8b371d01 8067 opam_2.0.0-5_source.buildinfo
Files:
 fd9ffc803f031b18082d618af8c22874 2527 ocaml optional opam_2.0.0-5.dsc
 b29954c1ca72740925a4cd71f1c32b92 7308 ocaml optional opam_2.0.0-5.debian.tar.xz
 ae23840ad9fce00f3d25d218ec40fa04 8067 ocaml optional opam_2.0.0-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEAgVIKeEtDyqOZI5idFxHZtTKzf8FAlvMgA0ACgkQdFxHZtTK
zf9Vsw//WyGbNy/whn0/Dt2s15HEh1MMn1XFTgKaKWUcH6Md9gRRVwQ1Jlm6HMJa
WIUouZZTkWripu9FWA/5aLLZBdGt7YGWv/C3Sn5MpucIRVwT6GFEAgtM/aLr+d9f
gGDmdovx6xmzkLEr9QPErPpHNWxBsRPH8NKENdC1GWMB8KL+n0OP669JubluThlf
nFE3NkG8OgIv8Qg8/B95Nby29vOxsa9Jm0ufrZgUmdwcHk5vx4tmflqHbHfZ0Bf4
D9Ij91r7YIr5G5Ksbew/scS3rfK2qRkDd3GGBizjCfLZtNmfIX/yPoz8omHgYJud
aJRBP4acCVp9ZXIoBIH7DD8QDl2/sblp0jDJaDtkl+mbiH5t6gje22S6wnZ7nQlM
8N0UjRGrWVLaf60RYRYphjEpogDVyZs+St1YepEY7sOoBhuENRF7ZkjU5PmAtuMU
EyMDMDMwlEHFG9e5SnBMjYuVHQUzeqT86JKr3JEny3WJ39fdOcm4O+IMKhW6jjja
1zIkAMZY8YUFXaRCZOf32W947+dFHfvN0+gq9xpIOoATBKn57Z88HEXl6EXy89/A
5Q9b65C2u2t3REvwE505BnjcZt0S484A5E2suBW0rMrsn4Z5KKYgVUKgDTScNFWU
1yviJPk7DEwKlOilWXs8YYNgTE+iBKBMMIt7uS11+KzcoLf0K0I=
=nxLi
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: