bzr fails to build in xenial

Bug #1592731 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
High
Unassigned

Bug Description

bzr fails to build in xenial with the paramiko version in xenial; already fixed in yakkety.

======================================================================
ERROR: bzrlib.tests.test_sftp_transport.SSHVendorConnection.test_connection_paramiko
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: log: {{{
DEBUG [chan bzr SocketAsChannelAdapter] Started sftp server on channel <bzrlib.transport.ssh.SocketAsChannelAdapter object at 0x3fffa891b290>
   DEBUG [chan bzr SocketAsChannelAdapter] Request: open
   DEBUG [chan bzr SocketAsChannelAdapter] Request: close
   DEBUG [chan bzr SocketAsChannelAdapter] EOF -- end of session
}}}

Traceback (most recent call last):
  File "/«PKGBUILDDIR»/build/lib.linux-ppc64le-2.7/bzrlib/tests/test_sftp_transport.py", line 253, in test_connection_paramiko
    self.assertEqual('foobar\n', t.get('a_file').read())
  File "/«PKGBUILDDIR»/build/lib.linux-ppc64le-2.7/bzrlib/transport/sftp.py", line 414, in get
    f.prefetch()
TypeError: prefetch() takes exactly 2 arguments (1 given)

----------------------------------------------------------------------
Ran 28545 tests in 453.901s

FAILED (errors=116, known_failure_count=59)
2648 tests skipped
debian/rules:21: recipe for target 'override_dh_auto_test' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
debian/rules:13: recipe for target 'build-arch' failed

Revision history for this message
Vincent Ladeuil (vila) wrote :

/o\ but how come paramiko breaking backwards compatibility entered xenial ?

See https://bugs.launchpad.net/bzr/+bug/1579093

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Matthias, or anyone else affected,

Accepted bzr into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/bzr/2.7.0-2ubuntu2 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 bzr (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
Mathew Hodson (mhodson)
Changed in bzr (Ubuntu Xenial):
importance: Undecided → High
milestone: none → xenial-updates
Changed in bzr (Ubuntu):
milestone: xenial-updates → none
Revision history for this message
Matthias Klose (doko) wrote :

this package builds everywhere, and passes the tests.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzr - 2.7.0-2ubuntu2

---------------
bzr (2.7.0-2ubuntu2) xenial-proposed; urgency=medium

  * SRU: LP: #1592731.
  * Cope with paramiko making argument to SFTPFile.prefetch() mandatory.
    Closes: #822116

 -- Matthias Klose <email address hidden> Wed, 15 Jun 2016 11:42:01 +0200

Changed in bzr (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for bzr 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.

Steve Langasek (vorlon)
Changed in bzr (Ubuntu):
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

Remote bug watches

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