clone 696468 -1 reassign -1 pkg-php-tools retitle -1 pkg-php-tools: generates broken dependency on php5-spl severity -1 important thanks
Hi, On Fri, Dec 21, 2012 at 09:10:14AM +0100, Niels Thykier wrote: > Package: phpunit-story > Version: 1.0.0-2 > Severity: serious > > Hi, > > phpunit-story depends on php5-spl, but the latter does not appear to > be available. This makes phpunit-story uninstallable. Please do a > minimal fix for this problem[1], so the fix for #694361 can migrate to > testing. The dependency on php5-spl is generated by pkg-php-tools, because the upstream configuration of phpunit-story specifies a dependency on the php spl module, which is included in the php5 debian packages, and not packaged as a separate module. I'm not sure if this is a bug in phpunit-story or in pkg-php-tools, so I'm cloning this bug. The (temporary) fix in phpunit-story is to specify the dependencies manually instead of via ${phppear:Debian-Depends}. A patch to do that is attached. Cheers, Ivo
diff -Nru phpunit-story-1.0.0/debian/changelog phpunit-story-1.0.0/debian/changelog --- phpunit-story-1.0.0/debian/changelog 2012-12-06 16:08:41.000000000 +0100 +++ phpunit-story-1.0.0/debian/changelog 2012-12-26 18:03:16.000000000 +0100 @@ -1,3 +1,11 @@ +phpunit-story (1.0.0-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Don't add ${phppear:Debian-Depends} to depends, because it generates + broken dependencies (Closes: #696468) + + -- Ivo De Decker <ivo.dedec...@ugent.be> Wed, 26 Dec 2012 18:01:47 +0100 + phpunit-story (1.0.0-2) unstable; urgency=low [ Thomas Goirand ] diff -Nru phpunit-story-1.0.0/debian/control phpunit-story-1.0.0/debian/control --- phpunit-story-1.0.0/debian/control 2012-12-06 16:08:41.000000000 +0100 +++ phpunit-story-1.0.0/debian/control 2012-12-26 18:03:16.000000000 +0100 @@ -12,7 +12,7 @@ Package: phpunit-story Architecture: all -Depends: ${misc:Depends}, php-pear, pear-phpunit-channel, ${phppear:Debian-Depends} +Depends: ${misc:Depends}, php-pear, pear-phpunit-channel, php5 (>= 5.2.7) Recommends: ${phppear:Debian-Recommends} Breaks: ${phppear:Debian-Breaks}, phpunit (<< 3.6.10) Replaces: phpunit (<< 3.6.10)