-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
APPRUN_ERROR: No such file or directory #272
APPRUN_ERROR: No such file or directory #272
Comments
I noticed in your x64 yml you have does that help? I wonder if non-arm64 binaries are inside the appimage. |
I had a quick moment to run the AppImageBuilder tool against your yml file (but not enough time to compile your project). Assuming your project is compiled correctly, I can see one large issue with the architecture of
|
Hello,
by running the same command you used I can only see aarch64 libraries. I can make it explicit to use arm64 repos, but libs installed from the repos seem to be for the aarch64 arch. |
How about if you use the |
Unfortunately I did that but I did not get much more info:
|
It is probably something done to the binary by appimage-builder itself. When I copy the binary into the AppDir directory and appimage-builder is executed, the md5 of the binary changes. The new binary stops working and returns the same error of the appimage:
The original binary was working instead. This is what changes in the elf:
init, data and other sections are lost it seems. Is this expected? |
As mentionned by @carlonluca , it seems to be the same issue than #278 |
I wonder if this is an "off by one" error or intentional. I can understand the reasoning for using a relative path to ld-linux but it seems suspicious to me. Does the resulting AppDir have a |
Yes, I noticed that, but I suspect that is expected. This is inside the AppDir:
and also it seems on x64 the change is identical:
Missing init and data section is also suspect. |
Are the sections actually missing or did the names get stripped? I'm not familiar with either ELF format basics or stripping of ELF files. |
Unfortunately I do not have an answer to this. I guess the names are stripped, not sure if this is a problem or not. However, the fact that the binary cannot be even started seems to suggest there is a problem very early in the process. |
Without the aarch64 linux interpreter in the patterns, the interpreter is not placed under the runtime/compat directory. This fixes AppImageCrafters#272.
Without the aarch64 linux interpreter in the patterns, the interpreter is not placed under the runtime/compat directory. This fixes #272.
* meta.json, upload-module step * tweak appimage-tag to run in branch (without uploading) * Revert "tweak appimage-tag to run in branch (without uploading)" This reverts commit c73a5c0. * explicitly bundle ref name * bugfix: z flag to fix 'unknown content-type for package' * tweak to run in branch (no gcp upload) * Revert "tweak to run in branch (no gcp upload)" This reverts commit 7e87e7b. * module private -> public * detect release / continuous mode in version * run in branch mode * check for aix * Revert "check for aix" This reverts commit c94da59. * try static build of aix to solve apprun error * try without aix wrapper * try including bash * try bumping canon min date * build docker on non-main branch (tmp) * actually build docker on non-main * reduce parallelism on viam-sdk to solve oom * par back to j8, larger box, add missing packages.write permission * revert docker in branch changes from 24949e3 7ab5df3 * use latest appimage-builder to fix AppImageCrafters/appimage-builder#272 * build docker in branch * add back --break-system-packages * Revert "build docker in branch" This reverts commit 3fb012a. * target canon image with working appimage-builder * revert changes to appimage recipe * Revert "run in branch mode" This reverts commit 4b13f7e.
I'm having a problem very similar to #148; when running the appimage I get:
APPRUN_ERROR: No such file or directory
The problem only appears on arm64, the x64 appimage works properly. As said in #148, I mounted the appimage and this is what I see in the env file:
APPDIR_EXEC_PATH=$APPDIR/usr/bin/procweb-qt
and in fact it is there:
Is the relative path for the interpreter correct? Can this be caused by a missing dependency?
This is the first time I use appimage-builder, so I do not fully understand how it works yet. My project is however open source, so this is the recipe I built: https://github.com/carlonluca/procweb/blob/master/appimage-builder/AppImageBuilder_aarch64.yml.
Any idea how I could debug further? Thanks!
The text was updated successfully, but these errors were encountered: