Flatpak Dependencies Out Of Date
The flatpak build currently depends on gnome sdk 3.34, installing this gives the following errors
Info: (pinned) runtime org.gnome.Sdk branch 3.34 is end-of-life, with reason:
The GNOME 3.34 runtime is no longer supported as of 14th August 2020. Please ask your application developer to migrate to a supported platform.
Info: runtime org.freedesktop.Platform.VAAPI.Intel branch 19.08 is end-of-life, with reason:
The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
Info: runtime org.freedesktop.Platform.GL.default branch 19.08 is end-of-life, with reason:
The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
When I proceed to install this anyway I still can't build the flatpak with error:
error: Requested extension org.freedesktop.Sdk.Extension.ldc/x86_64/3.34 not installed
available versions for ldc are shown as
1) runtime/org.freedesktop.Sdk.Extension.ldc/x86_64/20.08
2) runtime/org.freedesktop.Sdk.Extension.ldc/x86_64/21.08
3) runtime/org.freedesktop.Sdk.Extension.ldc/x86_64/22.08
4) runtime/org.freedesktop.Sdk.Extension.ldc/x86_64/19.08
When I update the sdk dependency in the yaml file to the latest version (43) the build fails with errors
In file included from /usr/include/glib-2.0/glib/gthread.h:34,
from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
from /usr/include/glib-2.0/glib.h:34,
from ./vte/vte.h:22,
from vtetypebuiltins.cc:4:
vtetypebuiltins.cc: In function ‘GType vte_cursor_blink_mode_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:131:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
262 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:11:7: note: in expansion of macro ‘g_once_init_enter’
11 | if (g_once_init_enter (&g_define_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc: In function ‘GType vte_cursor_shape_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:131:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
262 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:31:7: note: in expansion of macro ‘g_once_init_enter’
31 | if (g_once_init_enter (&g_define_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc: In function ‘GType vte_text_blink_mode_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:131:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
262 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:51:7: note: in expansion of macro ‘g_once_init_enter’
51 | if (g_once_init_enter (&g_define_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc: In function ‘GType vte_erase_binding_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:131:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
262 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:72:7: note: in expansion of macro ‘g_once_init_enter’
72 | if (g_once_init_enter (&g_define_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc: In function ‘GType vte_pty_error_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:131:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
262 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:94:7: note: in expansion of macro ‘g_once_init_enter’
94 | if (g_once_init_enter (&g_define_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc: In function ‘GType vte_pty_flags_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:131:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
262 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:113:7: note: in expansion of macro ‘g_once_init_enter’
113 | if (g_once_init_enter (&g_define_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc: In function ‘GType vte_write_flags_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:131:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
262 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:136:7: note: in expansion of macro ‘g_once_init_enter’
136 | if (g_once_init_enter (&g_define_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc: In function ‘GType vte_regex_error_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:131:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
262 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:154:7: note: in expansion of macro ‘g_once_init_enter’
154 | if (g_once_init_enter (&g_define_type_id__volatile)) {
| ^~~~~~~~~~~~~~~~~
vtetypebuiltins.cc: In function ‘GType vte_format_get_type()’:
/usr/include/glib-2.0/glib/gatomic.h:131:19: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
262 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
vtetypebuiltins.cc:173:7: note: in expansion of macro ‘g_once_init_enter’
173 | if (g_once_init_enter (&g_define_type_id__volatile)) {
Also it would be great to get this distributed on flathub, fedora kind of does this but their version is old and crashes
CC @amigadave
For some reason installing dmd and ldc 19.08 resolved the error: Requested extension org.freedesktop.Sdk.Extension.ldc/x86_64/3.34 not installed so I think that was probably a misleading error message
The vanilla (i.e., with the outdated libraries) build now fails with
========================================================================
Building module appstream in /var/home/max/Code/tilix/experimental/flatpak/.flatpak-builder/build/appstream-1
========================================================================
Already on 'master'
The Meson build system
Version: 0.53.2
Source dir: /run/build/appstream
Build dir: /run/build/appstream/_flatpak_build
Build type: native build
meson.build:1:0: ERROR: Meson version is 0.53.2 but project requires >=0.62
A full log can be found at /run/build/appstream/_flatpak_build/meson-logs/meson-log.txt
Error: module appstream: Child process exited with code 1
The Flatpak stuff really needs an update - patches welcome! ;-)