Your message dated Thu, 27 Apr 2017 11:03:56 +0000
with message-id <e1d3hdi-0006zs...@fasolo.debian.org>
and subject line Bug#861303: fixed in libhdf4 4.2.12-3
has caused the Debian Bug report #861303,
regarding hdf4-tools: 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.)


-- 
861303: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861303
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: hdf4-tools
Version: 4.2.12-2
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:

  lenny -> squeeze -> wheezy -> jessie -> stretch

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

3m43.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/hdf4-tools/NEWS.Debian.gz (hdf4-tools) != 
/usr/share/doc/libhdf4g/NEWS.Debian.gz (?)
    /usr/share/doc/hdf4-tools -> libhdf4g
  /usr/share/doc/hdf4-tools/changelog.Debian.gz (hdf4-tools) != 
/usr/share/doc/libhdf4g/changelog.Debian.gz (libhdf4g)
    /usr/share/doc/hdf4-tools -> libhdf4g
  /usr/share/doc/hdf4-tools/copyright (hdf4-tools) != 
/usr/share/doc/libhdf4g/copyright (libhdf4g)
    /usr/share/doc/hdf4-tools -> libhdf4g


cheers,

Andreas

Attachment: hdf4-tools_4.2.12-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: libhdf4
Source-Version: 4.2.12-3

