From patchwork Thu Jan 12 15:56:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 641658 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp3876387pvb; Thu, 12 Jan 2023 07:57:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXvi6W1Zd9CqUnO6C5hp+oL53FBN4j0QjYUp+ocOjN5P91fCl3PriMDJFm3F/7SXq2QTsU1v X-Received: by 2002:ac8:7766:0:b0:3a5:f9cb:886f with SMTP id h6-20020ac87766000000b003a5f9cb886fmr102625270qtu.29.1673539072531; Thu, 12 Jan 2023 07:57:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673539072; cv=none; d=google.com; s=arc-20160816; b=vmu6PZ40CQQVlkwzbnKQjFruzs7ooGmc4kSEtaJhJE+PzjQ1pFD1vdRa2RWZIxlxDB cEEQ5IOVTFrzDnn7QHRAtCeElp020vkUBy2Ql0uBPlVHXbaF2Uevvtqukf7kZ42QnSTZ 7nHpxvzEdJXiLRtOnSQm7YhZ6Df//xYbXTSK85tu2IKiHlAjP//EfMt9eBT5+GaAjfSg RSY1p/kN5fQbI4Bqa4CBb958TdKE3+QuGdyIjEGBCN4tSpu71p+fIg6Ss8uZgbF/I9qq 2lknYuqBhxOgEAvqEQenO7dcXai/EApohXTGXIt9tSgNUjSSGiQDcI3FlRbn55ySxjcB kIXw== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=3O7m+XSuS9V9zMSD2pT9ThVFkUXdqJeo6fiun1HAiFI=; b=RIJjXDbiC9/oNM9xmanS9pHMY8eC4Yo36AVL6zsuVG6VlYW4zHaWm95QkTYjviAO3O 1Pbimf5sxAAvB+FLZZeuD9dugJWQ5MV9z0y9ACRXQjqQYduL6IVhoDvnd2J0iKRCTyxR dD7dbnHh4+Fe0sxnKeYolljjiu1+qpVlOoLy3Mi8NRbnlE3+NXHLRitQYuyvnIDvbdVH S1PzBVVQMOZIjWaPLLPBpjAIxj+u4dhXc4UVLyAy6+gku/2slHxu7Yl9VTiuTfIj6PYa DtAM56xi3HGQsnkAKjr1Y1x5B20jbT9tMVpABAcZL/8iqZ0Q/HVcrCfn/S8ZMWa/1UkE /AEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b4ogsdW2; 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 fg13-20020a05622a580d00b003a82d3dcdefsi10927464qtb.639.2023.01.12.07.57.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Jan 2023 07:57:52 -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=b4ogsdW2; 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 1pFzwq-0003ge-8G; Thu, 12 Jan 2023 10:57:00 -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 1pFzwg-0003ZH-AG for qemu-devel@nongnu.org; Thu, 12 Jan 2023 10:56:51 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFzwe-0001iB-IF for qemu-devel@nongnu.org; Thu, 12 Jan 2023 10:56:50 -0500 Received: by mail-wr1-x42c.google.com with SMTP id h16so18521282wrz.12 for ; Thu, 12 Jan 2023 07:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3O7m+XSuS9V9zMSD2pT9ThVFkUXdqJeo6fiun1HAiFI=; b=b4ogsdW269g98pY44KoXokM4MhemWL2MA+Wziff/l8KFZh1WfU8ZkdKaRyFu7QhIpN 8Qb25o2GxhPYOEoH/3gi4aaN51paxJ27Cq+gp8v2zXDh/7IhkQCPhEOP8Net8t2D0faI lg0OG/aZSfQ8Xx0GKsN7G57QHe1TAgBReh+9WTvRfM6vcBL3YTH9YhhjJChsD9/0XGck uGpDkiCvNSxhd9KtQ0IrVSMRITm3vVmXPvYpLsWt873xxkQWEzJhchyYbMN6XsOEYNDm Sa9Jls5lq5SKS+g0Dp/JGIzdssHcuCMHr1E5B7nmP7fQb+w62oZhrfg8uJ9EqnLYcd29 AYjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3O7m+XSuS9V9zMSD2pT9ThVFkUXdqJeo6fiun1HAiFI=; b=wIYOBSC/7cfPYALr6gBEHQd+lFUZtglw+hMWd8JUs4Eob/wqe8jBI7ff3b0d56OIS7 W/qbQIAhOfsJiO1YX6YAgC93/Hf5KSMuZFLwUGtY/lES/xCvogRwdDeTlgX6cdYl2YJm 2yxkQp+SRaNQt/fpgWq1FGOMTNeyFkoElg0myw7VSboFV8pm8fGyUC+bcZfossnnJVnV 60X5VvXfdBH2Pstgdl2yvtiFjh5sNRG2l1dNiXOB4DyUxm/NMerhCbV9L3RojsPts3Qu M8zzoYlSyGQFHvohme93JluEK0rZS/lsxPZ3IGpOibTG4krnWC74cHlupGXNK/wxj7er e95Q== X-Gm-Message-State: AFqh2kqqeJy9CFKV1RcxU9+pSlWnf6INQetKfxEpzPST3ODQEXaJFYUn 8yLLWyij9RftAcrngR9i7YeT4dzPbTodcHuF X-Received: by 2002:a05:6000:1185:b0:2bd:d782:c2bc with SMTP id g5-20020a056000118500b002bdd782c2bcmr1530514wrx.33.1673539005462; Thu, 12 Jan 2023 07:56:45 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id n1-20020a5d67c1000000b002bc7f64efa3sm9488459wrw.29.2023.01.12.07.56.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 12 Jan 2023 07:56:45 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Thomas Huth , Anton Johansson , Bastian Koppelmann , Wainer dos Santos Moschetta , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , Peter Maydell Subject: [PATCH] tests/docker: Install flex in debian-tricore-cross Date: Thu, 12 Jan 2023 16:56:43 +0100 Message-Id: <20230112155643.7408-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=philmd@linaro.org; helo=mail-wr1-x42c.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 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é Reviewed-by: Bastian-Koppelmann --- https://gitlab.com/philmd/qemu/-/jobs/3594948730 Duration: 4 minutes 38 seconds --- 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 b573b9ded2..203e096ea3 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 \