Eu estou tentando reconstruir um pacote Debian usando novos fontes upstream. Primeiro faço um gbp import-dsc
no pacote fonte Debian:
% gbp import-dsc heimdal_7.1.0+dfsg-13+deb9u2.dsc
gbp import-dsc heimdal_7.1.0+dfsg-13+deb9u2.dsc
gbp:info: No git repository found, creating one.
gbp:info: Tag upstream/7.1.0+dfsg not found, importing Upstream tarball
gbp:info: Version '7.1.0+dfsg-13+deb9u2' imported under '/srv/scratch/heimdal-work/heimdal'
Não há problema aí. Em seguida, tento fazer um import-orig
, mas recebo um erro:
% cd heimdal
% gbp import-orig --verbose ../heimdal-7.5.0.tar.gz -u7.5.0
gbp:warning: Old style config section [git-import-orig] found please rename to [import-orig]
gbp:debug: ['git', 'rev-parse', '--show-cdup']
gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
gbp:debug: ['git', 'rev-parse', '--git-dir']
gbp:debug: ['git', 'for-each-ref', '--format=%(refname:short)', 'refs/heads/']
gbp:debug: ['git', 'show-ref', 'refs/heads/upstream']
gbp:debug: ['git', 'status', '--porcelain']
gbp:debug: ['git', 'tag', '-l', 'upstream/7.5.0']
gbp:debug: tar ['-C', '../tmpiUAx3m', '-a', '-xf', '../heimdal-7.5.0.tar.gz'] []
gbp:debug: Unpacked '../heimdal-7.5.0.tar.gz' to '../tmpiUAx3m/heimdal-7.5.0'
gbp:info: Importing '../heimdal-7.5.0.tar.gz' to branch 'upstream'...
gbp:info: Source package is heimdal
gbp:info: Upstream version is 7.5.0
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'heimdal-7.5.0^{}']
gbp:error: Import of ../heimdal-7.5.0.tar.gz failed: revision 'heimdal-7.5.0^{}' not found
gbp:debug: rm ['-rf', '../tmpiUAx3m'] []
Por que estou recebendo esse erro e como resolvê-lo?
gbp:error: Import of ../heimdal_7.5.0.orig.tar.gz failed: revision 'heimdal-7.5.0^{}' not found
A versão do gbp import-orig é 0.8.12.2.