Add php-pear as a run-time dependency
Bug #1564984 reported by
Nish Aravamudan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-net-ldap2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The autopkgtests have been failing for some time, because the library
explicitly includes a file from php-pear at runtime.
Changed in php-net-ldap2 (Ubuntu): | |
status: | New → Fix Committed |
To post a comment you must log in.
On Fri, Apr 01, 2016 at 04:14:29PM -0000, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug by Nish Aravamudan (nacc):
> The autopkgtests have been failing for some time, because the library
> explicitly includes a file from php-pear at runtime.
FWIW I attempted this fix here and the autopkgtests still failed for me:
make[1]: Entering directory '/tmp/adt- run.QAriSr/ build.yYR/ real-tree'
phpunit --include-path Net_LDAP2-*/ Net_LDAP2-*/tests
PHPUnit 5.1.3 by Sebastian Bergmann and contributors.
..SSSSSSSSSSSSS SSSSSSSSS. I.III.IIIIIIIII II..... ...F... ....... IIII 65 / 99 ( 65%) IIIIIIIS. ....... ... 99 / 99 (100%)
IIIIIIIIIIIIIII
Time: 145 ms, Memory: 6.00Mb
There was 1 failure:
1) Net_LDAP2_ LDIFTest: :testConstructi on
Failed asserting that resource(123) of type (stream) is null.
/tmp/adt- run.QAriSr/ build.yYR/ real-tree/ Net_LDAP2- 2.2.0/tests/ Net_LDAP2_ LDIFTest. php:179
FAILURES! dh_auto_ test' failed dh_auto_ test] Error 1 run.QAriSr/ build.yYR/ real-tree'
Tests: 99, Assertions: 655, Failures: 1, Skipped: 23, Incomplete: 41.
debian/rules:7: recipe for target 'override_
make[1]: *** [override_
make[1]: Leaving directory '/tmp/adt-
debian/rules:3: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
blame: .
badpkg: rules build failed with exit code 2
adt-run [16:29:50]: ERROR: erroneous package: rules build failed with exit code 2
Do you see this bug as well? Somehow, it only appears when the test is run
under autopkgtest; it doesn't block the package build.