MixinNetwork / flutter-plugins

🧱 Flutter plugins used in Mixin Messenger.
MIT License
446 stars 192 forks source link

Fails to compile in snapcraft with gnome extension due to conflicting libelf.so.1 #379

Open krille-chan opened 5 days ago

krille-chan commented 5 days ago

First I would like to thank you very much for your work and this awesome package. The problem I have is maybe not even something you might consider to fix or to target but maybe you can at least point me into the right direction.

Presumably there is a copy of libelf.so.1 from somewhere that is older than the version in the core24 in the snapcraft file and is missing symbols required by libraries in the gnome-46-2404 platform snap.

Reproduce Steps

Steps to reproduce the behavior:

  1. Create a project
  2. Create a snapcraft.yaml file with the gnome extension
  3. Try to build it
  4. See error

Expected behavior

App builds in snapcraft.

Version (please complete the following information):

This problem took a lot of time to be found. I documented the journey here: https://forum.snapcraft.io/t/snapcraft-suddenly-fails-installing-build-snaps/43782/5 not sure if it actually should/can be solved in this repository or not as I don't have enough experience yet with the platform but I wanted to at least inform you about it as maybe you have an idea. I will downgrade the flutter_web_auth_2 package in the meantime.