Add php-pear as a run-time dependency

Bug #1564984 reported by Nish Aravamudan
8
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.

Revision history for this message
Nish Aravamudan (nacc) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1564984] [NEW] Add php-pear as a run-time dependency

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.

..SSSSSSSSSSSSSSSSSSSSSS.I.III.IIIIIIIIIII........F..........IIII 65 / 99 ( 65%)
IIIIIIIIIIIIIIIIIIIIIIS........... 99 / 99 (100%)

Time: 145 ms, Memory: 6.00Mb

There was 1 failure:

1) Net_LDAP2_LDIFTest::testConstruction
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!
Tests: 99, Assertions: 655, Failures: 1, Skipped: 23, Incomplete: 41.
debian/rules:7: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/tmp/adt-run.QAriSr/build.yYR/real-tree'
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.

Revision history for this message
Nish Aravamudan (nacc) wrote :

On 01.04.2016 [16:35:42 -0000], Steve Langasek wrote:
> 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:
...
> 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.

Hrm, strange!

$ adt-run -U php-net-ldap2_2.2.0-1ubuntu1.dsc -l /dev/null --- adt-virt-lxc -es adt-xenial

...

OK, but incomplete, skipped, or risky tests!
Tests: 99, Assertions: 656, Skipped: 23, Incomplete: 41.
adt-run [10:23:35]: test command1: -----------------------]
command1 PASS
adt-run [10:23:35]: test command1: - - - - - - - - - - results - - - - - - - - - -
adt-run [10:23:35]: @@@@@@@@@@@@@@@@@@@@ summary
command1 PASS

Not sure how to debug it?

Steve Langasek (vorlon)
Changed in php-net-ldap2 (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package php-net-ldap2 - 2.2.0-1ubuntu1

---------------
php-net-ldap2 (2.2.0-1ubuntu1) xenial; urgency=medium

  * Add run-time dependency on php-pear (LP: #1564984).

 -- Nishanth Aravamudan <email address hidden> Thu, 31 Mar 2016 09:40:16 -0700

Changed in php-net-ldap2 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.