rive-app / rive-flutter

Flutter runtime for Rive
https://rive.app
MIT License
1.16k stars 180 forks source link

Unable to build flutter application for linux #390

Open rolandgeider opened 1 month ago

rolandgeider commented 1 month ago

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)

Additional context

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

FeodorFitsner commented 1 month ago

Got the same error: https://ci.appveyor.com/project/flet-dev/flet/build/job/8ml3csb67k1mi5dr#L1994

FeodorFitsner commented 1 month ago

0.13.2 introduced that issue. 0.13.1 gives successful build: https://ci.appveyor.com/project/flet-dev/flet/builds/49860784/job/ctoa28981dcvrgg5#L1926

0.13.2 adds rive_common native plugin: https://github.com/flet-dev/flet/commit/40030648ff9de15c80dfe83990aeb729cfd80c25#diff-b944988673a542aa817aea9d0faaa93591b3acab9f6b5ca62be94d0b951c8989

Toph92 commented 1 month ago

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