Your message dated Fri, 17 Aug 2018 21:34:27 +0000
with message-id <e1fqmo3-00021v...@fasolo.debian.org>
and subject line Bug#905193: fixed in alot 0.7-2
has caused the Debian Bug report #905193,
regarding alot-doc: unhandled symlink to directory conversion: 
/usr/share/doc/alot/html -> ../alot-doc/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.)


-- 
905193: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905193
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: alot-doc
Version: 0.7-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:

  stretch -> buster

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/#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/#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.


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

0m29.5s INFO: dirname part contains a symlink:
  /usr/share/doc/alot/html/_sources (alot-doc) != 
/usr/share/doc/alot-doc/html/_sources (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
  /usr/share/doc/alot/html/_sources/api (alot-doc) != 
/usr/share/doc/alot-doc/html/_sources/api (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
  /usr/share/doc/alot/html/_sources/api/commands.rst.txt (alot-doc) != 
/usr/share/doc/alot-doc/html/_sources/api/commands.rst.txt (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
  /usr/share/doc/alot/html/_sources/api/contributing.rst.txt (alot-doc) != 
/usr/share/doc/alot-doc/html/_sources/api/contributing.rst.txt (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
  /usr/share/doc/alot/html/_sources/api/crypto.rst.txt (alot-doc) != 
/usr/share/doc/alot-doc/html/_sources/api/crypto.rst.txt (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
  /usr/share/doc/alot/html/_sources/api/database.rst.txt (alot-doc) != 
/usr/share/doc/alot-doc/html/_sources/api/database.rst.txt (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
  /usr/share/doc/alot/html/_sources/api/index.rst.txt (alot-doc) != 
/usr/share/doc/alot-doc/html/_sources/api/index.rst.txt (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
[...]
  /usr/share/doc/alot/html/usage/modes/search.html (alot-doc) != 
/usr/share/doc/alot-doc/html/usage/modes/search.html (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
  /usr/share/doc/alot/html/usage/modes/taglist.html (alot-doc) != 
/usr/share/doc/alot-doc/html/usage/modes/taglist.html (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
  /usr/share/doc/alot/html/usage/modes/thread.html (alot-doc) != 
/usr/share/doc/alot-doc/html/usage/modes/thread.html (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
  /usr/share/doc/alot/html/usage/signals.html (alot-doc) != 
/usr/share/doc/alot-doc/html/usage/signals.html (?)
    /usr/share/doc/alot/html -> ../alot-doc/html
  /usr/share/doc/alot/html/usage/synopsis.html (alot-doc) != 
/usr/share/doc/alot-doc/html/usage/synopsis.html (?)
    /usr/share/doc/alot/html -> ../alot-doc/html


This is probably caused by a behavioral change of dh_installdocs
in debhelper compat level 11.


cheers,

Andreas

Attachment: alot-doc_0.7-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: alot
Source-Version: 0.7-2

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

Debian distribution maintenance software
pp.
Jordan Justen <jordan.l.jus...@intel.com> (supplier of updated alot 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: SHA256

Format: 1.8
Date: Fri, 17 Aug 2018 12:59:45 -0700
Source: alot
Binary: alot alot-doc
Architecture: source
Version: 0.7-2
Distribution: unstable
Urgency: medium
Maintainer: Python Applications Packaging Team 
<python-apps-t...@lists.alioth.debian.org>
Changed-By: Jordan Justen <jordan.l.jus...@intel.com>
Description:
 alot       - Text mode MUA using notmuch mail
 alot-doc   - Text mode MUA using notmuch mail - documentation
Closes: 880172 905193
Changes:
 alot (0.7-2) unstable; urgency=medium
 .
   * d/alot-doc: Remove symlink from alot-doc package
   * d/control: Update Standards-Version to 4.2.0
   * d/patches: Update patches for lintian quilt-patch-missing-description
   * d/source: Override lintian build-depends-on-python-sphinx-only
   * d/scripts: Use symlink_to_dir to fix piuparts upgrade failure
   * d/watch: Update github url to check the releases url
   * d/patches: Apply patch for unicode char search bug. Closes: #880172
   * d/scripts: Use single alot-doc.maintscript script
   * d/alot-doc.maintscript: Fix symlink_to_dir package version. Closes: #905193
Checksums-Sha1:
 0d915ca2cb6e077a458b6828c15684cedbc9c3f2 2261 alot_0.7-2.dsc
 1be033f954b346fd2b8043f960f59a44325b7d18 7556 alot_0.7-2.debian.tar.xz
 5035a4c848376c46bd3580589f4e6e1d717a2ccd 9034 alot_0.7-2_amd64.buildinfo
Checksums-Sha256:
 842cb9d3af42191e27c6c082a4006b25e71ef4f60c096b5a2dd26c89a408acaa 2261 
alot_0.7-2.dsc
 b0b836429fe1d734781118ba965f565b218f7fcaae19c75d6bdbf106201d8e5b 7556 
alot_0.7-2.debian.tar.xz
 c14aed67c069c1991017f65379e2a11add679f950deae7971b0f972a72c6e2cc 9034 
alot_0.7-2_amd64.buildinfo
Files:
 e9b4f87d8990bb366804b689f32187b8 2261 mail optional alot_0.7-2.dsc
 fe317f61342df1f3623c6caea98b41f0 7556 mail optional alot_0.7-2.debian.tar.xz
 cf0c511721e19dbd80618460fb2822d0 9034 mail optional alot_0.7-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAlt3OUwACgkQ8sulx4+9
g+FdchAAnXCvx9N0CT+++apjtcEB/Gr2G5Oobl48jDtMHK9wzHjpKJ5O00cjkABt
vOTcw3S7r05wqWXZVorSN4vfH9ax1VRu5JVfjLrAfvhVAcrhYXFWcZfL+Zu/d29C
LQTrLZ68iO267a5pwIG+sHtRR8RD8fv2eHTY73rkjjDH5nwxTyiIpXAPPKetJsVS
sOZ2a7VVAzXTFTs7FYkOP1V+OOLZUOnm8+kXSoyxN1DJbN4b32wyiG/oK4W34s7t
U6pl7z2xC+vhByrnzj+pLRq+2Jw6TacCNBQQAuM2JN2tLZp4jzXEIjEqEIFWs2G9
c39hFmZqUlPQbou7hGsT0D1a+TrlphYYhv5dv35WblH5ayGev8E+h+kQjaqL5biQ
CTRwYUYsK85M2yvj9HvsP6vYAdnd/0n92PZbqUVVUSA6ZW0rTy5t1HVCF0sO5MHh
JS3XIbVp5m1ukfUIXr5bxyjyl9CmA3NfQeucBgJBFoUPqdMiybmk3l1RIvN3pLyQ
AGGI2lKjJxqUslP3PCU4lzLv6Nlt7bbQP4NvrawGGNn6hG+G/13I6a4dhF4yPM5E
7kjXFIt9GCb3sT87wrA2HX9b5+aDDS5sA22qWTw36wGoNBviZ4nk4IxzavbYPqeN
cgl5hzDOI938eq3FuW+SmnKnOOEofRPa3PiQVC5SeT+q1krcHgE=
=ivo6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to