Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] autoconf: mangle PV to avoid version-goes-backwards
@ 2025-04-22 13:11 Ross Burton
  2025-04-22 14:05 ` [OE-core] " Alexander Kanavin
  2025-04-22 16:05 ` Mathieu Dubois-Briand
  0 siblings, 2 replies; 4+ messages in thread
From: Ross Burton @ 2025-04-22 13:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: koen.kooi

I previously upgrade autoconf 2.72e (the fifth release candidate) to the
final release 2.72, but unfortunately failed to notice that the version
appears to go backwards as the package managers sort 2.72e _after_ 2.72.

We could resolve this with an epoch (via PE) but epochs are forever and
this mistake is temporary, so set a convoluted PV to fix the sorting
order that can be removed when the next major release is made.

[1] oe-core 11ff8dba0ce ("autoconf: upgrade to final 2.72 release")

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/autoconf/autoconf_2.72.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/autoconf/autoconf_2.72.bb b/meta/recipes-devtools/autoconf/autoconf_2.72.bb
index f2d2781fec9..04b771d05a8 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.72.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.72.bb
@@ -11,6 +11,10 @@ DEPENDS:remove:class-native = "autoconf-native automake-native help2man-native"
 LIC_FILES_CHKSUM = "file://COPYING;md5=cc3f3a7596cb558bbd9eb7fbaa3ef16c \
 		    file://COPYINGv3;md5=1ebbd3e34237af26da5dc08a4e440464"
 
+# Remove this when upgrading past 2.72, as package managers sort 2.72e (the
+# fifth release candidate) after 2.72.
+PV = "2.72e+really2.72"
+
 SRC_URI = " \
            ${GNU_MIRROR}/autoconf/${BP}.tar.gz \
            file://program_prefix.patch \
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-22 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-22 13:11 [PATCH] autoconf: mangle PV to avoid version-goes-backwards Ross Burton
2025-04-22 14:05 ` [OE-core] " Alexander Kanavin
2025-04-22 16:05 ` Mathieu Dubois-Briand
2025-04-22 16:06   ` Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox