Your message dated Mon, 24 Apr 2017 09:33:52 +0000
with message-id <e1d2anu-000act...@fasolo.debian.org>
and subject line Bug#861063: fixed in libxmlenc-java 0.52+dfsg-5
has caused the Debian Bug report #861063,
regarding libxmlenc-java-doc: 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.)


-- 
861063: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861063
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libxmlenc-java-doc
Version: 0.52+dfsg-4
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:

  squeeze -> wheezy -> jessie -> stretch

(there was no libxmlenc-java-doc in wheezy and jessie, so the
squeeze version was kept installed)

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#s-copyrightfile

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#s-unpackphase

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 (usually somewhere in the middle...):

1m26.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libxmlenc-java-doc/changelog.Debian.gz (libxmlenc-java-doc) != 
/usr/share/doc/libxmlenc-java/changelog.Debian.gz (libxmlenc-java)
    /usr/share/doc/libxmlenc-java-doc -> libxmlenc-java
  /usr/share/doc/libxmlenc-java-doc/changelog.gz (libxmlenc-java-doc) != 
/usr/share/doc/libxmlenc-java/changelog.gz (libxmlenc-java)
    /usr/share/doc/libxmlenc-java-doc -> libxmlenc-java
  /usr/share/doc/libxmlenc-java-doc/copyright (libxmlenc-java-doc) != 
/usr/share/doc/libxmlenc-java/copyright (libxmlenc-java)
    /usr/share/doc/libxmlenc-java-doc -> libxmlenc-java


cheers,

Andreas

Attachment: libxmlenc-java-doc_0.52+dfsg-4.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: libxmlenc-java
Source-Version: 0.52+dfsg-5

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

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (supplier of updated libxmlenc-java 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: Mon, 24 Apr 2017 11:13:08 +0200
Source: libxmlenc-java
Binary: libxmlenc-java
Architecture: source
Version: 0.52+dfsg-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 libxmlenc-java - Fast stream-based XML output library for java
Closes: 861063
Changes:
 libxmlenc-java (0.52+dfsg-5) unstable; urgency=medium
 .
   * Team upload.
   * Removed the libxmlenc-java-doc package (Closes: #861063)
   * Simplified debian/rules
   * Use a secure Vcs-Git URL
Checksums-Sha1:
 92681f374689baa6b743e5838561f60fa8ab8757 2066 libxmlenc-java_0.52+dfsg-5.dsc
 2133cf9b75d48b7ac0f0ec3a813e616050ae912e 3208 
libxmlenc-java_0.52+dfsg-5.debian.tar.xz
 e1b742de0b11646334720527e9783a46848a3896 10378 
libxmlenc-java_0.52+dfsg-5_source.buildinfo
Checksums-Sha256:
 020142a6a00fb09dac3086f68f9ce5c7df45b34a71c405a195f6dd1ae6aa0a53 2066 
libxmlenc-java_0.52+dfsg-5.dsc
 f86ac53831157259ed62f086eff7ef1deaf3e1edbd3a9904a93de31a3eced0ff 3208 
libxmlenc-java_0.52+dfsg-5.debian.tar.xz
 637f7e7d3f04213bb393685660ce0dbfeb1454e4af75582cd74225d6616cab4a 10378 
libxmlenc-java_0.52+dfsg-5_source.buildinfo
Files:
 48558c2a787a86d310fb20ed8ce6a6c2 2066 java optional 
libxmlenc-java_0.52+dfsg-5.dsc
 941ebd288028aac36b62d0c5c3e1e58a 3208 java optional 
libxmlenc-java_0.52+dfsg-5.debian.tar.xz
 2f3b0b0e8005645f426da73cf7f8e586 10378 java optional 
libxmlenc-java_0.52+dfsg-5_source.buildinfo

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

iQJGBAEBCAAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAlj9wlkSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCs+mgP/1VWLI5LTwydakYF7g/ZYLp0sWokqIWA
II5QyEyun7/bdfw0uK/LVtBWtMjE38DyjQ8x35gQLVhYGVQuWg9m0WzYF16Fdd7/
rfcV1QjAboxibrjQ+ma46a6ftEYf7OJmalQTDosbsE7OAF8w1trfTPP7u8aZLQRZ
Qs5dNJ5PSndOP3qbeYYAXoqptefd4F7hs8UDEUXVoLNh6DtvOnWRgfzzSFanDxMK
XbTWDDO1aS8Rh1SXdWcNuKLVB8BnfsS4qYH2Dof5+KPhK4NYOYJHQ4x6wbgtIrg3
qi96yFoPoDmlz1NPgtjdWZ5gzmvD9J3OLDC7z6WAD8IqUskwQ52VrEHOJ1B9Gkj7
HMEvd5HfWweyDALho1XVAjhDlFr5oK4PNHEIb0gJKIaELTNvp1w+qBxV3A2PHZ3D
XSv+jT3BnFPln5zJPYgu8RAuhavEP7gBu4aUIvkFC7/S8Wuj0IvXauAKbXp+V77A
CjJ5s2AClWn5ARzAcmhNrsQe5b1TlRv+I0hlcgkuzbpfHz4DK5UmplvVTkidG121
U7dlnXTyz49PSUHsvwk6wrDWH28upfx6lCmA3UGDJwpRL+JzFbr+Y42YDeupF+OV
F7CZymv4Dht75SVZQC3qsuzPvOUpfsGjB5QXedYM1KHlpoAcMhhnR5i+BCWS1Fnf
irxGrrqDaIsI
=9v4B
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to