めんてなのおしごと

Wed, Nov 1, 2017 in debian


gnome-todoをビルドしようとするとgbpがpristine-tar周りでエラーが出る…

$ gbp buildpackage  --git-pbuilder  --git-ignore-branch --git-pristine-tar-commit  --git-upstream-tag=GNOME_TODO_3_26_2 --git-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: /bin/true [] []
gbp:debug: ['git', 'status', '--porcelain']
gbp:debug: ['git', 'symbolic-ref', 'HEAD']
gbp:debug: ['git', 'show-ref', 'refs/heads/debian/sid']
gbp:debug: ['git', 'ls-tree', 'HEAD']
gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format']
gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/changelog']
gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format']
gbp:info: Building with (cowbuilder) for sid
gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format']
gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format']
gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format']
gbp:debug: ['git', 'show-ref', 'refs/heads/pristine-tar']
gbp:debug: ['git', 'log', '--pretty=format:%H', '--grep=pristine-tar .* gnome-todo_3.26.2\\.orig.tar\\.', 'pristine-tar', '--']
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'pristine-tar^0']
gbp:debug: ['git', 'show', '--pretty=format:%an%x00%ae%x00%ad%x00%cn%x00%ce%x00%cd%x00%s%x00%f%x00%b%x00', '-z', '--date=raw', '--no-renames', '--name-status', '79d0e4f830d3beecf5770908c715616f6f7a3fdf']
gbp:debug: Determined compression type 'gzip'
gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/source/format']
gbp:debug: Looking for orig tarballs 'gnome-todo_3.26.2.orig.tar.gz' at '../tarballs/'
gbp:info: Tarballs 'gnome-todo_3.26.2.orig.tar.gz' not found at '../tarballs/'
gbp:debug: pristine-tar [] ['--help']
gbp:debug: pristine-tar [] ['verify', '/home/henrich/src/pkg-gnome/build-area/gnome-todo_3.26.2.orig.tar.gz']
gbp:error: Pristine-tar couldn't verify "gnome-todo_3.26.2.orig.tar.gz": fatal: Path 'gnome-todo_3.26.2.orig.tar.gz.delta' does not exist in 'refs/heads/pristine-tar'
pristine-tar: git show refs/heads/pristine-tar:gnome-todo_3.26.2.orig.tar.gz.delta failed

–git-no-pristine-tar オプションをつけるとビルドはできるんだけど…負けた気がするよね。