Your message dated Sat, 23 Nov 2019 19:34:41 +0000
with message-id <e1iybb3-000cnc...@fasolo.debian.org>
and subject line Bug#945341: fixed in cgal 5.0-2
has caused the Debian Bug report #945341,
regarding libcgal-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.)


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

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

0m24.9s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libcgal-dev/NEWS.Debian.gz (libcgal-dev:amd64) != 
/usr/share/doc/libcgal13/NEWS.Debian.gz (libcgal13:amd64)
    /usr/share/doc/libcgal-dev -> libcgal13
  /usr/share/doc/libcgal-dev/README.Debian (libcgal-dev:amd64) != 
/usr/share/doc/libcgal13/README.Debian (libcgal13:amd64)
    /usr/share/doc/libcgal-dev -> libcgal13
  /usr/share/doc/libcgal-dev/changelog.Debian.gz (libcgal-dev:amd64) != 
/usr/share/doc/libcgal13/changelog.Debian.gz (libcgal13:amd64)
    /usr/share/doc/libcgal-dev -> libcgal13
  /usr/share/doc/libcgal-dev/changelog.gz (libcgal-dev:amd64) != 
/usr/share/doc/libcgal13/changelog.gz (libcgal13:amd64)
    /usr/share/doc/libcgal-dev -> libcgal13
  /usr/share/doc/libcgal-dev/copyright (libcgal-dev:amd64) != 
/usr/share/doc/libcgal13/copyright (libcgal13:amd64)
    /usr/share/doc/libcgal-dev -> libcgal13


cheers,

Andreas

Attachment: libcgal-dev_5.0-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: cgal
Source-Version: 5.0-2

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

Debian distribution maintenance software
pp.
Joachim Reichel <reic...@debian.org> (supplier of updated cgal 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: Sat, 23 Nov 2019 10:41:42 +0100
Source: cgal
Binary: libcgal-demo libcgal-dev libcgal-ipelets libcgal-ipelets-dbgsym 
libcgal-qt5-dev
Architecture: source
Version: 5.0-2
Distribution: experimental
Urgency: medium
Maintainer: Joachim Reichel <reic...@debian.org>
Changed-By: Joachim Reichel <reic...@debian.org>
Description:
 libcgal-demo - C++ library for computational geometry (demos)
 libcgal-dev - C++ library for computational geometry (development files)
 libcgal-ipelets - C++ library for computational geometry (ipelets)
 libcgal-qt5-dev - C++ library for computational geometry (development files, 
suppor
Closes: 945341
Changes:
 cgal (5.0-2) experimental; urgency=medium
 .
   * Add libcgal-dev.maintscript to convert the symbolic link
     /usr/share/doc/libcgal-dev into a directory (Closes: #945341).
   * Add patch improve-thirdparty-autodetection.
Checksums-Sha1:
 84cbb5f67538dae5445adf7637a3fe0d45228220 2166 cgal_5.0-2.dsc
 eeda434b56b1b277f6f9cf5fcc9c67d1859c9aa5 17048 cgal_5.0-2.debian.tar.xz
Checksums-Sha256:
 78fc41191d27e83a449a8ee84eb69d24bac8fd81cdbaa4692b9fff770ac32941 2166 
cgal_5.0-2.dsc
 97cbd23ec979cacd4531c9d6a722582cce2ec25c3578bf44d9f99f8c265359da 17048 
cgal_5.0-2.debian.tar.xz
Files:
 40ba2c2c6bcc67423e2e404407faa979 2166 libs optional cgal_5.0-2.dsc
 ef3b4f29c1654b538dffac40b801a5df 17048 libs optional cgal_5.0-2.debian.tar.xz

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

iQIzBAEBCAAdFiEErX6NzLwwsr4xjsEVuPr/HEOIZ3EFAl3ZDo8ACgkQuPr/HEOI
Z3G2khAA5Qf3PO30zh7kxPcz/jdkiWZTDa9tTGgTqsi/EtDZ1VCUU+smmHA/fZf8
PRidsy0LWuhs2Bzbfi/bOY5Lcv5AH/sACYRCq0eEMVLtpuHNgN9gh1p27anViJkj
uXJPXXUoqVnccmBIQcMZ3tyFkv/F4eQUgZDH2K1JjDW0Atxhm0FDgzKphrzeQZhC
KQ4JF8FMWDo6xtXpjZziOj/Rw6M1T1WLME4V4CV1e6sJzJXHMFC3OWY0avgXpVxw
ZOmXoM94/ZA6h1zW9Uq0z7vByVkZMm0UbbMv1yAILvY4HA1du//972Mm73SaW5fA
GJKGLgPeCR2E9XDHdm0eva6Od3Hz5yx/LdZC7m563lrASFtIDGEOI0iB0vJBSoDA
We+sYrh+vWfJycbPeqDtMnCb24HPrZCTBdcHEZ+GWxB85PKlAkwqs/Hj9JoUkxtt
qJBDN6/reok6u0N/Et4X/PJFgU13AXFEcR34GqwTXn+yM+Ztm0xta2yLiqiXPdvf
N3vhv6WffyUUfFP5XMyf3Uzj+7mZCcO9/5GHfmNzOWnUvPKdz/fnGOkrhZZtdPtH
F0LLXy19IOBT5Z6XH0A5Gen+yuFSa89Et3JQpQ7uhLDPL8XmsVZcMFqPps5W4Q28
LV4Uk0icrjlx37InJm7wDf/CGJGF1L+esCjCwE5l4JKHUrHcO5g=
=B9NL
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to