Open onny opened 1 month ago
That seems like it's still compiling it for the wrong arch. The binary uses a wrong format. What's your build environment?
Thank you @Chaphasilor for the hint, also tried
flatpak-builder --arch=aarch64 --force-clean build-dir com.unicornsonlsd.finamp.yaml --repo=repo --install --user
But still the same error.
I'm running the latest PostmarketOS release, native aarch64 on the OnePlus6 phone https://wiki.postmarketos.org/wiki/OnePlus_6_(oneplus-enchilada)
Ah the problem is that the flatpak build script uses prebuilt binary sources for finamp. Maybe we could build it from source? https://github.com/flathub/com.unicornsonlsd.finamp/issues/11
I compiled finamp on an ubuntu arm64 v-server:
binary tarball: https://project-insanity.org/wp-content/uploads/2024/08/finamp-linux-release.tar.gz
added this tarball to the flatpak and produced https://project-insanity.org/wp-content/uploads/2024/08/finamp.flatpak
on my smartphone i get (alpinelinux arm64):
flatpak run com.unicornsonlsd.finamp
finamp: symbol lookup error: finamp: undefined symbol: g_once_init_enter_pointer
Hey, build went successfull after adding aarch64 to supported architectures. But running it fails with:
Related https://github.com/jmshrv/finamp/issues/766
Regards Jonas