Thread View: linux.debian.bugs.dist
2 messages
2 total messages
Started by Philip Hands
Fri, 06 Nov 2026 10:40
Bug#1153185: oscar: version mismatch (2.1.0 vs. oscar/VERSION's 1.7.1)
Author: Philip Hands
Date: Fri, 06 Nov 2026 10:40
Date: Fri, 06 Nov 2026 10:40
69 lines
4308 bytes
4308 bytes
Package: oscar Version: 2.1.0-2~bpo13+1 Severity: normal Hi, There's something strange going on regarding the version of the source you'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/82ec7db2ca90f83cf3490d20051e547cf9df4f28/oscar/VERSION I had a quick look to see if I could find the version of the upstream source you're actually using, but failed to find a match, so something strange is going on here -- are you using another repo as upstream? 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 for this is probably simply to upgrade to that. 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-backports, as that would allow stable users to upgrade. If you're not already a backports uploader, and don't feel the urge to become one, I'd be happy to handle uploads to trixie-backports if you'd like me to. Cheers, Phil. -- System Information: Debian Release: 13.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (100, 'trixie-fasttrack'), (99, 'unstable'), (90, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.12.101+deb13-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages oscar depends on: ii libc6 2.41-12+deb13u4 ii libgcc-s1 14.2.0-19 ii libqt6core6t64 6.8.2+dfsg-9+deb13u2 ii libqt6gui6 6.8.2+dfsg-9+deb13u2 ii libqt6network6 6.8.2+dfsg-9+deb13u2 ii libqt6openglwidgets6 6.8.2+dfsg-9+deb13u2 ii libqt6printsupport6 6.8.2+dfsg-9+deb13u2 ii libqt6serialport6 6.8.2-3 ii libqt6widgets6 6.8.2+dfsg-9+deb13u2 ii libqt6xml6 6.8.2+dfsg-9+deb13u2 ii libstdc++6 14.2.0-19 ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1 oscar recommends no packages. oscar suggests no packages. -- no debconf information
Bug#1153185: oscar: version mismatch (2.1.0 vs. oscar/VERSION's 1.7.1)
Author: 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-----
--=-=-=--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads