From patchwork Fri Nov 15 20:19:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Avi Shukron X-Patchwork-Id: 1195841 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TOSLN/Tx"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47F8pn10HGz9sPT for ; Sat, 16 Nov 2019 07:20:01 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9CF9020449; Fri, 15 Nov 2019 20:19:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E5B+xImEOCoT; Fri, 15 Nov 2019 20:19:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id C326220501; Fri, 15 Nov 2019 20:19:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 257481BF59F for ; Fri, 15 Nov 2019 20:19:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0AC7D8775B for ; Fri, 15 Nov 2019 20:19:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 97vhvS9NBxuX for ; Fri, 15 Nov 2019 20:19:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id 33C388773D for ; Fri, 15 Nov 2019 20:19:57 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id c22so11735951wmd.1 for ; Fri, 15 Nov 2019 12:19:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eiNk0J7alAf59xC7q1rwcwfCwz0aucvXIu31ppyV4Io=; b=TOSLN/TxdK1dNlSZV/rdj1HVFrmyoom0xwq2SyyC7q6egy+CUc8tlJTa9y2jhzrhWJ VmWBPOpHVxJo8YNOK+Gfl5/kstVzNvoSIiECx/HV0wiYJzULDhTsjbmKF4eIi4GzB9rt i+21/RmD+U7jSjkQ2EELXP7zkKoq/WFe9plhSZgUzxKobBOMEU1FJKl7qSOv0sziHaVS g0Z6g+X5V0y4lQ/X0CuOvTDnmOluHvoD9+bQnmAwQTJdIeLcJDevE31LlqjlcBOG4XpM iq1SKbGVxxRpZTYkiwA+5pjqwElgCvKZpBXxVhU7w9E5Ab82xog6aDcOzo2poG8g9cf2 1v0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eiNk0J7alAf59xC7q1rwcwfCwz0aucvXIu31ppyV4Io=; b=i1OiA5m+hb921gDobCk4naEVwi83uOQkvrGsISSGcPTFogDJuOXOKonhMX6tp5Hlhq lB1s5cqgoVBJPN9KYJ9ycDJLk76uXJ2CAbZIF95FVxVDfxrvmnntVroZpD+b06coRNVG udKO2QwDrsNv/GeI1TBXgqne0kcwgVEz5T2ji8nLKnkJvhVtS5ojGiU9t8WGNOK9GWSG FE8Krk7p5ZghkucJhVzegxEpqbPgL4DdCXrFl904b279NukxjwyKUPW4rZkuxAKV6AL2 JIc7LKbCyHzBu7Mb455Y6KGyTtY7GTGq2/VliFel9JGwjfIKBRbf7JxQw6F34bfzeD9K i6Og== X-Gm-Message-State: APjAAAVfyNIl/NrbrZCtDNcnsD7yExKbVx3A1wHts92RLDNNfKwc5DQF GZVrzIzwrtLYWeN8jJiuSNZ6iSQEGvg= X-Google-Smtp-Source: APXvYqxpodxMrV4XO3tSE2C68Wki5/coZ/sCGMxkcSFVYkb/MFUocV4B6wCOxcUz0QcqU4YBXRc7CA== X-Received: by 2002:a1c:6683:: with SMTP id a125mr15454798wmc.74.1573849194988; Fri, 15 Nov 2019 12:19:54 -0800 (PST) Received: from localhost.localdomain (93-173-232-205.bb.netvision.net.il. [93.173.232.205]) by smtp.gmail.com with ESMTPSA id q17sm10711572wmj.12.2019.11.15.12.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2019 12:19:54 -0800 (PST) From: Avi Shukron To: buildroot@buildroot.org Date: Fri, 15 Nov 2019 22:19:00 +0200 Message-Id: <20191115201908.8216-1-avraham.shukron@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191112220534.531a470f@windsurf> References: <20191112220534.531a470f@windsurf> Subject: [Buildroot] [PATCH v3] package/qemu: add host-python as an explicit dependency X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Avi Shukron MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" qemu requires python in its configre script. Yet host-python was not listed as one of the package's dependencies. If no other package requested host-python, then configuring this package will fail since it won't find any executable named python in the host dir. In order to reproduce this issue you must not have python2 installed on your host machine. Signed-off-by: Avi Shukron --- Changes v2->v3: - Depend directly on host-python3, since it is already a transitive dependency of qemu --- package/qemu/qemu.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index a91f9d3eeb..c46e41919f 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -20,8 +20,7 @@ QEMU_LICENSE_FILES = COPYING COPYING.LIB #------------------------------------------------------------- # Target-qemu - -QEMU_DEPENDENCIES = host-pkgconf libglib2 zlib pixman +QEMU_DEPENDENCIES = host-pkgconf libglib2 zlib pixman host-python3 # Need the LIBS variable because librt and libm are # not automatically pulled. :-( @@ -182,7 +181,7 @@ $(eval $(generic-package)) #------------------------------------------------------------- # Host-qemu -HOST_QEMU_DEPENDENCIES = host-pkgconf host-zlib host-libglib2 host-pixman +HOST_QEMU_DEPENDENCIES = host-pkgconf host-zlib host-libglib2 host-pixman host-python3 # BR ARCH qemu # ------- ----