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 E8431A0A0F for ; Wed, 30 Jun 2021 11:28:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F59A40141; Wed, 30 Jun 2021 11:28:11 +0200 (CEST) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by mails.dpdk.org (Postfix) with ESMTP id 6A40440040 for ; Wed, 30 Jun 2021 11:28:10 +0200 (CEST) Received: by mail-lf1-f47.google.com with SMTP id a11so3840139lfg.11 for ; Wed, 30 Jun 2021 02:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Mmu3dZHAXSyRDCcbTfCTmaC+JCAsbiSw7EJnWJND+Ds=; b=gnhBT0LwLcrGwM3jvrK7mI9DEUVP2jXd0I9InVaG/w0AJk3nXCFspM5Z5wPFokrfWh UsS9emU5TgdhFf/0abW1jkXmdnZOmKd4dks0lfOojj0UtN7XDadqr2Iund45OfOANFAR +hG2kSf+qLL8cC5Jm+lvVyXR3RexxeScCZn0WVDZe/063aYMOwYjP7r3g0H5fRi5zpPu WH/sfIhQ4sDwRgORWFbhCaPukUycL0thqvxSIsUrRr1R5zXRnVHoVsSdDGIyB1v1y1dk FBS1ePs73shN2TNe5+OxIvovgawaOvaQDcWrqMu93Xnnves0MGnwWQKdqWDq6MBE6T+2 f6dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Mmu3dZHAXSyRDCcbTfCTmaC+JCAsbiSw7EJnWJND+Ds=; b=WuRCbqgzWyDxeK3PWu1z+3XvIYXWAbuS02U1Mok2ZYWxBU+RDx0WFyLS16HWfp7Pod PGQLRFFhRmoptCrc8bDDckidBeC4hud4sEXyuaEyUoFyNoijR4pIoRZsmXr4VmT/J/xC +ic7+i1wPWt8dRCvaRAUEm0o6qYXKWzWzvje7KBlboxtueiBlhNld6e9KWxgJu4ENfdz gdke6MYOvcT1bJTqzx9LbxCluQeCBEpjQxETQpqui6hf/CUWCKzjMwMXNVqqCSfTaTns noQuC8XREe8uNy61kr/PEHICdckx81o+gRbvZgqiPoATYYK0Wdgy5eaqiER5MMGdaGNA W7aA== X-Gm-Message-State: AOAM532Yufx7vPLTi32ZfaWXwRbVExJvk7X8uIUKK/KQUqG4M8rHDvSs ZpeKnPHIknpgnXbpCmlr87g= X-Google-Smtp-Source: ABdhPJyKge45OAWOK2hQl7J1K6kMeaiCIk8lz5luh2IdTT4Q+aOFRqjBh6A0tiKmDUyTU4TF0HRqBQ== X-Received: by 2002:ac2:446f:: with SMTP id y15mr997956lfl.101.1625045289933; Wed, 30 Jun 2021 02:28:09 -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 f23sm2204625ljn.98.2021.06.30.02.28.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 02:28:09 -0700 (PDT) Date: Wed, 30 Jun 2021 12:28:07 +0300 From: Dmitry Kozlyuk To: Rob Scheepens Cc: "users@dpdk.org" , Bruce Richardson Message-ID: <20210630122807.1cdeb496@sovereign> In-Reply-To: <997A3507-0829-4A9A-8402-C87F34556162@nutanix.com> References: <20210629234942.2efad3e2@sovereign> <997A3507-0829-4A9A-8402-C87F34556162@nutanix.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] Build on Windows not working: "ERROR: Program 'echo' not found" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" 2021-06-30 08:41 (UTC+0000), Rob Scheepens: > Hello Dmitry, > > That works, thanks! > > Is there an issue open for this? If not, should I create one? Not yet and I'm not sure is it Meson or DPDK issue. Meson's behavior changed between 0.57 and 0.58.1 seemingly due to another feature added, on the other hand, DPDK code didn't work on Windows as expected. +Bruce, build system maintainer. I think we'll sort this out, thank you for reporting the bug. Bruce, in doc/meson.build, we have this: doc_targets = [] doc_target_names = [] subdir('api') subdir('guides') if doc_targets.length() == 0 message = 'No docs targets found' else message = 'Building docs:' endif run_target('doc', command: ['echo', message, doc_target_names], depends: doc_targets) First, why there's no early exit if enable_docs=false? Second, with Meson 0.57 there's not error on Windows, but the message is not printed either. The root cause is there's no `echo` binary on Windows, it's a builtin. However, when I tried to replace it like so, 0.58.1 gives no error, but also prints nothing: run_target('doc', command: ['cmd', '/C', 'echo', message, doc_target_names], depends: doc_targets) Although in the log it says it searched for `cmd` and found it. Could Meson 0.47.1 print a message as required by itself, without echo?