[pkg-php-pear] Bug#818644: composer: Add xz-utils as test dependency
steve.langasek at canonical.com
Sat Mar 19 03:27:12 UTC 2016
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch
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:
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".
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/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 479 bytes
Desc: not available
More information about the pkg-php-pear