src:git fails to import due to `pristine-tar` failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Fix Released
|
Undecided
|
Unassigned | ||
pristine-tar (Debian) |
New
|
Unknown
|
|||
pristine-tar (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
git ubuntu import git
06/22/2017 16:42:23 - INFO:Ubuntu Server Team importer v1.0-rc5
06/22/2017 16:42:23 - INFO:Using git repository at /tmp/tmp5a339xcj
06/22/2017 16:43:36 - INFO:Importing patches-unapplied 1:2.13.
06/22/2017 16:44:02 - INFO:Importing patches-unapplied 1:2.13.1-1 to debian/sid
06/22/2017 16:45:15 - ERROR:Command exited 1: gbp import-orig --no-merge --upstream-branch do-not-push --pristine-tar --no-interactive --no-symlink-orig '--upstream-
06/22/2017 16:45:15 - ERROR:stdout: gbp:info: Importing '/tmp/tmp5a339x
gbp:info: Source package is git
gbp:info: Upstream version is 2.13.1
06/22/2017 16:45:15 - ERROR:stderr: gbp:error: Couldn't commit to 'pristine-tar' with upstream 'do-not-push': pristine-xz failed to reproduce build of /tmp/tmp5a339xc
(Please file a bug report.)
pristine-tar: command failed: pristine-xz --no-verbose --no-debug --no-keep gendelta /tmp/tmp5a339xc
pristine-tar: failed to generate delta
gbp:error: Import of /tmp/tmp5a339xc
(Please file a bug report.)
pristine-tar: command failed: pristine-xz --no-verbose --no-debug --no-keep gendelta /tmp/tmp5a339xc
pristine-tar: failed to generate delta
Traceback (most recent call last):
File "/snap/
run(cmd, env=self.
File "/snap/
raise e
File "/snap/
stdout=stdout, stderr=stderr, stdin=stdin)
File "/snap/
output=stdout, stderr=stderr)
subprocess.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/snap/
spi.
File "/snap/
'%s' % dsc.orig_
gitubuntu.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/snap/
import_
File "/snap/
spi.version, e)
TypeError: not enough arguments for format string
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/snap/
main()
File "/snap/
args.func(args)
File "/snap/
ubuntu_
File "/snap/
raise GitUbuntuImport
gitubuntu.
Changed in git-buildpackage (Debian): | |
status: | Unknown → New |
affects: | git-buildpackage (Debian) → pristine-tar (Debian) |
summary: |
- src:git fails to import due to `gbp import-orig` failure + src:git fails to import due to `pristine-tar` failure |
tags: | added: import-edge-case |
Changed in usd-importer: | |
status: | New → Confirmed |
milestone: | none → 1.0 |
Changed in usd-importer: | |
status: | Confirmed → Fix Released |
Also seen with btrfs-progs:
08/07/2017 11:32:46 - DEBUG:Executing: gbp import-orig --no-merge --verbose --upstream-branch do-not-push --pristine-tar --no-interactive --no-symlink-orig '--upstream- tag=importer/ upstream/ ubuntu/ %(version) s.xz' /tmp/tmpirn2c01 m/.git/ git-ubuntu- cache/btrfs- progs_4. 12.orig. tar.xz repository' ] %(refname: short)' , 'refs/heads/'] do-not- push'] debian/ changelog' ] upstream/ ubuntu/ 4.12.xz' ] 1m/.git/ git-ubuntu- cache/btrfs- progs_4. 12.orig. tar.xz' ] [] 1m/.git/ git-ubuntu- cache/btrfs- progs_4. 12.orig. tar.xz' to '../tmpYwYgC4/ btrfs-progs- v4.12' 1m/.git/ git-ubuntu- cache/btrfs- progs_4. 12.orig. tar.xz' to branch 'do-not-push'... do-not- push'] 93c3d699e05d457 b48ccc9497a' , '-p', '4e99aaf631ba2d 755276eebdeae18 12d1b108dc9' ] do-not- push', '40abdd4c7d6ea4 0631f7888c07d27 bdda5697ef0' , '4e99aaf631ba2d 755276eebdeae18 12d1b108dc9' ] pristine- tar'] pristine- tar [] ['commit', '/tmp/tmpirn2c0 1m/.git/ git-ubuntu- cache/btrfs- progs_4. 12.orig. tar.xz' , 'ac65382da52adf 93c3d699e05d457 b48ccc9497a' ] m/.git/ git-ubuntu- cache/btrfs- progs_4. 12.orig. tar.xz failed: Couldn't commit to 'pristine-tar' with upstream 'ac65382da52adf 93c3d699e05d457 b48ccc9497a' : pristine-xz failed to reproduce build of /tmp/tmpirn2c01 m/.git/ git-ubuntu- cache/btrfs- progs_4. 12.orig. tar.xz m/.git/ git-ubuntu- cache/btrfs- progs_4. 12.orig. tar.xz /tmp/pristine- tar.5dIvJGzDkH/ wrapper 55276eebdeae181 2d1b108dc9 do-not- push', '4e99aaf631ba2d 755276eebdeae18 12d1b108dc9' ] aa7269280da0b53 78f140035a
gbp:debug: ['git', 'rev-parse', '--show-cdup']
gbp:debug: ['git', 'rev-parse', '--is-bare-
gbp:debug: ['git', 'rev-parse', '--git-dir']
gbp:debug: ['git', 'for-each-ref', '--format=
gbp:debug: ['git', 'show-ref', 'refs/heads/
gbp:debug: ['git', 'status', '--porcelain']
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'master:
gbp:debug: ['git', 'tag', '-l', 'importer/
gbp:debug: tar ['-C', '../tmpYwYgC4', '-a', '-xf', '/tmp/tmpirn2c0
gbp:debug: Unpacked '/tmp/tmpirn2c0
gbp:info: Importing '/tmp/tmpirn2c0
gbp:info: Source package is btrfs-progs
gbp:info: Upstream version is 4.12
gbp:debug: ['git', 'show-ref', 'refs/heads/
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'do-not-push']
gbp:debug: ['git', 'add', '-f', '.']
gbp:debug: ['git', 'write-tree']
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'do-not-push']
gbp:debug: ['git', 'commit-tree', 'ac65382da52adf
gbp:debug: ['git', 'update-ref', '-m', 'gbp: New upstream version 4.12', 'refs/heads/
gbp:debug: ['git', 'show-ref', 'refs/heads/
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'pristine-tar']
gbp:debug: ['git', 'ls-tree', '-z', 'do-not-push', '--']
gbp:debug: ['git', 'mktree', '-z']
gbp:debug: /usr/bin/
gbp:error: Import of /tmp/tmpirn2c01
(Please file a bug report.)
pristine-tar: command failed: pristine-xz --no-verbose --no-debug --no-keep gendelta /tmp/tmpirn2c01
pristine-tar: failed to generate delta
gbp:error: Error detected, Will roll back changes.
gbp:info: Rolling back branch do-not-push by resetting it to 4e99aaf631ba2d7
gbp:debug: ['git', 'update-ref', '-m', 'gbp import-orig: failure rollback of do-not-push', 'refs/heads/
gbp:info: Rolling back branch pristine-tar by resetting it to 0eec71ef109cbfd
gbp:debug: ['git', 'update-ref',...