MixinNetwork / MixinNetwork/flutter-plugins

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

Open
#379 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
512
Forks
292
Avg merge
15h 8m
Merged PRs (30d)
7

Description

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):

  • Flutter Version: v3.24.5
  • OS: Linux, Ubuntu 24.04
  • plugin: flutter_web_auth_2

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with a minimal project using the snapcraft.yaml file and the gnome extension on Ubuntu 24.04, then compare the conflicting libelf.so.1 with the core24 and gnome-46-2404 platform snaps. Done means the project builds successfully in Snapcraft without the library conflict; the linked Snapcraft forum investigation provides additional context.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, ubuntu
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.