-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[bug] Cannot build or install on aarch64
#4174
Comments
I forgot to mention that |
I'll see if we can use a similar approach hdclark/DICOMautomaton@960f927 |
I guess not since we use linuxdeploy plugins. Maybe we should build it ourselves. |
Good news is the maintainer wants to implement it in the next few weeks. |
Sorry, could you please add a bit more context? I am not following. Are you trying to say that the If this is the case, is there any documentation, or any guidance that can be provided for manually building the project for |
Yeah we use linuxdeploy and they do not ship aarch64 builds yet. The maintainer stated that he finish the pending PR in the next few weeks, see linuxdeploy/linuxdeploy#175 (comment). |
Cool, thank you.
What I really mean by building it manually is that when you run If you can point me in the right direction, I would greatly appreciate it._ |
I never tried to build on aarch64 yet, but I know some folks had success with it, try checking the arm-platform channel on our Discord: https://discord.com/channels/616186924390023171/837614826900946954 |
Are there already any updates?
As far as I can see it's not finished. |
doesn't look like it. And we currently don't have the capacity to help them out either. |
Ok understandable 🫤, thanks for the update anyway. |
hi everyone, any updates on this ? |
We now need aarch64 as well. I wonder if it will be updated? |
Are there any other solutions? tauri-updater in Linux-ARM64 environment Because linux system needs appimage, the application cannot be updated |
Is there any update on this cause many people like me are starving to get it done and can not find any solution. |
Hi any updates on this? autoupdater for aarch64 seems to be in a limbo because of this. Also, has there been any workaround to get this working? |
Just FYI, it seems like linux deploy has fixed this issue, so hopefully this will be working soon: linuxdeploy/linuxdeploy#175 (comment) |
Now that linuxdeploy has fixed this issue, is there a timeline for a patch to support AppImage for arm64 devices? |
I uploaded the linuxdeploy binaries to our mirror. Building on arm devices should work now without needing changes in the cli or bundler. I can't check cross compiling (from x86_64 to arm), which isn't really well supported anyway, until probably next week. |
Building and running appimages on arm now works. Cross compiling from x86_64 to arm however does not and is tracked here linuxdeploy/linuxdeploy#258. For now you'll have to build on arm devices or inside something like a qemu vm (qemu can emulate different architectures). |
@FabianLars Thank you very much for your update. I am kind of confused on what should we do to get a appimage for arm64 device. Do you have any rough cut steps written down on how to get this working? |
@hvpavan As said above, you'll need an arm device you can build the app on.* If you have that set up, you can follow tauri's usual Linux instructions here https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-linux and then use the default * i mentioned (qemu) vms that can emulate the processor architecture too, but i do not know how to set them up. Google etc should hopefully help though since this part is not tauri specific. |
Describe the bug
When building any Tauri project on aarch64 platform, specifically, a Raspberry Pi 4, when
targets = "all"
, the command fails to complete erroring onAppImage
, becausearch
is erroneously set tox86_64
.deb
does build, but produces an uninstallable binary, though this is most likely my fault for not knowing how to properly install it.The command I use to try and install the
.deb
is:which produces the error:
The error above mentions two packages, both of which I have installed.
This leaves an malinstalled application. If I attempt to run it, I get the following error from
tauri
:And then proceeds to open a browser window I can't read, but seems to be some form of a script.
Reproduction
tauri app
on (presumably) anyaarch64
platformnpx tauri build
appimage
sudo dpkg -i path/to/file.deb
If you change
targets = "deb"
instead, the above still happens, except forappimage
, as it should.Expected behavior
I expect the app to successfully build and install on
aarch64
platforms runningRaspberry Pi OS 64 bit
.Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: