Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6510BC2BA2B for ; Tue, 7 Apr 2020 15:22:20 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3581B2074F for ; Tue, 7 Apr 2020 15:22:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3581B2074F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:49138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLq3P-0007YL-CI for qemu-devel@archiver.kernel.org; Tue, 07 Apr 2020 11:22:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38500) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLq2n-00073B-8e for qemu-devel@nongnu.org; Tue, 07 Apr 2020 11:21:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLq2m-0008LL-7W for qemu-devel@nongnu.org; Tue, 07 Apr 2020 11:21:41 -0400 Received: from mx2.suse.de ([195.135.220.15]:53748) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLq2m-0008Kj-1V for qemu-devel@nongnu.org; Tue, 07 Apr 2020 11:21:40 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 94D8FACC2; Tue, 7 Apr 2020 15:21:37 +0000 (UTC) Subject: Re: [PATCH] configure: check for bison, flex before dtc submodule build To: Peter Maydell References: <20200407111618.17241-1-cfontana@suse.de> From: Claudio Fontana Message-ID: <60f77462-a078-6325-6b22-2af9c281e194@suse.de> Date: Tue, 7 Apr 2020 17:21:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Gibson , Alex Bennee , Laurent Vivier , QEMU Developers Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 4/7/20 1:20 PM, Peter Maydell wrote: > On Tue, 7 Apr 2020 at 12:16, Claudio Fontana wrote: >> >> if fdt is required, and the system DTC (libfdt) is not usable, >> check for the dtc submodule requirements before trying to build it, >> and error out with a helpful message in case the dependencies are not met. >> >> Signed-off-by: Claudio Fontana > > Does the dtc module actually need bison/flex, or does it just > print an ugly warning about it? We only want the 'libfdt' part > of dtc, which doesn't need the parser, we don't need to build > the actual dtc compiler. > > thanks > -- PMM > Hi Peter, indeed, it was just an ugly warning that I mistook for an actual error. I'll try to see if I can get rid of the warning somehow by playing with the build system a bit, but otherwise all green. Thanks, Claudio