Skip to contentSkip to conversation

Podman version mismatch

DISCUSSION [email protected] 3 participants 6 messages Apr 28 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

I gave the newly upgraded podman recipe a try but it seems that there is still a version mismatch. PV = "5.8.2" but: podman -v
podman version 5.8.3-dev

Do you want me to send a patch or do you want to have a look at your update script?

Patrick

#1 lore raw

meta-virtualization has hardly any recipe which fetches exactly git tag.
So things like this are unfortunately expected.
In the past I have sent couple updates to mailing list to use real versions, but without success, so I gave up.

Having the coming regulations in mind (requiring accurate sbom and cve tracking), I'd recommend everyone using meta-virtualization to just copy any used recipe, correct git hash and update crates.inc.

Peter

Quoted 19 lines

-----Original Message-----
From: [email protected] <meta- [email protected]> On Behalf Of Patrick Vogelaar via lists.yoctoproject.org
Sent: Tuesday, April 28, 2026 7:19 AM
To: [email protected]
Subject: [meta-virtualization] Podman version mismatch

Hi,

I gave the newly upgraded podman recipe a try but it seems that there is still a version mismatch.
PV = "5.8.2" but: podman -v
podman version 5.8.3-dev

Do you want me to send a patch or do you want to have a look at your update script?

Patrick

#2 lore raw
Quoted 6 lines · Peter Marko via lists.yoctoproject.org

meta-virtualization has hardly any recipe which fetches exactly git tag. So things like this are unfortunately expected.
In the past I have sent couple updates to mailing list to use real versions, but without success, so I gave up.

Thanks for the encouragement of the 10+ years of
maintaining meta-virtualization!

The reason they aren't exact git tags or exact releases is that those hashes stay valid
for such a short time that it simply isn't worth it. And there's certaining no value in
constantly bouncing the files through _<version>.bb and the _git.bb every time I
move off an exact release tag.

Maintaining all this many recipes, that move this quickly by stacking patches on to
languages that don't patch all that way would simply be chaos.

Patrick: there's nothing wrong with script that was intentional on the version.

Which would be easier in your scenario ? (and by your scenario, I mean me changing
the version reporting in the recipe.

- adding the -dev into the PV
- injecting the "base" version into the build via -X (or whatever
mechanism the
buld needs) ?

Bruce

Quoted 41 lines

Having the coming regulations in mind (requiring accurate sbom and cve tracking), I'd recommend everyone using meta-virtualization to just copy any used recipe, correct git hash and update crates.inc.

Peter

Quoted 11 lines

-----Original Message-----
From: [email protected] <meta- [email protected]> On Behalf Of Patrick Vogelaar via lists.yoctoproject.org
Sent: Tuesday, April 28, 2026 7:19 AM
To: [email protected]
Subject: [meta-virtualization] Podman version mismatch

Hi,

I gave the newly upgraded podman recipe a try but it seems that there is

still a

Quoted 5 lines

version mismatch.
PV = "5.8.2" but: podman -v
podman version 5.8.3-dev

Do you want me to send a patch or do you want to have a look at your

update

Quoted 3 lines

script?

Patrick

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9755):
https://lists.yoctoproject.org/g/meta-virtualization/message/9755
Mute This Topic: https://lists.yoctoproject.org/mt/119043966/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 22 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 6 lines · Peter Marko via lists.yoctoproject.org

meta-virtualization has hardly any recipe which fetches exactly git tag. So things like this are unfortunately expected.
In the past I have sent couple updates to mailing list to use real versions, but without success, so I gave up.

Thanks for the encouragement of the 10+ years of
maintaining meta-virtualization!

The reason they aren't exact git tags or exact releases is that those hashes stay valid
for such a short time that it simply isn't worth it. And there's certaining no value in
constantly bouncing the files through _<version>.bb and the _git.bb every time I
move off an exact release tag.

Quoted 8 lines

Maintaining all this many recipes, that move this quickly by stacking patches on to
languages that don't patch all that way would simply be chaos.

Patrick: there's nothing wrong with script that was intentional on the version.

