Your message dated Sun, 28 Feb 2016 20:00:25 +0000
with message-id <e1aa7vx-0006wd...@franck.debian.org>
and subject line Bug#813223: fixed in java-common 0.57
has caused the Debian Bug report #813223,
regarding gcj-native-helper: 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.)


-- 
813223: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813223
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gcj-native-helper
Version: 2:1.8-54
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#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...):

2m19.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/gcj-native-helper/changelog.gz (gcj-native-helper) != 
/usr/share/doc/default-jre-headless/changelog.gz (default-jre-headless)
    /usr/share/doc/gcj-native-helper -> default-jdk
    /usr/share/doc/default-jdk -> default-jre
    /usr/share/doc/default-jre -> default-jre-headless
  /usr/share/doc/gcj-native-helper/copyright (gcj-native-helper) != 
/usr/share/doc/default-jre-headless/copyright (default-jre-headless)
    /usr/share/doc/gcj-native-helper -> default-jdk
    /usr/share/doc/default-jdk -> default-jre
    /usr/share/doc/default-jre -> default-jre-headless

2m23.8s ERROR: FAIL: debsums reports modifications inside the chroot:
  /usr/share/doc/default-jre-headless/changelog.gz
  /usr/share/doc/default-jre-headless/copyright


cheers,

Andreas

Attachment: gcj-native-helper_2:1.8-54.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: java-common
Source-Version: 0.57

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

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated java-common 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, 26 Feb 2016 18:34:49 +0100
Source: java-common
Binary: java-common default-jre default-jre-headless default-jdk 
default-jdk-headless default-jdk-doc default-java-plugin gcj-native-helper
Architecture: source amd64 all
Version: 0.57
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Description:
 default-java-plugin - Default Java Plugin for running applets and Java Web 
Start applic
 default-jdk - Standard Java or Java compatible Development Kit
 default-jdk-doc - Standard Java or Java compatible Development Kit 
(documentation)
 default-jdk-headless - Standard Java or Java compatible Development Kit 
(headless)
 default-jre - Standard Java or Java compatible Runtime
 default-jre-headless - Standard Java or Java compatible Runtime (headless)
 gcj-native-helper - Standard helper tools for creating gcj native packages
 java-common - Base package for Java runtimes
Closes: 813223 814783
Changes:
 java-common (0.57) unstable; urgency=medium
 .
   * Build a default-jdk-headless package.
   * java_defaults.mk: Fix jvm_archdir macro (Jonas Smedegaard). Closes: 
#814783.
   * Just remove the gcj-native-helper doc symlink on upgrade. Closes: #813223.
   * Remove Torsten Werner from uploaders.
Checksums-Sha1:
 da50e52fd6a0018cb4f113a1820be82e17125831 2087 java-common_0.57.dsc
 02ddd22c83f19acb726ee4381ddcfbb2d3b14d6a 13016 java-common_0.57.tar.xz
 e21f77cc2b019904b609f3ab7d6b4e97f4512d94 966 
default-java-plugin_1.8-57_amd64.deb
 a187e20b8081c204d37ede6cd908ae6cb25a2de6 10030 default-jdk-doc_1.8-57_amd64.deb
 abdf4bf29c888d7c5dec4c39d2e95cd09971cd9d 940 
default-jdk-headless_1.8-57_amd64.deb
 878764444d3dcbe736f10fdf80ad69561d01f29f 928 default-jdk_1.8-57_amd64.deb
 cb50ba2d85886cab66a6284ddacdf5fd2b4be1c3 10068 
default-jre-headless_1.8-57_amd64.deb
 f8caebf1c027d82b3a2d0171811b78bf49875bc0 934 default-jre_1.8-57_amd64.deb
 efb20286e6a6cc187f333e96f92cfe3cbac1ac02 10134 
gcj-native-helper_1.8-57_amd64.deb
 36f2597beace5019e86accc841614580ac07d4d5 13414 java-common_0.57_all.deb
Checksums-Sha256:
 7b80519a4923e4bc9be26efdd8b5e4096156889924d36fbe7decf2637bc34ce5 2087 
java-common_0.57.dsc
 296276f3714c052ba6ac6699519a4213b011b81c73ed37b9c2ad0ca8a8cb9c34 13016 
