From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Boccassi Subject: Re: pkg-config file generated with meson Date: Thu, 13 Dec 2018 09:36:32 +0000 Message-ID: <1544693792.7111.18.camel@debian.org> References: <1543500472.5087.34.camel@debian.org> <1543841093.5087.56.camel@debian.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: bruce.richardson@intel.com, dev@dpdk.org To: David Marchand Return-path: Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 8A1571B4C0 for ; Thu, 13 Dec 2018 10:36:34 +0100 (CET) Received: by mail-wr1-f67.google.com with SMTP id t27so1245380wra.6 for ; Thu, 13 Dec 2018 01:36:34 -0800 (PST) In-Reply-To: <1543841093.5087.56.camel@debian.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, 2018-12-03 at 12:44 +0000, Luca Boccassi wrote: > On Thu, 2018-11-29 at 15:13 +0100, David Marchand wrote: > > On Thu, Nov 29, 2018 at 3:08 PM Luca Boccassi > > wrote: > >=20 > > >=20 > > > It's true that there is "libdpdk" in the Requires.private > > > section, > > > and > > > probably shouldn't - but at least on Debian stable with pkg- > > > config > > > 0.29 > > > it works fine despite that: > > >=20 > >=20 > > Well, this was my first impression when I saw Requires.private but > > I > > am not > > familiar with .pc files. > >=20 > >=20 > > >=20 > > > $ PKG_CONFIG_PATH=3D/tmp pkg-config --cflags libdpdk > > > -include rte_config.h -march=3Dcorei7 > > > -I/usr/include/dpdk/../x86_64-linux-gnu/dpdk -I/usr/include/dpdk > > >=20 > > > Maybe a newer pkg-config version got smarter? Regardless we > > > should > > > look > > > into it > > >=20 > >=20 > > Mine is older, from rhel7: > > $ pkg-config --version > > 0.27.1 >=20 > I think I found the issue, it looks like a Meson problem, reported > upstream: >=20 > https://github.com/mesonbuild/meson/issues/4583 My fix has been merged, it's available as part of the new 0.49 Meson release. --=20 Kind regards, Luca Boccassi