Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build flutter application for linux #390

Open
rolandgeider opened this issue May 12, 2024 · 7 comments
Open

Unable to build flutter application for linux #390

rolandgeider opened this issue May 12, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@rolandgeider
Copy link

Description

It seems it's not possible to build flutter application for linux

Steps To Reproduce

$ flutter build linux

/home/roland/entwicklung/wger/flutter/linux/flutter/ephemeral/.plugin_symlinks/rive_common/macos/SheenBidi/Source/SBParagraph.c:618:16: error: unused variable 'stringLength' [-Werror,-Wunused-variable]
Building Linux application...                                           
Build process failed

Source .riv/.rev file

n/a

Expected behavior

The build succeds. It seems that 0.13.0 is the version that introduced the bug, it's possible to build the application with 0.12.4 without any problems.

Screenshots

n/a

Device & Versions (please complete the following information)

  • Device: linux
  • OS: Ubuntu 22.04
  • Flutter Version:
Flutter 3.19.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 54e66469a9 (vor 4 Wochen) • 2024-04-17 13:08:03 -0700
Engine • revision c4cd48e186
Tools • Dart 3.3.4 • DevTools 2.31.1

Additional context

Also happens on github's CI: https://github.com/wger-project/flutter/actions/runs/9052280531/job/24869782253

@FeodorFitsner
Copy link

@FeodorFitsner
Copy link

@Toph92
Copy link

Toph92 commented Jun 1, 2024

Same error with 0.13.1 and latest 0.13.5 on Linux Mint.
Build is OK with 0.12.4 thanks rolandgeider

/home/cdesbois/Documents/flutter_app/SP/linux/flutter/ephemeral/.plugin_symlinks/rive_common/macos/SheenBidi/Source/SBParagraph.c:619:16: error: unused variable 'stringLength' [-Werror,-Wunused-variable]

flutter --version
Flutter 3.22.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5dcb86f68f (il y a 3 semaines) • 2024-05-09 07:39:20 -0500
Engine • revision f6344b75dc
Tools • Dart 3.4.0 • DevTools 2.34.3

@KingkorAtMaxint
Copy link

This should be higher priority issue. Almost 2 months but no fix is applied for an unused variable warning causing build error. Please update it with a fix.

@FeodorFitsner
Copy link

Is there any update? It's still impossible to build the app for Linux with the latest Rive.

@jwinarske
Copy link

jwinarske commented Sep 28, 2024

As a data point I build Rive 0.4.11 (added CMake) for Yocto Linux using this repo:
https://github.com/meta-flutter/rive-common/

The install target also installs a package config file.

This Yocto recipe supports both GCC 13 and Clang 18:
https://github.com/meta-flutter/meta-flutter/blob/scarthgap/recipes-graphics/rive/rive-text_0.4.11.bb

@wenyue
Copy link

wenyue commented Oct 24, 2024

Same issue, please fix this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants