rive-app / rive-app/rive-flutter
Flutter test fail on Ubuntu 22.04
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1.5k
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Description
Submission checklist
- I have confirmed the issue is present in the latest version of the
riveFlutter package - I have searched the documentation and forums and could not find an answer
- I have searched existing issues and this is not a duplicate
Description
I’m running into an issue on GitHub Actions where jobs using Ubuntu 22.04 fail to load the dynamic library librive_native.so, even after running dart run rive_native:setup --verbose --clean --platform linux.
Ubuntu 24.04 does not appear to have this issue, and the tests pass there without any problems.
The failure was first identified on my company’s self-hosted custom runners, which are based on Ubuntu 22.04. Since those runners cannot be upgraded for now, this issue is currently blocking us.
I’m aware that there is also a --build option, although I haven’t tested it yet. Since it requires additional system packages and tooling to be installed, I would prefer to avoid that route unless it is strictly necessary. Using the existing prebuilt binaries would be preferable.
I’ve attached screenshots from the runs available in my public repo, which I created specifically to reproduce the issue.
Reproduction steps / code
dart run rive_native:setup --verbose --clean --platform linux
flutter test
Upload your reproduction files / stack trace
No response
Source .riv / .rev file
No response
Screenshots / video
Rive Flutter package version
0.14.6
Flutter version
Flutter 3.35.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9f455d2486 (7 months ago) • 2025-10-08 14:55:31 -0500
Engine • hash a5f2c36e367c13f868cfe98db5806f562c52c35e (revision d2913632a4) (6 months ago) • 2025-10-07 17:26:21.000Z
Tools • Dart 3.9.2 • DevTools 2.48.0
Device
Linux
OS version
Ubuntu 22.04
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The reported entry points are dart run rive_native:setup --verbose --clean --platform linux and flutter test; reproduce them on Ubuntu 22.04 in GitHub Actions and compare with Ubuntu 24.04. Done means the prebuilt librive_native.so loads and the tests pass without requiring --build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, github-actions, ubuntu
- Domain
- build-system, ci-cd, operating-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100