We believe that the bug you reported is fixed in the latest version of
libhdf4, 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.
Bas Couwenberg <sebas...@debian.org> (supplier of updated libhdf4 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: Thu, 27 Apr 2017 12:42:18 +0200
Source: libhdf4
Binary: libhdf4-0 libhdf4-dev libhdf4g-dev libhdf4-0-alt libhdf4-alt-dev 
libhdf4-doc hdf4-tools
Architecture: source amd64 all
Version: 4.2.12-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-de...@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebas...@debian.org>
Description:
 hdf4-tools - Hierarchical Data Format library -- runtime package
 libhdf4-0  - Hierarchical Data Format library (embedded NetCDF)
 libhdf4-0-alt - Hierarchical Data Format library (without NetCDF)
 libhdf4-alt-dev - Hierarchical Data Format development files (without NetCDF)
 libhdf4-dev - Hierarchical Data Format development files (embedded NetCDF)
 libhdf4-doc - Hierarchical Data Format library -- documentation
 libhdf4g-dev - Hierarchical Data Format library -- transitional development 
pack
Closes: 861303
Changes:
 libhdf4 (4.2.12-3) unstable; urgency=medium
 .
   * Team upload.
   * Fix symlink to directory conversion that happened in squeeze.
     (closes: #861303)
   * Update spelling-errors.patch to fix 'conversion' typo.
Checksums-Sha1:
 5fd840318b462a7b8c82b8eb46260e5ae27f15cc 2389 libhdf4_4.2.12-3.dsc
 a51c4663ecf62315e41d6f95e008c0b8c4a29a68 72668 libhdf4_4.2.12-3.debian.tar.xz
 fbd2cd7076d9baf3aad1ed14c7535ebc8250d2a4 552418 
hdf4-tools-dbgsym_4.2.12-3_amd64.deb
 79d9e6472808462ad33dc134b74e6d48c0afd6ee 245656 hdf4-tools_4.2.12-3_amd64.deb
 e3e41fdc5663b21de0798d22aad6b6422e2cb283 650572 
libhdf4-0-alt-dbgsym_4.2.12-3_amd64.deb
 da835274875ef0d77799a84419d86839a300555d 275542 
libhdf4-0-alt_4.2.12-3_amd64.deb
 fde1cf4d02b506de58dcc2ba78bc232415e5e83e 737852 
libhdf4-0-dbgsym_4.2.12-3_amd64.deb
 5b532b7ab67a18d3b9dae62c4a853c90dc86dc17 312434 libhdf4-0_4.2.12-3_amd64.deb
 32f95195a00bd99e9c4d1f5f9d76d0f3f7251853 378782 
libhdf4-alt-dev_4.2.12-3_amd64.deb
 d7e04875969ed230c7a2e1b725c71777c05de28b 425600 libhdf4-dev_4.2.12-3_amd64.deb
 4254d743771bae8601b55d7dd8c5bc97a3a222c8 68554 libhdf4-doc_4.2.12-3_all.deb
 ba5ea7140bd4878f36ef67be53f7e40889be4a7a 7804 libhdf4_4.2.12-3_amd64.buildinfo
 76e3e12f63970a826dc0fab0b12a9d12da4e7777 14594 libhdf4g-dev_4.2.12-3_all.deb
Checksums-Sha256:
 15526623edea4acd68dc2d1d374f91c67031276b19348ffd3a923d2734d820f2 2389 
libhdf4_4.2.12-3.dsc
 87c06c7abbd41cace2ce2f78da3988b03f239d96d2f4f162edb974835beb664c 72668 
libhdf4_4.2.12-3.debian.tar.xz
 63476fbc80bafead60825201de5f5f0db2198b423d167486f67da0911a037e85 552418 
hdf4-tools-dbgsym_4.2.12-3_amd64.deb
 c08c9b48f14fe6d26255922bc94d91f994a51aa8dc80eb37bfb3ecbf2e051cee 245656 
hdf4-tools_4.2.12-3_amd64.deb
 cd38bf26bd9eb1e03f3d4386da429bea74b3dbcda4a3f90afe355cfa52ecc525 650572 
libhdf4-0-alt-dbgsym_4.2.12-3_amd64.deb
 b0b516b75751dc384fe496060a8c2694cb12b43dd9e5c903794535890df3e1eb 275542 
libhdf4-0-alt_4.2.12-3_amd64.deb
 f2965f3d575e82545451d33da6305ccaef2c6d2f9104032f0600b4b1e487cf95 737852 
libhdf4-0-dbgsym_4.2.12-3_amd64.deb
 40e46f7a49b8d4bfc9150c9c509d3d006c99b9c1d28a8f90885db86f2ca176e9 312434 
libhdf4-0_4.2.12-3_amd64.deb
 f58a3b6804fe2070b1eaf0b29b91c9970b42ca30d27d1b108c0246793148c2ce 378782 
libhdf4-alt-dev_4.2.12-3_amd64.deb
 d1c1cb8c58086a1391a79e4dd675c0690ed6fae310b843c9862fa0e98b8aa0b2 425600 
libhdf4-dev_4.2.12-3_amd64.deb
 a4ef7cdb0a8613a338779e47d5c61e5b4abb3d69c2ff14b13d26e68bcadf0885 68554 
libhdf4-doc_4.2.12-3_all.deb
 ed914f63f852948c309c2be4f906f13babd00161f156aac3f049053a5449b0c0 7804 
libhdf4_4.2.12-3_amd64.buildinfo
 5adf256ee6b84549d83c20d9e80620937cd66cde74a2b5401fa8b4a8dba0e053 14594 
libhdf4g-dev_4.2.12-3_all.deb
Files:
 6800008a88f064f27868a1cfcefe54b3 2389 graphics optional libhdf4_4.2.12-3.dsc
 3f0d17a00d76393279ef454431aa3a94 72668 graphics optional 
libhdf4_4.2.12-3.debian.tar.xz
 4207c2c35c36c872bb26310c1505ac20 552418 debug extra 
hdf4-tools-dbgsym_4.2.12-3_amd64.deb
 9f2d2dd3d62336724ee107806753d266 245656 graphics optional 
hdf4-tools_4.2.12-3_amd64.deb
 b267e8d75397118eb3587471dc5f587a 650572 debug extra 
libhdf4-0-alt-dbgsym_4.2.12-3_amd64.deb
 931e7c08fd358d4de298e842dbe684f7 275542 libs extra 
libhdf4-0-alt_4.2.12-3_amd64.deb
 cd96f5471cc9927688c07fbbc8d553a7 737852 debug extra 
libhdf4-0-dbgsym_4.2.12-3_amd64.deb
 4b74bd183c05b828e87691ba758d4cf2 312434 libs optional 
libhdf4-0_4.2.12-3_amd64.deb
 31d374893202709c1e0cd14794978c0d 378782 libdevel extra 
libhdf4-alt-dev_4.2.12-3_amd64.deb
 ebf339f0ad7d23bd00cc475f77ab2c1d 425600 libdevel optional 
libhdf4-dev_4.2.12-3_amd64.deb
 d5e370c1566f453a86f6add91b76f3ae 68554 doc optional 
libhdf4-doc_4.2.12-3_all.deb
 5f7fc72f6545b3e3065967abff7fd2f9 7804 graphics optional 
libhdf4_4.2.12-3_amd64.buildinfo
 fd7d1e9c57ee68dcc3ac8d05541becce 14594 libdevel optional 
libhdf4g-dev_4.2.12-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJZAc2iAAoJEGdQ8QrojUrx0kAQALDc0UBrK0b+AVaax1e9p77n
CpacuhhJ7ViBfkgEEXUgvctUllRD+g37hEFNKlkqO43g12dRGjHwgAyk9FwMcM7k
RDwmFUqzLr9J4xhqXA1OD9PAZ20suvuJ0oHDI/IKpUBjVBpL3Uryv4jbOazL02S/
bdysNI/cSLzBDy3DK2n5YkEU9Jv70TAjLgkHT9f2ALmfrcV0VLUEybWk3JzXGdUD
bosA4DN406MSvLp5c1turN4ypHibVzAv12Dxa7S0dt5C7YOXVoC6xo6aHrO261f+
0GuO9oLT8bF9KjzxsLPgT769dhBsHryBONr+ut39HSqMLLlw8J0WNPz6volry60s
EAA1+Oe4YqM2eRb1Au6Th7BfDe2S8c4O8pjY4g824JajlD6pwrwQCUbTOTxqTyI6
oErZR+lWIlYnbpx1dcPrX0SnXUDGgYfvsGzxr5amX/uy3NPlL6EUeLvj3whk+67k
i/EEQSDBqzCrq/ZCsp16bW/RIYb0Ho6zma/2C5J7SMQ4+wvKy4/aCmkpUZ336Hmt
JhA16L5iuW5HqLTXpb4Ih6sJwh+iGga26MDVWepi20VLSXCVGXYF8JZr5GhEKgto
ONK5RD1ZemlKQt2VwMMpgycYHHwCm6Ciuopzfm3ef/GPPzNUwysYsWhrdw9/AdAj
+5JKj/vQWP3P/hTsKF9b
=AKT6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to