Mail archive
alpine-devel

[alpine-devel] How to cross build APK?

From: Magicloud Magiclouds <magicloud.magiclouds_at_gmail.com>
Date: Wed, 20 Feb 2019 23:33:55 +0800

Hi,

I am trying to make an APK to address a requirement on RPI3. But my
working machine is X86_64. `abuild -r` only generates x86_64 package
and APKINDEX.

I tried to set `CTARGET` and `CHOST` to aarch64, then ran `abuild -r`. I got:

```
>>> my_apk: Analyzing dependencies...
ERROR: unsatisfiable constraints:
  build-base-aarch64 (missing):
    required by: .makedepends-my_apk-0[build-base-aarch64]
>>> ERROR: headless: builddeps failed
```

On pkgs.alpinelinux.org, I see only build-base package for each arch.
No such exact name.

What should I do? Since the content of the package is just shell
script, I do not even need gcc or so.

Thanks.
--
竹密岂妨流水过
山高哪阻野云飞
And for G+, please use magiclouds#gmail.com.
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Feb 20 2019 - 23:33:55 UTC