Your message dated Wed, 17 May 2023 19:50:59 +0000
with message-id <e1pznap-000b3y...@fasolo.debian.org>
and subject line Bug#1035984: fixed in popplerkit.framework 0.0.20051227svn-12
has caused the Debian Bug report #1035984,
regarding libpopplerkit0: unhandled symlink to directory conversion: 
/usr/lib/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0/Resources
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.)


-- 
1035984: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035984
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libpopplerkit0
Version: 0.0.20051227svn-11
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:

  testing -> unstable

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#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/ch-maintainerscripts.html#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.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (scroll to the bottom...):

1m20.3s ERROR: installs objects over existing directory symlinks:
  
/usr/lib/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0/Resources/Info-gnustep.plist
 (libpopplerkit0) != 
/usr/share/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0/Info-gnustep.plist
 (?)
    /usr/lib/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0/Resources -> 
../../../../../../share/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0


Excerpts from debdiff libpopplerkit0_0.0.20051227svn-10+b1_amd64.deb 
libpopplerkit0_0.0.20051227svn-11_amd64.deb

Files in first .deb but not in second
-------------------------------------
-rw-r--r--  root/root   
/usr/share/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0/Info-gnustep.plist
-rw-r--r--  root/root   /usr/share/doc/libpopplerkit0/changelog.Debian.amd64.gz
lrwxrwxrwx  root/root   
/usr/lib/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0/Resources -> 
../../../../../../share/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0

Files in second .deb but not in first
-------------------------------------
-rw-r--r--  root/root   
/usr/lib/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0/Resources/Info-gnustep.plist


Was the move of Info-gnustep.plist from /usr/share to /usr/lib
intentional?
The easies fix would be to move it back to /usr/share and let dpkg clean
up the unused and messed up paths/symlinks in /usr/lib.


cheers,

Andreas

Attachment: libpopplerkit0_0.0.20051227svn-11.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: popplerkit.framework
Source-Version: 0.0.20051227svn-12
Done: Yavor Doganov <ya...@gnu.org>

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

Debian distribution maintenance software
pp.
Yavor Doganov <ya...@gnu.org> (supplier of updated popplerkit.framework 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: Tue, 16 May 2023 19:52:53 +0300
Source: popplerkit.framework
Architecture: source
Version: 0.0.20051227svn-12
Distribution: unstable
Urgency: medium
Maintainer: Debian GNUstep maintainers 
<pkg-gnustep-maintain...@lists.alioth.debian.org>
Changed-By: Yavor Doganov <ya...@gnu.org>
Closes: 1035984
Changes:
 popplerkit.framework (0.0.20051227svn-12) unstable; urgency=medium
 .
   * debian/rules (fonts): New variable.
     (binary-post-install/libpopplerkit0): Restore target and create
     symlinks in a shell loop using the new hardcoded variable above.  This
     has to be done after gsdh_gnustep is being run but since it is
     executed after dh_link, using a .links file leads to unintented move
     of the .plist file from /usr/share to /usr/lib (Closes: #1035984).
     Thanks, Andreas Beckmann!
   * debian/libpopplerkit0.links: Delete; it was a bad idea that resulted
     in yet another RC bug.
Checksums-Sha1:
 2ecf4a284c5a17f21ad49fc69817e7176c65396b 2242 
popplerkit.framework_0.0.20051227svn-12.dsc
 068cbf828d2d2ee0be650c94d0cfba6b9c95beb2 10024 
popplerkit.framework_0.0.20051227svn-12.debian.tar.xz
 9a9f0371f26284694e7daaa9571ad5ca240be726 10576 
popplerkit.framework_0.0.20051227svn-12_source.buildinfo
Checksums-Sha256:
 aee19afeb8fe15d54d39927f25900f717eac73bb54242df8121b4994f7c6f755 2242 
popplerkit.framework_0.0.20051227svn-12.dsc
 5d104e30c4dc775e4a416aa7bc6977766d3f8d01f40b20cea5b283e8c1ed6e87 10024 
popplerkit.framework_0.0.20051227svn-12.debian.tar.xz
 cceee64dc50ae2c3422ec7fc10a7c3eb38c0df1a193b166dcafe535aa4dc700f 10576 
popplerkit.framework_0.0.20051227svn-12_source.buildinfo
Files:
 cd28109e7e7d1b1ee7d9cd4f0cd6fd18 2242 libs optional 
popplerkit.framework_0.0.20051227svn-12.dsc
 75be6b4d3f6f2733a6858fc515a4f417 10024 libs optional 
popplerkit.framework_0.0.20051227svn-12.debian.tar.xz
 3a4f27afa690ced4cf1dd992125ef9c2 10576 libs optional 
popplerkit.framework_0.0.20051227svn-12_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtgob82PcExn/Co6JEWhSvN91FcAFAmRlK00ACgkQEWhSvN91
FcBpxg//bF3Kvbu9pksPY/AteICSYHfQPmYTHZ3lKViSU89s7jY/RfKr6ger7g1b
h948eVqOhimm5O0U41Fma5qmNE0/1KN1aKpth/d7XyqX9SvH6r0YzuTMNjUadxMw
7+mwgZox/kojjAZw90zp5v3f0bESs5UapHocrbtlUuCLZ4YPvS+s6VZS0gX5A8tz
5ngcH2ZPH3MZYZ+xeVc090vllZKvYBYJTPHMALvecPwHwxWebrJjG/rSfctQgq2J
CTRvmDr0BtgUTH3bQnWPQW1iL2UGMv0ozCLE/bmLTZn+l3aVpcJDkO/klY9Qh9D8
7repz5Wzgdc70fhrxiUk2C9UHSKKqiBlkxbh5pHp1n/QW5TGdo/6pEhg+6DK7umi
DJIuIjKp1KYRjiKjRa51UqeElUXUKitueLh7K709yoXw7XgVI+cX2MGbz02h7CtZ
gmGc/FC95VEbsXWaZemVBD/OoNYALUKutp27UiOxBARcT9iDPPYzJiZnT94ynJ+Y
52uNly9fT8XsO+6IQ3WMaMiZqlqcVdVzYnsudLR4rzfc/ZUEu6VAmOxOV5VV2Ewx
bxLY3ztuOk9r+YV2L337Fo/4XUAdKzjwU/pQkJ64gFYceUSemlrhg4g8etZStXqT
ba075FRii3dLmaf0GNORhpeyDiC860KSO/AD4gcLn6OvINji7AA=
=PY4k
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to