Re: Help needed on upgrading upstream source
Hi again,
Update. I tried using 'gbp import-orig' instead of 'uupdate'. This
created the upstream/1.0.1-2 tag and a commit to master with the updated
source, but then I have other problems...
When I tried running 'gbp-buildpackage', it reports
dpkg-buildpackage: info: source package supernovas
dpkg-buildpackage: info: source version 1.0.1-2
[..]
dpkg-source: info: building supernovas using existing
./supernovas_1.0.1.orig.tar.gz
[..]
dpkg-source: info: local changes detected, the modified files are:
[..]
And then the build fails.
So, it correctly recognizes the source version being 1.0.1-2, but then
proceeds building from the old source (1.0.1), which of course makes it
believe that the source has been unexpectedly modified. The only
modification was gbp-import. I'm not sure what went wrong. I hope you
can help sort it out.
Thanks,
-- Attila.
On 5/30/24 4:17 PM, Attila Kovacs wrote:
Hi all,
I've tried to upgrade the supernovas package to the upstream v1.0.1-2
tag. On my build machine, I used uupdate to grab the source from
github and create an updated source package with it. Then I rebased
patch-queue with '-s ours' to start afresh (since none of the previous
patches were necessary any more).
It all built fine locally with
$ gbp buildpackage
I committed & pushed the orig tarball to pristine-tar.
However, when I pushed the updated master to salsa, the CI
'extract-source' fails with errors:
gbp:info: All Orig tarballs 'supernovas_1.0.1-2.orig.tar.gz' found at
'/builds/debian-astro-team/supernovas/debian/output'
gbp:error: upstream/1.0.1-2 is not a valid treeish
W: Unable to locate package supernovas
The upstream source is tagged as 'v1.0.1-2' on github
(https://github.com/Smithsonian/SuperNOVAS/tags).
I haven't found much documentation online on why this error is
generated, or how it can be remedied.
I hope you can help.
Thanks,
-- Attila.
Reply to: