Your message dated Thu, 02 Aug 2018 14:49:04 +0000
with message-id <[email protected]>
and subject line Bug#905201: fixed in geda-gaf 1:1.8.2-9
has caused the Debian Bug report #905201,
regarding libgeda-dev,geda-doc,geda: 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.)
--
905201: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905201
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgeda-dev,geda-doc,geda
Version: 1:1.8.2-8
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:
stretch -> buster
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/#copyright-information
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/#details-of-unpack-phase-of-installation-or-upgrade
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 (scroll to the bottom...):
1m21.2s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/libgeda-dev/HACKING (libgeda-dev) !=
/usr/share/doc/libgeda-common/HACKING (?)
/usr/share/doc/libgeda-dev -> libgeda-common
/usr/share/doc/libgeda-dev/changelog.Debian.gz (libgeda-dev) !=
/usr/share/doc/libgeda-common/changelog.Debian.gz (libgeda-common)
/usr/share/doc/libgeda-dev -> libgeda-common
/usr/share/doc/libgeda-dev/changelog.gz (libgeda-dev) !=
/usr/share/doc/libgeda-common/changelog.gz (libgeda-common)
/usr/share/doc/libgeda-dev -> libgeda-common
/usr/share/doc/libgeda-dev/copyright (libgeda-dev) !=
/usr/share/doc/libgeda-common/copyright (libgeda-common)
/usr/share/doc/libgeda-dev -> libgeda-common
0m52.4s INFO: dirname part contains a symlink:
/usr/share/doc/geda/AUTHORS (geda-doc) != /usr/share/doc/geda-doc/AUTHORS (?)
/usr/share/doc/geda -> geda-doc
/usr/share/doc/geda/NEWS.gz (geda-doc) != /usr/share/doc/geda-doc/NEWS.gz (?)
/usr/share/doc/geda -> geda-doc
cheers,
Andreas
libgeda-dev_1:1.8.2-8.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Source: geda-gaf
Source-Version: 1:1.8.2-9
We believe that the bug you reported is fixed in the latest version of
geda-gaf, 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.
أحمد المحمودي (Ahmed El-Mahmoudy) <[email protected]> (supplier
of updated geda-gaf 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: SHA512
Format: 1.8
Date: Thu, 02 Aug 2018 16:13:28 +0200
Source: geda-gaf
Binary: geda libgeda42 libgeda-dev libgeda-common geda-symbols geda-gschem
geda-gattrib geda-gnetlist geda-gsymcheck geda-utils geda-examples geda-doc
Architecture: source
Version: 1:1.8.2-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Team
<[email protected]>
Changed-By: أحمد المحمودي (Ahmed El-Mahmoudy)
<[email protected]>
Description:
geda - GPL EDA -- Electronics design software (metapackage)
geda-doc - GPL EDA -- Electronics design software (documentation)
geda-examples - GPL EDA -- Electronics design software (example designs)
geda-gattrib - GPL EDA -- Electronics design software (attribute editor)
geda-gnetlist - GPL EDA -- Electronics design software (netlister)
geda-gschem - GPL EDA -- Electronics design software (schematic editor)
geda-gsymcheck - GPL EDA -- Electronics design software (symbol checker)
geda-symbols - GPL EDA -- Electronics design software (symbols library)
geda-utils - GPL EDA -- Electronics design software (utilities)
libgeda-common - GPL EDA -- Electronics design software (data files)
libgeda-dev - GPL EDA -- Electronics design software (development files)
libgeda42 - GPL EDA -- Electronics design software (library files)
Closes: 904949 905201
Changes:
geda-gaf (1:1.8.2-9) unstable; urgency=medium
.
* Set doc-main-package to geda-docs (Closes: #904949)
* Add maintainer scripts to convert libgeda-dev doc dir from symlink to a
real dir (Closes: #905201)
Checksums-Sha1:
28694ad97bc60c25c4771b21b090572c2ade31b7 2464 geda-gaf_1.8.2-9.dsc
f173ef2071cdcf93b635fbabd41ea6e31f3269e9 16888 geda-gaf_1.8.2-9.debian.tar.xz
3c7da9ffe9f9596bbd52e68ecdfe856bb74225d6 11980
geda-gaf_1.8.2-9_source.buildinfo
Checksums-Sha256:
8e9deb6f15ba1923bf2331352bab7b30073b9191729391300e4ca77584279bc9 2464
geda-gaf_1.8.2-9.dsc
6c1b71cd0305b359a52abeffda9e9d75014c4676a1bc92f1580a5dcbf84b164b 16888
geda-gaf_1.8.2-9.debian.tar.xz
2c619a40b34df679079e66b17339c800f02c8ee1cb8df4f148be8969f7dc153b 11980
geda-gaf_1.8.2-9_source.buildinfo
Files:
0de9f3bac21fddffb0272c8c990be83f 2464 electronics optional geda-gaf_1.8.2-9.dsc
adb95b27ba1219dac84763fe0b3016f0 16888 electronics optional
geda-gaf_1.8.2-9.debian.tar.xz
4d53c1dcff782b822097762f07807fba 11980 electronics optional
geda-gaf_1.8.2-9_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCgAGBQJbYxGZAAoJELwZapTt3aG38ZEH/3jdo2UrGJ1gQWCBZq7fMmJ0
zn4gsGFdq90TUdrtbmhPrA/Z4AuZVb3FmThvcNqCL3YJWmXtddaRuI+Lpv7NFovP
fkeLPdUNGgFDRNNszA5Fq72ykKoaHxJ5x/IHBwebzYPyyQi6txh3oFVXx78e5zp/
choe3Q5FOrTYzwv8Bj+P95XhGxQ/aPKYHl9yr5vo+3GtY8FRbPiW80++7DceZZJF
Cw8Dd0UjmTycvAzFrxB1yYyvkrTU+MvDjl9n3JpvpOInVQigUPaVF+X6OxegE9qh
Ezm6O4ffWG8Hcm19vp2XOL4FPaiFWXQ+4bZRzSzJMna9o8NsW6sO6B/vppgEM2s=
=YH1w
-----END PGP SIGNATURE-----
--- End Message ---