Cluelesson why aarch64 appimage fails to compile

Using the

OBS:AppImage/AppImage.leap_15.2

repository, my other software seems to compile fine using similar build scripts


   79s] /usr/src/packages/SOURCES
   79s] echo zsync_url: zsync|https://download.opensuse.org/repositories/home:/jpenguin:/Games/AppImage/Bugdom-latest-aarch64.AppImage.zsync
   79s] Use appimagetool
   79s] /usr/src/packages/OTHER /usr/src/packages/SOURCES
   79s] appimagetool, continuous build (commit ), build <local dev build> built on 2021-08-23 17:04:48 UTC
   79s] More than one architectures were found of the AppDir source directory "/usr/src/packages/Bugdom-0-Build2.3-aarch64"
   79s] A valid architecture with the ARCH environmental variable should be provided
   79s] e.g. ARCH=x86_64 appimagetool ...
   79s] ### VM INTERACTION START ###
   83s]    73.752982] sysrq: Power Off
   83s]    73.753550] reboot: Power down
   83s] ### VM INTERACTION END ###
   83s] 
   83s] obs-arm-10 failed "build appimage.yml" at Mon Aug 23 17:46:28 UTC 2021.
   83s]

https://build.opensuse.org/package/live_build_log/home:jpenguin:Games/Bugdom/AppImage/aarch64

So nobody has any ideas? I rewrote the build scripts and am getting the same results, there are no executable files in the source directory!

Well, I am not sure where this comes from:

  124s] ld-linux.so.2 ld-linux-x86-64.so.2 ...

but apparently these files are there. appimagetool checks architecture of any .so. file it can find, so it picks up ld-linux-x86-64.so.2 as the second arch. Try adding

ls -lR $BUILD_APPDIR/

as the very last step to see what files are actually present.

   79s] A valid architecture with the ARCH environmental variable should be provided
   79s] e.g. ARCH=x86_64 appimagetool ... 

And did you try it?

I’ll get out my raspberry pi and try these changes locally, but I honestly don’t know how to add parameters to the OBS scripts

https://build.opensuse.org/package/view_file/home:jpenguin:Games/Bugdom/appimage.yml?expand=