Getting error message: pristine-tar: delta is version 3, newer than maximum supported version 2

Asked by Thomas Karl Pietrowski on 2017-11-08

Due to an bug inside Ubuntu's patched PyQt5, I wanted to rebuild a more recent PyQt5.
I imported it from debian's repository and created an recipe (

However, when building from these sources, I get the error:

Git version:
git version 2.7.4
git-build-recipe 0.3.4~git201611291343.dcee459~ubuntu16.04.1
Building recipe:
# git-build-recipe format 0.4 deb-version {debversion}~{time}~rev{revno}
lp:~thopiekar/ultimaker/+git/dep-pyqt5-from-debian debian/5.9+dfsg-2

RUN ['git-build-recipe', '--safe', '--no-build', '--manifest', '/home/buildd/build-RECIPEBRANCHBUILD-1479521/chroot-autobuild/home/buildd/work/tree/manifest', '--distribution', 'artful', '--allow-fallback-to-native', '--append-version', '~ubuntu17.10.1', '/home/buildd/build-RECIPEBRANCHBUILD-1479521/chroot-autobuild/home/buildd/work/recipe', '/home/buildd/build-RECIPEBRANCHBUILD-1479521/chroot-autobuild/home/buildd/work/tree']
pristine-tar: delta is version 3, newer than maximum supported version 2
pristine-tar: failed to generate tarball
Traceback (most recent call last):
  File "/usr/bin/git-build-recipe", line 9, in <module>
    load_entry_point('git-build-recipe==0.1', 'console_scripts', 'git-build-recipe')()
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/", line 164, in main
    package_version.upstream_version, working_basedir)
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/", line 74, in extract_upstream_tarball
  File "/usr/lib/python3.5/", line 581, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['pristine-tar', 'checkout', '/home/buildd/build-RECIPEBRANCHBUILD-1479521/chroot-autobuild/home/buildd/work/tree/pyqt5_5.9+dfsg.orig.tar.gz']' returned non-zero exit status 255
resource.struct_rusage(ru_utime=1.8679999999999999, ru_stime=0.696, ru_maxrss=29404, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=41357, ru_majflt=42, ru_nswap=0, ru_inblock=12560, ru_oublock=150840, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=14402, ru_nivcsw=5889)

when trying to build the source package. But I have no idea, how to correct the "pristine-tar: delta is version 3, newer than maximum supported version 2" issue. Are my recipe instructions wrong or is there something else?


Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Solved by:
Thomas Karl Pietrowski
Last query:
Last reply:
Colin Watson (cjwatson) said : #1

Looks like we'll need to upgrade to a newer version of pristine-tar to get this to work, since there are versions in Debian with higher format numbers for some types of deltas. Could you please convert this question into a bug?

Thanks Colin for your answer. On which project shall I put the bug report? Launchpad again?

Colin Watson (cjwatson) said : #3

Yes - if you use the "Create bug report" link on the web UI view of this question, it'll do roughly the right thing.

Getting Timeouts here when trying to open a new bug report :(

Colin Watson (cjwatson) said : #5

Those do happen occasionally but are usually transient; give it a try in ten minutes or so. (Or possibly slightly longer - we're doing some large DB index rebuilds at the moment so load is probably a bit higher than usual.)

Converted to a bug :)

Thanks! I forgot about trying to create a new one already!

Gregor Jasny (gjasny) said : #8

Colin, do you have a rough ETA for this bug?

Colin Watson (cjwatson) said : #9

It's done now.