Your message dated Sun, 21 Mar 2021 10:18:22 +0000 with message-id <e1lnva6-0009ej...@fasolo.debian.org> and subject line Bug#985286: fixed in ocaml-batteries 3.1.0-2 has caused the Debian Bug report #985286, regarding libbatteries-ocaml-doc: unhandled symlink to directory conversion: /usr/share/doc/libbatteries-ocaml-dev/examples -> ../libbatteries-ocaml-doc/examples 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.) -- 985286: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985286 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: libbatteries-ocaml-doc Version: 3.1.0-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, an upgrade test with piuparts revealed that your package installs files over existing symlinks and possibly overwrites files owned by other packages. This usually means an old version of the package shipped a symlink but that was later replaced by a real (and non-empty) directory. This kind of overwriting another package's files cannot be detected by dpkg. This was observed on the following upgrade paths: buster -> bullseye For /usr/share/doc/PACKAGE this may not be problematic as long as both packages are installed, ship byte-for-byte identical files and are upgraded in lockstep. But once one of the involved packages gets removed, the other one will lose its documentation files, too, including the copyright file, which is a violation of Policy 12.5: https://www.debian.org/doc/debian-policy/ch-docs.html#copyright-information For other overwritten locations anything interesting may happen. 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. See dpkg-maintscript-helper(1) and dh_installdeb(1) for details. >From the attached log (scroll to the bottom...): 0m38.7s ERROR: installs objects over existing directory symlinks: /usr/share/doc/libbatteries-ocaml-dev/examples/battop.ml (libbatteries-ocaml-doc) != /usr/share/doc/libbatteries-ocaml-doc/examples/battop.ml (?) /usr/share/doc/libbatteries-ocaml-dev/examples -> ../libbatteries-ocaml-doc/examples cheers, Andreas
libbatteries-ocaml-doc_3.1.0-1.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: ocaml-batteries Source-Version: 3.1.0-2 Done: Stéphane Glondu <glo...@debian.org> We believe that the bug you reported is fixed in the latest version of ocaml-batteries, 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 985...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Stéphane Glondu <glo...@debian.org> (supplier of updated ocaml-batteries 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 ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 21 Mar 2021 10:57:36 +0100 Source: ocaml-batteries Architecture: source Version: 3.1.0-2 Distribution: unstable Urgency: medium Maintainer: Debian OCaml Maintainers <debian-ocaml-ma...@lists.debian.org> Changed-By: Stéphane Glondu <glo...@debian.org> Closes: 985286 Changes: ocaml-batteries (3.1.0-2) unstable; urgency=medium . [ Stéphane Glondu ] * Team upload * Do not install battop.ml (Closes: #985286) . [ Debian Janitor ] * libbatteries-ocaml-doc: Add Multi-Arch: foreign. Checksums-Sha1: e997e2b49fdccf4e83ef600e3ce0e27eb7ba3a57 2068 ocaml-batteries_3.1.0-2.dsc c34985c1cb3703bc841fa2d778d1110f58651940 8428 ocaml-batteries_3.1.0-2.debian.tar.xz Checksums-Sha256: 382a1633d5523a3fa835f4aeca98d815c9cfe5bd209b6412d05b9725be1b91b7 2068 ocaml-batteries_3.1.0-2.dsc 558dbe52be7f97b689288b8119d1ddec75fff7db24cd68e913b66d070d7d558d 8428 ocaml-batteries_3.1.0-2.debian.tar.xz Files: 94082feb830c35e65d7bd3f3af8c1d7c 2068 ocaml optional ocaml-batteries_3.1.0-2.dsc 72118dfa78c4d1e87d8c5f448a923cb4 8428 ocaml optional ocaml-batteries_3.1.0-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAmBXGtQSHGdsb25kdUBk ZWJpYW4ub3JnAAoJECG47vGxiTCBf4gH/2fMOxuQEAub/bCZg2u/Hig9R3tWUXXF daNhA65nGSKtbCKMkRqXYAwNXZ4Hy4C3c1JRoALxw46UdRaUcu2kUyt66LR+7Dqq 0cttKRNNGP6MiUPPvqs+IeRRImvceG96KU5xP2Q1uBGGDQupGTx842B97bIMhS/U dUENolj9z49ijpvWF282QVd4x7pDofZj1AHxPpeU7UveD8OKV1UgaFalTUosKrp/ 3nGyfn49pwRH8G/asWjnGnxLwfTmiJzRVjByHuP5Y0hziycShiPtSO0FbcQTTnww qNNFWI9T38eWYK18VwcQVmKWQCb89RxN4HHYTN4FaDLIpir7fnRVilM= =9jww -----END PGP SIGNATURE-----
--- End Message ---