Your message dated Sat, 19 Mar 2016 22:21:25 +0000
with message-id <e1ahpfn-0006mx...@franck.debian.org>
and subject line Bug#817814: fixed in php-pear 1:1.10.1+submodules+notgz-5
has caused the Debian Bug report #817814,
regarding php-pear: 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.)


-- 
817814: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817814
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: php-pear
Version: 1:1.10.1+submodules+notgz-4
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 -> sid

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...):

3m15.9s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/php-pear/Archive_Tar (php-pear) != 
/usr/share/doc/php5-common/Archive_Tar (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/Archive_Tar/docs (php-pear) != 
/usr/share/doc/php5-common/Archive_Tar/docs (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/Archive_Tar/docs/Archive_Tar.txt.gz (php-pear) != 
/usr/share/doc/php5-common/Archive_Tar/docs/Archive_Tar.txt.gz (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/Archive_Tar_package.xml.gz (php-pear) != 
/usr/share/doc/php5-common/Archive_Tar_package.xml.gz (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/Console_Getopt_package.xml.gz (php-pear) != 
/usr/share/doc/php5-common/Console_Getopt_package.xml.gz (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/PEAR (php-pear) != /usr/share/doc/php5-common/PEAR (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/PEAR/README.rst (php-pear) != 
/usr/share/doc/php5-common/PEAR/README.rst (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/PEAR_package2.xml.gz (php-pear) != 
/usr/share/doc/php5-common/PEAR_package2.xml.gz (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/Structures_Graph (php-pear) != 
/usr/share/doc/php5-common/Structures_Graph (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/Structures_Graph/docs (php-pear) != 
/usr/share/doc/php5-common/Structures_Graph/docs (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/Structures_Graph/docs/tutorials (php-pear) != 
/usr/share/doc/php5-common/Structures_Graph/docs/tutorials (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/Structures_Graph/docs/tutorials/Structures_Graph 
(php-pear) != 
/usr/share/doc/php5-common/Structures_Graph/docs/tutorials/Structures_Graph (?)
    /usr/share/doc/php-pear -> php5-common
  
/usr/share/doc/php-pear/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
 (php-pear) != 
/usr/share/doc/php5-common/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
 (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/Structures_Graph_package.xml.gz (php-pear) != 
/usr/share/doc/php5-common/Structures_Graph_package.xml.gz (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/XML_Util (php-pear) != 
/usr/share/doc/php5-common/XML_Util (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/XML_Util/examples (php-pear) != 
/usr/share/doc/php5-common/XML_Util/examples (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/XML_Util/examples/example.php.gz (php-pear) != 
/usr/share/doc/php5-common/XML_Util/examples/example.php.gz (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/XML_Util/examples/example2.php.gz (php-pear) != 
/usr/share/doc/php5-common/XML_Util/examples/example2.php.gz (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/XML_Util_package.xml.gz (php-pear) != 
/usr/share/doc/php5-common/XML_Util_package.xml.gz (?)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/changelog.Debian.gz (php-pear) != 
/usr/share/doc/php5-common/changelog.Debian.gz (php5-common)
    /usr/share/doc/php-pear -> php5-common
  /usr/share/doc/php-pear/copyright (php-pear) != 
/usr/share/doc/php5-common/copyright (php5-common)
    /usr/share/doc/php-pear -> php5-common


cheers,

Andreas

Attachment: drupal7-mod-civicrm_4.7.2+dfsg-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: php-pear
Source-Version: 1:1.10.1+submodules+notgz-5

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

Debian distribution maintenance software
pp.
Mathieu Parent <sath...@debian.org> (supplier of updated php-pear 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: Sat, 19 Mar 2016 22:43:58 +0100
Source: php-pear
Binary: php-pear
Architecture: source all
Version: 1:1.10.1+submodules+notgz-5
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <pkg-php-p...@lists.alioth.debian.org>
Changed-By: Mathieu Parent <sath...@debian.org>
Description:
 php-pear   - ${phppear:summary}
Closes: 805222 817814 818271
Changes:
 php-pear (1:1.10.1+submodules+notgz-5) unstable; urgency=medium
 .
   * Replace /usr/share/doc/php-pear symlink by a dir (Closes: #817814)
   * Set PHP_PEAR_SYSCONF_DIR to /etc/pear (Closes: #818271)
   * Fix "PECL extensions FTBFS with PHP Fatal error:
     Call to a member function getFilelist() on null" (Closes: #805222)
   * Standards-Version: 3.9.7
   * Updated Vcs-* fields to use https
   * Add lintian override for pear-package-without-pkg-php-tools-builddep
Checksums-Sha1:
 d0bc49eb31dc38bdeacd783d5cc3caab100fa6d2 2055 
php-pear_1.10.1+submodules+notgz-5.dsc
 96aa6d95e17273a08f3d1e59c947b93666fe0ec6 5468 
php-pear_1.10.1+submodules+notgz-5.debian.tar.xz
 a4c45da8b8ce37531f1358d3cafb264636381efb 283546 
php-pear_1.10.1+submodules+notgz-5_all.deb
Checksums-Sha256:
 c044b1708ad22042faa37988278b04878403548f7d78cd7d7c03c2a6740651b1 2055 
php-pear_1.10.1+submodules+notgz-5.dsc
 01eff2961454d55f6b8188be2d421836e5a1fa5ff31939cbf8c362d0641fd1ab 5468 
php-pear_1.10.1+submodules+notgz-5.debian.tar.xz
 bb3cd6b1790ce8d1820bea0d1624604aac9c416e3332585a0e7c26a439e09d06 283546 
php-pear_1.10.1+submodules+notgz-5_all.deb
Files:
 8e1beb9c84906bb5207803e03af36ecb 2055 php optional 
php-pear_1.10.1+submodules+notgz-5.dsc
 1456308be3b7023be37144bc4a813da3 5468 php optional 
php-pear_1.10.1+submodules+notgz-5.debian.tar.xz
 5152f13117641e9fb5a761d3d0913727 283546 php optional 
php-pear_1.10.1+submodules+notgz-5_all.deb

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

iQIcBAEBCAAGBQJW7cvqAAoJEK4DmARmaB+lao0P/RETgDkYtsPfXyKwrUUnzqTk
blelxMergSL+ZUlwRCGFnnHzc1PCMuOpnlji+11M07QlPSsTMCE7+2kkiocA/pdP
uDjd0BtLgXm+3lTCTOIFNBohB3To155ht/p1Qzmnba6XpTvWTL45trrX8mu22Kim
ZwcCPxQVr/iTwQ/X6WRhZfopxwFz2uAtfpSycEd3cIcgkoZNXl8/NG/MqkCfLe+L
gxttcHTOOAFtz1A+SSo7VanBAiXPXRBCHJZ1QvrpFTY/NTDUs+e3qSI2C50N//VN
xvM5mXZkGCR0UzdKiXOzhcG6Ddm8sHrXepprftApwAQcqdsIJrD8q0xbMNj4bNQv
QvmgPpxX3NMhYLZax3+0ofpCUIWQZCLmLSN1N+0fhAaYb5lhycQOWj6v6GkhC92M
wjj9XHyS0C/OeYxwdwQYBieYErzHmMyyZ9TE1qS6BvDRgu4A7rvqrhqDq5djZ01g
OnY7TD2cBBkzZBsOo+QTPp8yN9o1KLvkuwD5AIgmsIE4f5dUFSdjiQeb1Tw11Yz8
K3QN4gHzYZ8cFIkVF+cvdniH8AcWHT4fyio3RircBHvblpX61qc8Xgnly6v9v+aI
t+l0q+92GUrDliVjMJrIveACAr36Mcr0JEZneYcAYV7sgAdkdvKk3CMT6nwvzU4H
wD3b8EOOnUlI5tDQDuCB
=tFdG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to