Your message dated Tue, 29 Mar 2016 04:21:54 +0000
with message-id <[email protected]>
and subject line Bug#818644: fixed in composer 1.0.0~beta2-1
has caused the Debian Bug report #818644,
regarding composer: Add xz-utils as test dependency
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 [email protected]
immediately.)
--
818644: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818644
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: composer
Version: 1.0.0~beta1-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu xenial ubuntu-patch
Hi David,
In Ubuntu, we've found that composer has an undeclared test dependency on
xz-utils. While the package's tests pass for us at build time, and on three
of five architectures where we run autopkgtests, on two architectures it
seems that xz-utils happens to not be installed in the test environment,
causing a test failure:
Time: 15.32 seconds, Memory: 20.00Mb
There was 1 failure:
1) Composer\Test\Downloader\XzDownloaderTest::testErrorMessages
Failed asserting that 'Failed to execute tar -xJf
'/tmp/composer-test-736556ecbc93ac9f6/XzDownloaderTest.php' -C
'/tmp/composer-test-623556ecbc93ac3f5/composer/a72d1367'
tar (child): xz: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
' contains "File format not recognized".
/data/adttmp/adt-virt-lxc.shared.2c5mooi4/downtmp/build.Acc/composer-1.0.0~beta1/tests/Composer/Test/Downloader/XzDownloaderTest.php:75
See, e.g.
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial/xenial/armhf/c/composer/20160319_024249@/log.gz
Of course, xz-utils is Build-Essential, so many environments will already
have xz-utils installed. But it's optional, so for complete correctness
this should be declared as a dependency.
The attached trivial patch addresses this.
Thanks for considering,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[email protected] [email protected]
diff -Nru composer-1.0.0~beta1/debian/tests/control composer-1.0.0~beta1/debian/tests/control
--- composer-1.0.0~beta1/debian/tests/control 2016-03-09 17:43:10.000000000 -0800
+++ composer-1.0.0~beta1/debian/tests/control 2016-03-18 20:22:14.000000000 -0700
@@ -1,3 +1,3 @@
Test-Command: phpunit
Restrictions: needs-recommends
-Depends: @, php-mbstring, php-symfony-class-loader, php-zip, phpunit
+Depends: @, php-mbstring, php-symfony-class-loader, php-zip, phpunit, xz-utils
--- End Message ---
--- Begin Message ---
Source: composer
Source-Version: 1.0.0~beta2-1
We believe that the bug you reported is fixed in the latest version of
composer, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
David Prévot <[email protected]> (supplier of updated composer 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 28 Mar 2016 23:00:38 -0400
Source: composer
Binary: composer
Architecture: source
Version: 1.0.0~beta2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <[email protected]>
Changed-By: David Prévot <[email protected]>
Description:
composer - dependency manager for PHP
Closes: 818644
Changes:
composer (1.0.0~beta2-1) unstable; urgency=medium
.
[ Barry vd. Heuvel ]
* Make remove with dependencies default
.
[ Haralan Dobrev ]
* List project suggestions in create-project command
.
[ Jordi Boggiano ]
* Add conflict detection in why-not, fixes #5013
* Add support for SSL_CERT_DIR and openssl.capath, fixes #5017
* Update license to 2016
* Change installs into updates if there is no lock file, fixes #5034
* Add update channels support to self-update and diagnose, fixes #4960
* Release 1.0.0-beta2
.
[ Steve Langasek ]
* Add xz-utils as test dependency (Closes: #818644)
.
[ David Prévot ]
* Update copyright (year)
Checksums-Sha1:
f8d07729b4514d312b35dc233763ae4b77ec0a00 1949 composer_1.0.0~beta2-1.dsc
4059a5582e4649a0e9ee3fdb0390dfb46ac281e3 1182031
composer_1.0.0~beta2.orig.tar.gz
a1175afbdf6ee38457b4b1d845f4fb0f5dd2fb01 11372
composer_1.0.0~beta2-1.debian.tar.xz
Checksums-Sha256:
ab17be164fe87788c13db2561d374179be863b80835fedbe16da65da3901a1c5 1949
composer_1.0.0~beta2-1.dsc
112708086f425b0e7835f5078eb3508721a4c1bb5024e8008c536a85301bcb09 1182031
composer_1.0.0~beta2.orig.tar.gz
057772070db163515e88f620a80ed78d0649eb16a0febee28ce3135bbd71ec2d 11372
composer_1.0.0~beta2-1.debian.tar.xz
Files:
7260f9db5640e921fb88856c3329970e 1949 php optional composer_1.0.0~beta2-1.dsc
8939423fe496c5eebd2e6aeb37112abe 1182031 php optional
composer_1.0.0~beta2.orig.tar.gz
ad020db47e2a8909e6877426b79f7cb3 11372 php optional
composer_1.0.0~beta2-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJW+fskAAoJEAWMHPlE9r08J8kIAIijVifXGRgp+qNAoCQwN1CK
giiDwFtjbl4fPJ2XK9+S2UGNVpRiZMGbLgJxuuM2TbmYqTkE7vaVrH6rOyp2nHrB
IgrHlSoqVZGTVCoXclo7+21qyv2/qCzLI9N8jp8v+jhmDmLKPNvzvhxNwbHIMJ9t
X4DZoWZfy3k4Vf4tA7+BmEArCf4wiGlFWtNftMksKSRhbASeCF/2JlRz41BCgx/W
06mJFpyLeqFY9g0OEGninJnTi1CPtLeXE//pZLMQlx24dzjn8q2UwO7pySTDGUs2
UtFSlB1GuuThWc7m51hV5/Az5y5tBcGqTZq72Mt1fLFUgdAgZINBq997RptuqQQ=
=fjzz
-----END PGP SIGNATURE-----
--- End Message ---