Comment 1 for bug 1683914

Revision history for this message
Maarten Fonville (maarten-fonville) wrote :

Sorry, I am not very acquinted with git-build-recipe, but is this issue the same cause as the problem I experience when trying to build a debian upstream git with a recipe: https://code.launchpad.net/~maarten-fonville/+recipe/cargo-daily

and then hitting this error:
# git-build-recipe format 0.4 deb-version {debupstream}-0~{revtime}
lp:~maarten-fonville/cargo/+git/trunk debian/sid

RUN ['git-build-recipe', '--safe', '--no-build', '--manifest', '/home/buildd/build-RECIPEBRANCHBUILD-1374084/chroot-autobuild/home/buildd/work/tree/manifest', '--distribution', 'artful', '--allow-fallback-to-native', '--append-version', '~ubuntu17.10.1', '/home/buildd/build-RECIPEBRANCHBUILD-1374084/chroot-autobuild/home/buildd/work/recipe', '/home/buildd/build-RECIPEBRANCHBUILD-1374084/chroot-autobuild/home/buildd/work/tree']
fatal: ambiguous argument 'bc12196f047d0385f14f42873cf61c9575015b25^{tree}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: Not a valid object name
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
pristine-tar: command failed: git archive --format=tar bc12196f047d0385f14f42873cf61c9575015b25\^\{tree\} | (cd '/tmp/pristine-tar.eECyyROHMg' && tar x)
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/main.py", line 164, in main
    package_version.upstream_version, working_basedir)
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/deb_util.py", line 74, in extract_upstream_tarball
    cwd=path)
  File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['pristine-tar', 'checkout', '/home/buildd/build-RECIPEBRANCHBUILD-1374084/chroot-autobuild/home/buildd/work/tree/cargo_0.17.0.orig.tar.gz']' returned non-zero exit status 2