Article View: linux.debian.bugs.dist
Article #3714Bug#1153185: oscar: version mismatch (2.1.0 vs. oscar/VERSION's 1.7.1)
From: Sergio Durigan Junior
Date: Sat, 07 Nov 2026 21:20
Date: Sat, 07 Nov 2026 21:20
135 lines
6942 bytes
6942 bytes
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Control: reassign -1 devscripts
Control: forcemerge 1139899 -1
Control: severity 1139899 important
On Friday, 06 November 2026, Philip Hands wrote:
> There's something strange going on regarding the version of the source yo=
u're
> building as 2.1.0.
>
> I noticed this when doing a local backport, and then seeing 1.7.1 in the =
running
> program, and wondering if I'd actually managed to install my newly built =
copy or
> not.
>
> oscar/VERSION in the upstream/2.1.0 tag from salsa contains 1.7.1, which =
seems wrong.
>
> This seems not to be an upstream bug, since the repo pointed to by debian=
/watch
> has a v2.1.0 tag, and the version of oscar/VERSION in that tagged commit =
has
> 2.1.0 in it, as seen here:
>
> https://gitlab.com/CrimsonNape/oscar-sql/-/blob/82ec7db2ca90f83cf3490d2=
0051e547cf9df4f28/oscar/VERSION
>
> I had a quick look to see if I could find the version of the upstream sou=
rce
> you're actually using, but failed to find a match, so something strange i=
s going
> on here -- are you using another repo as upstream?
Thanks for the report.
Oh, wow. This is crazy. I did some investigation and here's what I
found:
=2D The commit importing 2.1.0 in the `upstream` branch is empty:
https://salsa.debian.org/med-team/oscar/-/commit/bb04bcdc3e6861e7f7071c7cba=
721fb144fd4920
This is one me. I should have checked it before uploading the
package.
=2D When I unpack the origtar, I see that it contains the code for 1.7.1
indeed.
I was beating myself thinking that I'd made a mistake when running `gbp
import --uscan`, and in a way I did make a mistake (because I should
have double checked the import commit), but the root of the issue lies
within uscan itself.
I've just tried to import the latest upstream version (2.1.1) using
exactly the same method (`gbp import-orig --uscan`), and after verifying
that `uscan --report --verbose` correctly detects the new upstream
version, `gbp import-orig --uscan` imports version 1.7.1 yet again.
The problem happens because the URL used to download the tarball will
generate a generic `archive.tar.gz` file:
=2D-8<---------------cut here---------------start------------->8---
Newest version of oscar on remote site is 2.1.1, local version is 2.1.0
=3D> Newer package available from:
=3D> https://gitlab.com/api/v4/projects/82980409/repository/archive=
.tar.gz?sha=3Dv2.1.1
=2D-8<---------------cut here---------------end--------------->8---
and this file already exists here, so uscan considers that I've already
downloaded it and just symlinks `oscar_2.1.0.orig.tar.gz` to it. This
is obviously wrong because the `archive.tar.gz` I have here is from
version 1.7.1, which explains why the update didn't happen.
I found bug #1139899 which describes this exact scenario, so I'm
force-merging this bug into it. I'm also bumping its severity to better
reflect the issue at hand.
> Meanwhile, https://gitlab.com/CrimsonNape/oscar-sql has recently released=
v2.1.1
> (with that correctly reflected in the oscar/VERSION) so the trivial fix f=
or this
> is probably simply to upgrade to that.
I'll upload 2.1.1 later today, which should fix the issue.
> BTW the backport to trixie was completely trivial, so if you're already a
> backport uploader it would be great if you would add oscar to trixie-back=
ports,
> as that would allow stable users to upgrade.
>
> If you're not already a backports uploader, and don't feel the urge to be=
come
> one, I'd be happy to handle uploads to trixie-backports if you'd like me =
to.
I'm a backport uploader, but unfortunately I don't have the time right
now to prepare OSCAR for it. So yeah, feel free to do the upload! If
you want to wait until tomorrow, version 2.1.1 should be in unstable by
then.
Thanks,
=2D-=20
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEI3pUsQKHKL8A7zH00Ot2KGX8XjYFAmrvlNEUHHNlcmdpb2Rq
QGRlYmlhbi5vcmcACgkQ0Ot2KGX8XjYnFA/9HOMMDTkpzYclNn/oqv2Ay9D5/qS/
1ayvzkjdjOlLQWgcNyrnbEyrK7COpWErmmhrA+yT0C+MrsDyo+FWUcBijfsTcP8i
38SL3xHblmF2KHAeHXFwoYsmwaC2mya6Fmt53ysFIwwgaFec23fe7ARLkpiW2idM
IFLId+732tH0NV1HUZhgQS9FA7+zZRdibcojrzi48Wz4qWo8IXQYZGpz1CiX/HQ5
t9VJr6BaSooLDuvyZ3UbAAaKJ3u0ei/mAy02ZZf3Fnjro0dx0EPu7GRgAVY4cvPo
PRVqZJ0Doe9mn+v1yxo3f7j1feIgx+3pOhNIKc535QUgBB27J9/F+38LdcFSGCsh
Nnq2tJaZ6ir71/0ewpQa9ilolDMwJSEuyl4l/+5szm/mlGzoT0AFTSSfLi/Pk/wX
Rhp/EL80/Pc9C3u8i7XmhKxeYz/86Ik0/trt9gRuzsI3s6RdJ8Ba1dSWBqHJ7SkR
ZAi5Jl3xNLYHyc/lcw8+eMy1KCTsfqH9VAblGyrvGG/rE+ClPbNySlkFmjyk2DDQ
dzaiESMfLDi9a81QRL7pjlvc6wQISXi//hVisYmkQf5P+SPIDAutp0SUDBuT/wUY
S1YuJWXlVV3siqNgPTpGMeWXIExfY2xIme26g6wxgyHRAUB7kTagHQvAHOXup6UT
2umQEmKCE4h5HBA=
=OgmE
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID:
<NWVZn-atbf-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NWpwu-aaPn-3@gated-at.bofh.it> <NWpwu-aaPn-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Sergio Durigan Junior <sergiodj@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1153185: oscar: version mismatch (2.1.0 vs. oscar/VERSION's 1.7.1) Date: Sat, 07 Nov 2026 22:20:01 +0100 Message-ID: <NWVZn-atbf-1@gated-at.bofh.it> References: <NWpwu-aaPn-3@gated-at.bofh.it> <NWpwu-aaPn-3@gated-at.bofh.it> X-Original-To: Philip Hands <phil@hands.com> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Nov 7 21:17:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Sergio Durigan Junior <sergiodj@debian.org>, 1153185@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-med-packaging@lists.alioth.debian.org X-Debian-Pr-Message: followup 1153185 X-Debian-Pr-Package: oscar X-Debian-Pr-Source: oscar User-Agent: mu4e 1.14.2; emacs 31.1.50 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Debian-User: sergiodj X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001347 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 135 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 1153185@bugs.debian.org X-Original-Date: Sat, 07 Nov 2026 16:14:57 -0500 X-Original-Message-ID: <875wy8uywe.fsf@sergiodj.net> X-Original-References: <179396075817.360284.7909424827379618678.reportbug@nimble> <179396075817.360284.7909424827379618678.reportbug@nimble>