gbp import-orig ârevision not foundâ error

Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I am trying to rebuild a Debian package using new upstream sources. I first do a gbp import-dsc on the Debian source package:
% 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'
No problem there. Next, I try to do animport-orig but get an error:
% 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']
Why am I getting this error and how to work around it?
gbp:error: Import of ../heimdal_7.5.0.orig.tar.gz failed: revision 'heimdal-7.5.0^' not found
The version of gbp import-orig is 0.8.12.2.
debian packaging
add a comment |Â
up vote
2
down vote
favorite
I am trying to rebuild a Debian package using new upstream sources. I first do a gbp import-dsc on the Debian source package:
% 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'
No problem there. Next, I try to do animport-orig but get an error:
% 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']
Why am I getting this error and how to work around it?
gbp:error: Import of ../heimdal_7.5.0.orig.tar.gz failed: revision 'heimdal-7.5.0^' not found
The version of gbp import-orig is 0.8.12.2.
debian packaging
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am trying to rebuild a Debian package using new upstream sources. I first do a gbp import-dsc on the Debian source package:
% 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'
No problem there. Next, I try to do animport-orig but get an error:
% 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']
Why am I getting this error and how to work around it?
gbp:error: Import of ../heimdal_7.5.0.orig.tar.gz failed: revision 'heimdal-7.5.0^' not found
The version of gbp import-orig is 0.8.12.2.
debian packaging
I am trying to rebuild a Debian package using new upstream sources. I first do a gbp import-dsc on the Debian source package:
% 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'
No problem there. Next, I try to do animport-orig but get an error:
% 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']
Why am I getting this error and how to work around it?
gbp:error: Import of ../heimdal_7.5.0.orig.tar.gz failed: revision 'heimdal-7.5.0^' not found
The version of gbp import-orig is 0.8.12.2.
debian packaging
debian packaging
asked Oct 3 at 17:55
rlandster
278212
278212
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
This happens because of the following configuration directive in debian/gbp.conf:
upstream-vcs-tag=heimdal-%(version)s
This matches the upstream tags, but fails when you attempt to import the sources using gbp. To fix this, remove the above line.
You could save yourself a lot of time by using the packaged sources for version 7.5.0:
dget -x http://deb.debian.org/debian/pool/main/h/heimdal/heimdal_7.5.0+dfsg-2.dsc
or
git clone https://salsa.debian.org/debian/heimdal.git
add a comment |Â
up vote
0
down vote
It turns out that I needed to be on the upstream branch before running gbp import-orig. I am pretty sure that in earlier releases of import-dsc and import-orig that was not necessary.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
This happens because of the following configuration directive in debian/gbp.conf:
upstream-vcs-tag=heimdal-%(version)s
This matches the upstream tags, but fails when you attempt to import the sources using gbp. To fix this, remove the above line.
You could save yourself a lot of time by using the packaged sources for version 7.5.0:
dget -x http://deb.debian.org/debian/pool/main/h/heimdal/heimdal_7.5.0+dfsg-2.dsc
or
git clone https://salsa.debian.org/debian/heimdal.git
add a comment |Â
up vote
2
down vote
This happens because of the following configuration directive in debian/gbp.conf:
upstream-vcs-tag=heimdal-%(version)s
This matches the upstream tags, but fails when you attempt to import the sources using gbp. To fix this, remove the above line.
You could save yourself a lot of time by using the packaged sources for version 7.5.0:
dget -x http://deb.debian.org/debian/pool/main/h/heimdal/heimdal_7.5.0+dfsg-2.dsc
or
git clone https://salsa.debian.org/debian/heimdal.git
add a comment |Â
up vote
2
down vote
up vote
2
down vote
This happens because of the following configuration directive in debian/gbp.conf:
upstream-vcs-tag=heimdal-%(version)s
This matches the upstream tags, but fails when you attempt to import the sources using gbp. To fix this, remove the above line.
You could save yourself a lot of time by using the packaged sources for version 7.5.0:
dget -x http://deb.debian.org/debian/pool/main/h/heimdal/heimdal_7.5.0+dfsg-2.dsc
or
git clone https://salsa.debian.org/debian/heimdal.git
This happens because of the following configuration directive in debian/gbp.conf:
upstream-vcs-tag=heimdal-%(version)s
This matches the upstream tags, but fails when you attempt to import the sources using gbp. To fix this, remove the above line.
You could save yourself a lot of time by using the packaged sources for version 7.5.0:
dget -x http://deb.debian.org/debian/pool/main/h/heimdal/heimdal_7.5.0+dfsg-2.dsc
or
git clone https://salsa.debian.org/debian/heimdal.git
answered Oct 3 at 19:32
Stephen Kitt
149k23331397
149k23331397
add a comment |Â
add a comment |Â
up vote
0
down vote
It turns out that I needed to be on the upstream branch before running gbp import-orig. I am pretty sure that in earlier releases of import-dsc and import-orig that was not necessary.
add a comment |Â
up vote
0
down vote
It turns out that I needed to be on the upstream branch before running gbp import-orig. I am pretty sure that in earlier releases of import-dsc and import-orig that was not necessary.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
It turns out that I needed to be on the upstream branch before running gbp import-orig. I am pretty sure that in earlier releases of import-dsc and import-orig that was not necessary.
It turns out that I needed to be on the upstream branch before running gbp import-orig. I am pretty sure that in earlier releases of import-dsc and import-orig that was not necessary.
answered Oct 4 at 13:52
rlandster
278212
278212
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f473049%2fgbp-import-orig-revision-not-found-error%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password