On 22.06.2017 [23:13:27 +0200], Guido Günther wrote:
> control: reassign -1 pristine-tar
> 
> On Thu, Jun 22, 2017 at 01:01:09PM -0700, Nishanth Aravamudan wrote:
> > Package: git-buildpackage
> > Version: 0.8.12.2
> > Severity: normal
> > 
> > Dear Maintainer,
> > 
> > The Ubuntu git importer is unable to import the orig tarballs for the
> > latest uploads to Debian for src:git, as pristine-tar is unable to
> > recreate the provided orig tarball.
> > 
> > Verbose log is:
> > 
> > # gbp import-orig ../git_2.13.1.orig.tar.xz --pristine-tar --verbose
> > gbp:debug: ['git', 'rev-parse', '--show-cdup']
> > gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
> > gbp:debug: ['git', 'rev-parse', '--git-dir']
> > gbp:debug: ['git', 'for-each-ref', '--format=%(refname:short)', 
> > 'refs/heads/']
> > gbp:debug: ['git', 'show-ref', 'refs/heads/upstream']
> > gbp:debug: ['git', 'status', '--porcelain']
> > gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 
> > 'master:debian/changelog']
> > What will be the source package name? [git] 
> > What is the upstream version? [2.13.1] 
> > gbp:debug: ['git', 'tag', '-l', 'upstream/2.13.1']
> > gbp:debug: tar ['-C', '../tmphDjmdz', '-a', '-xf', 
> > '../git_2.13.1.orig.tar.xz'] []
> > gbp:debug: Unpacked '../git_2.13.1.orig.tar.xz' to '../tmphDjmdz/git-2.13.1'
> > gbp:info: Importing '../git_2.13.1.orig.tar.xz' to branch 'upstream'...
> > gbp:info: Source package is git
> > gbp:info: Upstream version is 2.13.1
> > gbp:debug: ['git', 'show-ref', 'refs/heads/upstream']
> > gbp:debug: ['git', 'add', '-f', '.']
> > gbp:debug: ['git', 'write-tree']
> > gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'upstream']
> > gbp:debug: Will create missing branch 'upstream'...
> > gbp:debug: ['git', 'commit-tree', 
> > '517e235ade1f8ffecdaf048f7f7adb494383bbca']
> > gbp:debug: ['git', 'update-ref', '-m', 'gbp: New upstream version 2.13.1', 
> > 'refs/heads/upstream', '0ae0e594ef4d5a2756ca561e56c68c0ddee8e6ba']
> > gbp:debug: ['git', 'show-ref', 'refs/heads/pristine-tar']
> > gbp:debug: ['git', 'ls-tree', '-z', 'upstream', '--']
> > gbp:debug: ['git', 'mktree', '-z']
> > gbp:debug: /usr/bin/pristine-tar [] ['commit', '../git_2.13.1.orig.tar.xz', 
> > '517e235ade1f8ffecdaf048f7f7adb494383bbca']
> > gbp:error: Couldn't commit to 'pristine-tar' with upstream 
> > '517e235ade1f8ffecdaf048f7f7adb494383bbca': pristine-xz failed to reproduce 
> > build of ../git_2.13.1.orig.tar.xz
> > (Please file a bug report.)
> > pristine-tar: command failed: pristine-xz --no-verbose --no-debug --no-keep 
> > gendelta ../git_2.13.1.orig.tar.xz /tmp/pristine-tar.DKOKI61g5N/wrapper
> > pristine-tar: failed to generate delta
> > gbp:error: Import of ../git_2.13.1.orig.tar.xz failed: Couldn't commit to 
> > 'pristine-tar' with upstream '517e235ade1f8ffecdaf048f7f7adb494383bbca': 
> > pristine-xz failed to reproduce build of ../git_2.13.1.orig.tar.xz
> > (Please file a bug report.)
> > pristine-tar: command failed: pristine-xz --no-verbose --no-debug --no-keep 
> > gendelta ../git_2.13.1.orig.tar.xz /tmp/pristine-tar.DKOKI61g5N/wrapper
> > pristine-tar: failed to generate delta
> > gbp:error: Error detected, Will roll back changes.
> > gbp:info: Rolling back branch upstream by deleting it
> > gbp:debug: ['git', 'show-ref', 'refs/heads/upstream']
> > gbp:debug: ['git', 'symbolic-ref', 'HEAD']
> > gbp:debug: ['git', 'show-ref', 'refs/heads/master']
> > gbp:debug: ['git', 'branch', '-D', 'upstream']
> > gbp:info: Rolling back branch pristine-tar by deleting it
> > gbp:debug: ['git', 'show-ref', 'refs/heads/pristine-tar']
> > gbp:error: Rolled back changes after import error.
> > gbp:debug: rm ['-rf', '../tmphDjmdz'] []
> > 
> > 
> > And I'm reporting the bug as requested :)
> 
> That's an issue in pristine-tar. Reassigning.

D'oh! Sorry about that!

> Can you add the pristine-tar version you used?

I reproduced the issue (the above is from the same env) in a Debian Sid
LXD.

# apt policy pristine-tar
pristine-tar:
  Installed: 1.38
  Candidate: 1.38
  Version table:
 *** 1.38 500
        500 http://httpredir.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status

Reply via email to