Announce: freedesktop.org 1.6 python2 ABI break
Alberto Ruiz
aruiz at gnome.org
Mon Feb 19 12:01:44 UTC 2018
Thanks a lot Alex,
Something I'd like is for people to review the list and make sure my
scripts didn't miss anything.
2018-02-19 9:55 GMT+01:00 Alexander Larsson <alexl at redhat.com>:
> Hi, i'm just about to import the latest build of the freedesktop 1.6
> SDK into flathub, and it contains an ABI change that might break some
> python2 apps.
> The change is that we now build python2 with ucs4 instead of ucs2
> unicode size. This means that we will now match the ABI of almost all
> distros.
>
> This *will* break some apps, but we've done some research on which
> apps are affected and will immediately rebuild them. See this for
> details:
>
> https://github.com/flatpak/freedesktop-sdk-base/issues/18
>
> However, if for some reason we missed some app, and you see errors like:
>
> undefined symbol: PyUnicodeUCS2_AsUTF8String
>
> This is the reason, and a simple rebuild should fix it.
>
> I realize that this is not really compatible with the story that
> runtimes are ABI stable, but this change seemed important enough to
> make that we decided to do this at this point, as it will only become
> harder to make later as we get more apps.
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Alexander Larsson Red Hat, Inc
> alexl at redhat.com alexander.larsson at gmail.com
> _______________________________________________
> Flatpak mailing list
> Flatpak at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/flatpak
>
--
Cheers,
Alberto Ruiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20180219/0722c2cb/attachment.html>
More information about the Flatpak
mailing list