From 84492befc5560d686b7e9ca4d439501445cffd37 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 28 Jul 2019 10:41:38 +0200 Subject: [PATCH] temp/mesa-git: build for arm, not for all arches Avoid build failure for x86: >>> mesa-git-glapi*: Running postcheck for mesa-git-glapi >>> ERROR: mesa-git-glapi*: Found textrels: TEXTREL /home/pmos/build/pkg/mesa-git-glapi/usr/lib/libglapi.so.0.0.0 The package is only used for armhf, armv7, aarch64 devices currently, so change the arch line in the APKBUILD accordingly. $ cd device $ for i in $(git grep mesa-git | cut -d/ -f1); do grep -H arch $i/deviceinfo; done device-asus-flo/deviceinfo:deviceinfo_arch="armhf" device-lg-hammerhead/deviceinfo:deviceinfo_arch="armv7" device-pine-a64lts/deviceinfo:deviceinfo_arch="aarch64" device-pine-dontbeevil/deviceinfo:deviceinfo_arch="aarch64" device-sony-castor-windy/deviceinfo:deviceinfo_arch="armhf" device-sony-sirius/deviceinfo:deviceinfo_arch="armv7" [ci:skip-vercheck]: only changed arch line Fixes: ce7e4d79e1b4d25e6912699abe1955a99cbf33f7 ("temp/mesa-git: new aport (!524)") --- temp/mesa-git/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temp/mesa-git/APKBUILD b/temp/mesa-git/APKBUILD index 19b6b6a89..9c7803c0f 100644 --- a/temp/mesa-git/APKBUILD +++ b/temp/mesa-git/APKBUILD @@ -13,7 +13,7 @@ pkgrel=0 _commit="cd02f60c1e9d0ef37e4defb8e6b00433990fd90c" pkgdesc="(Git) Mesa DRI OpenGL library" url="https://www.mesa3d.org" -arch="all" +arch="armhf armv7 aarch64" license="MIT SGI-B-2.0 BSL-1.0" subpackages=" $pkgname-dev