All of lore.kernel.org
 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

* Re: [OE-core] [PATCH] autoconf: mangle PV to avoid version-goes-backwards
  2025-04-22 13:11 [PATCH] autoconf: mangle PV to avoid version-goes-backwards Ross Burton
@ 2025-04-22 14:05 ` Alexander Kanavin
  2025-04-22 16:05 ` Mathieu Dubois-Briand
  1 sibling, 0 replies; 4+ messages in thread
From: Alexander Kanavin @ 2025-04-22 14:05 UTC (permalink / raw)
  To: ross.burton; +Cc: openembedded-core, koen.kooi

[-- Attachment #1: Type: text/plain, Size: 2314 bytes --]

Sadly upstream check will report ‘broken’ with this, that’s why I was
hesitant to send the update myself. It will start working again when there
is a new release (assuming it will sort higher than 2.72e).

Alex

On Tue 22. Apr 2025 at 15.12, Ross Burton via lists.openembedded.org
<ross.burton=arm.com@lists.openembedded.org> wrote:

> 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
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#215208):
> https://lists.openembedded.org/g/openembedded-core/message/215208
> Mute This Topic: https://lists.openembedded.org/mt/112394175/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 3786 bytes --]

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

* Re: [OE-core] [PATCH] autoconf: mangle PV to avoid version-goes-backwards
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Mathieu Dubois-Briand @ 2025-04-22 16:05 UTC (permalink / raw)
  To: ross.burton, openembedded-core; +Cc: koen.kooi

On Tue Apr 22, 2025 at 3:11 PM CEST, Ross Burton via lists.openembedded.org wrote:
> 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>
> ---

It looks like this will be used in the fetch URL and so the fetch step
fails:

ERROR: autoconf-2.72e+really2.72-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/srv/pokybuild/yocto-worker/a-full/build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/srv/pokybuild/yocto-worker/a-full/build/scripts:/srv/pokybuild/yocto-worker/a-full/build/build/tmp/work/core2-64-poky-linux/autoconf/2.72e+really2.72/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/srv/pokybuild/yocto-worker/a-full/build/build/tmp/work/core2-64-poky-linux/autoconf/2.72e+really2.72/recipe-sysroot/usr/bin/crossscripts:/srv/pokybuild/yocto-worker/a-full/build/build/tmp/work/core2-64-poky-linux/autoconf/2.72e+really2.72/recipe-sysroot-native/usr/sbin:/srv/pokybuild/yocto-worker/a-full/build/build/tmp/work/core2-64-poky-linux/autoconf/2.72e+really2.72/recipe-sysroot-native/usr/bin:/srv/pokybuild/yocto-worker/a-full/build/build/tmp/work/core2-64-poky-linux/autoconf/2.72e+really2.72/recipe-sysroot-native/sbin:/srv/pokybuild/yocto-worker/a-full/build/build/tmp/work/core2-64-poky-linux/autoconf/2.72e+really2.72/recipe-sysroot-native/bin:/srv/pokybuild/yocto-worker/a-full/build/bitbake/bin:/srv/pokybuild/yocto-worker/a-full/build/build/tmp/hosttools"; export HOME="/srv/pokybuild"; /usr/bin/env wget --tries=2 --timeout=100 --output-document=/srv/autobuilder/valkyrie.yocto.io/current_sources/autoconf-2.72e+really2.72.tar.gz.tmp --continue --directory-prefix=/srv/autobuilder/valkyrie.yocto.io/current_sources 'https://ftp.gnu.org/gnu/autoconf/autoconf-2.72e+really2.72.tar.gz' --progress=dot --verbose failed with exit code 8, see logfile for output
ERROR: autoconf-2.72e+really2.72-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'https://ftp.gnu.org/gnu/autoconf/autoconf-2.72e+really2.72.tar.gz')

https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1435/steps/13/logs/stdio

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



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

* Re: [OE-core] [PATCH] autoconf: mangle PV to avoid version-goes-backwards
  2025-04-22 16:05 ` Mathieu Dubois-Briand
@ 2025-04-22 16:06   ` Ross Burton
  0 siblings, 0 replies; 4+ messages in thread
From: Ross Burton @ 2025-04-22 16:06 UTC (permalink / raw)
  To: Mathieu Dubois-Briand
  Cc: openembedded-core@lists.openembedded.org,
	koen.kooi@oss.qualcomm.com

On 22 Apr 2025, at 17:05, Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> wrote:
> 
> On Tue Apr 22, 2025 at 3:11 PM CEST, Ross Burton via lists.openembedded.org wrote:
>> 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>
>> ---
> 
> It looks like this will be used in the fetch URL and so the fetch step
> fails:

Yes, of course. Obvious lack of retesting after rewriting the patch again. Sorry, v2 coming shortly.

Ross

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.