bzr-builddeb: FTBFS: PristineTarError: There was an error using pristine-tar: Generating delta from tar failed

Bug #917112 reported by Jelmer Vernooij
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jelmer Vernooij
bzr-builddeb (Debian)
Fix Released
bzr-builddeb (Ubuntu)

Bug Description

Imported from Debian bug

Package: src:bzr-builddeb
Severity: serious
Version: 2.8.0
Tags: wheezy,sid

During a rebuild of Sid, package bzr-builddeb FTBFS.

Tail of logs:
130.193 export version <WorkingTree6 of
Text attachment: traceback
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/", line
169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/", line
540, in _run_test_method
    return self._get_test_method()()
  File "/tmp/buildd/bzr-builddeb-2.8.0/tests/", line
978, in test_import_upstream_with_lzma_tarball
    {}, upstream_tarballs=[(os.path.abspath(tar_path), None, self.fake_md5_1)])
  File "/tmp/buildd/bzr-builddeb-2.8.0/", line 874, in
  File "/tmp/buildd/bzr-builddeb-2.8.0/upstream/", line
190, in import_component_tarball
  File "/tmp/buildd/bzr-builddeb-2.8.0/upstream/", line
404, in make_pristine_tar_delta
    return make_pristine_tar_delta(dest, tarball_path)
  File "/tmp/buildd/bzr-builddeb-2.8.0/upstream/", line
110, in make_pristine_tar_delta
    raise PristineTarError("Generating delta from tar failed: %s" % stderr)
PristineTarError: There was an error using pristine-tar: Generating
delta from tar failed: xdelta: warning: no matches found in from file,
patch will apply without it
error: excessively large binary delta for
(Probably the tarball is compressed with an unsupported form of compression.)

Ran 505 tests in 236.123s

FAILED (errors=1)
Missing feature '_UnicodeFilenameFeature' skipped 1 tests.
Missing feature 'bzr-svn plugin' skipped 3 tests.
make: *** [build-python2.7] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package

The rebuild was done on an amd64 machine in clean Sid chroot.

Aron Xu

Aron Xu

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This is happening because newer versions of pristine-tar error out if the delta is too big.

Changed in bzr-builddeb:
status: New → Triaged
importance: Undecided → Critical
Changed in bzr-builddeb (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in bzr-builddeb (Debian):
importance: Undecided → Unknown
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzr-builddeb - 2.8.1

bzr-builddeb (2.8.1) unstable; urgency=low

  * New revision specifier 'upstream:'. LP: #905728
  * Imports are now deferred in command definitions, to speed up
    commands like 'bzr bash-completion'. LP: #903650
  * Provide merge-package functionality as a hook for 'bzr merge'.
    LP: #486075, LP: #910900
  * Add pre-commit hook that warns about applied quilt patches, and can
    automatically unapply/apply all quilt patches. LP: #608670
  * Automatically unapply patches before merge operations.
    LP: #815854
  * Include full changelog paths that were checked in error message.
    LP: #811459
  * Cope with unicode strings being specified to TarfileSource. Based on
    patch by Gediminas Paulauskas. LP: #911262
  * Automatically apply patches for 3.0 (quilt) packages in 'bzr bd-do'
    and 'bzr bd'. LP: #616791
  * Switch to source format '3.0 (native)'.
  * Skip import tests for .tar.xz if not supported by pristine-tar.
    Closes: #655463, LP: #917112

 -- Jelmer Vernooij <email address hidden> Wed, 18 Jan 2012 01:24:21 +0100

Changed in bzr-builddeb (Ubuntu):
status: Triaged → Fix Released
Changed in bzr-builddeb (Debian):
status: New → Fix Released
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: Triaged → Fix Released
milestone: none → 2.8.2
assignee: nobody → Jelmer Vernooij (jelmer)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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