Your message dated Mon, 03 Feb 2020 15:36:51 +0000
with message-id <e1iydmn-0005bw...@fasolo.debian.org>
and subject line Bug#950110: fixed in octomap 1.9.3+dfsg-2
has caused the Debian Bug report #950110,
regarding liboctomap-dev,...: unhandled symlink to directory conversion: 
/usr/share/doc/PACKAGE
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.)


-- 
950110: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950110
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: liboctomap-dev,liboctovis-dev,octomap-tools,octovis
Version: 1.9.3+dfsg-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...):

0m51.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/liboctomap-dev/changelog.Debian.gz (liboctomap-dev:amd64) != 
/usr/share/doc/liboctomap1.8/changelog.Debian.gz (liboctomap1.8)
    /usr/share/doc/liboctomap-dev -> liboctomap1.8
  /usr/share/doc/liboctomap-dev/copyright (liboctomap-dev:amd64) != 
/usr/share/doc/liboctomap1.8/copyright (liboctomap1.8)
    /usr/share/doc/liboctomap-dev -> liboctomap1.8
  /usr/share/doc/liboctomap-dev/examples (liboctomap-dev:amd64) != 
/usr/share/doc/liboctomap1.8/examples (?)
    /usr/share/doc/liboctomap-dev -> liboctomap1.8
  /usr/share/doc/liboctomap-dev/examples/data (liboctomap-dev:amd64) != 
/usr/share/doc/liboctomap1.8/examples/data (?)
    /usr/share/doc/liboctomap-dev -> liboctomap1.8
  /usr/share/doc/liboctomap-dev/examples/data/geb079.bt (liboctomap-dev:amd64) 
!= /usr/share/doc/liboctomap1.8/examples/data/geb079.bt (?)
    /usr/share/doc/liboctomap-dev -> liboctomap1.8
  /usr/share/doc/liboctomap-dev/examples/data/mapcoll.txt 
(liboctomap-dev:amd64) != 
/usr/share/doc/liboctomap1.8/examples/data/mapcoll.txt (?)
    /usr/share/doc/liboctomap-dev -> liboctomap1.8
  /usr/share/doc/liboctomap-dev/examples/data/scan.dat.bz2 
(liboctomap-dev:amd64) != 
/usr/share/doc/liboctomap1.8/examples/data/scan.dat.bz2 (?)
    /usr/share/doc/liboctomap-dev -> liboctomap1.8
  /usr/share/doc/liboctomap-dev/examples/data/spherical_scan.graph 
(liboctomap-dev:amd64) != 
/usr/share/doc/liboctomap1.8/examples/data/spherical_scan.graph (?)
    /usr/share/doc/liboctomap-dev -> liboctomap1.8
  /usr/share/doc/liboctomap-dev/examples/example-project.tgz 
(liboctomap-dev:amd64) != 
/usr/share/doc/liboctomap1.8/examples/example-project.tgz (?)
    /usr/share/doc/liboctomap-dev -> liboctomap1.8

1m12.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/liboctovis-dev/changelog.Debian.gz (liboctovis-dev:amd64) != 
/usr/share/doc/liboctomap1.8/changelog.Debian.gz (liboctomap1.8)
    /usr/share/doc/liboctovis-dev -> liboctomap1.8
  /usr/share/doc/liboctovis-dev/copyright (liboctovis-dev:amd64) != 
/usr/share/doc/liboctomap1.8/copyright (liboctomap1.8)
    /usr/share/doc/liboctovis-dev -> liboctomap1.8

0m25.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/octomap-tools/changelog.Debian.gz (octomap-tools) != 
/usr/share/doc/liboctomap1.8/changelog.Debian.gz (liboctomap1.8)
    /usr/share/doc/octomap-tools -> liboctomap1.8
  /usr/share/doc/octomap-tools/copyright (octomap-tools) != 
/usr/share/doc/liboctomap1.8/copyright (liboctomap1.8)
    /usr/share/doc/octomap-tools -> liboctomap1.8

2m14.0s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/octovis/changelog.Debian.gz (octovis) != 
/usr/share/doc/liboctomap1.8/changelog.Debian.gz (liboctomap1.8)
    /usr/share/doc/octovis -> liboctomap1.8
  /usr/share/doc/octovis/copyright (octovis) != 
/usr/share/doc/liboctomap1.8/copyright (liboctomap1.8)
    /usr/share/doc/octovis -> liboctomap1.8



cheers,

Andreas

Attachment: liboctomap-dev_1.9.3+dfsg-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: octomap
Source-Version: 1.9.3+dfsg-2

We believe that the bug you reported is fixed in the latest version of
octomap, 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 950...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Leopold Palomo-Avellaneda <l...@alaxarxa.net> (supplier of updated octomap 
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: Mon, 03 Feb 2020 16:09:09 +0100
Source: octomap
Architecture: source
Version: 1.9.3+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Leopold Palomo-Avellaneda <l...@alaxarxa.net>
Closes: 950110
Changes:
 octomap (1.9.3+dfsg-2) unstable; urgency=medium
 .
   [ Juhani Numminen ]
   * Revise symlink_to_dir maintscripts: the versions in buster were
     symlinked to liboctomap1.8 docs. (Excluding liboctovis1.9.maintscript,
     that package never symlinked to 1.8.) (Closes: #950110)
   * liboctomap-dev, liboctovis-dev, octomap-tools, octovis:
     Conflicts+Replaces: liboctomap1.8 to prevent piuparts failure
     "modifications inside the chroot" of liboctomap1.8 files.
   * libdynamicedt3d-dev:
     Conflicts+Replaces: libdynamicedt3d1.8 for the same reason.
   * Revise symlink_to_dir maintscripts: the versions in buster were symlinked
     to liboctomap1.8 docs. (Excluding liboctovis1.9.maintscript, that package
     never symlinked to 1.8.) (Closes: #950110)
   * liboctomap-dev, liboctovis-dev, octomap-tools, octovis: Conflicts+Replaces:
     liboctomap1.8 to prevent piuparts failure "modifications inside the chroot"
     of liboctomap1.8 files.
   * Update changelog
 .
   [ Leopold Palomo-Avellaneda ]
   * Added Juhani Numminen as Uploader.
Checksums-Sha1:
 ba5df8a37490d9cd47dc2b4932d7b757382aa7be 3062 octomap_1.9.3+dfsg-2.dsc
 1f8aa3eddf83704e4166b3c4eb2b4bfe135cdb4a 1180056 octomap_1.9.3+dfsg.orig.tar.xz
 b4b2f8be6193f09334177ebf45c822753c263e02 14256 
octomap_1.9.3+dfsg-2.debian.tar.xz
 506640163d0a0c9b77b2a7f98e6d446cb2dcdbcd 11454 
octomap_1.9.3+dfsg-2_source.buildinfo
Checksums-Sha256:
 dbe9bf1b35a3178690e582f18696d11af6c2ad347bb863a5d57bb194198c129b 3062 
octomap_1.9.3+dfsg-2.dsc
 d7133c9b55b1bd861c3e738e9779c0910fc86430f6971fba168e6b825b78580a 1180056 
octomap_1.9.3+dfsg.orig.tar.xz
 ba65ee5f7a8cb61471808d6c1bfee7cd75ef2f479e22f308fe5ae886983e744b 14256 
octomap_1.9.3+dfsg-2.debian.tar.xz
 a92a1ed16ebd0fcfa6ea7d8159a20abb94988d5b762e2a32f179c4355b53bb24 11454 
octomap_1.9.3+dfsg-2_source.buildinfo
Files:
 0078b52952fa02f9361af9b038e6d4b6 3062 science optional octomap_1.9.3+dfsg-2.dsc
 15f2ce8c4448b04f812a225a347ad733 1180056 science optional 
octomap_1.9.3+dfsg.orig.tar.xz
 464ff96f95c00263143d7e0b784a0e19 14256 science optional 
octomap_1.9.3+dfsg-2.debian.tar.xz
 7f4a91ab446443320bcba29fba0de426 11454 science optional 
octomap_1.9.3+dfsg-2_source.buildinfo

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

iQIzBAEBCgAdFiEEjF/vEZvRbmgP2ZRLBfSnqUmi2aoFAl44OEAACgkQBfSnqUmi
2aozDQ//RJlp+OTauXV3zYmg87mClS0sEKM57nVB5QukE7X1LD9g//dg+kn2Zz6u
YFfEd9HInYELZH9X3rtrexJHx1FRsp4DTsiwtOjx/f1urAjjcqdWlLa0lfVtUQY/
7XomaVUbQp85fsUmDZrZXuGjDtk65g2J6YCp76gApnR3R4lTZAjOFFowZSos+DNy
izux+mkTVw32fyaaw4XD4JKQsd5caZ73uoy+yAg/zPPvPfb/Qoox1qUMaSNVvIzk
2mHtRblvTGFV0vjOg/JCDmFUcE34SbdQJ332ylESmjrbEYLIdw5aQvjrd0hLMFUz
+Jleb2xpu05cs825wTnD+KMm4uAdRyhxv9tocNWkqXLX9QaX75S77ZJNIRmbQvYB
p+rFOZnIoInhX0wtXRX3EeFU4Sq8Fu8Jm1SQOvWGAex6KvoqiXVEVf0DiBzhtwQI
ZDSd0xrfGBUIB6DC+c5xiaX/rJ4XKYsNDxpDRfvnRCoULHoCns1msGaYuyzSiBWa
NjbK/ZR3ix/L8uLtv6CxLgOvNij93c5szykkb7L4yw+Xq7Ft9irKswFFt2moBI6L
aX+s7qZ+pc1SnoaJPpnHGCbDXkw9BKtJL0lb7lh4IprQf9p43sdTMz6j8cABHkQQ
A9IG5RcZXSQs2Ga+hE7PoWcwSv/Ogp/fFyjUt1M5tQKX754f7XU=
=KoU+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to