Skip to content

[Bug]: ARMv6 should be armhf and ARMv5 should be armel #2721

Closed

Description

@vincentbernat

What happened?

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.

How can we reproduce this?

We are using this configuration file: https://github.com/nextdns/nextdns/blob/master/.goreleaser.yml

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.

See nextdns/nextdns#626 and nextdns/nextdns#624 (comment).

goreleaser version

1.1.0 fails: https://github.com/nextdns/nextdns/runs/4396570024?check_suite_focus=true
1.0.0 fails too: https://github.com/nextdns/nextdns/runs/4258994552?check_suite_focus=true
0.182.0 is OK: https://github.com/nextdns/nextdns/runs/4400025574?check_suite_focus=true

GoReleaser Check

  • goreleaser check shows no errors

Search

  • I did search for other open and closed issues before opening this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

Activity

  1. caarlos0 commented on Dec 3, 2021

    @caarlos0
    Member

    Shouldn't arm7 be armhf?

    yeah, its wrong, arm6 is armhf, arm5 is armel, no idea what arm7 is supposed to be

  2. caarlos0 commented on Dec 3, 2021

    @caarlos0
    Member

    what arm7 is supposed to be

    seems like also armhf...

  3. vincentbernat commented on Dec 3, 2021

    @vincentbernat
    ContributorAuthor

    For Debian, armhf is arm7 while for Raspbian, armh is arm6, so better use arm6→armhf and arm5→armel.

  4. caarlos0 commented on Dec 3, 2021

    @caarlos0
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions