MixinNetwork / MixinNetwork/flutter-plugins

Linux SNAP build error

Open
#300 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I added this desktop_webview_window: ^0.2.3 lib in pubspec.yaml

Go to run snapcraft command facing this issue

i can't generate snap build

/usr/bin/ld: /snap/gnome-42-2204-sdk/current/usr/lib/x86_64-linux-gnu/libdw.so.1: undefined reference to `elf_strptr@ELFUTILS_1.0'
2023-11-08 15:57:46.852 :: 2023-11-08 10:27:40.854 :: [ ] clang: error: linker command failed with exit code 1 (use -v to see invocation)
2023-11-08 15:57:46.852 :: 2023-11-08 10:27:40.854 :: [ ] ninja: build stopped: subcommand failed.
2023-11-08 15:57:46.852 :: 2023-11-08 10:27:40.863 :: [ +9 ms] Building Linux application... (completed in 74.8s)
2023-11-08 15:57:46.852 :: 2023-11-08 10:27:40.864 :: [ +1 ms] "flutter linux" took 75,727ms.
2023-11-08 15:57:46.852 :: 2023-11-08 10:27:40.870 :: [ +6 ms] Build process failed

Version (please complete the following information):

  • Flutter Version: [v3.13.9]
  • OS: [Linux]

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

Reproduce the failure with Flutter v3.13.9 on Linux by running the snapcraft build for the project using the dependency in pubspec.yaml. Start with the reported libdw.so.1 and ELFUTILS_1.0 linker error; done means the Linux application completes its Snap build without the undefined-reference failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, linux
Domain
build-system, desktop-dev, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.