Bug#813223: marked as done (gcj-native-helper: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE)
Your message dated Sun, 28 Feb 2016 20:00:25 + with message-idand 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 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 (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 Changed-By: Matthias Klose 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
Bug#813223: marked as done (gcj-native-helper: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE)
Your message dated Fri, 05 Feb 2016 03:58:06 + with message-idand subject line Bug#813223: fixed in java-common 0.55 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 gcj-native-helper_2:1.8-54.log.gz Description: application/gzip --- End Message --- --- Begin Message --- Source: java-common Source-Version: 0.55 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. Emmanuel Bourg (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, 05 Feb 2016 00:42:57 +0100 Source: java-common Binary: java-common default-jre default-jre-headless default-jdk default-jdk-doc default-java-plugin gcj-native-helper Architecture: source amd64 all Version: 0.55 Distribution: unstable Urgency: medium Maintainer: Debian Java Maintainers Changed-By: Emmanuel Bourg 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