From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by dpdk.org (Postfix) with ESMTP id A1C1F1B516; Mon, 7 Jan 2019 23:03:15 +0100 (CET) Received: by mail-wm1-f68.google.com with SMTP id g67so2376219wmd.2; Mon, 07 Jan 2019 14:03:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=sd1fhvT6cvPCTIDunhuYiUxBOKTgTk5tuJESR9ETfuE=; b=hMy5hTUB/iIP+1kxzl3TEESVhsi7GtgfY+xaRKUB+sN01R962eXD3GY+GUbQUqz3nB P6SiAJfYr9HkiLd8xcObLLZ1O8wyCh18kErn9mqacQqKYsw7MIGdwEgsuslnI1xtxmJu xXAcRYFEQ0lg0nJltmaBDd+e3vYcV5GMVmzO75eCmBFpKYtL/TbRGzSBb+pku+/aEtNa ZYEiCjHRle+jsVVU+Z3GxWnjiJeHjcnYeCw1f7Pw586uQ9RX4oz9x5v9jfV1RZRosBEO 5BOLGq0rGjCl7IcjsOQnOsgOLNPU9Tx75ABx6Sav5uhQSFoeTjfrxwg62txKzx04xuhe Bbrg== X-Gm-Message-State: AJcUukfX/lERzu+4YvW2Xds6bEkJCa4XSdfWOtcGmZB1JMK2RjSArObT D48o/hpQv8TH/BzdJNnsJ1k= X-Google-Smtp-Source: ALg8bN4KTEF6JgMvt3E8tRm7wGuCMgHDcSWwbSpZAoxR/HJ9/i7PSYdGLCj2A2mHIrv5mH/HjLvdZQ== X-Received: by 2002:a1c:1f83:: with SMTP id f125mr9492721wmf.56.1546898595197; Mon, 07 Jan 2019 14:03:15 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id v5sm54734917wrn.71.2019.01.07.14.03.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Jan 2019 14:03:14 -0800 (PST) Message-ID: <1546898593.6022.37.camel@debian.org> From: Luca Boccassi To: Thomas Monjalon , Bruce Richardson Cc: techboard@dpdk.org, dev@dpdk.org Date: Mon, 07 Jan 2019 22:03:13 +0000 In-Reply-To: <1546895363.6022.31.camel@debian.org> References: <20190103175725.5836-1-bluca@debian.org> <20190107165552.GA23828@bricha3-MOBL.ger.corp.intel.com> <4262310.sn7WroDi98@xps> <2105533.CpohIH1hI0@xps> <1546895363.6022.31.camel@debian.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [dpdk-techboard] [PATCH 2/2] build: use dependency() instead of find_library() 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: , X-List-Received-Date: Mon, 07 Jan 2019 22:03:15 -0000 On Mon, 2019-01-07 at 21:09 +0000, Luca Boccassi wrote: > On Mon, 2019-01-07 at 18:45 +0100, Thomas Monjalon wrote: > > 07/01/2019 18:03, Thomas Monjalon: > > > 07/01/2019 17:55, Bruce Richardson: > > > > On Mon, Jan 07, 2019 at 04:39:34PM +0000, Luca Boccassi wrote: > > > > > On Mon, 2019-01-07 at 14:28 +0000, Bruce Richardson wrote: > > > > > > However, in > > > > > > conjunction with meson version checks, I believe this was > > > > > > done this > > > > > > way > > > > > > originally because of a meson bug which caused recursive > > > > > > dependencies > > > > > > for > > > > > > things like this to get duplicated many times in the > > > > > > build.ninja > > > > > > file. > > > > > >=20 > > > > > > https://github.com/mesonbuild/meson/issues/2150 > > > > > >=20 > > > > > > If we take the approach of adding bsd explicitly using > > > > > > dependency > > > > > > object > > > > > > our minimum version needs to have the fix for this bug > > > > > > included. > > > > >=20 > > > > > Ah that's not nice. Just verified, and it happens with > > > > > dependency() as > > > > > well as find_library(). It was fixed in 0.47.1. > > > > >=20 > > > >=20 > > > > Yep, it was a right royal pain when I was doing the original > > > > work. Now that > > > > there is a fix in, we can do cleanups like you suggest if we > > > > are > > > > prepared > > > > to bump our minimum version. > > > >=20 > > > > I'll refer back to the key question here: > > > > "Is it reasonable to ask users compiling DPDK to pull meson > > > > from > > > > pip rather > > > > than using the distro built-in version?" > > > > [Adding techboard on CC, in the hopes they might have some > > > > thoughts] > > > >=20 > > > > If it is ok for most folks, and personally I don't think it's a > > > > big deal, > > > > then that gives us a faster path forward. If not, we raise the > > > > minimum more > > > > slowly, and keep the existing way of managing the dependencies > > > > for a while > > > > longer. Worst case, I'd still hope by 19.11 LTS for us to have > > > > minimum > > > > 0.47.1 to have the fix in question. > > >=20 > > > Please, could you describe what are the meson versions in major > > > distros? > >=20 > > It was already listed by Luca in this thread (thanks Bruce). > > I looks like latest Debian/Ubuntu and Fedora have meson 0.47 or > > higher. > >=20 > > I vote for bumping to meson 0.47. >=20 > For the benefit of the rest of the tech board which was not CCed > directly in the original thread: >=20 > Debian 10 0.49 > Ubuntu 18.04 LTS 0.45 > Ubuntu 18.10 0.47 > Fedora 27 0.43 > Fedora 28 0.45 > SUSE Leap 15 0.46 > FreeBSD 10 0.46 > CentOS 7 0.47 Errata: meson is not in CentOS proper at all, it's only in the extra repositories. --=20 Kind regards, Luca Boccassi