Fix autopkgtest failure

Bug #1593003 reported by Nish Aravamudan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
php-horde-mapi (Debian)
Fix Released
Unknown
php-horde-mapi (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

If built against phpseclib 1.0.1-4 or newer, php-horde-mapi's autopkgtests fail because of deprecation warnings printed to stderr. The deprecation warnings come from phpseclib's use of old-style constructor names. This can't be fixed in phpseclib because switching to new-style names would break packages that depend on the old-style names (see bug #1574058).

rbasak> note that we'd like this SRU done to help with fixing and verifying bug 1574058 while not making the dep8 test become a false positive forever.

[Test Case]

Run the following:

sudo apt-get install autopkgtest qemu-system qemu-utils
adt-buildvm-ubuntu-cloud -v -r xenial
adt-run --setup-commands='apt-add-repository ppa:rhansen/bug1574058' \
    -U --apt-source php-horde-mapi --- qemu ./adt-xenial-amd64-cloud.img

[Regression Potential]

The change only affects the autopkgtest test cases, so there should be no regressions. However, permitting the tests to write to stderr can potentially hide future regressions in this package or in packages that this depends on.

Nish Aravamudan (nacc)
description: updated
Revision history for this message
Nish Aravamudan (nacc) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

Looks fine. Please submit this fix upstream to Debian.

Revision history for this message
Nish Aravamudan (nacc) wrote : Re: [Bug 1593003] Re: Fix autopkgtest failure

Yep already have!

On Fri, Jun 17, 2016 at 8:01 AM, Steve Langasek
<email address hidden> wrote:
> Looks fine. Please submit this fix upstream to Debian.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1593003
>
> Title:
> Fix autopkgtest failure
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/php-horde-mapi/+bug/1593003/+subscriptions

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package php-horde-mapi - 1.0.8-2ubuntu1

---------------
php-horde-mapi (1.0.8-2ubuntu1) yakkety; urgency=medium

  * d/tests/control: allow stderr output, as deprecated warnings from
    BigInteger are reported with PHP7.0 (LP: #1593003).

 -- Nishanth Aravamudan <email address hidden> Thu, 16 Jun 2016 13:58:14 -0700

Changed in php-horde-mapi (Ubuntu):
status: New → Fix Released
Changed in php-horde-mapi (Debian):
status: Unknown → Confirmed
Richard Hansen (rhansen)
description: updated
Revision history for this message
Richard Hansen (rhansen) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Uploaded to Xenial. Now awaiting SRU team review. Thanks!

description: updated
Changed in php-horde-mapi (Ubuntu Xenial):
status: New → In Progress
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Nish, or anyone else affected,

Accepted php-horde-mapi into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/php-horde-mapi/1.0.6-2ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in php-horde-mapi (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Richard Hansen (rhansen) wrote :

1.0.6-2ubuntu0.1 works for me. Thanks!

To test, I ran:

adt-run -U --apt-pocket=proposed --apt-source php-horde-mapi --- qemu ./adt-xenial-amd64-cloud.img

and verified that it grabbed the -proposed versions of both php-horde-mapi and php-seclib.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :
Revision history for this message
Martin Pitt (pitti) wrote : Update Released

The verification of the Stable Release Update for php-horde-mapi has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package php-horde-mapi - 1.0.6-2ubuntu0.1

---------------
php-horde-mapi (1.0.6-2ubuntu0.1) xenial; urgency=medium

  [ Nishanth Aravamudan ]
  * d/tests/control: allow stderr output, as deprecated warnings from
    BigInteger are reported with PHP7.0 (LP: #1593003).

 -- Richard Hansen <email address hidden> Mon, 27 Jun 2016 20:20:03 -0400

Changed in php-horde-mapi (Ubuntu Xenial):
status: Fix Committed → Fix Released
Changed in php-horde-mapi (Debian):
status: Confirmed → 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.