-
-
Notifications
You must be signed in to change notification settings - Fork 172
Release build error after including flutter_gpiod #237
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
Comments
does it work if you remove flutter_gpiod again? To be honest I highly doubt it has anything to do with flutter_gpiod, that's just some dart code It seems like that's a problem with the distro or some incompatibility of the compiled gen_snapshot. Did you do a |
Have you seen this error before with the release build? I looked into it a bit and it seems to be some sort of issue with a missing dependency, but I can't really find anything specific to this application. I haven't done |
I mean normally asserts should only be there to catch application bugs, and if you google the error that's what it says (for example this) |
That's one of the threads I looked through while researching the issue, this snippet from glibc in the accepted answer lead me to believe it's a dependency issue:
Specifically the comment and It seems fairly likely the Linux distro is to blame, but I wanted to check in here in case this is a known issue. |
Yeah, it's still happening with flutter_gpiod commented out. I'll go ahead and close this issue since it seems to just be a problem with my build environment. |
Okay, yeah |
I tried that before, but couldn't really glean anything useful. This is the full output with LD_DEBUG, in case it makes more sense to you.
|
I fixed the problem, just in case anyone else has this issue and winds up here somehow. I had gen_snapshot_linux_x64 saved in my repo for building, but switching branches and pulling the file back down caused it to get corrupted. All I needed to do was redownload that file. |
When I attempt to make a release build of my app using gen_snapshot_linux_x64, I get the error:
I've made release builds of this app before without updating Flutter or my engine binaries, it stopped working after including flutter_gpiod. The debug build still works fine with this package as well.
I'm currently on Flutter version 2.8.1 and Dart 2.15.1 with the appropriate engine binaries / gen_snapshot_linux_x64_release file. I'm attempting to run the file in a WLS install of Kali Linux. These are the exact build commands I'm using:
The text was updated successfully, but these errors were encountered: