Your message dated Fri, 07 Apr 2017 16:35:12 +0000
with message-id <e1cwwqu-000fqf...@fasolo.debian.org>
and subject line Bug#859588: fixed in libgpod 0.8.3-8.2
has caused the Debian Bug report #859588,
regarding libgpod-nogtk-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.)


-- 
859588: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859588
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libgpod-nogtk-dev
Version: 0.8.3-8.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->sid

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

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


cheers,

Andreas

Attachment: libgpod-nogtk-dev_0.8.3-8.1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: libgpod
Source-Version: 0.8.3-8.2

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

Debian distribution maintenance software
pp.
Simon McVittie <s...@debian.org> (supplier of updated libgpod 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, 07 Apr 2017 09:33:15 +0100
Source: libgpod
Binary: libgpod-nogtk-dev libgpod4-nogtk libgpod-dev libgpod4 libgpod-common 
libgpod-doc python-gpod libgpod-cil libgpod-cil-dev
Architecture: source
Version: 0.8.3-8.2
Distribution: unstable
Urgency: medium
Maintainer: gtkpod Maintainers <pkg-gtkpod-de...@lists.alioth.debian.org>
Changed-By: Simon McVittie <s...@debian.org>
Closes: 859588
Description: 
 libgpod4   - library to read and write songs and artwork to an iPod
 libgpod4-nogtk - library to read and write songs to an iPod - transitional 
package
 libgpod-cil - CLI bindings for libgpod
 libgpod-cil-dev - CLI bindings for libgpod -- development files
 libgpod-common - common files for libgpod
 libgpod-dev - development files for libgpod
 libgpod-doc - documentation for libgpod
 libgpod-nogtk-dev - development files for libgpod - transitional package
 python-gpod - Python bindings for libgpod
Changes:
 libgpod (0.8.3-8.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Correctly migrate /usr/share/doc/libgpod-nogtk-dev from symlink
     to directory. Saving a few KiB by changing it back to a symlink
     does not seem worthwhile when this is a transitional package that
     can be removed shortly after. (Closes: #859588)
Checksums-Sha1: 
 d56f2d91df07c1914b430597de27a0d234c0c713 3359 libgpod_0.8.3-8.2.dsc
 4c3958472e1048f34e1a589f6ef6318966b6057d 16420 libgpod_0.8.3-8.2.debian.tar.xz
Checksums-Sha256: 
 d13315f8f18d0870ad82ec17d02771cf7ce0eb7044134a928c307c1b23ecfa43 3359 
libgpod_0.8.3-8.2.dsc
 3835f9e91ff5ecb321ee5eb70c3cb8015ca1268483f25706cae07dd4723714a6 16420 
libgpod_0.8.3-8.2.debian.tar.xz
Files: 
 2bb598d1d2e27851d5db00cb6a3d5665 3359 libs optional libgpod_0.8.3-8.2.dsc
 7d3621a1df948d6425ca8544c37479e8 16420 libs optional 
libgpod_0.8.3-8.2.debian.tar.xz

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

iQIzBAEBCAAdFiEE2pjyXAhxxJpZ6v8sTej/KmPHzJAFAljnV00ACgkQTej/KmPH
zJAa7Q/9GmXjvbRni08NiYsHVPr+NTwwkK4iB6HK5v0TyAZUsLNLSnWPv1av30I4
E8s+l+RxspvjifznynLNPqp7ZkoPFpnKQrmb4LeRQaLTft44gswab1oQuC6oz70F
EIixd9cZqyrBOifygHBcIwsZJu/lpcVfinyiQoWLyzs+rdG1I+XNoTnxsFqKQQr4
UQQQO0L5505UK21B/hL0WN/0K9N+ocqc3QPUQUY8lTOrJP4Vc+uatkVfPzrmjZxM
N45S4EXR5uswJAbUpfTP1GZwhS/3pgVCEnuAI4sUta5DCmzlhzRwo+eOvy6Mg0pr
Mo/AZDAmOvE7M3TJ3m6bpCOTwb3mxoWuLdTB47u8c8IGR4RYFWbsTPQbq4jCrZUh
SizXodi5uDEjixUBN60dII4R8mgFUrcNeB0S3WvHQ5LZCE1uluIGIofiVOLPsj04
VrQeFFZHQo3MKnwg4BWCpiDkQ2kii1a+Tk1sF2vGG/2ZNV1KUCQW6pZsz6aViSBy
3pY4/1eVB/1e79QrKeHG1e9p9UwpH6pP+uGoMI1u8EoY5YXibf6L3dPyQTnIhcz2
nTF5MkRl2MBc2P/iDIVrLN9vqqI+B7E4tKH8l4Duws3HHnAAMgPcUob4c4KOArdX
e0pdqBD+2uMozkeT6b+fyBC8guakn50RHma4eXwV8FGAuIsOCXY=
=hfnj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to