[php-maint] updating php-pear on squeeze? Was: phpunit: missing versioned build dependency

Jan Wagner waja at cyconet.org
Mon Nov 19 12:24:56 UTC 2012


Hi Thomas,

On 11/18/2012 03:40 AM, Thomas Goirand wrote:
> probably, you could try installing the latest pear with dpkg, ignoring
> dependencies (probably using --ignore-depends=<package>).

I did build a local backport of php5, which was itself straight forward.
Anyways ... backporting phpunit seems to be more advanced.

The package itself build without problems, but there are all php scripts
missing inside. A debdiff is attached and the build-log too.

As I usualy don't work on php-packages (beside php-suhosin, which is a
module package), I'm not so experienced into this, but it feels like
there is some build-dep (maybe a versioned too) is missing, probably a
dev-tool or packaging helper.

Many thanks, Jan.
-- 
Never write mail to <waja at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS
PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++
------END GEEK CODE BLOCK------
-------------- next part --------------
 dpkg-buildpackage -rfakeroot -D -us -uc -sa -v3.4.14-1
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: source package phpunit
dpkg-buildpackage: source version 3.6.10-1~bpo60+1
dpkg-buildpackage: source changed by Jan Wagner <waja at cyconet.org>
 dpkg-source --before-build phpunit-3.6.10
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh clean --buildsystem=phppear --with phppear
   dh_testdir -O--buildsystem=phppear
   dh_auto_clean -O--buildsystem=phppear
   dh_clean -O--buildsystem=phppear
 dpkg-source -b phpunit-3.6.10
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building phpunit using existing ./phpunit_3.6.10.orig.tar.gz
dpkg-source: info: building phpunit in phpunit_3.6.10-1~bpo60+1.debian.tar.gz
dpkg-source: info: building phpunit in phpunit_3.6.10-1~bpo60+1.dsc
 debian/rules build
dh build --buildsystem=phppear --with phppear
   dh_testdir -O--buildsystem=phppear
   dh_auto_configure -O--buildsystem=phppear
   dh_auto_build -O--buildsystem=phppear
   dh_auto_test -O--buildsystem=phppear
 fakeroot debian/rules binary
dh binary --buildsystem=phppear --with phppear
   dh_testroot -O--buildsystem=phppear
   dh_prep -O--buildsystem=phppear
   dh_installdirs -O--buildsystem=phppear
   dh_auto_install -O--buildsystem=phppear
warning: channel://pear.phpunit.de/PHPUnit-3.6.10 requires package "channel://pear.phpunit.de/File_Iterator" (version >= 1.3.0)
warning: channel://pear.phpunit.de/PHPUnit-3.6.10 requires package "channel://pear.phpunit.de/Text_Template" (version >= 1.1.1)
warning: channel://pear.phpunit.de/PHPUnit-3.6.10 requires package "channel://pear.phpunit.de/PHP_CodeCoverage" (version >= 1.1.0)
warning: channel://pear.phpunit.de/PHPUnit-3.6.10 requires package "channel://pear.phpunit.de/PHP_Timer" (version >= 1.0.1)
warning: channel://pear.phpunit.de/PHPUnit-3.6.10 requires package "channel://pear.phpunit.de/PHPUnit_MockObject" (version >= 1.1.0)
warning: channel://pear.phpunit.de/PHPUnit-3.6.10 requires package "channel://pear.symfony-project.com/YAML" (version >= 1.0.2)
channel://pear.phpunit.de/PHPUnit-3.6.10 can optionally use package "channel://pear.phpunit.de/PHP_Invoker" (version >= 1.1.0)
ERROR: bad md5sum for file /home/waja/phpunit-3.6.10/debian/phpunit/usr/share/php/PHPUnit/TextUI/TestRunner.php
PHP Notice:  Undefined index: changelog in /usr/share/pkg-php-tools/scripts/phppkginfo on line 244
PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /usr/share/pkg-php-tools/scripts/phppkginfo on line 245
PHP Warning:  array_reverse() expects parameter 1 to be array, null given in /usr/share/pkg-php-tools/scripts/phppkginfo on line 248
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/pkg-php-tools/scripts/phppkginfo on line 249
   dh_install -O--buildsystem=phppear
   dh_installdocs -O--buildsystem=phppear
   dh_installchangelogs -O--buildsystem=phppear
   dh_installexamples -O--buildsystem=phppear
   dh_installman -O--buildsystem=phppear
   dh_installcatalogs -O--buildsystem=phppear
   dh_installcron -O--buildsystem=phppear
   dh_installdebconf -O--buildsystem=phppear
   dh_installemacsen -O--buildsystem=phppear
   dh_installifupdown -O--buildsystem=phppear
   dh_installinfo -O--buildsystem=phppear
   dh_installinit -O--buildsystem=phppear
   dh_installmenu -O--buildsystem=phppear
   dh_installmime -O--buildsystem=phppear
   dh_installmodules -O--buildsystem=phppear
   dh_installlogcheck -O--buildsystem=phppear
   dh_installlogrotate -O--buildsystem=phppear
   dh_installpam -O--buildsystem=phppear
   dh_installppp -O--buildsystem=phppear
   dh_installudev -O--buildsystem=phppear
   dh_installwm -O--buildsystem=phppear
   dh_installxfonts -O--buildsystem=phppear
   dh_installgsettings -O--buildsystem=phppear
   dh_bugfiles -O--buildsystem=phppear
   dh_ucf -O--buildsystem=phppear
   dh_lintian -O--buildsystem=phppear
   dh_gconf -O--buildsystem=phppear
   dh_icons -O--buildsystem=phppear
   dh_perl -O--buildsystem=phppear
   dh_usrlocal -O--buildsystem=phppear
   dh_phppear -O--buildsystem=phppear
   dh_link -O--buildsystem=phppear
   dh_compress -O--buildsystem=phppear
   dh_fixperms -O--buildsystem=phppear
   dh_installdeb -O--buildsystem=phppear
   dh_gencontrol -O--buildsystem=phppear
