Hi all,
Automatic builds on snapcraft.io fails since I’ve switched to core20 and GNOME 3.38.
I’ve a gitlab pipeline that snaps Remmina using the core20 without troubles, but the daily builds on launchpad, are failing with these errors:
/snap/gnome-3-38-2004-sdk/current/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libwayland-client.so: undefined reference to `ffi_type_uint32@LIBFFI_BASE_7.0'
/snap/gnome-3-38-2004-sdk/current/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libwayland-client.so: undefined reference to `ffi_type_sint32@LIBFFI_BASE_7.0'
/snap/gnome-3-38-2004-sdk/current/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libwayland-client.so: undefined reference to `ffi_type_pointer@LIBFFI_BASE_7.0'
/snap/gnome-3-38-2004-sdk/current/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libwayland-client.so: undefined reference to `ffi_type_void@LIBFFI_BASE_7.0'
/snap/gnome-3-38-2004-sdk/current/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libwayland-client.so: undefined reference to `ffi_prep_cif@LIBFFI_BASE_7.0'
/snap/gnome-3-38-2004-sdk/current/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libwayland-client.so: undefined reference to `ffi_call@LIBFFI_BASE_7.0'
I think the main issue is that, to use the core20, we need a recent Ubuntu to have the underlying required libs.
Furthermore, I’ve no idea how I can solve or address this issue as, I think, I don’t have any controls over those builds.
One of the logs is https://snapcraft.io/remmina/builds/1559489 , and the yaml file is https://gitlab.com/Remmina/Remmina/-/blob/master/snap/snapcraft.yaml
While the log shared is for amd64, I really don’t care much about this architecture as it’s build by our Gitlab instance without issues, but the others related to ARM would be amazing if I could fix them.
Any idea where should I have a look and how to fix it (or where to ask)?
Thanks in advance!
EDIT: I see that the builds are defined at https://launchpad.net/~build.snapcraft.io/+snap/0a7a53eca59070c64282d56ac91a00df and that it uses Ubuntu Core 16