In this case, I looked a bit more closely, upstream is doing something different
which did in fact make the script report a different version than the version in
the code:

build4 [/home/bruc...git/libpod]> git describe --tags v5.8.2-5-g88c5aaeec6
build4 [/home/bruc...git/libpod]> git describe v5.8.2-5-g88c5aaeec6

Which is what my script uses to pick up the base version. But the top commit on the 5.8 branch:

commit 88c5aaeec667af94c4fe3a5c2c7a42f8cf308b93 (from 28d04eeb8ec047464c35cc6fbe766ca63b49d338) (HEAD -> v5.8, origin/v5.8)
Merge: 28d04eeb8e 7a47175665
Author: Paul Holzinger <[email protected]>
Date: Wed Apr 15 12:01:24 2026 +0200

Merge pull request #28510 from podmanbot/bump-5.8.3-dev

Bump Podman to v5.8.3-dev

:100644 100644 9aba2b5c22 39273508b8 M version/rawversion/version.go

Which is of course what the build is picking up.

I'll have to add a condition to the upgrade tests to pick that up, and/or see
if I can put it into the scripting logic (it just won't hold across all the languages
that are used, so it'll be a bit fiddly).

For now, I've manually updated the recipe to match the golang version.

Thanks for catching that!

Bruce

Quoted 69 lines

Which would be easier in your scenario ? (and by your scenario, I mean me changing
the version reporting in the recipe.

- adding the -dev into the PV
- injecting the "base" version into the build via -X (or whatever
mechanism the
buld needs) ?

Bruce

Quoted 19 lines

Having the coming regulations in mind (requiring accurate sbom and cve tracking), I'd recommend everyone using meta-virtualization to just copy any used recipe, correct git hash and update crates.inc.

Peter

Quoted 3 lines

-----Original Message-----
From: [email protected] <meta- [email protected]> On Behalf Of Patrick Vogelaar

via

Quoted 7 lines

lists.yoctoproject.org
Sent: Tuesday, April 28, 2026 7:19 AM
To: [email protected]
Subject: [meta-virtualization] Podman version mismatch

Hi,

Quoted 15 lines
Quoted 1 line

I gave the newly upgraded podman recipe a try but it seems that there

is still a

Quoted 5 lines

version mismatch.
PV = "5.8.2" but: podman -v
podman version 5.8.3-dev

Do you want me to send a patch or do you want to have a look at your

update

Quoted 3 lines

script?

Patrick

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9756):
https://lists.yoctoproject.org/g/meta-virtualization/message/9756
Mute This Topic: https://lists.yoctoproject.org/mt/119043966/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
#5 lore raw
Quoted 60 lines

Bruce Ashfield <[email protected]> hat am 28.04.2026 13:23 CEST geschrieben:

Quoted 16 lines · On Tue, Apr 28, 2026 at 7:15 AM Bruce Ashfield via lists.yoctoproject.org…
Quoted 4 lines · On Tue, Apr 28, 2026 at 2:11 AM Peter Marko via lists.yoctoproject.org…

meta-virtualization has hardly any recipe which fetches exactly git tag.
So things like this are unfortunately expected.
In the past I have sent couple updates to mailing list to use real versions, but without success, so I gave up.

Thanks for the encouragement of the 10+ years of maintaining meta-virtualization!

The reason they aren't exact git tags or exact releases is that those hashes stay valid for such a short time that it simply isn't worth it. And there's certaining no value in constantly bouncing the files through _<version>.bb and the _git.bb (http://git.bb) every time I move off an exact release tag.

Quoted 5 lines

Maintaining all this many recipes, that move this quickly by stacking patches on to languages that don't patch all that way would simply be chaos.

Patrick: there's nothing wrong with script that was intentional on the version.

In this case, I looked a bit more closely, upstream is doing something different which did in fact make the script report a different version than the version in the code:

build4 [/home/bruc...git/libpod]> git describe --tags v5.8.2-5-g88c5aaeec6
build4 [/home/bruc...git/libpod]> git describe v5.8.2-5-g88c5aaeec6

Which is what my script uses to pick up the base version. But the top commit on the 5.8 branch:

commit 88c5aaeec667af94c4fe3a5c2c7a42f8cf308b93 (from 28d04eeb8ec047464c35cc6fbe766ca63b49d338) (HEAD -> v5.8, origin/v5.8)
Merge: 28d04eeb8e 7a47175665
Author: Paul Holzinger <[email protected]>
Date: Wed Apr 15 12:01:24 2026 +0200

Merge pull request #28510 from podmanbot/bump-5.8.3-dev

Bump Podman to v5.8.3-dev

:100644 100644 9aba2b5c22 39273508b8 M version/rawversion/version.go

Which is of course what the build is picking up.

I'll have to add a condition to the upgrade tests to pick that up, and/or see if I can put it into the scripting logic (it just won't hold across all the languages that are used, so it'll be a bit fiddly).

Quoted 6 lines

For now, I've manually updated the recipe to match the golang version.

Thanks for catching that!

Bruce

Thanks for having a closer look. I have no opinion on the reporting but for me it would be important the version from the recipe matches the version from the sources.

Patrick

Quoted 64 lines
Quoted 48 lines

Which would be easier in your scenario ? (and by your scenario, I mean me changing the version reporting in the recipe.

- adding the -dev into the PV
- injecting the "base" version into the build via -X (or whatever mechanism the buld needs) ?

Bruce

Quoted 27 lines

Having the coming regulations in mind (requiring accurate sbom and cve tracking), I'd recommend everyone using meta-virtualization to just copy any used recipe, correct git hash and update crates.inc.

Peter

Quoted 19 lines

-----Original Message-----
From: [email protected] <meta- [email protected]> On Behalf Of Patrick Vogelaar via lists.yoctoproject.org (http://lists.yoctoproject.org)
Sent: Tuesday, April 28, 2026 7:19 AM
To: [email protected]
Subject: [meta-virtualization] Podman version mismatch

Hi,

I gave the newly upgraded podman recipe a try but it seems that there is still a version mismatch.
PV = "5.8.2" but: podman -v
podman version 5.8.3-dev

Do you want me to send a patch or do you want to have a look at your update script?

Patrick

--

- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Quoted 9 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9756): https://lists.yoctoproject.org/g/meta-virtualization/message/9756
Mute This Topic: https://lists.yoctoproject.org/mt/119043966/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--

- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

#6 lore raw
Quoted 81 lines · On Tue, Apr 28, 2026 at 8:24 AM <[email protected]> wrote:
Quoted 2 lines

Bruce Ashfield <[email protected]> hat am 28.04.2026 13:23 CEST

geschrieben:

Quoted 6 lines

On Tue, Apr 28, 2026 at 7:15 AM Bruce Ashfield via

lists.yoctoproject.org (http://lists.yoctoproject.org) <bruce.ashfield=

Quoted 4 lines · [email protected]> wrote:
Quoted 4 lines

On Tue, Apr 28, 2026 at 2:11 AM Peter Marko via lists.yoctoproject.org

(http://lists.yoctoproject.org) <peter.marko=

Quoted 1 line · [email protected]> wrote:
Quoted 1 line
Quoted 1 line

meta-virtualization has hardly any recipe which fetches exactly git

tag.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

So things like this are unfortunately expected.
In the past I have sent couple updates to mailing list to use real

versions, but without success, so I gave up.

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

Thanks for the encouragement of the 10+ years of

maintaining meta-virtualization!

Quoted 2 lines
Quoted 2 lines

The reason they aren't exact git tags or exact releases is that those

hashes stay valid

Quoted 1 line
Quoted 1 line

for such a short time that it simply isn't worth it. And there's

certaining no value in

Quoted 1 line
Quoted 1 line

constantly bouncing the files through _<version>.bb and the _git.bb (

http://git.bb) every time I

Quoted 3 lines
Quoted 3 lines

move off an exact release tag.

Maintaining all this many recipes, that move this quickly by stacking

patches on to

Quoted 3 lines
Quoted 3 lines

languages that don't patch all that way would simply be chaos.

Patrick: there's nothing wrong with script that was intentional on the

version.

Quoted 3 lines
Quoted 1 line

In this case, I looked a bit more closely, upstream is doing something

different

Quoted 1 line

which did in fact make the script report a different version than the

version in

Quoted 9 lines

the code:

build4 [/home/bruc...git/libpod]> git describe --tags v5.8.2-5-g88c5aaeec6
build4 [/home/bruc...git/libpod]> git describe v5.8.2-5-g88c5aaeec6

Which is what my script uses to pick up the base version. But the top

commit

Quoted 3 lines

on the 5.8 branch:

commit 88c5aaeec667af94c4fe3a5c2c7a42f8cf308b93 (from

28d04eeb8ec047464c35cc6fbe766ca63b49d338) (HEAD -> v5.8, origin/v5.8)

Quoted 6 lines

Merge: 28d04eeb8e 7a47175665
Author: Paul Holzinger <[email protected]>
Date: Wed Apr 15 12:01:24 2026 +0200

Merge pull request #28510 from podmanbot/bump-5.8.3-dev

Quoted 7 lines

Bump Podman to v5.8.3-dev

:100644 100644 9aba2b5c22 39273508b8 M version/rawversion/version.go

Which is of course what the build is picking up.

I'll have to add a condition to the upgrade tests to pick that up,

and/or see

Quoted 1 line

if I can put it into the scripting logic (it just won't hold across all

the languages

Quoted 4 lines

that are used, so it'll be a bit fiddly).

For now, I've manually updated the recipe to match the golang version.

Quoted 10 lines
Quoted 4 lines

Thanks for catching that!

Bruce

Thanks for having a closer look. I have no opinion on the reporting but for me it would be important the version from the recipe matches the version from the sources.

It's updated now. Let me know if I screwed it up again by sending a patch,

The git hashes and discovery are in the end the most important part of discovery and scanning, so that's the priority. Versions can be manipulated (or wrong, as we've seen), so they need to be validated against the source.

I've added a basic unit test to the layer to check versions in the recipes, versus reported versions.

Bruce

Quoted 79 lines

Patrick

Quoted 2 lines
Quoted 2 lines

Which would be easier in your scenario ? (and by your scenario, I mean

me changing

Quoted 6 lines
Quoted 6 lines

the version reporting in the recipe.

- adding the -dev into the PV
- injecting the "base" version into the build via -X (or whatever

mechanism the

Quoted 6 lines
Quoted 6 lines

buld needs) ?

Bruce

Quoted 1 line

Having the coming regulations in mind (requiring accurate sbom and

cve tracking), I'd recommend everyone using meta-virtualization to just copy any used recipe, correct git hash and update crates.inc.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Peter

Quoted 3 lines

-----Original Message-----
From: [email protected] <meta- [email protected]> On Behalf Of Patrick

Vogelaar via

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

lists.yoctoproject.org (http://lists.yoctoproject.org)
Sent: Tuesday, April 28, 2026 7:19 AM
To: [email protected]
Subject: [meta-virtualization] Podman version mismatch

Hi,

I gave the newly upgraded podman recipe a try but it seems that

there is still a

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

version mismatch.
PV = "5.8.2" but: podman -v
podman version 5.8.3-dev

Do you want me to send a patch or do you want to have a look at

your update

Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
Quoted 3 lines

script?

Patrick

Quoted 3 lines
Quoted 3 lines

--

- Thou shalt not follow the NULL pointer, for chaos and madness await

thee at its end

Quoted 6 lines
Quoted 6 lines

- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9756):

https://lists.yoctoproject.org/g/meta-virtualization/message/9756

Quoted 3 lines
Quoted 3 lines

Mute This Topic: https://lists.yoctoproject.org/mt/119043966/1050810
Group Owner: [email protected] Unsubscribe:

https://lists.yoctoproject.org/g/meta-virtualization/unsub [ [email protected]]

Quoted 8 lines
Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-

--

- Thou shalt not follow the NULL pointer, for chaos and madness await

thee at its end

Quoted 2 lines

- "Use the force Harry" - Gandalf, Star Trek II

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II