Your message dated Thu, 06 Feb 2020 18:04:29 +0000
with message-id <e1izlvt-0002vx...@fasolo.debian.org>
and subject line Bug#950111: fixed in libvigraimpex 1.11.1+dfsg-7
has caused the Debian Bug report #950111,
regarding libvigraimpex-doc: unhandled symlink to directory conversion: 
/usr/share/doc/libvigraimpex-dev/html
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.)


-- 
950111: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950111
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libvigraimpex-doc
Version: 1.11.1+dfsg-6
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...):

0m58.6s ERROR: installs objects over existing directory symlinks:
  /usr/share/doc/libvigraimpex-dev/html/AlgebraicConcepts.html 
(libvigraimpex-doc) != 
/usr/share/doc/libvigraimpex-doc/html/AlgebraicConcepts.html (?)
    /usr/share/doc/libvigraimpex-dev/html -> ../libvigraimpex-doc/html
  /usr/share/doc/libvigraimpex-dev/html/ArgumentObjectFactories.html 
(libvigraimpex-doc) != 
/usr/share/doc/libvigraimpex-doc/html/ArgumentObjectFactories.html (?)
    /usr/share/doc/libvigraimpex-dev/html -> ../libvigraimpex-doc/html
  /usr/share/doc/libvigraimpex-dev/html/BorderTreatmentMode.html 
(libvigraimpex-doc) != 
/usr/share/doc/libvigraimpex-doc/html/BorderTreatmentMode.html (?)
    /usr/share/doc/libvigraimpex-dev/html -> ../libvigraimpex-doc/html
  /usr/share/doc/libvigraimpex-dev/html/CrackEdgeImage.html (libvigraimpex-doc) 
!= /usr/share/doc/libvigraimpex-doc/html/CrackEdgeImage.html (?)
    /usr/share/doc/libvigraimpex-dev/html -> ../libvigraimpex-doc/html
  /usr/share/doc/libvigraimpex-dev/html/CreditsChangelog.html 
(libvigraimpex-doc) != 
/usr/share/doc/libvigraimpex-doc/html/CreditsChangelog.html (?)
    /usr/share/doc/libvigraimpex-dev/html -> ../libvigraimpex-doc/html
...


cheers,

Andreas

Attachment: libvigraimpex-doc_1.11.1+dfsg-6.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: libvigraimpex
Source-Version: 1.11.1+dfsg-7

We believe that the bug you reported is fixed in the latest version of
libvigraimpex, 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.
Andreas Metzler <ametz...@debian.org> (supplier of updated libvigraimpex 
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: Thu, 06 Feb 2020 15:43:35 +0100
Source: libvigraimpex
Architecture: source
Version: 1.11.1+dfsg-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Andreas Metzler <ametz...@debian.org>
Closes: 950111
Changes:
 libvigraimpex (1.11.1+dfsg-7) unstable; urgency=medium
 .
   * Avoid blhc (Buildd Log Scanner) false positives by appending instead of
     replacing -O options for specific tests.
   * Simplify debian/rules, drop double-build with/without python.
   * 1.11.1+dfsg-3 replaced the symlink /usr/share/doc/libvigraimpex-doc/html
     with a directory (introduced as part of DH 12 upgrade). Use
     debian/libvigraimpex-doc.maintscript to properly handle handle upgrades
     from << 1.11.1+dfsg3. (Thanks, Andreas Beckmann!) Closes: #950111
     Also retroactively fix systems already upgraded from << -3 to <= -6 by
     deleting the symlink /usr/share/doc/libvigraimpex-dev/html and moving
     /usr/share/doc/libvigraimpex-doc/html to /usr/share/doc/libvigraimpex-dev
     in libvigraimpex-doc.preinst.
Checksums-Sha1: 
 e6d32cb6e2691bfd9cdd30297fe723af94c34b3e 2586 libvigraimpex_1.11.1+dfsg-7.dsc
 7a803febbbe71b57ad1be61935a42ba3c2ba2da7 19748 
libvigraimpex_1.11.1+dfsg-7.debian.tar.xz
Checksums-Sha256: 
 409647f8caf824dce3542db4f76c69f1434c37592f0f95bb46f2ef23d5015096 2586 
libvigraimpex_1.11.1+dfsg-7.dsc
 ca206e891effcfc68296fd1c7988afb8d231a642fb711b692e8851718ad497e9 19748 
libvigraimpex_1.11.1+dfsg-7.debian.tar.xz
Files: 
 58262eefe9606dbd700edf4440d3a86c 2586 libs optional 
libvigraimpex_1.11.1+dfsg-7.dsc
 e1b7dd5766892cfcc002709a629f58b1 19748 libs optional 
libvigraimpex_1.11.1+dfsg-7.debian.tar.xz

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

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAl48T5cACgkQpU8BhUOC
FIQUcRAAiGevMBTN/1oRcVwLwgoMuK/3Yf/JJDqs2fQBVT1mgqkFFJo33DGHXhoI
KY2ZesPllw5nGL3ZY51iOiesV0C3Lvto/1gLenCNQJ5t4em0zz7eMBZc2LQlUGuA
+mUY3JcVgxLWOPko5yVZUL9p268KZd3wD2u6FktdftJlUUSxq90U5o8nw9VF71+g
j1g4n5+WDIiktoWjL3Na1et9l+VABHAhEt2ul7ZM5Uw+/Q3BDCuih6SAYCkjc4G/
1g6b6bkBSEaWL+Wk8OvbIp3a1Dst8SJ8eYSwiM7vJ2uLYMZtxc+hYio26xaWXaoZ
yC1zzwi8P2B5PNT1ERqsVryKiv+PllAHOpl4brTURYZH+TmCmnz+5qWmsdsGD9R/
shUJmhL8oMmyPYARBT7zRy0EVigh4Mw5Pnq1vCBSASMoWkxGrklp8447JVrCN/gv
elaXsFr7Gu8zfcdu24hKvN0REB3oP8dTZOomz+wrRy1uDe9jyy5IX4CFGqLEaR3K
m7NQL64e9wi3OiDrF0uyD/MbbTN+nZ9TEQ0R0DbG26UVciXtVGJcw95ZLz6X+KZ7
bbCMR2EMtrssJivtl62wZq3JnPsekqw5ilkVi0jGmj1jVyyHdHT37ivCCJ9GMXab
uhN1aO06+tbiaKbo1JvDwH33n8QgH2fzVVp16RkEduHCpZUCDx4=
=M3Sq
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to