From c83052c9f35bfe2fca1cd6be81efc8a07564b1c7 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 17 Dec 2018 07:17:33 +0100 Subject: [PATCH] temp/qemu: disable block-curl module Workaround for a build error on aarch64, where the binary package repository is currently stuck. Compiling it for aarch64 like this: $ pmbootstrap build --strict --arch=aarch64 qemu Resulted in: >>> qemu: Analyzing dependencies... ERROR: unsatisfiable constraints: openssl-dev-1.1.1a-r0: conflicts: libressl-dev-2.7.4-r2[pc:libcrypto=1.1.1a] libressl-dev-2.7.4-r2[pc:libssl=1.1.1a] libressl-dev-2.7.4-r2[pc:openssl=1.1.1a] satisfies: curl-dev-7.62.0-r2[openssl-dev] libssh2-dev-1.8.0-r4[pc:libcrypto] libssh2-dev-1.8.0-r4[pc:libssl] spice-dev-0.14.1-r3[pc:openssl] libressl-dev-2.7.4-r2: conflicts: openssl-dev-1.1.1a-r0[pc:libcrypto=2.7.4] openssl-dev-1.1.1a-r0[pc:libssl=2.7.4] openssl-dev-1.1.1a-r0[pc:openssl=2.7.4] satisfies: world[libressl-dev] libssh2-dev-1.8.0-r4[pc:libcrypto] libssh2-dev-1.8.0-r4[pc:libssl] spice-dev-0.14.1-r3[pc:openssl] >>> ERROR: qemu: builddeps failed Note that the only package not mentioned in both "satisfies" outputs is curl-dev. The real questions are: why is libressl-dev getting pulled in at all? (Alpine switched back from libressl to openssl, so this should not happen). And why does this only happen for aarch64, but not for x86_64 and armhf? But at least this patch unblocks the package builder. --- temp/qemu/APKBUILD | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/temp/qemu/APKBUILD b/temp/qemu/APKBUILD index c2f519122..060786fe2 100644 --- a/temp/qemu/APKBUILD +++ b/temp/qemu/APKBUILD @@ -2,7 +2,7 @@ pkgname=qemu pkgver=9999 _pkgver=3.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="QEMU is a generic machine emulator and virtualizer" url="http://qemu.org/" arch="all" @@ -10,7 +10,6 @@ license="GPL-2.0 LGPL-2" makedepends=" alsa-lib-dev bison - curl-dev flex glib-dev glib-static @@ -131,7 +130,6 @@ _modules=" audio-alsa audio-oss audio-sdl - block-curl block-dmg-bz2 block-nfs block-ssh @@ -252,7 +250,6 @@ build() { --disable-linux-user \ --audio-drv-list=oss,alsa,sdl \ --enable-cap-ng \ - --enable-curl \ --enable-curses \ --enable-docs \ --enable-gtk \