Sailfish OS 5.1 developer early access

In preparation to publish the next major Sailfish OS release, 5.1, to early access users, we have published the repositories and added them to the community OBS.

This is done so that the software in Chum and other projects in OBS can be rebuilt against the new release, and any build issues fixed before the release is published to the wider early access user base. Many of the build tools and lower level libraries have received version updates of varying degrees, so incompatibilities and other issues are to be expected.

Some notable changes:

Tools and languages

  • cmake - 3.27.1 => 3.31.8
  • gcc - 10.3.1 => 13.4.0
  • gdb - 12.1.0 => 16.3.0
  • make - 4.2.1 => 4.4.1
  • meson - 1.4.1 => 1.9.1
  • perl - 5.16.3 => 5.40.3
  • python3 - 3.8.18 => 3.11.15

Libraries and components

  • curl - 8.9.1 => 8.19.0
  • cython - 0.29.14 => 3.0.11
  • glib2 - 2.78.4 => 2.86.4
  • glibc - 2.30 => 2.41
  • glslang - 14.1.0 => 15.3.0
  • gobject-introspection - 1.72.1 => 1.86.0
  • gstreamer1.0 - 1.24.6 => 1.26.11
  • libphonenumber - 8.13.27 => 9.0.5
  • linux-glibc-devel - 3.18.136 => 4.4.302
  • lxc - 5.0.2 => 6.0.3
  • ncurses - 6.5 => 6.6
  • net-tools - 1.60 => 2.10
  • openssh - 9.8p1 => 10.3p1
  • openssl - 1.1.1v => 3.5.6
    * openssl1.1 kept available for compatibility
  • poppler - 24.08.0 => 25.12.0
  • pulseaudio - 14.2 => 17.0
  • python-pip - 19.3.1 => 23.3.2
  • python3-fuse3 - 2.0.0 => 3.4.0
  • python3-lxml - 4.6.5 => 5.3.0
  • python3-setuptools - 46.1.3 => 70.3.0
  • python3-twisted - 20.3.0 => 22.10.0
  • sqlite - 3.46.1 => 3.50.4
  • taglib - 1.12 => 2.0.2

This is not a comprehensive list, and some things listed here may or may not be as significant as some that were not included :slight_smile: Full changelog will be provided later.

Updating your development devices

The developers who want to test things on device can update their devices from command line, you know how to do it, if you don’t, then this is not for you :slight_smile:

The currently published version is: 5.1.0.5

Make sure you have enough free disk space, at least 1.5G on the rootfs, preferably more. Update installation on running system may take significantly more space during the installation than is actually needed afterwards.

48 Likes

Cool, cool, cool.

I mean, I had other plans for the weekend, which are now ruined, but …

On more serious note, thanks for making this available “ahead of time” and potentially easing the transition for users of Chum and OBS in general.

31 Likes

I so much appreciate, that the OBS got up to date repos way before the EA! Very nice work and big thanks!

10 Likes

“Make sure you have enough free disk space, at least 1.5G on the rootfs, preferably more. Update installation on running system may take significantly more space during the installation than is actually needed afterwards.”

I think this is going to be a big problem for those wishing to upgrade. I have an XA2, XA2 Plus, Sony Xperia 10 Mk iii, iv and v. NONE of those phones have in excess of 1.5 Gb free on the root file system.

The 10iii, which has been upgraded over the years from 4.x versions, has 492 Mb free (nowhere near enough) whilst my 10 iv, freshly flashed with 5.0.0.77, has 809 Mb free.

Of course I can delete all my apps, but is that really going to free up nearly 1Gb?

So, at the moment 5.1 is a non starter for ALL of my five SFOS phones without starting again from scratch on every one.

What to do?

2 Likes

There’s some tricks you can do to free up space, I intend to share later.

For now, and this is very important: do not ignore the recommended free space.

OTA updates will fail otherwise, potentially leading to a non-booting device.

Patience, and follow the instructions when the release is officially anounced

10 Likes

And/Or use your Developer device and not your daily driver. :winking_face_with_tongue:

1 Like

Sadly, none of my 5 SFOS phones are daily drivers, that’s an iPhone 14 at the moment, but I live in hope :smiley:

1 Like

Splitter!!

6 Likes

Usually cache of browser, angelfish, Quickddit (if links are opened in webview), thumbnails of pictures takes hundreds of MB or even more depends on usage.

Well, I have 5x working SFOS phones compared to 1x IOS phone, so SFOS is well ahead on numbers if nothing else…

1 Like

Maybe., but that is mostly irrelevant wrt. updates.

The only thing that counts is space on the root filesystem/partition.

I have one build failure wrt python macros:

The macro %py3_shebang_fix gives:

[  151s] + /usr/bin/python3 -B /usr/lib/rpm/meego/pathfix.py -pni /usr/bin/python3 -kasP libevdev/make-event-names.py
[  152s] /usr/bin/python3: can't open file '/usr/lib/rpm/meego/pathfix.py': [Errno 2] No such file or directory
[  152s] error: Bad exit status from /var/tmp/rpm-tmp.Mn0LwF (%prep)

Is that supposed to work?

(That particular .spec has a bug where this macro is evaluated despite it being commented out (single %), but this did not fail in earlier releases.)

[EDIT]: definitely not specific to one package. Is python-rpm-macros broken perhaps?

Updated :100:


16 Likes

Tried it too - update went smooth and phone runs without issues so far.

Thank you, sailors!

Edit: tried it on C2 and Xperia 10 iii. Both updates are fine. Looking forward to EA now

4 Likes

Funny, same numbers here.

Big difference: i do not use the iPhoe anymore (since a couple of years now) although I get new iPhone every two years.

Xperia 10 ii and Xperia 10 iii are my daily drivers atm, hoping to replace one of them by J2 soon

4 Likes

I’m not a dev but happened to have a 10 II with a 10 GB rootfs…, after update 3,6 GB in use, 6,5 free.

The XA2 is still my main phone. I use Kuri, Pure Maps and OSM Scout Server so no update yet. I’ll do it with zypper dup and move big files out of the way as needed - no uninstalls.

The update initially went well, but I don’t have internet access in any of the Sailfish apps. However, everything works perfectly in my Android apps. I have a C2.

I only can recommend to take this advice serious, my Xperia 10 III needed a fresh install after me ignoring it…

2 Likes

I’ve restarted everything, checked if I have any active DNS servers, and removed AAS.It doesn’t work

my xperia 10 III has about 1GB free storage.

  • /opt 1.7GB mainly appsupport (1.1GB rootfs, 0.6GB system.img)
  • /usr 2.2GB
    • 203.3M usr/share/harbour-sailpipe
    • 99.1M usr/share/stellarium
    • 72.6M usr/share/harbour-sshazam

Removing sailpipe, stellarium, and sshazam will free ~370MB will be a struggle finding the rest 150MB from apps only.

Is it possible to temporarily move /opt/appsupport/system.img to /home for the update?