Debian Bug report logs -
#701134
php-soap: directory vs. symlink conflict: /usr/share/php/doc
Reported by: Andreas Beckmann <anbe@debian.org>
Date: Thu, 21 Feb 2013 23:21:02 UTC
Severity: serious
Tags: patch
Found in version php-soap/0.12.0-2
Fixed in version php-soap/0.12.0-2.1
Done: Prach Pongpanich <prachpub@gmail.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Thierry Randrianiriana <thierry@debian.org>:
Bug#701134; Package php-soap.
(Thu, 21 Feb 2013 23:21:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Beckmann <anbe@debian.org>:
New Bug report received and forwarded. Copy sent to Thierry Randrianiriana <thierry@debian.org>.
(Thu, 21 Feb 2013 23:21:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: php-soap
Version: 0.12.0-2
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package installs files over
an existing symlink shipped or created by another package.
Installing something over existing symlinks is considered bad practice.
See e.g. http://lists.debian.org/87ehlevcrf.fsf@windlord.stanford.edu
It may break in subtle ways and dpkg cannot detect this as a problem.
* Your package might silently overwrite files installed at the symlink
destination by other packages.
* If the package shipping the symlink decides to make the link point
somewhere else (or turn it into a real directory), the files owned
by your package "will be lost" somewhere in the filesystem.
* Depending on installation order the problematic path will be created
either as a symlink or a directory: the package installed first will
"win" and all others have "lost".
Note that dpkg intentionally does not replace directories with
symlinks and vice versa, see in particular the end of point 4 in
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase
(Note: Adding Pre-Depends is *not* a solution.)
Please move the files shipped in your package to the "real" location.
Your package ships:
/usr/share/php/doc/SOAP/example/*
but php-pear ships:
/usr/share/php/doc -> ../doc/php-pear/PEAR
>From the attached log (usually somewhere in the middle...):
0m15.7s INFO: dirname part contains a symlink:
/usr/share/php/doc/SOAP (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP (?)
/usr/share/php/doc/SOAP/example (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example (?)
/usr/share/php/doc/SOAP/example/attachment.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/attachment.php (?)
/usr/share/php/doc/SOAP/example/client.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/client.php (?)
/usr/share/php/doc/SOAP/example/com_client.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/com_client.php (?)
/usr/share/php/doc/SOAP/example/disco_server.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/disco_server.php (?)
/usr/share/php/doc/SOAP/example/email_client.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/email_client.php (?)
/usr/share/php/doc/SOAP/example/email_gateway.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/email_gateway.php (?)
/usr/share/php/doc/SOAP/example/email_pop_gateway.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/email_pop_gateway.php (?)
/usr/share/php/doc/SOAP/example/email_pop_server.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/email_pop_server.php (?)
/usr/share/php/doc/SOAP/example/email_server.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/email_server.php (?)
/usr/share/php/doc/SOAP/example/example_server.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/example_server.php (?)
/usr/share/php/doc/SOAP/example/example_types.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/example_types.php (?)
/usr/share/php/doc/SOAP/example/server.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/server.php (?)
/usr/share/php/doc/SOAP/example/server2.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/server2.php (?)
/usr/share/php/doc/SOAP/example/smtp.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/smtp.php (?)
/usr/share/php/doc/SOAP/example/stockquote.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/stockquote.php (?)
/usr/share/php/doc/SOAP/example/tcp_client.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/tcp_client.php (?)
/usr/share/php/doc/SOAP/example/tcp_daemon.pl (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/tcp_daemon.pl (?)
/usr/share/php/doc/SOAP/example/tcp_server.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/tcp_server.php (?)
/usr/share/php/doc/SOAP/example/wsdl_client.php (php-soap) != /usr/share/doc/php5-common/PEAR/SOAP/example/wsdl_client.php (?)
cheers,
Andreas
[php-soap_0.12.0-2.log.gz (application/x-gzip, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Thierry Randrianiriana <thierry@debian.org>:
Bug#701134; Package php-soap.
(Fri, 01 Mar 2013 09:09:09 GMT) (full text, mbox, link).
Acknowledgement sent
to Prach Pongpanich <prachpub@gmail.com>:
Extra info received and forwarded to list. Copy sent to Thierry Randrianiriana <thierry@debian.org>.
(Fri, 01 Mar 2013 09:09:09 GMT) (full text, mbox, link).
Message #10 received at 701134@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 701134 + patch
thanks
Hello maintainer,
I have prepared a patch which solves the this bug.
php-pear:
usr/share/php/doc -> ../doc/php-pear/PEAR
usr/share/php/../doc/php-pear -> php5-common
Regards,
--
ปรัชญ์ พงษ์พานิช
Prach Pongpanich
http://prach-public.blogspot.com
[fix_701134.patch (application/octet-stream, attachment)]
Added tag(s) patch.
Request was from Prach Pongpanich <prachpub@gmail.com>
to control@bugs.debian.org.
(Fri, 01 Mar 2013 09:09:11 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Thierry Randrianiriana <thierry@debian.org>:
Bug#701134; Package php-soap.
(Tue, 12 Mar 2013 06:12:13 GMT) (full text, mbox, link).
Acknowledgement sent
to Prach Pongpanich <prachpub@gmail.com>:
Extra info received and forwarded to list. Copy sent to Thierry Randrianiriana <thierry@debian.org>.
(Tue, 12 Mar 2013 06:12:13 GMT) (full text, mbox, link).
Message #17 received at 701134@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
I have prepared a patch for NMU
Regrads,
--
Prach Pongpanich
[php-soap_0.12.0-2.1-nmu.diff (application/octet-stream, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Thierry Randrianiriana <thierry@debian.org>:
Bug#701134; Package php-soap.
(Tue, 12 Mar 2013 15:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Goirand <zigo@debian.org>:
Extra info received and forwarded to list. Copy sent to Thierry Randrianiriana <thierry@debian.org>.
(Tue, 12 Mar 2013 15:33:04 GMT) (full text, mbox, link).
Message #22 received at 701134@bugs.debian.org (full text, mbox, reply):
To the release team (and Prach):
====================
Dear release team,
Prach Pongpanich in the mentors list is trying to fix #701134.
He is removing the Pre-Depends which was added for the
release of Squeeze, because of #605867, which I filled, but
can't remember what it was about. The bug report says:
As dicussed with the release team, we need to add a
Pre-Depends because of /usr/share/php/doc.
Does anyone remember off-hand what it was about?
Thoughts on this?
To Prach:
=========
Please also read above.
Appart from that, I insist, Debian's policy
is to install documentation of packages under:
/usr/share/doc/<package-name>
So I would do that, and not move the doc into:
/usr/share/doc/php5-common/PEAR
which is not where our Debian users would
naturally search.
Arguably, php-pear goes together with the
php5-common package, so it puts files there.
I would however think it's a bug, rather
than a feature, and that the docs from the
php-pear package really should be under:
/usr/share/doc/php-pear
To Thierry:
===========
Is it ok if someone NMU the fix?
Also, for Jessie, it would be nice to switch
php-soap so that it uses pkg-php-tools (so
that you can use dh, instead of the old
debhelper style). You can have a look at any
package which build-depends on pkg-php-tools
to find examples. Any plans for that?
It's also disappointing to see that version
0.13.0 of php-soap, which was release upstream
on the 2012-01-26, isn't in wheezy. This
version was a QA release!!!
Now, seeing this, I wonder: would you be ok
to have this package team maintained in the
future, and have it under the pkg-php-pear
team, so that others are also allowed to upload
it if needed? The team also needs some help to
maintain all these PEAR modules, so you would
be welcome to join.
Cheers,
Thomas
Information forwarded
to debian-bugs-dist@lists.debian.org, Thierry Randrianiriana <thierry@debian.org>:
Bug#701134; Package php-soap.
(Tue, 12 Mar 2013 20:15:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "Adam D. Barratt" <adam@adam-barratt.org.uk>:
Extra info received and forwarded to list. Copy sent to Thierry Randrianiriana <thierry@debian.org>.
(Tue, 12 Mar 2013 20:15:03 GMT) (full text, mbox, link).
Message #27 received at 701134@bugs.debian.org (full text, mbox, reply):
On Tue, 2013-03-12 at 23:28 +0800, Thomas Goirand wrote:
> Prach Pongpanich in the mentors list is trying to fix #701134.
> He is removing the Pre-Depends which was added for the
> release of Squeeze, because of #605867, which I filled, but
> can't remember what it was about. The bug report says:
>
> As dicussed with the release team, we need to add a
> Pre-Depends because of /usr/share/php/doc.
>
> Does anyone remember off-hand what it was about?
The original issue was #602865, in php-net-smtp, fixed in 1.4.2-{2,3}.
Given that we don't officially support upgrades that skip a stable
release, the packages in wheezy technically don't need to include the
Pre-Depends.
Regards,
Adam
Information forwarded
to debian-bugs-dist@lists.debian.org, Thierry Randrianiriana <thierry@debian.org>:
Bug#701134; Package php-soap.
(Wed, 13 Mar 2013 06:36:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Goirand <zigo@debian.org>:
Extra info received and forwarded to list. Copy sent to Thierry Randrianiriana <thierry@debian.org>.
(Wed, 13 Mar 2013 06:36:03 GMT) (full text, mbox, link).
Message #32 received at 701134@bugs.debian.org (full text, mbox, reply):
On 03/13/2013 04:12 AM, Adam D. Barratt wrote:
> On Tue, 2013-03-12 at 23:28 +0800, Thomas Goirand wrote:
>> Prach Pongpanich in the mentors list is trying to fix #701134.
>> He is removing the Pre-Depends which was added for the
>> release of Squeeze, because of #605867, which I filled, but
>> can't remember what it was about. The bug report says:
>>
>> As dicussed with the release team, we need to add a
>> Pre-Depends because of /usr/share/php/doc.
>>
>> Does anyone remember off-hand what it was about?
> The original issue was #602865, in php-net-smtp, fixed in 1.4.2-{2,3}.
>
> Given that we don't officially support upgrades that skip a stable
> release, the packages in wheezy technically don't need to include the
> Pre-Depends.
>
> Regards,
>
> Adam
Hi,
That's what I thought as well, but I wanted to check. Thanks Adam for
taking the time to confirm it.
Prach, please change the new path to /usr/share/doc/php-soap, and
I will sponsor the upload.
Cheers,
Thomas
Information forwarded
to debian-bugs-dist@lists.debian.org, Thierry Randrianiriana <thierry@debian.org>:
Bug#701134; Package php-soap.
(Wed, 13 Mar 2013 08:51:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Prach Pongpanich <prachpub@gmail.com>:
Extra info received and forwarded to list. Copy sent to Thierry Randrianiriana <thierry@debian.org>.
(Wed, 13 Mar 2013 08:51:03 GMT) (full text, mbox, link).
Message #37 received at 701134@bugs.debian.org (full text, mbox, reply):
Hi ,
I'm sorry for noise, and thank you very much for reviews and discussions
> Prach, please change the new path to /usr/share/doc/php-soap, and
> I will sponsor the upload.
I already done it and upload to mentors.d.n [1]
[1] http://mentors.debian.net/debian/pool/main/p/php-soap/php-soap_0.12.0-2.1.dsc
Regrads,
Prach
Information forwarded
to debian-bugs-dist@lists.debian.org, Thierry Randrianiriana <thierry@debian.org>:
Bug#701134; Package php-soap.
(Wed, 13 Mar 2013 16:03:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Goirand <thomas@goirand.fr>:
Extra info received and forwarded to list. Copy sent to Thierry Randrianiriana <thierry@debian.org>.
(Wed, 13 Mar 2013 16:03:05 GMT) (full text, mbox, link).
Message #42 received at 701134@bugs.debian.org (full text, mbox, reply):
On 03/13/2013 04:46 PM, Prach Pongpanich wrote:
> Hi ,
>
> I'm sorry for noise, and thank you very much for reviews and discussions
>
>> Prach, please change the new path to /usr/share/doc/php-soap, and
>> I will sponsor the upload.
> I already done it and upload to mentors.d.n [1]
>
> [1] http://mentors.debian.net/debian/pool/main/p/php-soap/php-soap_0.12.0-2.1.dsc
>
> Regrads,
>
> Prach
>
>
Uploaded.
Do you know how to open an unblock request, so that the
release team allows your fix to reach Wheezy?
If you don't know, I can:
- explain you how
- do it for you
Thanks for your contribution.
Thomas
Reply sent
to Prach Pongpanich <prachpub@gmail.com>:
You have taken responsibility.
(Wed, 13 Mar 2013 16:03:16 GMT) (full text, mbox, link).
Notification sent
to Andreas Beckmann <anbe@debian.org>:
Bug acknowledged by developer.
(Wed, 13 Mar 2013 16:03:16 GMT) (full text, mbox, link).
Message #47 received at 701134-close@bugs.debian.org (full text, mbox, reply):
Source: php-soap
Source-Version: 0.12.0-2.1
We believe that the bug you reported is fixed in the latest version of
php-soap, 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 701134@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Prach Pongpanich <prachpub@gmail.com> (supplier of updated php-soap 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 12 Mar 2013 02:39:01 +0700
Source: php-soap
Binary: php-soap
Architecture: source all
Version: 0.12.0-2.1
Distribution: unstable
Urgency: low
Maintainer: Thierry Randrianiriana <thierry@debian.org>
Changed-By: Prach Pongpanich <prachpub@gmail.com>
Description:
php-soap - a SOAP Client/Server class for PHP
Closes: 701134
Changes:
php-soap (0.12.0-2.1) unstable; urgency=low
.
* Non-maintainer upload to fix RC bug.
* Fix silently overwrite files installed at the symlink
destination by other packages (Closes: #701134):
- Move the files shipped in package to the "real" location
- Drop Pre-Depends: php-pear as it's not needed
Checksums-Sha1:
f30da865136ad88672f3a1622f63fa70ed587691 1093 php-soap_0.12.0-2.1.dsc
a6366294a7d274e0a1f2fe08799454cd1f6a571c 3663 php-soap_0.12.0-2.1.debian.tar.gz
2c340cd9ec189db5c6c558e7f8c4bfcfacc691c5 82144 php-soap_0.12.0-2.1_all.deb
Checksums-Sha256:
335164b1b29f1857d3032be459aa8d1fd66c1b7eb474f548f43ad12ea5e5eda0 1093 php-soap_0.12.0-2.1.dsc
e6ccdd90348fffce6217a2ca4c49291260248897e8256b9b2648bb489e90bb4d 3663 php-soap_0.12.0-2.1.debian.tar.gz
dd61ac5d2464ec3b88e841e6f8b4e3f4b2a0aaca4b34b3c0e922a5c6384f5975 82144 php-soap_0.12.0-2.1_all.deb
Files:
6da5ab60f35019313b9dbed498954b8d 1093 php optional php-soap_0.12.0-2.1.dsc
7f0ca8b1b2d92a3fa38849c91ce616c1 3663 php optional php-soap_0.12.0-2.1.debian.tar.gz
bd9b44c3f4b3461f9fa5ecf414589049 82144 php optional php-soap_0.12.0-2.1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlFAjrQACgkQl4M9yZjvmknxUQCghgxIfg6yaf+oothpkOk2LoYw
rggAn2DD0w9fiJYZypEULUs8Biijpy3D
=jlFJ
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Thierry Randrianiriana <thierry@debian.org>:
Bug#701134; Package php-soap.
(Wed, 13 Mar 2013 17:45:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Prach Pongpanich <prachpub@gmail.com>:
Extra info received and forwarded to list. Copy sent to Thierry Randrianiriana <thierry@debian.org>.
(Wed, 13 Mar 2013 17:45:06 GMT) (full text, mbox, link).
Message #52 received at 701134@bugs.debian.org (full text, mbox, reply):
Hi Thomas,
> Do you know how to open an unblock request, so that the
> release team allows your fix to reach Wheezy?
Yes, I do. [1] #702981
> If you don't know, I can:
> - explain you how
> - do it for you
>
> Thanks for your contribution.
Thanks for your help and sponsor.
[1] http://release.debian.org/wheezy/freeze_policy.html
Prach
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 02 Jun 2013 07:49:33 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 01:31:19 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.