From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 94F9FA0A0F for ; Wed, 30 Jun 2021 18:15:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 84DC040040; Wed, 30 Jun 2021 18:15:19 +0200 (CEST) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by mails.dpdk.org (Postfix) with ESMTP id BEBA140040 for ; Wed, 30 Jun 2021 18:15:18 +0200 (CEST) Received: by mail-lj1-f180.google.com with SMTP id a6so4074533ljq.3 for ; Wed, 30 Jun 2021 09:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eAdU9vpMK5TI7w2FFqu19VpPB31aM2yaL0bxUjdRsKk=; b=gmZ1uN7o2BQQsq1X+3eAeWilrZdcp2nbh95h1IFKKuFMdiXEmEm97Hv6LNpy/QczJD +msMIS+onjAL38dbzLiy4G6cwnP/301R9PKQaJGzB4KhR2g66KwdbGR45oHXLvB0/7gZ oGTPEgpoLA7ZLL7noPSV/v9t4Elo6Tod/Wn08st5RNFFUx0SfczYWmOt9fJCUSNZfVuo EBP1MrKutXDgaVrGQ6ev3Bpbqr8l6vmBp+7Znkj1MQKs1fJ1HLMOMxpYszQeaJ45JtM1 J+1fwDTT3vA9V/FL9PlRLCn1SDuXwCH80+QHOOROoYsq+4rYOSsDFs3T7Mx6xdgzoauf As2w== 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:mime-version :content-transfer-encoding; bh=eAdU9vpMK5TI7w2FFqu19VpPB31aM2yaL0bxUjdRsKk=; b=aHKHSa/8QdqtEKh4rv36CtIkhGpQHjdbMUbSAAxx0fMaYXT7Ujmp+SwTSBMYatvwVj RnCcLSeYCESNpbaQc+SBMdShfh+ZDyE9vk0VsDVkK3QSx9PoGdQVexu9tKlTydjY7n2u GVFyfrQpYCxmWMnJzDe/HiSkjkNVVpN8tQtaYTwpKRd+QqFtieNwy19jymb3OtRHnRdw qsNRqJ8P61DBUy3nqfFO0QktkpBQAR8Bb5fMPB9uFU9y2SvRT4M6EeC3TLkhNhG426HO HkqCgJHE7pxg0UJcy0SIljF6wIaT5z/gEcHbt+4hSGjuD2JJdQ39hpPtGNXC2xXKUskk PSBA== X-Gm-Message-State: AOAM530BhYm33HOYRN1Buj/R8b2KwYOd7wn+XzU+0YwPTuCdKH6TOUzA lpce3eyrShkiyg0pIT1pF4FcKSajBe7u9g== X-Google-Smtp-Source: ABdhPJwv9WnnP82cWxYBYzh55xwQsQV2PywLokUefwtPzZs8Fuuk1aHGV4bB34ygjizELDfXeetyKQ== X-Received: by 2002:a05:651c:1183:: with SMTP id w3mr8754746ljo.310.1625069717995; Wed, 30 Jun 2021 09:15:17 -0700 (PDT) Received: from sovereign.. (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id g5sm443642ljm.58.2021.06.30.09.15.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 09:15:17 -0700 (PDT) From: Dmitry Kozlyuk To: stable@dpdk.org Cc: Dmitry Kozlyuk , Bruce Richardson , Luca Boccassi , Rob Scheepens Date: Wed, 30 Jun 2021 19:15:05 +0300 Message-Id: <20210630161505.266381-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH] doc: fix build on Windows with meson 0.58 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" The `doc` target used `echo` as its command. On Windows, `echo` is always a shell built-in, there is no binary. Starting from meson 0.58, `run_target()` always searches for command executable and no longer accepts `echo` as such on Windows. Replace plain `echo` with a Python one-liner. Fixes: d02a2dab2dfb ("doc: support building HTML guides with meson") Cc: Bruce Richardson Cc: Luca Boccassi Cc: stable@dpdk.org Reported-by: Rob Scheepens Signed-off-by: Dmitry Kozlyuk --- doc/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/meson.build b/doc/meson.build index 959606b965..abd7d70421 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -11,5 +11,6 @@ if doc_targets.length() == 0 else message = 'Building docs:' endif -run_target('doc', command: ['echo', message, doc_target_names], +echo = [py3, '-c', 'import sys; print(*sys.argv[1:])'] +run_target('doc', command: [echo, message, doc_target_names], depends: doc_targets) -- 2.29.3