funkwhale_ynh icon indicating copy to clipboard operation
funkwhale_ynh copied to clipboard

Upgrade fail on arm architecture

Open Josue-T opened this issue 2 years ago • 4 comments

Describe the bug

App upgrade fail on arm.

Context

  • Hardware: BanaPi R2, (Armv7)
  • YunoHost version: 4.3.6
  • Previous app version: 1.1.4~ynh1

Steps to reproduce

On arm board do: sh sudo yunohost app upgrade funkwhale

Expected behavior

App upgrade should success but it fail.

Logs

https://paste.yunohost.org/aqipezezet.bash

Josue-T avatar Jan 18 '22 19:01 Josue-T

That was temporary when python module cryptography wasn't available wheels and needed to be compiled from source. Now it's available

yalh76 avatar Oct 03 '22 21:10 yalh76

Hello,

I'have tested again and I still have the issue. On x86 the wheel package are available but not on armv7. On armv7 we must install rust to fix the issue. Or use a prebuilt package as I a do on the synapse package here

Josue-T avatar Oct 04 '22 04:10 Josue-T

or maybe we can have a look at extracting from docker ^^ https://hub.docker.com/r/funkwhale/funkwhale/tags

yalh76 avatar Oct 04 '22 18:10 yalh76

If the version of the lib are same it could work. Because when we do this we must use a build for the exact same version of all dependencies. It's why I do a build for buster and bullseye.

Josue-T avatar Oct 05 '22 04:10 Josue-T