Mail archive
alpine-devel

Re: [alpine-devel] How to cross build APK?

From: Magicloud Magiclouds <magicloud.magiclouds_at_gmail.com>
Date: Tue, 26 Feb 2019 13:38:40 +0800

Hi,

I see. Forgot the "community/PKGNAME" usage. Thanks.

On Mon, Feb 25, 2019 at 10:57 PM Tuan Hoang <tmhoang_at_linux.vnet.ibm.com> wrote:
>
> It's been a while since I used bootstrap.sh so I might be wrong.
>
> On 2/21/19 10:14 AM, Magicloud Magiclouds wrote:
> >
> > Then I modified the script, replaced the last part of building a bunch
> > of packages, with `CHOST=$TARGET_ARCH BOOTSTRAP=bootimage
> > APKBUILD="$(apkbuildname "${2}")" abuild -vr`. And found that it
> > cannot build non-main repos.
> >
>
> It could. See 'for PKG' loop at line 98.
>
> > ```
> > abuild-apk add --quiet --simulate --wait 30 --repository
> > /home/me/packages//community --virtual .makedepends-my_pkg
> > build-base-aarch64
> > ERROR: unsatisfiable constraints:
> > build-base-aarch64 (missing):
> > required by: .makedepends-my_pkg-0[build-base-aarch64]
> > ```
> >
> > If I put my_pkg in community repos in aports, I got above error. I
> > think the failure is because of build-base-aarch64 is in main, but
> > abuild-apk did not use it.
>
> You are installing a package from main (build-base) while specifying the community repo with --repository flag.
>
> Cheers,
>
>
>
> ---
> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-devel+help_at_lists.alpinelinux.org
> ---
>


-- 
竹密岂妨流水过
山高哪阻野云飞
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 Tue Feb 26 2019 - 13:38:40 UTC