[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#905197: marked as done (libcue-dev: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE)



Your message dated Sat, 20 Oct 2018 16:54:00 +0000
with message-id <E1gDuVk-000BP3-2q@fasolo.debian.org>
and subject line Bug#905197: fixed in libcue 2.2.1-2
has caused the Debian Bug report #905197,
regarding libcue-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 owner@bugs.debian.org
immediately.)


-- 
905197: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905197
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libcue-dev
Version: 2.2.1-1
Severity: serious
User: debian-qa@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...):

0m28.7s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libcue-dev/changelog.Debian.gz (libcue-dev:amd64) != /usr/share/doc/libcue1/changelog.Debian.gz (libcue1)
    /usr/share/doc/libcue-dev -> libcue1
  /usr/share/doc/libcue-dev/changelog.gz (libcue-dev:amd64) != /usr/share/doc/libcue1/changelog.gz (libcue1)
    /usr/share/doc/libcue-dev -> libcue1
  /usr/share/doc/libcue-dev/copyright (libcue-dev:amd64) != /usr/share/doc/libcue1/copyright (libcue1)
    /usr/share/doc/libcue-dev -> libcue1


cheers,

Andreas

Attachment: libcue-dev_2.2.1-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: libcue
Source-Version: 2.2.1-2

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

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated libcue 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 20 Oct 2018 18:02:39 +0200
Source: libcue
Binary: libcue2 libcue-dev
Architecture: source
Version: 2.2.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description:
 libcue-dev - CUE Sheet Parser Library - development files
 libcue2    - CUE Sheet Parser Library
Closes: 905197
Changes:
 libcue (2.2.1-2) unstable; urgency=medium
 .
   * QA upload.
   * Handle symlink_to_dir conversion of /usr/share/doc/libcue-dev.
     (Closes: #905197)
   * Switch to debhelper-compat (= 11).
   * Bump Standards-Version to 4.2.1, no changes needed.
Checksums-Sha1:
 78b1116a97f080f43c7e7f309234b50af58ae61d 1905 libcue_2.2.1-2.dsc
 6dfee20369bf723a1529e18441174f3f78b3cbfc 3228 libcue_2.2.1-2.debian.tar.xz
 072a8be451ac4bddc6a3deb992edc8b7c00d9e6f 6413 libcue_2.2.1-2_source.buildinfo
Checksums-Sha256:
 04878e5cb542eb9fc5b712b33c89cfc9bbbe974fbb6a937c56ec17924d2f30d7 1905 libcue_2.2.1-2.dsc
 8f4a8e7ffa0e63187b28b446342f338f6d80a614230fa06f7378691a934cc00c 3228 libcue_2.2.1-2.debian.tar.xz
 736974da318df095ed8cdea307644ef4be2cd4355024b779e714a6c9f3753320 6413 libcue_2.2.1-2_source.buildinfo
Files:
 7f6cd53c5ce2655d310e6ca03f6ab382 1905 libs optional libcue_2.2.1-2.dsc
 f69909389dfad9ed2e4e7f92d6645d58 3228 libs optional libcue_2.2.1-2.debian.tar.xz
 450d65886e60834d9e2fb62d68c31400 6413 libs optional libcue_2.2.1-2_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAlvLVTgQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCMHAD/47LCsaISLTc4p4szGE6SI09AfdJavXuALh
rfNgfw9wg4wlN6hdDQGFm3PifO8rJYgaQgLwT7bAWdUkwaQW/dvZXaNWcSdvjl8V
9WCM0m54XZq9SXlhI6m4twfwXA/4PGUyaKI+BgJfKVVtdXKmgxQf/Q5tZzVwp1gD
OTbn6R1Nrul9r331ijEM5VvJGYbDZXMcxoqio0x4NdcbzAAWkxiq4/OIaYiH3T+Q
uoTNk5ETRzD73n2MzmpIiy8yhJdAEn5wQXZEx/HBN1AlgxZlj18yS6MdV8bAG4qv
5nBEUUBr679iuOHGPybXWVod5Fatthsx4ionUhZwCGEOf+Kk9uSkDENJS+xRLEjZ
EntvMQXOZkxLUhCp2uEqADRUOYBcNA9cJO9OBn66j81GjLslfpdu/17h5YCYD42z
oVgQNFCVaxeo6qlUCj4ZLXn/eHr2hs1jZaJoCp4TWIxbjE1a236Xmu5Nmtv7MTn/
OU3uxSY0MiTZhLXRkAL+TSFLfsneHmkJklE/cP/kv/v02Q+TmxBt/q68/30rpdta
Qfp4ELITWLFDrvwOxjxC4yTwHVZcDns7sZBtskImwlNRikgHvGuDXzuNdP9hhZJh
dhK0wYBSz+qEnAFUC2chDtEa5ymp8UHUI6P1IQiPw/RzWr9GlaxY1QUo66qIBvSI
ekdeqlXDcQ==
=Ds4t
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: