[Aptitude-devel] gbp:error: Pristine-tar couldn't checkout "aptitude_0.8.6.orig.tar.xz"

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Tue Mar 7 18:56:59 UTC 2017

2017-03-07 10:25 jean-christophe manciot:
>Hello guys,
>I'm trying to build aptitude from
>https://anonscm.debian.org/git/aptitude/aptitude.git/ with gbp at
>tag=0.8.6-1 with the following workflow (branch=debian-sid):
>        echo --------
>        echo Cleaning
>        echo --------
>       cd git-aptitude
>        sudo -u actionmystique -H git-reset-clean-pull-checkout.sh $branch
>        echo ---------------------------
>        echo Checking Build Dependencies
>        echo ---------------------------
>        check-build-dependencies.sh
>        echo --------
>        echo Building
>        echo --------
>        sudo -u actionmystique -H git checkout -b pristine-tar
>        sudo -u actionmystique -H git checkout $branch
>        sudo -u actionmystique -H gbp buildpackage --git-verbose
>--git-debian-branch=$branch --git-pristine-tar
>which leads to:
>Switched to branch 'debian-sid'
>Your branch is up-to-date with 'origin/debian-sid'.
>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', 'rev-parse', '--quiet', '--verify', 'HEAD']
>gbp:debug: ['git', 'show-ref', 'refs/heads/pristine-tar']
>gbp:debug: ['git', 'log', '--pretty=format:%H', '--grep=pristine-tar .*
>aptitude_0.8.6\\.orig.tar\\.', 'pristine-tar', '--']
>gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'pristine-tar^0']
>gbp:debug: ['git', 'show',
>'-z', '--date=raw', '--no-renames', '--name-status',
>gbp:debug: Determined compression type 'xz'
>gbp:debug: ['git', 'show-ref', 'refs/heads/pristine-tar']
>gbp:debug: /usr/bin/pristine-tar [] ['checkout',
>gbp:error: Pristine-tar couldn't checkout "aptitude_0.8.6.orig.tar.xz":
>fatal: Path 'aptitude_0.8.6.orig.tar.xz.delta' does not exist in
>pristine-tar: git show
>refs/heads/pristine-tar:aptitude_0.8.6.orig.tar.xz.delta failed
>It is strange because "aptitude_0.8.6.orig.tar.xz.delta" does exist on
>pristine-tar branch.
>What am I doing wrong?

No idea, but the file is here:

and I build with gbp and roughly the same commands.

Maybe you need to "pull --all" or something is not right in your local

Also, if you checkout by hand the orig.tar from pristine-tar to the
parent dir, it should work.

Hope that helps.

Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>

More information about the Aptitude-devel mailing list