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.

59 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.

36 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

13 Likes

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

1 Like

62 posts were split to a new topic: Sailfish OS 5.1 developer early access - OFF Topic

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:


20 Likes

Probably I am doing something wrong, but I get a C Preprocessor error when compiling gtk3. This didn’t happen in 5.0. I am using Scratchbox, the Platform SDK, upgraded in the usual way.

In file included from /usr/include/sys/stat.h:465,
from /usr/include/glib-2.0/glib/gstdio.h:27,
from /usr/include/glib-2.0/glib-unix.h:37,
from ../gdk/wayland/gdkselection-wayland.c:25:
/srv/mer/toolings/SailfishOS-latest/opt/cross/lib/gcc/aarch64-meego-linux-gnu/10.3.1/include-fixed/bits/statx.h:38:25: error: missing binary operator before token “(”
38 | #if __glibc_has_include (“linux/stat.h”)

Chum needs an older version of libyaml-cpp but symlinking works:
In Terminal as root:
cd /usr/lib64
ln -s libyaml-cpp.so.0.8 libyaml-cpp.so.0.6

(in 32-bit cd /usr/lib)

Then install sailfishos-chum-gui - download from SailfishOS:Chum GUI application — SailfishOS:Chum, a Sailfish OS software repository by the community - with zypper and choose ignore dependencies. Then in Chum set version to 5.0 until told otherwise.

2 Likes

Or you could download the proper version from Chum:Testing 5.1.
I mean that’s the whole point of this topic.

3 Likes

In /usr/lib64: ln -s libyaml-cpp.so.0.8 libyaml-cpp.so.0.6
download from: SailfishOS:Chum GUI application — SailfishOS:Chum, a Sailfish OS software repository by the community
Installed with: zypper install --force /home/defaultuser/Downloads/sailfishos-chum-gui*

Success. Thanks you all. :smiling_face:

2 Likes

sigh

NO.

You download from Show sailfishos:chum:testing / sailfishos-chum-gui - SailfishOS Open Build Service and do not need to do any symlink shenanigans.

6 Likes

@nephros Chum 0.6.12 is installed and ia working great. Should i delete any symlink?

I’d like to remind everyone that the purpose of this topic, and meaning of the original post is NOT:

“Hey, Sailfish OS 5.1 has been released, everybody hurry up and install it!”

rather it’s:

“We have a build environment available at OBS which you, if you are a developer, and if you want to prepare your apps for the upcoming release, can use to do it.
And as you would want to test whatever you built, here’s a hint that you can upgrade to the currently semi-closed-BETA, DEVELOPER-ONLY PREVIEW of Sailfish OS 5.1”.

28 Likes

It looks like it is going to be pythongeddon due to python update.

1 Like

Stupid question here, but if i just want to install the sdk on my machine, to check there are no compile issues, how do i do that ? I’m not ready to break my daily driver, but recompiling my apps in advance and check they are ok inside an emulator would be something i’d want to do.

I dont think 5.1 is available for the emulator

tested on my xperia 10 II for fun, and havent notice any issues so far, and everything runs way smoother …before it was kinda janky, especially the android apps

Edit/update; there is one thing that dont work for me and that is the yahoo accounts even just email has issues ( I get “accounts needs to be updated” notification, and both get stuck in initial setup)

3 Likes