java-common_0.57.tar.xz
 8f85329eca5a98a9d6b1925bf24be6d8f5ec17b22d40afd183b48fddb723707c 966 
default-java-plugin_1.8-57_amd64.deb
 352b6f00e9ee82c194f2b6e321ddae2c8135b127aa966121fd88472fe302b53c 10030 
default-jdk-doc_1.8-57_amd64.deb
 cfde232d635c0b1569b470373e97be7e3c25e3c53ab7b3d3ee1106cf15350610 940 
default-jdk-headless_1.8-57_amd64.deb
 aa55dbf9f922a83ce548e6873639f36f7dc3dd39d845617a9a5ab420e0dea427 928 
default-jdk_1.8-57_amd64.deb
 a6dde610a7167562fa447d450da0ffa6c4e9789c19b46c684ae0ad416712da75 10068 
default-jre-headless_1.8-57_amd64.deb
 f5056481edf1bc2b7fd82b955ed6bd7977616b065b79ef5e98639bca3fa86d0a 934 
default-jre_1.8-57_amd64.deb
 39ba7b70be2786cdaea4efd9f526e73259fd70af9da58b071c7c76b46241bbeb 10134 
gcj-native-helper_1.8-57_amd64.deb
 06dfe23deda9556d5c7e2375061795fd759e8f4ac4ac9346969e3ce0a5db1b1f 13414 
java-common_0.57_all.deb
Files:
 8a2c7633e0339ce8fd1c3441cd3ff658 2087 java optional java-common_0.57.dsc
 b8577e37e6b3a18c317465d69a8db10a 13016 java optional java-common_0.57.tar.xz
 1b117d42c939e680ff3a9032122c7120 966 java optional 
default-java-plugin_1.8-57_amd64.deb
 b0df282183703d742583a2daa6b78904 10030 doc optional 
default-jdk-doc_1.8-57_amd64.deb
 78dfbead4ac78301f7a6d6898480bdcf 940 java optional 
default-jdk-headless_1.8-57_amd64.deb
 a2ec6b3bcba8c3af31ff4dea566d6009 928 java optional default-jdk_1.8-57_amd64.deb
 d02a2c21c0cb915daefae0c50ddf8396 10068 java optional 
default-jre-headless_1.8-57_amd64.deb
 10ee009b81986126d14f7e1cc395a6a6 934 java optional default-jre_1.8-57_amd64.deb
 0bf422ad16c6b287a35e47fbaaa42047 10134 java optional 
gcj-native-helper_1.8-57_amd64.deb
 6d83d57bb318bf915a59e356836d330f 13414 java optional java-common_0.57_all.deb

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

iQIcBAEBCAAGBQJW0JEmAAoJEL1+qmB3j6b15XcQAMEIqSQ2NhmbLikq7P99zoW6
giS9AdSjvf55va55pDlbUYg/JYO9Hto97lMekU+20lUGC5Gq5cwhOnOoGohRp86N
Eth5BQJu1O/Vcaf6XFT7EwGHTIOH7FCzVVVlJ/+SO8oh0Gi0xuBZo9od2OCk6xlH
TJmq3QVA6o26fajYkal43ZxlktMirLvOHCZSHHT+/AgHQctg/WrLKtdKsNF/mqv8
XbNaxK/Q0JhjMp6O5CpM24qxDcOfGV5plJ16uOx6p9gCM0Pb3cxnPJvAgzNLo2SD
lWVTtl4JSYdYIOV546VchJdMsi3Vh/q35059MD1pRtCAlyeMgJAoiiJQj1DiVHZO
GAXitdWRKWgNcFTvZahH9+3TgFE1BSmYIT8qZRu8AjmB+m61DrViHfOhrexdLSBM
1YZYiThXprjnzTg7QbIsTc1G3PDxQqkYdPf3f5Fi6E37jnBlzBSjhd4a4KHu+Ko2
zbL8vMcbxLAYQzPb6I2qE2cryqqMcnL4rDC3mKup+uiRk1At2gdjviK8L1dRHhSL
th2+5f3WHjW8Z64ck75KQwyl17s3EZ0IPaONBasUtOkA52x7MczKjNqwelX3fNlz
3sAVsQLKctRBY+hDntWngwkMNXkcM6fl+Kl4Fa/oEQwPSRHKXEyXXpRV++c5aSO9
QGp//LVU3U8oHD3cmcMo
=YAOo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to