Your message dated Fri, 05 Feb 2016 03:58:06 +0000
with message-id <[email protected]>
and 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 [email protected]
immediately.)
--
813223: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813223
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gcj-native-helper
Version: 2:1.8-54
Severity: serious
User: [email protected]
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Emmanuel Bourg <[email protected]> (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 [email protected])
-----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
<[email protected]>
Changed-By: Emmanuel Bourg <[email protected]>
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-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
Changes:
java-common (0.55) unstable; urgency=medium
.
* Team upload.
.
[ Matthias Klose ]
* Bump m68k, sh4 and sparc64 to 1.8.
.
[ Emmanuel Bourg ]
* Upload to unstable
* Fixed the name of the plugin dependency
(icedtea-<n>-plugin instead of icedtea-<n>-web)
* Standards-Version updated to 3.9.7 (no changes)
* Properly handle the symlink to dir conversion in gcj-native-helper
(Closes: #813223)
Checksums-Sha1:
0ef994bde44de55f7b9859617e6f0fc3f0249215 2054 java-common_0.55.dsc
0d83ad4feed292ec794fd787815cb401491f15d0 12712 java-common_0.55.tar.xz
83a035988a5e0414098a1e31ea7a8b4ab1fa2365 962
default-java-plugin_1.8-55_amd64.deb
9d95637ede0af0dfe101be45ecd6ddf0fa51c7b9 9880 default-jdk-doc_1.8-55_amd64.deb
5197b09e533850c0ba18a0dae870bdb970f4395d 910 default-jdk_1.8-55_amd64.deb
4ad4173f4c5e2b2c2fb75cfa2a92ed74bd173ffd 9908
default-jre-headless_1.8-55_amd64.deb
d4945eb56198507a63febd5b318896d41328f735 928 default-jre_1.8-55_amd64.deb
1ee533abb33beb2dd50b92dae4074def50d2d53a 10046
gcj-native-helper_1.8-55_amd64.deb
46565abfb376b8ccdfc3965499347daa66a2cea2 13264 java-common_0.55_all.deb
Checksums-Sha256:
96daf0f1d41b3f55df24149a02e18787af0b8c0c3da5d1153ab92d7666e0d461 2054
java-common_0.55.dsc
348b5ed465a31e21e9e227b342c96bfe9057d298fcb10dcadb60defa0dd72969 12712
java-common_0.55.tar.xz
dff501b3bc0e5e160e5624da59378e6bc6d0b7055ec32f66394e5907ba6e17c6 962
default-java-plugin_1.8-55_amd64.deb
f09b864b64a2f8ba90e88b880409f1e0fa36f6da02c1e4605f8cd521df8128b0 9880
default-jdk-doc_1.8-55_amd64.deb
5869ffb2c009cb8153c4e33dbfe142412dc19820bc60770e011ee57798cc35b6 910
default-jdk_1.8-55_amd64.deb
090d895be8c70ee2fce2e16408a6e5656e120af67690c0e67db3c7773b86df9f 9908
default-jre-headless_1.8-55_amd64.deb
8e7ab4a637bb2b950b6756657fe3aa3ed9612f5613b1f32102f8e2557563aacd 928
default-jre_1.8-55_amd64.deb
5be26770b3f06d403555000a3987876a55a8afac5d223a0503fe7ce6b375a950 10046
gcj-native-helper_1.8-55_amd64.deb
f6ca67f9ce87b03e917750d8491a9271659274b48e54d779d26d405af1c6f669 13264
java-common_0.55_all.deb
Files:
893292219023f115e9e08d038ef75748 2054 java optional java-common_0.55.dsc
67b8b12f5b76255df29ad7687d6dcc73 12712 java optional java-common_0.55.tar.xz
c5f08240b45b846d06642e058851cb13 962 java optional
default-java-plugin_1.8-55_amd64.deb
11d074dcbc71768dca63daeaa4080cdf 9880 doc optional
default-jdk-doc_1.8-55_amd64.deb
21f7c366d69a89b9d1ebe00868f119a9 910 java optional default-jdk_1.8-55_amd64.deb
ff2c4749a6efc63d44f57444ebabfc56 9908 java optional
default-jre-headless_1.8-55_amd64.deb
a0b98b1b66ffe0b33a63ae13cd4dcf33 928 java optional default-jre_1.8-55_amd64.deb
a84b83ccdc7bac58af714247869d4885 10046 java optional
gcj-native-helper_1.8-55_amd64.deb
40494d142fe0ab070ae32fcfe8b5c7af 13264 java optional java-common_0.55_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWs+K4AAoJEPUTxBnkudCsBkoP/iB9FoJ9cgzSFWULnhV01NNG
35NEgXKjf61pVvCDmDY3OQWgoQLqoXvPGm2bhkBYFHOWR6rHLNGtkIXzRsRo+XUm
c2nf8JErq0V3tWnXDEg7EwU411A5YOJvk1mmdkaDWLZQqh0ysHoxzA4qgvJsL9AP
WQtF+3GJUo0HQllVu62gWHE7ASeiaV62a5nMVpa3yYbE74HLXFGRFZ2D6pMXXCAd
rbzTjg5sJTHXIGRUPskZzDgV/FilLzqoD8+T03O8Z8g/7efCc4u8P0c59Myw8Qx7
7iLc6LityE7hW6FOurL20MwENVb43xWv4rerYPwaHoVWPCIhEDqg+iwc/9/wWjx0
7j9C7/TgThLzczfmgDRBGmrOn6Z2sgYphDkRxcJyeO/Nc9uoxgAsfUH8YQfB03qB
qcOU37sd2FVpOkHc8MwXOUtViUgR38uQoYEVz8Df/ZfSst/W+4R8VVTeTfcoeB1h
/b8SM1xpH2pohNWHDO7v88R8Cygp+4/J7KH4DF88Ej0QiAhji11IM4Qs5vaRCENS
wdZxaUFR0TlBb3TWCKQRHtRFwT1SvHmn3ZnvyhtY4KOhI+EZ576ToZ3/0tPWfKDx
+GGcAy8AsAaGZrizS8gxG/91G3c/6f5el57yccpCSzyet8FHPJXLEP96RWFLWeIh
LxmXv0N4NfgSNCqn3kyT
=vE/f
-----END PGP SIGNATURE-----
--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.