build: bump meson version to remove warnings
PATCH 1/1 build: bump meson version to remove warnings
The build of DPDK now uses features from version 0.6 of meson, which is greater than the current minimum of 0.57.2. Although these features are non-critical, they do cause warnings to be emitted on build. Increase minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to remove these warnings.
--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meson.build +1 -1
@@ -10,7 +10,7 @@ project('DPDK', 'c', 'default_library=static', 'warning_level=2', ], - meson_version: '>= 0.57.2' + meson_version: '>= 0.61' # meson_version_windows: '>= 1.5.2' )
Signature · 1 line
2.51.0
Quoted 11 lines · Bruce Richardson
The build of DPDK now uses features from version 0.6 of meson, which is greater than the current minimum of 0.57.2. Although these features are non-critical, they do cause warnings to be emitted on build. Increase minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to remove these warnings.
Signed-off-by Bruce Richardson <[email protected]>--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
With this patch, and the previously submitted patchset for assigning test cases to the various categories/suites, all warnings in the meson configuration stage should now be gone.
In terms of the specific version, as noted above I chose the version of meson present in Ubuntu 22.04 as a reasonable baseline. Both debian stable, and debian old-stable have newer versions than that in them. For the RHEL line, I'm not sure what the baseline is, but I believe that RHEL 8 shipped originally with a meson version even older than 0.57, so moving to a later one I hope doesn't matter. [I wasn't easily able to find out from Google what the current meson version in RHEL 8/9/10 is]
Regards,
/Bruce
Hello,
Quoted 17 lines · Bruce Richardson
Quoted 11 lines · Bruce Richardson
The build of DPDK now uses features from version 0.6 of meson, which is greater than the current minimum of 0.57.2. Although these features are non-critical, they do cause warnings to be emitted on build. Increase minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to remove these warnings.
Signed-off-by Bruce Richardson <[email protected]>--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)With this patch, and the previously submitted patchset for assigning test cases to the various categories/suites, all warnings in the meson configuration stage should now be gone.
Quoted 7 lines
In terms of the specific version, as noted above I chose the version of meson present in Ubuntu 22.04 as a reasonable baseline. Both debian stable, and debian old-stable have newer versions than that in them. For the RHEL line, I'm not sure what the baseline is, but I believe that RHEL 8 shipped originally with a meson version even older than 0.57, so moving to a later one I hope doesn't matter. [I wasn't easily able to find out from Google what the current meson version in RHEL 8/9/10 is]
I prefer we get some acks from distributions people. Also, this patch requires coordination with the CI guys (as can be seen in patchwork, many envs are using old versions of meson).
Signature · 1 line
David Marchand
Thanks David for the CC. We need to rebuild all of our DPDK container images for the distro build testing etc. which takes some time. We should be ready early next week.
Quoted 44 lines · David Marchand
Hello,
Quoted 6 lines · Bruce Richardson
Quoted 4 lines · Bruce Richardson
The build of DPDK now uses features from version 0.6 of meson, which is greater than the current minimum of 0.57.2. Although these features are non-critical, they do cause warnings to be emitted on build. Increase minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to
remove
Quoted 7 lines
Quoted 7 lines
these warnings.
Signed-off-by Bruce Richardson <[email protected]>--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 6 lines
With this patch, and the previously submitted patchset for assigning test cases to the various categories/suites, all warnings in the meson configuration stage should now be gone.
In terms of the specific version, as noted above I chose the version of meson present in Ubuntu 22.04 as a reasonable baseline. Both debian
stable,
Quoted 2 lines
and debian old-stable have newer versions than that in them. For the RHEL line, I'm not sure what the baseline is, but I believe that RHEL 8
shipped
Quoted 1 line
originally with a meson version even older than 0.57, so moving to a
later
Quoted 2 lines
one I hope doesn't matter. [I wasn't easily able to find out from Google what the current meson version in RHEL 8/9/10 is]
Cc Timothy for .rpm distributions, Luca for .deb.I prefer we get some acks from distributions people. Also, this patch requires coordination with the CI guys (as can be seen in patchwork, many envs are using old versions of meson).
--
David Marchand
Quoted 4 lines · Patrick Robb
Thanks David for the CC. We need to rebuild all of our DPDK container images for the distro build testing etc. which takes some time. We should be ready early next week.
Is rebuilding all container images something that needs to be done every time we do a minimum meson version bump? If so, we probably need to look to take steps to make things easier to do.
/Bruce
Quoted 53 lines
On Tue, Jan 20, 2026 at 3:32 AM David Marchand
<[1][email protected]> wrote:Hello,
On Fri, 5 Dec 2025 at 13:28, Bruce Richardson <[2][email protected]> wrote:
>
> On Fri, Dec 05, 2025 at 12:13:01PM +0000, Bruce Richardson wrote:
> > The build of DPDK now uses features from version 0.6 of meson, which is
> > greater than the current minimum of 0.57.2. Although these features are
> > non-critical, they do cause warnings to be emitted on build. Increase
> > minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to remove
> > these warnings.
> >
> > Signed-off-by: Bruce Richardson <[3][email protected]> > > ---
> > meson.build | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> With this patch, and the previously submitted patchset for assigning test
> cases to the various categories/suites, all warnings in the meson > configuration stage should now be gone.
>
> In terms of the specific version, as noted above I chose the version of
> meson present in Ubuntu 22.04 as a reasonable baseline. Both debian stable,
> and debian old-stable have newer versions than that in them. For the RHEL
> line, I'm not sure what the baseline is, but I believe that RHEL 8 shipped
> originally with a meson version even older than 0.57, so moving to a later
> one I hope doesn't matter. [I wasn't easily able to find out from Google
> what the current meson version in RHEL 8/9/10 is]
Cc: Timothy for .rpm distributions, Luca for .deb.
I prefer we get some acks from distributions people. Also, this patch requires coordination with the CI guys (as can be seen in patchwork, many envs are using old versions of meson). --
David MarchandReferences
1. mailto:[email protected]
2. mailto:[email protected]
3. mailto:[email protected]
Quoted 10 lines · Bruce Richardson
Quoted 4 lines · Patrick Robb
Thanks David for the CC. We need to rebuild all of our DPDK container images for the distro build testing etc. which takes some time. We should be ready early next week.
Is rebuilding all container images something that needs to be done every time we do a minimum meson version bump? If so, we probably need to look to take steps to make things easier to do.
Right now we do build new images any time any DPDK dependencies are updated, including meson. That's done with the dpdk-ci template engine (an application that templates out Dockerfiles for DPDK CI testing):
https://git.dpdk.org/tools/dpdk-ci/tree/containers
However, to simplify we can just move to installing meson at runtime in all cases. We already have to do this sometimes (like when testing with an LTS that requires a different meson) so doing it in all cases wouldn't be too disruptive. And, of course the main point is that that would allow us to accomodate a version bump like this without rebuilding the CI images. Let me know if you have an opinion. In any case I will chat with the CI Lab students about it.
Quoted 15 lines · Patrick Robb
On Fri, Jan 23, 2026 at 4:02 AM Bruce Richardson <[1][email protected]> wrote:
On Thu, Jan 22, 2026 at 01:59:19PM -0500, Patrick Robb wrote:
> Thanks David for the CC. We need to rebuild all of our DPDK
> container images for the distro build testing etc. which takes
some
> time. We should be ready early next week.
>
Is rebuilding all container images something that needs to be done every
time we do a minimum meson version bump? If so, we probably need to look to
take steps to make things easier to do.
Quoted 12 lines
Right now we do build new images any time any DPDK dependencies are updated, including meson. That's done with the dpdk-ci template engine (an application that templates out Dockerfiles for DPDK CI testing): [2]https://git.dpdk.org/tools/dpdk-ci/tree/containers However, to simplify we can just move to installing meson at runtime in all cases. We already have to do this sometimes (like when testing with an LTS that requires a different meson) so doing it in all cases wouldn't be too disruptive. And, of course the main point is that that would allow us to accomodate a version bump like this without rebuilding the CI images. Let me know if you have an opinion. In any case I will chat with the CI Lab students about it.
Having it installed at runtime would be definitely good.
The other thing I was considering is whether we actually need to use the minimum meson version for all build testing. If one or two containers have the minimum version that should be fine, and others can use the distro supplied version so long as its >= minimum.
/Bruce
Quoted 30 lines · Bruce Richardson
Quoted 15 lines · Patrick Robb
On Fri, Jan 23, 2026 at 4:02 AM Bruce Richardson <[1][email protected]> wrote:
On Thu, Jan 22, 2026 at 01:59:19PM -0500, Patrick Robb wrote:
> Thanks David for the CC. We need to rebuild all of our DPDK
> container images for the distro build testing etc. which takes
some
> time. We should be ready early next week.
>
Is rebuilding all container images something that needs to be done every
time we do a minimum meson version bump? If so, we probably need to look to
take steps to make things easier to do.Quoted 5 lines
Right now we do build new images any time any DPDK dependencies are updated, including meson. That's done with the dpdk-ci template engine (an application that templates out Dockerfiles for DPDK CI testing): [2]https://git.dpdk.org/tools/dpdk-ci/tree/containers However, to simplify we can just move to installing meson at runtime
in
Quoted 1 line
all cases. We already have to do this sometimes (like when testing
with
Quoted 6 lines
an LTS that requires a different meson) so doing it in all cases wouldn't be too disruptive. And, of course the main point is that that would allow us to accomodate a version bump like this without rebuilding the CI images. Let me know if you have an opinion. In any case I will chat with the CI Lab students about it.
Quoted 6 lines
Having it installed at runtime would be definitely good.
The other thing I was considering is whether we actually need to use the minimum meson version for all build testing. If one or two containers have the minimum version that should be fine, and others can use the distro supplied version so long as its >= minimum.
Okay, both of the options above sound good. From my end if I had to choose I would just do the first solution (install meson at runtime in all cases) because it keeps our process uniform across distro testing and there is no "special" container. But, the second option sounds good too so please let me know what you think is best.
Quoted 5 lines
/Bruce
Quoted 52 lines · Patrick Robb
On Fri, Jan 23, 2026 at 10:43 AM Bruce Richardson <[1][email protected]> wrote:
On Fri, Jan 23, 2026 at 10:35:53AM -0500, Patrick Robb wrote:
> On Fri, Jan 23, 2026 at 4:02 AM Bruce Richardson
> <[1][2][email protected]> wrote:
>
> On Thu, Jan 22, 2026 at 01:59:19PM -0500, Patrick Robb wrote:
> > Thanks David for the CC. We need to rebuild all of our
DPDK
> > container images for the distro build testing etc. which
takes
> some
> > time. We should be ready early next week.
> >
> Is rebuilding all container images something that needs to be
done
> every
> time we do a minimum meson version bump? If so, we probably
need to
> look to
> take steps to make things easier to do.
>
> Right now we do build new images any time any DPDK dependencies
are
> updated, including meson. That's done with the dpdk-ci template
engine
> (an application that templates out Dockerfiles for DPDK CI
> testing):
[2][3]https://git.dpdk.org/tools/dpdk-ci/tree/containers
> However, to simplify we can just move to installing meson at
runtime in
> all cases. We already have to do this sometimes (like when
testing with
> an LTS that requires a different meson) so doing it in all
cases
> wouldn't be too disruptive. And, of course the main point is
that that
> would allow us to accomodate a version bump like this without
> rebuilding the CI images. Let me know if you have an opinion.
In any
> case I will chat with the CI Lab students about it.
>
Having it installed at runtime would be definitely good. The other thing I was considering is whether we actually need to use the
minimum meson version for all build testing. If one or two containers have
the minimum version that should be fine, and others can use the distro
supplied version so long as its >= minimum.
Quoted 6 lines
Okay, both of the options above sound good. From my end if I had to choose I would just do the first solution (install meson at runtime in all cases) because it keeps our process uniform across distro testing and there is no "special" container. But, the second option sounds good too so please let me know what you think is best.
Go with your runtime solution, it's fine - and possibly better.
On Fri, Jan 23, 2026 at 11:11 AM Bruce Richardson
<[email protected]> wrote:
.
Quoted 9 lines
Quoted 7 lines
Okay, both of the options above sound good. From my end if I had to choose I would just do the first solution (install meson at runtime in all cases) because it keeps our process uniform across distro testing and there is no "special" container. But, the second option sounds good too so please let me know what you think is best.
Go with your runtime solution, it's fine - and possibly better.
I realized after looking at our scripting that I pushed a change last year that does the "meet meson version at runtime based on the output of buildtools/get-min-meson-version.py" last year. That was probably when you originally added buildtools/get-min-meson-version.py. So, I guess we can say that no coordination with the UNH group is needed when the meson version is bumped in the future. The same should be true for the other labs because as far as I know they are using dpdk/.ci/linux-setup.sh for their CI jobs, but also it definitely doesn't hurt to ping the [email protected] mailing list when these updates happen in the future anyways. Thanks.
Quoted 16 lines · Bruce Richardson
Quoted 11 lines · Bruce Richardson
The build of DPDK now uses features from version 0.6 of meson, which is greater than the current minimum of 0.57.2. Although these features are non-critical, they do cause warnings to be emitted on build. Increase minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to remove these warnings.
Signed-off-by Bruce Richardson <[email protected]>--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)With this patch, and the previously submitted patchset for assigning test cases to the various categories/suites, all warnings in the meson configuration stage should now be gone.
Quoted 8 lines
In terms of the specific version, as noted above I chose the version of meson present in Ubuntu 22.04 as a reasonable baseline. Both debian stable, and debian old-stable have newer versions than that in them. For the RHEL line, I'm not sure what the baseline is, but I believe that RHEL 8 shipped originally with a meson version even older than 0.57, so moving to a later one I hope doesn't matter. [I wasn't easily able to find out from Google what the current meson version in RHEL 8/9/10 is]
fyi - RHEL-9 has 0.63.3, RHEL-10 has 1.4.1
Quoted 3 lines
Regards,
/Bruce
Quoted 26 lines · Kevin Traynor
Quoted 16 lines · Bruce Richardson
Quoted 11 lines · Bruce Richardson
The build of DPDK now uses features from version 0.6 of meson, which is greater than the current minimum of 0.57.2. Although these features are non-critical, they do cause warnings to be emitted on build. Increase minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to remove these warnings.
Signed-off-by Bruce Richardson <[email protected]>--- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)With this patch, and the previously submitted patchset for assigning test cases to the various categories/suites, all warnings in the meson configuration stage should now be gone.
Quoted 8 lines
In terms of the specific version, as noted above I chose the version of meson present in Ubuntu 22.04 as a reasonable baseline. Both debian stable, and debian old-stable have newer versions than that in them. For the RHEL line, I'm not sure what the baseline is, but I believe that RHEL 8 shipped originally with a meson version even older than 0.57, so moving to a later one I hope doesn't matter. [I wasn't easily able to find out from Google what the current meson version in RHEL 8/9/10 is]
Quoted 2 lines
fyi - RHEL-9 has 0.63.3, RHEL-10 has 1.4.1
Perfect, thanks for confirming. So 0.61 min seems fine then for RHEL instances.
/Bruce
PATCH v2 1/1 build: bump meson version to remove warnings
In reply to Bruce RichardsonThe build of DPDK now uses features from version 0.6 of meson, which is greater than the current minimum of 0.57.2. Although these features are non-critical, they do cause warnings to be emitted on build. Increase minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to remove these warnings.
---
v2: update some references to meson version in the docs
--- doc/guides/linux_gsg/sys_reqs.rst | 2 +- doc/guides/prog_guide/build-sdk-meson.rst | 2 +- meson.build | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
doc/guides/linux_gsg/sys_reqs.rst +1 -1
@@ -38,7 +38,7 @@ Compilation of the DPDK * Python 3.6 or later. -* Meson (version 0.57+) and ninja +* Meson (version 0.61+) and ninja * ``meson`` & ``ninja-build`` packages in most Linux distributions * If the packaged version is below the minimum version, the latest versions
doc/guides/prog_guide/build-sdk-meson.rst +1 -1
@@ -35,7 +35,7 @@ The ``meson`` tool is used to configure a DPDK build. On most Linux distributions this can be installed using the local package management system, e.g. ``dnf install meson`` or ``apt-get install meson``. If meson is not available as a suitable package, it can also be installed using the Python -3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.57 or later of meson is +3 ``pip`` tool, e.g. ``pip3 install meson``. Version 0.61 or later of meson is required - if the version packaged is too old, the latest version is generally available from "pip".
meson.build +1 -1
@@ -10,7 +10,7 @@ project('DPDK', 'c', 'default_library=static', 'warning_level=2', ], - meson_version: '>= 0.57.2' + meson_version: '>= 0.61' # meson_version_windows: '>= 1.5.2' )
Signature · 1 line
2.53.0
David Marchand
AppliedQuoted 8 lines · Bruce Richardson
The build of DPDK now uses features from version 0.6 of meson, which is greater than the current minimum of 0.57.2. Although these features are non-critical, they do cause warnings to be emitted on build. Increase minimum meson version to 0.61 (== version in Ubuntu 22.04 LTS) to remove these warnings.
Signed-off-by Bruce Richardson <[email protected]>
Applied, thanks Bruce.
Signature · 1 line
David Marchand