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

jean-christophe manciot actionmystique at gmail.com
Tue Mar 7 09:25:21 UTC 2017


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
$tag

        echo ---------------------------
        echo Checking Build Dependencies
        echo ---------------------------
        check-build-dependencies.sh

        echo --------
        echo Building
        echo --------
        sudo -u actionmystique -H git checkout -b pristine-tar
origin/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',
'--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',
'cdd5475a3df2a2cd6fda8d26cfd7574dbb6515dd']
gbp:debug: Determined compression type 'xz'
gbp:debug: ['git', 'show-ref', 'refs/heads/pristine-tar']
gbp:debug: /usr/bin/pristine-tar [] ['checkout',
'/home/actionmystique/Program-Files/Ubuntu/Aptitude/aptitude_0.8.6.orig.tar.xz']
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
'refs/heads/pristine-tar'
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?

-- 
Jean-Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20170307/55e03089/attachment.html>


More information about the Aptitude-devel mailing list