Skip to content

Can't cross compile to armv7 from Fedora36 + podman #1010

Closed
@tmayoff

Description

@tmayoff

Checklist

Describe your issue

I'm trying to setup a cross compile setup for my to ease my development of a raspberry pi project.

But after the initial clone / setup all I get is this

Error: lsetxattr /nix/store/.links: operation not permitted

Looking around it seems to be a SELinux issue but I'm not sure how to go about fixing it

What target(s) are you cross-compiling for?

armv7-unknown-linux-gnueabihf

Which operating system is the host (e.g computer cross is on) running?

  • macOS
  • Windows
  • Linux / BSD
  • other OS (specify in description)

What architecture is the host?

  • x86_64 / AMD64
  • arm32
  • arm64 (including Mac M1)

What container engine is cross using?

  • docker
  • podman
  • other container engine (specify in description)

cross version

cross 0.2.4 (47df5c7 2022-08-30)

Example

git clone --branch cross https://github.com/tmayoff/lgaircon.git

cross build --target armv7-unknown-linux-gnueabihf

Additional information / notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugselinuxIssue with SELinux labels or SELinux iteself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions