Your message dated Tue, 20 Jul 2021 19:48:38 +0000
with message-id <e1m5vjk-0005pr...@fasolo.debian.org>
and subject line Bug#990227: fixed in kyotocabinet 1.2.76-5~exp2
has caused the Debian Bug report #990227,
regarding kyotocabinet-utils,libkyotocabinet-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.)


-- 
990227: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990227
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: kyotocabinet-utils,libkyotocabinet-dev
Version: 1.2.76-5~exp1
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:

  sid -> experimental

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...):

0m17.9s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/kyotocabinet-utils/changelog.Debian.gz (kyotocabinet-utils) != 
/usr/share/doc/libkyotocabinet16v5/changelog.Debian.gz 
(libkyotocabinet16v5:amd64)
    /usr/share/doc/kyotocabinet-utils -> libkyotocabinet16v5
  /usr/share/doc/kyotocabinet-utils/changelog.gz (kyotocabinet-utils) != 
/usr/share/doc/libkyotocabinet16v5/changelog.gz (libkyotocabinet16v5:amd64)
    /usr/share/doc/kyotocabinet-utils -> libkyotocabinet16v5
  /usr/share/doc/kyotocabinet-utils/copyright (kyotocabinet-utils) != 
/usr/share/doc/libkyotocabinet16v5/copyright (libkyotocabinet16v5:amd64)
    /usr/share/doc/kyotocabinet-utils -> libkyotocabinet16v5

0m16.6s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libkyotocabinet-dev/changelog.Debian.gz 
(libkyotocabinet-dev:amd64) != 
/usr/share/doc/libkyotocabinet16v5/changelog.Debian.gz 
(libkyotocabinet16v5:amd64)
    /usr/share/doc/libkyotocabinet-dev -> libkyotocabinet16v5
  /usr/share/doc/libkyotocabinet-dev/changelog.gz (libkyotocabinet-dev:amd64) 
!= /usr/share/doc/libkyotocabinet16v5/changelog.gz (libkyotocabinet16v5:amd64)
    /usr/share/doc/libkyotocabinet-dev -> libkyotocabinet16v5
  /usr/share/doc/libkyotocabinet-dev/copyright (libkyotocabinet-dev:amd64) != 
/usr/share/doc/libkyotocabinet16v5/copyright (libkyotocabinet16v5:amd64)
    /usr/share/doc/libkyotocabinet-dev -> libkyotocabinet16v5



cheers,

Andreas

Attachment: kyotocabinet-utils_1.2.76-5~exp1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: kyotocabinet
Source-Version: 1.2.76-5~exp2
Done: Boyuan Yang <by...@debian.org>

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

Debian distribution maintenance software
pp.
Boyuan Yang <by...@debian.org> (supplier of updated kyotocabinet 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: Tue, 20 Jul 2021 15:16:50 -0400
Source: kyotocabinet
Architecture: source
Version: 1.2.76-5~exp2
Distribution: experimental
Urgency: medium
Maintainer: Boyuan Yang <by...@debian.org>
Changed-By: Boyuan Yang <by...@debian.org>
Closes: 990227
Changes:
 kyotocabinet (1.2.76-5~exp2) experimental; urgency=medium
 .
   * debian/rules: Restore --link-doc option in dh_installdocs.
     (Closes: #990227)
   * debian/rules: Drop outdated override to dh_makeshlibs.
   * debian/patches: Add patch to reenable debug symbol generation.
Checksums-Sha1:
 3b7644897758f9cce20c03d8806750ce25691537 2162 kyotocabinet_1.2.76-5~exp2.dsc
 a4ec70d08ca6c8f510dbc329d5c27b55030d3521 951930 kyotocabinet_1.2.76.orig.tar.gz
 269b61cf171f067a6c7b0c596bda8e0b235b58d2 9232 
kyotocabinet_1.2.76-5~exp2.debian.tar.xz
 64ecff061492fbb92872eb63ef29d56a7e7422c8 7466 
kyotocabinet_1.2.76-5~exp2_amd64.buildinfo
Checksums-Sha256:
 6cecd6adc6f412be7f37bc95974f65913c9d9bc67f8ba860ec31e4a5faff7447 2162 
kyotocabinet_1.2.76-5~exp2.dsc
 812a2d3f29c351db4c6f1ff29d94d7135f9e601d7cc1872ec1d7eed381d0d23c 951930 
kyotocabinet_1.2.76.orig.tar.gz
 0a6493796e34eb57db2226b0e7d7df7361c34d7a6e6c17e0e3a6131856d77204 9232 
kyotocabinet_1.2.76-5~exp2.debian.tar.xz
 81a34322c6a1fee545e582b156c75c0867e8e04f6c3fa89d8679bc641820e088 7466 
kyotocabinet_1.2.76-5~exp2_amd64.buildinfo
Files:
 8eefa560671ac36c4d9a0551f5f929e4 2162 utils optional 
kyotocabinet_1.2.76-5~exp2.dsc
 b925d369d7ed4a37cf0013409046738c 951930 utils optional 
kyotocabinet_1.2.76.orig.tar.gz
 ca0567dc6dff40d571ed4eab863698f3 9232 utils optional 
kyotocabinet_1.2.76-5~exp2.debian.tar.xz
 cd54d27301c03e06ce1928a77694ace4 7466 utils optional 
kyotocabinet_1.2.76-5~exp2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmD3I6YACgkQwpPntGGC
Ws4rMg/+KY5IA8jFNjnytRk/ND2fSpvfkd8skNEUhsenv8lzNJPajUKGb87OERwA
vORv7nk45mEsNT2zyl+IXoW6wPVAnQZmwkTHinOPHnDCvZH1fczYiI1oROzA+BGt
Xehs8899lC/hiZ13MqdknY2ozHjIb6JmLEVmuFzUt0NEFZPaJp/ID2DDN6gEdEZI
qQOZxx83FN9q+LP/9Yu6RD4A04kW/EJH/F9mUnvgub+qnX5vPyc0edYo9dErIkZA
GkAKGz/t0d7nh3gHu5EUb0gRle/L2opBf8C3Xya/Mi0+J3A4hzdChQ/YA5G4iBeX
2c7oxZa6sdnmds8a/7R4TQSlswu7Li7cAK45mXSkurTOPVNdsRYv7qs5SneAi7iQ
1iHjxfsf9RkpRD5FoEMKSSldg2+wnK8ziZPvg9jOTZXMs7HVJMAAeN2cn0bReZYb
EO1eV2cnn8Bbow8XijbwL4U9oOOGMsbjQdITMFVIkWUEa9FZFEaDjOTggcxEwusl
jELEjZXAKAhr6QhXp8zpdjFamD1DBM5txY1HRLuy+gzCQrfMeMXD2ezGJH+XF31D
3Vj5at/mtAjL0UG/YdOlgIihcqHFAdoeMF/wNxyQuDBS5+j5ozM6zAapcI1VxLWI
vec0kIpEhJy6mPyOeXdJuGMq5sYEjvze85mb5D6eN9Ihx4ZnOhA=
=opYY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to