Open olivierlemasle opened 5 months ago
I swear the appimage bundler makes me go mental 😂 (or already did 🤔)
See the release notes here: https://github.com/tauri-apps/binary-releases/releases/tag/linuxdeploy - I did upgrade it to latest but it broke the bundler even more so i reverted it.
Also, can you confirm that a new version would actually fix your issue? If you copy paste the file into ~/.cache/tauri
the bundler should pick it up. If it overwrites i guess you'd have to modify the cli/bundler to skip the download for a test :/
Edit: the revert is not permanent, but since it's our production cdn i had to revert it asap and did not have a chance to look into the problem yet.
Sorry, I did not see your past upgrade, and when I first read https://github.com/tauri-apps/binary-releases/releases/tag/linuxdeploy, I did not have my Discord credentials, so I didn't read the conversation there and assumed this was an old revert.
Anyway, as I want to preserve your mental health :exploding_head:, I'll look at this appimage issue with latest linuxdeploy
(BTW, was it the latest, i.e. 1-alpha-20240109-1, or the previous one?). I'll try to reproduce (and fix if possible) the issue reported on Discord.
I'll keep this issue open, as the problem is real, but it is quite easy to circumvent (just delete the symlink). BTW, I confirm that the issue is solved with latest linuxdeploy.
I guess that something could be improved in the future:
linuxdeploy
binariesAnyway, as I want to preserve your mental health 🤯,
❤️
I'll look at this appimage issue with latest linuxdeploy (BTW, was it the latest, i.e. 1-alpha-20240109-1, or the previous one?). I'll try to reproduce (and fix if possible) the issue reported on Discord.
It was the latest Continuous build. I didn't revert the arm binaries so the link for that is the version that was broken.
BTW, I confirm that the issue is solved with latest linuxdeploy.
Cool, thanks 👍
use versioned linuxdeploy binaries
Maybe, yeah. As long as we can keep updating the version on the fly without a new bundler/cli release (at least as long as we're having so many issues with it lol)
perhaps make it easier to customize the appimage script
Yeah, that'd be nice ig. There are probably more places in the cli/bundler this applies too.
It was the latest Continuous build. I didn't revert the arm binaries so the link for that is the version that was broken.
In https://github.com/tauri-apps/binary-releases/releases/tag/linuxdeploy, the link for arm is the same as for x86. I guess it's an error.
However, the Discord thread has logs showing that the problematic version of linuxdeploy was 4b24a49
use versioned linuxdeploy binaries
Maybe, yeah. As long as we can keep updating the version on the fly without a new bundler/cli release (at least as long as we're having so many issues with it lol)
Ok, I understand. However, it means builds are not reproducible...
perhaps make it easier to customize the appimage script
Yeah, that'd be nice ig. There are probably more places in the cli/bundler this applies too.
I'll think about a way to configure appimage building. I don't know if new environment variables is the way to go...
In https://github.com/tauri-apps/binary-releases/releases/tag/linuxdeploy, the link for arm is the same as for x86. I guess it's an error.
Whoops, copy pasting is hard, fixed.
Ok, I understand. However, it means builds are not reproducible...
If you think this is valuable then we can change it (idk if we should wait for v2?), i can't say i actually care about the appimage bundler anymore so idk why i even said anything against it.
I'll think about a way to configure appimage building. I don't know if new environment variables is the way to go...
Maybe what we do on windows to allow custom wix and nsis templates?
Describe the bug
I couldn't build AppImages, because I hit this linuxdeploy bug: https://github.com/linuxdeploy/linuxdeploy/issues/241
Reproduction
On Linux, with no
root
permissions:Then try to do a Tauri build.
Expected behavior
Build AppImages successfully, with a recent version of
linuxdeploy
.Full
tauri info
outputStack trace
Additional context
The linuxdeploy bug was fixed in https://github.com/linuxdeploy/linuxdeploy/pull/242
A recent version of linuxdeploy would fix the issue.
tauri-builder
is using the latestlinuxdeploy
release from https://github.com/tauri-apps/binary-releases:https://github.com/tauri-apps/tauri/blob/5cb196976e5c84f2a34a34018e957424105cf42f/tooling/bundler/src/bundle/linux/templates/appimage#L73