You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: ARMv6 should be armhf and ARMv5 should be armel #2721
Since GoReleaser v1.0.0, armhf is mapped to armv7 while armel is mapped to armv6. However, Raspbian, a derivative of Debian still used today, considers armhf to be armv6. Therefore, the Debian packages generated by GoReleaser does not work and users get "Illegal instruction" errors.
I am a bit lost at what exactly GoReleaser does because GoReleaser seems to get armhf.deb and armel.deb, while we get armv6.deb and armv7.deb. I don't know if there is an easy way to check the real EABI of the DEB files from GoReleaser as file says ARM, EABI5 version 1 whatever it is for ARMv6 or ARMv7.
Activity
caarlos0 commentedon Dec 3, 2021
GoReleaser get those names because of https://github.com/goreleaser/goreleaser/blob/main/.goreleaser.yaml#L170
Shouldn't arm7 be armhf?
Those arches come from here: https://github.com/goreleaser/nfpm/blob/main/deb/deb.go#L36-L45
caarlos0 commentedon Dec 3, 2021
yeah, its wrong, arm6 is armhf, arm5 is armel, no idea what arm7 is supposed to be
caarlos0 commentedon Dec 3, 2021
seems like also armhf...
vincentbernat commentedon Dec 3, 2021
For Debian, armhf is arm7 while for Raspbian, armh is arm6, so better use arm6→armhf and arm5→armel.
caarlos0 commentedon Dec 3, 2021
see goreleaser/nfpm#412
Fix deb packaging for ARM v6/v7
Fix deb packaging for ARM v6/v7