From patchwork Tue Jan 24 18:01:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 646046 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp341363pvb; Tue, 24 Jan 2023 10:07:57 -0800 (PST) X-Google-Smtp-Source: AK7set8YN7eSSGCbAAs5qlCJxH0Ib6NE5cdBp7hOigalRNzXQLZg4wD5dKYAS+lFqorYtGDgLBhK X-Received: by 2002:a0c:dd03:0:b0:537:6529:2218 with SMTP id u3-20020a0cdd03000000b0053765292218mr6800535qvk.30.1674583676986; Tue, 24 Jan 2023 10:07:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674583676; cv=none; d=google.com; s=arc-20160816; b=zkph30sxcHF3ANgZdJ86RR2oKKSX+IJY5d+GSzz1y+L8IbLiVsyexEHGtkpJkzpmWs 6CwKGiOt8RZFx09Nl3l7ViUd1XR8/HPV/dN2V8mLLp1zniH/HAX/Vo/5WabA2taFtqz4 SrhWyv8fXfSBVe2IlJkbZI4vMHwxQr2+Gj6/EqXeF68PL+lkgkH+udAOxSueV/TENEVp MafvZb+3Scex1wekhE5AzGcfoXFDRxYbWYLeT/JBJ3cmUp3jhooIC/OtCIdFA2p60xN8 h20wxV+AdqtIBEfHt1fCcxbfR2zUMY7cD4JIJdJpuFJbz8UEio/VUYg6AgrzmDs+CO5X p5cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AnZDkxLzgFFSav85Au8pAya0nVRLiogiOeok78nk0b8=; b=I7aSGM9fD2iCqh0GfhXOMfUUQQ1cNoFrHXvwzyR0cosfcbRaBAAjNkw001wGsZncPj VtRinOVDeZYg9w32Sk7wgiF0PpYxSXcybSjuJaqd4nNdNOX42pGksVqLCw2JmXyzR9RU laJhFzvibgDrxgOlvppDfrTMtRe4JPk7k2mkHDIpqeBYO1LxWrActWsSoLf/Ec7zaYEP yXJU9TGnxUr/39b1z9c7lrpRte0Xe3WgeAqA5x0Xijtkqv1VzlvchgP/84th0VwytNRQ ifhrDORkTCCyg1MjZ/iBn3yZFNr2d+ScN0dfls8qW6wn2DLeJS6DU1uYRa0wSv+ywSaD CN0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KYNP5p1r; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l9-20020a0ce509000000b0052fe5539dcasi2133495qvm.203.2023.01.24.10.07.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jan 2023 10:07:56 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KYNP5p1r; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKNhJ-00055j-LG; Tue, 24 Jan 2023 13:07:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKNhH-0004yr-2h for qemu-devel@nongnu.org; Tue, 24 Jan 2023 13:07:03 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKNhD-00073s-KH for qemu-devel@nongnu.org; Tue, 24 Jan 2023 13:07:02 -0500 Received: by mail-wr1-x431.google.com with SMTP id q5so10058960wrv.0 for ; Tue, 24 Jan 2023 10:06:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AnZDkxLzgFFSav85Au8pAya0nVRLiogiOeok78nk0b8=; b=KYNP5p1rwdClS8daP3mgitLOL+o+UPsFXVQZJ8M8X14dGXT1gXzT+y7El//QysRwjM rWj8GwlUXfmItAQI+qhfGoJCwp+UVJeRptprTwSXmm3V1UwzoHaGzXl3YNmFO4dFucEZ fwOVB3APHxe6ID8gdgbQUfrEvaZGWSEOVoY3qVc2tnN5WkkGgNUh8/s1DB0nJkq7ffX4 6TXuU9NEp/14oQQuFC/Ncce3FMFGLwlvycq83qcw11nGitr6inlX3TMuaMGB7M52NDa5 2zj/nYh0hf2YGuEASU/reBwQBcl+qEIXjQGMCbTI8/QTcbpc1s9qjO0XwE3ysHbTWHxw z5Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AnZDkxLzgFFSav85Au8pAya0nVRLiogiOeok78nk0b8=; b=gmow7GEHLs1DeeQ1TlqT4U0MO57bfiz5YJiqzwjzWAB8fmAQrKtb3XQscNkuPwrmsS k2hVfK92phe/1ZuUxPxxLOdV+9Dn4H0N3effKdpWxVT563D4ugCHtBjL4IvYWO16HKj9 mIY16aqCXNtMHtbOxjPZfVcGwEWb710ipxxx1R8ZpfuIx4wNt6gq3ToUJ9QD7WkuyqgL yGl5hxswT6WizWXJgYVMWCXUeSn9Gl0vNjPNlwLmZEnDod7YogtUlaAh0GoHPJC/Ckr4 Gk/ppkBcGiwZ/+zTeLgtS7sTvYfMr/GdQO9WxibWwoCbFLRhvM8yGMnU5nCz1sUesXpX NqNQ== X-Gm-Message-State: AFqh2kqgxsJZJiAMzAde1AwohjejVNJo8Kc3yj21QIfXFiTrSuwfy30t z0F8zPkjfX5SIYQebW53jo6TlQ== X-Received: by 2002:a5d:5450:0:b0:2be:4c99:1751 with SMTP id w16-20020a5d5450000000b002be4c991751mr16394967wrv.69.1674583618150; Tue, 24 Jan 2023 10:06:58 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id c4-20020adffb44000000b002bdc19f8e8asm2422687wrs.79.2023.01.24.10.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 10:06:56 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5E3691FFC3; Tue, 24 Jan 2023 18:01:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Ed Maste , Thomas Huth , Alexandre Iooss , Markus Armbruster , Jagannathan Raman , John G Johnson , Mahmoud Mandour , =?utf-8?q?Daniel_P=2E_Berrang?= =?utf-8?q?=C3=A9?= , Bandan Das , Elena Ufimtseva , Michael Roth , Eduardo Habkost , Beraldo Leal , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Marc-Andr?= =?utf-8?q?=C3=A9_Lureau?= , Qiuhao Li , Stefan Hajnoczi , Alexander Bulekov , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , John Snow , Paolo Bonzini , Darren Kenny , qemu-arm@nongnu.org, Yanan Wang , Cleber Rosa , Wainer dos Santos Moschetta , Marcel Apfelbaum , Li-Wen Hsu , Peter Maydell , Bastian-Koppelmann Subject: [PATCH v2 13/35] tests/docker: Install flex in debian-tricore-cross Date: Tue, 24 Jan 2023 18:01:05 +0000 Message-Id: <20230124180127.1881110-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230124180127.1881110-1-alex.bennee@linaro.org> References: <20230124180127.1881110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé When flex is not available, binutils sources default to the 'missing' script, but the current script available is not in the format expected by the 'configure' script: $ ./configure ... /usr/src/binutils/missing: Unknown `--run' option Try `/usr/src/binutils/missing --help' for more information configure: WARNING: `missing' script is too old or missing ... checking for bison... bison -y checking for flex... no checking for lex... no checking for flex... /usr/src/binutils/missing flex $ make ... updating ldgram.h gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./../bfd -I./../include -I./../intl -I../intl -w -DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -w -c `test -f 'ldgram.c' || echo './'`ldgram.c `test -f ldlex.l || echo './'`ldlex.l /bin/sh: 1: ldlex.l: not found make[3]: *** [Makefile:662: ldlex.c] Error 127 make[3]: Leaving directory '/usr/src/binutils/ld' make[2]: *** [Makefile:799: all-recursive] Error 1 By pass the 'missing' script use by directly installing 'flex' in the container. Reported-by: Peter Maydell Suggested-by: Peter Maydell Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20230112155643.7408-1-philmd@linaro.org> Reviewed-by: Bastian-Koppelmann Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/debian-tricore-cross.docker | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/docker/dockerfiles/debian-tricore-cross.docker b/tests/docker/dockerfiles/debian-tricore-cross.docker index 34b2cea4e3..5ae58efa09 100644 --- a/tests/docker/dockerfiles/debian-tricore-cross.docker +++ b/tests/docker/dockerfiles/debian-tricore-cross.docker @@ -20,6 +20,7 @@ RUN apt update && \ bzip2 \ ca-certificates \ ccache \ + flex \ g++ \ gcc \ git \