A direct consequence is that RPMs build in a SFOS 4.5 toolkit can no longer be installed on older SFOS versions.
Jolla only writes a few lines in the changelog and that’s it, leaving all further consequences up to the developers.
But what had Jolla in mind when considering this change?
We just abruptly break compatibility with older SFOS versions
We will release an new rpm for other SFOS versions that will support the new compression
We want you to add settings to spec files so only the old compression is used
We want you to avoid the new toolkit as much as possilbe
Something else, namely …
Why not write a ‘blog/Sailfish Community News’ about this, explaining what was done and why and how to deal with it (just like the sailjail change)? Flypig did a great job filling the gap between Jolla and the users/developers, but now that he has left the company I am afraid this gap will return.
Wow, that’s a bit silly. And i’m not exactly big on supporting old versions…
I had just assumed it was an opt-in switch that Jolla would apply to the system packages to save bandwidth and/or speed up upgrades.
Edit: Another related finding is that the harbour webpage does not seem to identify this as breaking compatibility with older releases.
S’Play is currently released with zstd, and has no detected limitations (of course in part due to being noarch).
Alternatives are already discussed in the discussion link I provided. I just would like to hear how Jolla think we should deal with this in their view.
No, it is the wrong compression levelandmethod for sources!
The source compression shall either be left as it is or be set to gzip -6 … -9 (6 is gzip’s default). For the binaries it is fine to use xz -2 … -6; for RPMs which are only installable on SailfishOS ≥ 3.2.1 one may add the option -T.
Looked at this way, nothing matters as long as the compression method is supported by all releases targeted.
But practically, e.g. xz -9 is incredibly slow on decompression and eats at least 70 MB RAM only for that, so maybe your device OOMs, you have to close an app or two and retry. Plus some people will state “does not work”, because they run out of patience and kill the “hanging” Storeman / SailfishOS:Chum GUI app, before the installation of the rpm file finishes.