[pkg-php-pear] Bug#768481: Bug#768481: Composer: Choke on packages name with a dot
David Prévot
taffit at debian.org
Fri Nov 7 21:35:31 UTC 2014
Hi Mathieu,
Le 07/11/2014 15:59, Mathieu Parent a écrit :
> 2014-11-07 18:22 GMT+01:00 David Prévot <taffit at debian.org>:
>> Package: pkg-php-tools
>> While trying to build the latest beta of aws-sdk-for-php package (3.0
>> branch), that depends on mtdowling/jmespath.php, an exception happens:
[…]
> Can you attach the complete build log?
Here it is, just dropping the
0008-Workaround-issue-in-pkg-php-tools.patch patch from the
3.0.0~beta1+dfsg-1 just uploaded in experimental.
>> As one could guess, misc:Depends= is empty
I meant that ${phpcomposer:Debian-require} and following are not even
generated, sorry:
$ cat debian/php-aws-sdk.substvars
phpcomposer:name=aws/aws-sdk-php
phpcomposer:description=AWS SDK for PHP - Use Amazon Web Services in
your PHP project
misc:Depends=
Regards
David
-------------- next part --------------
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: paquet source aws-sdk-for-php
dpkg-buildpackage: version source 3.0.0~beta1+dfsg-2
dpkg-buildpackage: distribution source UNRELEASED
dpkg-buildpackage: source changé par David Prévot <taffit at debian.org>
dpkg-source --before-build aws-sdk-for-php
dpkg-buildpackage: architecture hôte amd64
dpkg-source: info: mise en place de 0001-Use-home-made-autoload.patch
dpkg-source: info: mise en place de 0002-Deactivate-tracking.patch
dpkg-source: info: mise en place de 0003-Use-local-icon-privacy-breach.patch
dpkg-source: info: mise en place de 0004-Remove-external-script-and-iframe-privacy-breach.patch
dpkg-source: info: mise en place de 0005-Display-Debian-version.patch
dpkg-source: info: mise en place de 0006-Adapt-Makefile-to-usual-expectations.patch
dpkg-source: info: mise en place de 0007-Skip-tests-needing-access-to-AWS.patch
dpkg-source: info: mise en place de 0009-Workaround-the-lack-of-PSR-4-autoloader.patch
fakeroot debian/rules clean
dh clean --with phpcomposer -XTest
dh_testdir -O-XTest
dh_auto_clean -O-XTest
make[1]: Entering directory '/home/taffit/debian/aws-sdk-for-php'
rm -rf build/artifacts/*
cd docs && make clean
make[2]: Entering directory '/home/taffit/debian/aws-sdk-for-php/docs'
rm -rf _build/*
make[2]: Leaving directory '/home/taffit/debian/aws-sdk-for-php/docs'
make[1]: Leaving directory '/home/taffit/debian/aws-sdk-for-php'
dh_clean -O-XTest
dpkg-source -b aws-sdk-for-php
dpkg-source: info: utilisation du format source « 3.0 (quilt) »
dpkg-source: info: construction de aws-sdk-for-php en utilisant le ./aws-sdk-for-php_3.0.0~beta1+dfsg.orig.tar.gz existant
dpkg-source: info: construction de aws-sdk-for-php dans aws-sdk-for-php_3.0.0~beta1+dfsg-2.debian.tar.xz
dpkg-source: info: construction de aws-sdk-for-php dans aws-sdk-for-php_3.0.0~beta1+dfsg-2.dsc
debian/rules build
make: 'build' is up to date.
fakeroot debian/rules binary
dh binary --with phpcomposer -XTest
dh_testdir -O-XTest
dh_auto_configure -O-XTest
dh_auto_build -O-XTest
make[1]: Entering directory '/home/taffit/debian/aws-sdk-for-php'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/taffit/debian/aws-sdk-for-php'
dh_auto_test -O-XTest
make[1]: Entering directory '/home/taffit/debian/aws-sdk-for-php'
http_proxy= phpunit --testsuite=unit
PHPUnit 4.2.6 by Sebastian Bergmann.
Configuration read from /home/taffit/debian/aws-sdk-for-php/phpunit.xml.dist
[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m.[36;1mS[0m................................................... 63 / 758 ( 8%)
............................................................... 126 / 758 ( 16%)
............................................................... 189 / 758 ( 24%)
............................................................... 252 / 758 ( 33%)
......................................[36;1mS[0m.......[36;1mS[0m[36;1mS[0m..[36;1mS[0m[36;1mS[0m[36;1mS[0m.[36;1mS[0m[36;1mS[0m.[36;1mS[0m[36;1mS[0m[36;1mS[0m... 315 / 758 ( 41%)
[36;1mS[0m[36;1mS[0m.[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m....[36;1mS[0m[36;1mS[0m................................................. 378 / 758 ( 49%)
............................................................... 441 / 758 ( 58%)
............................................................... 504 / 758 ( 66%)
............[36;1mS[0m[36;1mS[0m[36;1mS[0m.................[36;1mS[0m[36;1mS[0m............[36;1mS[0m[36;1mS[0m............... 567 / 758 ( 74%)
...................................................[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m........ 630 / 758 ( 83%)
............................................................... 693 / 758 ( 91%)
........................................[36;1mS[0m[36;1mS[0m...............[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m[36;1mS[0m 756 / 758 ( 99%)
[36;1mS[0m[36;1mS[0m
Time: 40.85 seconds, Memory: 82.75Mb
[30;43mOK, but incomplete, skipped, or risky tests![0m
[30;43mTests: 758, Assertions: 1373, Skipped: 52. [0m
make[1]: Leaving directory '/home/taffit/debian/aws-sdk-for-php'
dh_testroot -O-XTest
dh_prep -O-XTest
dh_installdirs -O-XTest
dh_auto_install -O-XTest
dh_install -O-XTest
dh_installdocs -O-XTest
dh_installchangelogs -O-XTest
dh_installexamples -O-XTest
dh_installman -O-XTest
dh_installcatalogs -O-XTest
dh_installcron -O-XTest
dh_installdebconf -O-XTest
dh_installemacsen -O-XTest
dh_installifupdown -O-XTest
dh_installinfo -O-XTest
dh_installinit -O-XTest
dh_installmenu -O-XTest
dh_installmime -O-XTest
dh_installmodules -O-XTest
dh_installlogcheck -O-XTest
dh_installlogrotate -O-XTest
dh_installpam -O-XTest
dh_installppp -O-XTest
dh_installudev -O-XTest
dh_installwm -O-XTest
dh_installgsettings -O-XTest
dh_bugfiles -O-XTest
dh_ucf -O-XTest
dh_lintian -O-XTest
dh_gconf -O-XTest
dh_icons -O-XTest
dh_perl -O-XTest
dh_usrlocal -O-XTest
dh_phpcomposer -O-XTest
exception 'InvalidArgumentException' with message 'Malformed dependency package: 'jmespath.php'' in /usr/share/php/pkgtools/base/dependency.php:203
Stack trace:
#0 /usr/share/php/pkgtools/base/dependency.php(120): Pkgtools\Base\Dependency->__set('package', 'jmespath.php')
#1 /usr/share/php/pkgtools/phpcomposer/source.php(160): Pkgtools\Base\Dependency->__construct('require', 'mtdowling', 'jmespath.php')
#2 /usr/share/php/pkgtools/phpcomposer/command.php(73): Pkgtools\Phpcomposer\Source->getDependencies()
#3 [internal function]: Pkgtools\Phpcomposer\Command->runSubstvars()
#4 /usr/share/php/pkgtools/base/command.php(181): call_user_func_array(Array, Array)
#5 /usr/share/php/pkgtools/base/command.php(169): Pkgtools\Base\Command->parseArgs(Array)
#6 /usr/bin/pkgtools(32): Pkgtools\Base\Command->parseArgs()
#7 {main}
dh_link -O-XTest
dh_installxfonts -O-XTest
dh_compress -O-XTest
dh_fixperms -O-XTest
dh_installdeb -O-XTest
dh_gencontrol -O-XTest
dpkg-gencontrol: avertissement: champ Pre-Depends du paquet php-aws-sdk : variable de substitution inconnue ${misc:Pre-Depends}
dpkg-gencontrol: avertissement: champ Depends du paquet php-aws-sdk : variable de substitution inconnue ${phpcomposer:Debian-require}
dpkg-gencontrol: avertissement: champ Suggests du paquet php-aws-sdk : variable de substitution inconnue ${phpcomposer:Debian-suggest}
dpkg-gencontrol: avertissement: champ Breaks du paquet php-aws-sdk : variable de substitution inconnue ${phpcomposer:Debian-conflict}
dpkg-gencontrol: avertissement: champ Breaks du paquet php-aws-sdk : variable de substitution inconnue ${phpcomposer:Debian-replace}
dpkg-gencontrol: avertissement: champ Replaces du paquet php-aws-sdk : variable de substitution inconnue ${phpcomposer:Debian-replace}
dpkg-gencontrol: avertissement: champ Provides du paquet php-aws-sdk : variable de substitution inconnue ${phpcomposer:Debian-provide}
dpkg-gencontrol: avertissement: paquet php-aws-sdk : variable de substitution inutilisée ${phpcomposer:description}
dpkg-gencontrol: avertissement: paquet php-aws-sdk : variable de substitution inutilisée ${phpcomposer:name}
dh_md5sums -O-XTest
dh_builddeb -O-XTest
dpkg-deb : construction du paquet « php-aws-sdk » dans « ../php-aws-sdk_3.0.0~beta1+dfsg-2_all.deb ».
dpkg-genchanges >../aws-sdk-for-php_3.0.0~beta1+dfsg-2_amd64.changes
dpkg-genchanges: pas d'inclusion du code source original dans l'envoi (« upload »)
dpkg-source --after-build aws-sdk-for-php
dpkg-source: info: retrait de 0009-Workaround-the-lack-of-PSR-4-autoloader.patch
dpkg-source: info: retrait de 0007-Skip-tests-needing-access-to-AWS.patch
dpkg-source: info: retrait de 0006-Adapt-Makefile-to-usual-expectations.patch
dpkg-source: info: retrait de 0005-Display-Debian-version.patch
dpkg-source: info: retrait de 0004-Remove-external-script-and-iframe-privacy-breach.patch
dpkg-source: info: retrait de 0003-Use-local-icon-privacy-breach.patch
dpkg-source: info: retrait de 0002-Deactivate-tracking.patch
dpkg-source: info: retrait de 0001-Use-home-made-autoload.patch
dpkg-buildpackage: envoi d'un binaire et du fichier de différences (aucune inclusion du code source d'origine)
Now running lintian...
W: aws-sdk-for-php source: debian-watch-file-should-mangle-version line 3
Finished running lintian.
Now signing changes and any dsc files...
signfile aws-sdk-for-php_3.0.0~beta1+dfsg-2.dsc B82A217AFDFE09F2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20141107/24f69e41/attachment-0001.sig>
More information about the pkg-php-pear
mailing list