From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2DFC2A0519; Mon, 22 Jun 2020 16:09:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8BFD71D6F3; Mon, 22 Jun 2020 16:09:37 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C86731D6C9 for ; Mon, 22 Jun 2020 16:09:35 +0200 (CEST) IronPort-SDR: Lfn8KJyuPtFN8BWcZkiUFBkwlcOFi1OyB3IJoJHtgRkMgg8jhGZM9NeOP1spxZ44P8DkfcjeVv aOjbtjb0BgKA== X-IronPort-AV: E=McAfee;i="6000,8403,9659"; a="161844387" X-IronPort-AV: E=Sophos;i="5.75,267,1589266800"; d="scan'208";a="161844387" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2020 07:09:34 -0700 IronPort-SDR: bdt5NDIFfJ6jEo2SAxNeNkCvxyKTijOll+g8d/sVWpQW75rWzr3f4KSMrNC6+OlfBaudsZ1HOy 2TU5C9OOfjQg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,267,1589266800"; d="scan'208";a="310938070" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by fmsmga002.fm.intel.com with ESMTP; 22 Jun 2020 07:09:34 -0700 Received: from orsmsx125.amr.corp.intel.com (10.22.240.125) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 22 Jun 2020 07:09:33 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX125.amr.corp.intel.com (10.22.240.125) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 22 Jun 2020 07:09:33 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.173) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 22 Jun 2020 07:09:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gr5MhemrECeWKYI9lDwvnbOQCYV2rwmXvmzAOBiV3SwAOOGPqMDpitc/+Gl+hkwH8Mg2RIUGkS4RvKKsm3k5okgwSAeLpOrdqnOhz3TE2im/2hdJh49ebHYT+dfi47lz69I+IGRqmHj/7XdvO3SttYYTjtX7XBJCMDxFVxV7DTUiKFzAQrVfBYwtc7RyO5fypdKCrAhye+GvPv356mzDZ+eDEKujIjn3y7CUlf13/zrtlLJ1/Ne/qti5SwOSjtQFDz7kGEBONiU10vpTcl+YMIhn+4Qs4i09hiIjofp0TdIKau4tSK7n1QkgkcUix55Xxu86yALDxwlqaQw8A7yBAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FtmHHIoMzKlqwJLDj6kJpp/JtXDqfqe7UZhkMm8U/yU=; b=KLBC4vqEvjhVszcAfaRsQPXmlj7b2UwgMKau4Cr1hfdjtIHNYsB8nt3NWMNsstHVPzuWQoDQO1G+xFfC92GCBr1/yWFrDQvxSrhnvbr48vzN0JscEb/4JIU/pSOqq5AuwbCVV+Y9cLGMe7AshEHMVfP+SdwGeLedh7zySpvCQgjPQHUpZmhUxI11oNd5vuSDRM7ed4aodzNQo6WkeqOK/rSaR5HhZs15/MwoDOuggwjYlWeJ/4A/NxSGasENW6VPLdcnhGERz5/y1y5zLOFlpRxi9uMD0B7DurF49N+6BouYNmmkPXrgSfhwJx3wLms0Bv1d39VV2FLqzK9ZieHFlQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FtmHHIoMzKlqwJLDj6kJpp/JtXDqfqe7UZhkMm8U/yU=; b=XjEczECXIRCTXo3weCsorb/lDE8Nuwx5gsc3MUKuIyrflLCgh7YUWv8MGbHGhQ4suJD9sAW3FZO5fi6Zr3OZJ6XDiXLTXa1H+y+U5c8CgI5x9UzsjfVCEwAuiBvJx2OrzmlHE7n/baIxMCVPXH84O6U23ZaheO+MSHsBSmTXcMk= Received: from DM6PR11MB2555.namprd11.prod.outlook.com (2603:10b6:5:c5::33) by DM6PR11MB3562.namprd11.prod.outlook.com (2603:10b6:5:13f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Mon, 22 Jun 2020 14:09:32 +0000 Received: from DM6PR11MB2555.namprd11.prod.outlook.com ([fe80::75c7:27bf:b5af:a483]) by DM6PR11MB2555.namprd11.prod.outlook.com ([fe80::75c7:27bf:b5af:a483%5]) with mapi id 15.20.3109.027; Mon, 22 Jun 2020 14:09:31 +0000 From: "Power, Ciara" To: "Richardson, Bruce" , "david.marchand@redhat.com" CC: "dev@dpdk.org" , "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH v2] doc: fix doc build when sphinx reports version to stderr Thread-Index: AQHWSJ2qsT7SV+RRJkqbOuCzObe9f6jkqn5w Date: Mon, 22 Jun 2020 14:09:31 +0000 Message-ID: References: <20200117104820.71403-1-bruce.richardson@intel.com> <20200622140002.555035-1-bruce.richardson@intel.com> In-Reply-To: <20200622140002.555035-1-bruce.richardson@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [37.228.239.229] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 86d9e102-43d2-4b9c-5913-08d816b5e29b x-ms-traffictypediagnostic: DM6PR11MB3562: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0442E569BC x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KPGknBJe8BmQKWRShDPOmjLFdCdhEnjoFR8bxFkvg4Occs1b9medSqW9Q8oJiUEQBAvkBTx9DO46Zmrwfft6yVYzvREWS3pgyQBA/+fLiQNMfkO1pg+MtKn0CiGFXhvRCCuhmtC3M0xXMxNmuLvxSDGuCSm9oSfrrFEKVulpiVAAvu/+sQxXVh7cu7sn3nkKSn67mU691vEbZ//qggq0zt19KeLgR+Vq/dqdcHv6EN2dIYrmPHjDodp+a8C1HthOsnxIS28hdKsLlVqe+etXiHRMnnBnG4M+3HZ1oPJoWdvUHM0TfdS1tGc6kRnn/YRuvcqcJz1fzXGcNnELngCbXg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2555.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(366004)(376002)(396003)(136003)(346002)(8936002)(26005)(83380400001)(71200400001)(6506007)(110136005)(478600001)(66476007)(7696005)(66556008)(54906003)(64756008)(66946007)(66446008)(76116006)(316002)(55016002)(4326008)(9686003)(2906002)(107886003)(186003)(86362001)(33656002)(52536014)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 3SVwmO4Ds/djg2JuF+wx/C5s2cGKYIhlBm8TNOO+kGd7HIhlPX2sX/7eJonHm8T/JYpf+9CEtEWOb9KcxsymmUGTyqMVtZsOSA7IP9MrM25iOp+O7XdPspOSQ3OjZz1S1HyJB6fXZ2KyVPVaWCRqBL0KxSNZx+eUjVXP2RWgskzm0yn4AdIY/qNO0EKbNo4lKgY1GtmU4QoUAumWV6i6uk+KBU7Mir9qwwMuvn4uUNelfrJNHIN+PUBQvZmV93S+LBOc/2x59ZgRBR0yTjjW8bsFBt8JDY8fjUVp5VrAMnSbXC9tUfvIA2b8aty55dnQLzKtKMZlJxar5LKRSwmOsBO/rwNGkn07AguB/LK2fddwvWh8NPQ8y1ee7fhuTbJuMsLHg60QEeGuSahIcVn8SMYuhQWMkMReLH8oBfruGHzVzU/gRQwXg3TW5QYKJm+xkghV8FNVwmvA2ulIsUxyCfARSMch00BJeZU+Bf+NlVLoyvawVUfVbIg+XsJ7joII Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 86d9e102-43d2-4b9c-5913-08d816b5e29b X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2020 14:09:31.8149 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BQIKF0JKuJke3F+CwDLexeCjhEOouGDs6rpQHYaiMBFhZPkuNCEL33LCiIRTWPIk+51ODtn3LDBgc0oGJFMXDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3562 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] doc: fix doc build when sphinx reports version to stderr X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >-----Original Message----- >From: dev On Behalf Of Bruce Richardson >Sent: Monday 22 June 2020 15:00 >To: david.marchand@redhat.com >Cc: dev@dpdk.org; Richardson, Bruce >Subject: [dpdk-dev] [PATCH v2] doc: fix doc build when sphinx reports vers= ion >to stderr > >When sphinx-build reports its version information to stderr rather than >stdout, the wrapper script misses it, and then fails to run. >We can fix this by redirecting stderr to stdout for the version query call= . > >Fixes: f5ab2074cfba ("doc: rebuild with meson whenever a file changes") > >Signed-off-by: Bruce Richardson >--- >V2: no changes to this patch, dropped patch 2 from series. >--- > buildtools/call-sphinx-build.py | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/buildtools/call-sphinx-build.py b/buildtools/call-sphinx-buil= d.py >index b9a3994e1..85c9e0156 100755 >--- a/buildtools/call-sphinx-build.py >+++ b/buildtools/call-sphinx-build.py >@@ -6,13 +6,14 @@ > import sys > import os > from os.path import join >-from subprocess import run, PIPE >+from subprocess import run, PIPE, STDOUT > from distutils.version import StrictVersion > > (sphinx, src, dst) =3D sys.argv[1:] # assign parameters to variables > > # for sphinx version >=3D 1.7 add parallelism using "-j auto" >-ver =3D run([sphinx, '--version'], stdout=3DPIPE).stdout.decode().split()= [-1] >+ver =3D run([sphinx, '--version'], stdout=3DPIPE, >+ stderr=3DSTDOUT).stdout.decode().split()[-1] > sphinx_cmd =3D [sphinx] > if StrictVersion(ver) >=3D StrictVersion('1.7'): > sphinx_cmd +=3D ['-j', 'auto'] >-- >2.25.1 Hi Bruce, I hit the issue described here, and this patch fixed it for me. Thanks! Tested-by: Ciara Power