X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lists.alpinelinux.org (Postfix) with ESMTP id 4979DF831A4 for ; Mon, 25 Feb 2019 14:56:37 +0000 (UTC) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1PEs7ll049201 for ; Mon, 25 Feb 2019 09:56:36 -0500 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0b-001b2d01.pphosted.com with ESMTP id 2qvj8j93kr-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 25 Feb 2019 09:56:36 -0500 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 25 Feb 2019 14:56:34 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 25 Feb 2019 14:56:32 -0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1PEuV5631588572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 25 Feb 2019 14:56:31 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 63A4F4203F for ; Mon, 25 Feb 2019 14:56:31 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 41FD842049 for ; Mon, 25 Feb 2019 14:56:31 +0000 (GMT) Received: from oc7167334104.ibm.com (unknown [9.152.224.115]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP for ; Mon, 25 Feb 2019 14:56:31 +0000 (GMT) Subject: Re: [alpine-devel] How to cross build APK? To: alpine-devel@lists.alpinelinux.org References: <20190220153621.GD1587@homura.localdomain> From: Tuan Hoang Date: Mon, 25 Feb 2019 15:56:31 +0100 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19022514-0016-0000-0000-0000025AA97F X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19022514-0017-0000-0000-000032B5073D Message-Id: <4cebd1b1-d8ef-c70e-01e2-286f3a5be80f@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-25_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=865 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902250110 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@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---