dpkg-gencontrol: warning: package phpunit: unused substitution variable ${phppear:Debian-Depends}
dpkg-gencontrol: warning: package phpunit: unused substitution variable ${phppear:Debian-Recommends}
dpkg-gencontrol: warning: package phpunit: unused substitution variable ${phppear:summary}
dpkg-gencontrol: warning: package phpunit: unused substitution variable ${phppear:description}
dpkg-gencontrol: warning: package phpunit: unused substitution variable ${phppear:channel}
   dh_md5sums -O--buildsystem=phppear
   dh_builddeb -O--buildsystem=phppear
dpkg-deb: building package `phpunit' in `../phpunit_3.6.10-1~bpo60+1_all.deb'.
 dpkg-genchanges -sa -v3.4.14-1 >../phpunit_3.6.10-1~bpo60+1_i386.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build phpunit-3.6.10
dpkg-buildpackage: full upload (original source is included)
Now running lintian...
W: phpunit source: newer-standards-version 3.9.3 (current is 3.9.1)
Finished running lintian.
Now signing changes and any dsc files...
 signfile phpunit_3.6.10-1~bpo60+1.dsc Jan Wagner <waja at cyconet.org>
gpg: skipped "Jan Wagner <waja at cyconet.org>": secret key not available
gpg: /tmp/debsign.JevHN4ol/phpunit_3.6.10-1~bpo60+1.dsc: clearsign failed: secret key not available
debsign: gpg error occurred!  Aborting....
-------------- next part --------------
[The following lists of changes regard files as different if they have
different names, permissions or owners.]

Files in first .deb but not in second
-------------------------------------
-rw-r--r--  root/root   /usr/share/doc/phpunit/PHPUnit/ChangeLog.markdown.gz
-rw-r--r--  root/root   /usr/share/doc/phpunit/PHPUnit/README.markdown
-rw-r--r--  root/root   /usr/share/php/.registry/.channel.pear.phpunit.de/phpunit.reg
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Autoload.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Extensions/GroupTestSuite.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Extensions/OutputTestCase.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Extensions/PhptTestCase.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Extensions/PhptTestCase/Logger.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Extensions/PhptTestSuite.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Extensions/RepeatedTest.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Extensions/TestDecorator.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Extensions/TicketListener.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Assert.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Assert/Functions.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/AssertionFailedError.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/Array.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/DOMDocument.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/Double.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/Exception.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/MockObject.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/Numeric.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/Object.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/Resource.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/Scalar.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/SplObjectStorage.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Comparator/Type.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/ComparatorFactory.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/ComparisonFailure.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/And.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/ArrayHasKey.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/Attribute.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/ClassHasAttribute.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/ClassHasStaticAttribute.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/Composite.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/Count.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/Exception.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/ExceptionCode.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/ExceptionMessage.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/FileExists.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/GreaterThan.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/IsAnything.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/IsEmpty.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/IsEqual.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/IsFalse.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/IsIdentical.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/IsInstanceOf.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/IsNull.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/IsTrue.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/IsType.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/LessThan.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/Not.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/ObjectHasAttribute.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/Or.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/PCREMatch.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/SameSize.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/StringContains.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/StringEndsWith.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/StringMatches.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/StringStartsWith.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/TraversableContains.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/TraversableContainsOnly.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Constraint/Xor.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Error.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Error/Deprecated.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Error/Notice.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Error/Warning.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Exception.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/ExpectationFailedException.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/IncompleteTest.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/IncompleteTestError.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/OutputError.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Process/TestCaseMethod.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/SelfDescribing.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/SkippedTest.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/SkippedTestError.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/SkippedTestSuiteError.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/SyntheticError.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Test.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/TestCase.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/TestFailure.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/TestListener.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/TestResult.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/TestSuite.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/TestSuite/DataProvider.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Framework/Warning.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Runner/BaseTestRunner.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Runner/StandardTestSuiteLoader.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Runner/TestSuiteLoader.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Runner/Version.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/TextUI/Command.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/TextUI/ResultPrinter.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/TextUI/TestRunner.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Class.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Configuration.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/DeprecatedFeature.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/DeprecatedFeature/Logger.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Diff.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/ErrorHandler.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/File.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Fileloader.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Filesystem.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Filter.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Getopt.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/GlobalState.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/InvalidArgumentHelper.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Log/JSON.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Log/JUnit.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Log/TAP.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/PHP.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/PHP/Default.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/PHP/Windows.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Printer.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Class.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Template/Class.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Template/IncompleteTestMethod.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Template/Method.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Template/TestClass.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Template/TestMethod.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Template/TestMethodBool.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Template/TestMethodBoolStatic.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Template/TestMethodException.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Template/TestMethodExceptionStatic.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Template/TestMethodStatic.tpl.dist
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Skeleton/Test.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/String.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Test.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/TestDox/NamePrettifier.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/TestDox/ResultPrinter.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/TestDox/ResultPrinter/HTML.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/TestDox/ResultPrinter/Text.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/TestSuiteIterator.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/Type.php
-rw-r--r--  root/root   /usr/share/php/PHPUnit/Util/XML.php
-rwxr-xr-x  root/root   /usr/bin/phpunit

Control files: lines which differ (wdiff format)
------------------------------------------------
Installed-Size: [-1171-] {+120+}
Version: [-3.6.10-1-] {+3.6.10-1~bpo60+1+}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20121119/b2ebd2d3/attachment.pgp>


More information about the pkg-php-maint mailing list