YunoHost-Apps / gotosocial_ynh

GoToSocial package for YunoHost: an ActivityPub social network server, written in Golang.
https://gotosocial.org
Other
10 stars 5 forks source link

Support for armhf more than armv7 #139

Closed rosbeef closed 2 months ago

rosbeef commented 4 months ago

Problem

error : Failed to provision sources : In resources.sources: it looks like you forgot to define url/sha256 or armhf.url/armhf.sha256

Solution

add armhf.url line with the same armv7 url source in the manifestt.toml

PR Status

OniriCorpe commented 4 months ago

i don't understand your problem

this package doesn't have an armhf source because it distinguishes armv6 and armv7

your addition in the manifest.toml would not be used by the package's scripts because it's out of its logic

rosbeef commented 4 months ago

In Debian Linux and derivatives such as Ubuntu and Linux Mint, armhf (ARM hard float) refers to the ARMv7 architecture

source https://en.wikipedia.org/wiki/ARM_architecture_family

rosbeef commented 4 months ago

Before armhf or so armv7, Debian name the arch, "armel" so armv6 shoud be changed to armel too, but i have not this kind of hardware to test it bymyself

better source : https://www.debian.org/ports/arm/index.en.html

OniriCorpe commented 4 months ago

AFAIK the yunohost default detection returns armhf for both armv6 and armv7 see: https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/scripts/_common.sh#L12

anyway, can't do anything without logs or the actual detailed problem

rosbeef commented 4 months ago

Here it is. https://paste.yunohost.org/raw/cakalufuyi

The ynh_setup_source is using "dpkg --print-architecture" to detect arch (https://yunohost.org/en/packaging_apps_resources#sources) which return armhf for my armv7l arch. odroidxu4.

Maybe here is the difference. j;)