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 $tagecho --------------------------- 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?
No idea, but the file is here: https://anonscm.debian.org/cgit/aptitude/aptitude.git/log/?h=pristine-tar and I build with gbp and roughly the same commands. Maybe you need to "pull --all" or something is not right in your local repos? 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 <[email protected]> _______________________________________________ Aptitude-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

