Skip to contentSkip to conversation

build: bump meson version to remove warnings

PATCH Superseded Bruce Richardson 4 participants 14 messages Dec 5, 2025 – Sep 29 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

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
index b01010ffa0..6b8cfa8b2e 100644
@@ -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
#1 lore raw
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.

---
 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

#2 lore raw

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.

---
 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]

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).

Signature · 1 line
David Marchand
#3 lore raw

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.

---
 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

#4 lore raw
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 Marchand

References

1. mailto:[email protected]
2. mailto:[email protected]
3. mailto:[email protected]

#5 lore raw
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.

#6 lore raw
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

#7 lore raw
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

#8 lore raw
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.

#9 lore raw

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.

#10 lore raw
In reply to Bruce Richardson
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.

---
 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

#11 lore raw
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.

---
 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

#12 lore raw

PATCH v2 1/1 build: bump meson version to remove warnings

In reply to 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.

---
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
index 0e6a2e2e78..2a55301893 100644
@@ -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
index 93a3271482..b236a933a5 100644
@@ -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
index b01010ffa0..6b8cfa8b2e 100644
@@ -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
#13 lore raw
Quoted 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.

Applied, thanks Bruce.

Signature · 1 line
David Marchand