All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
@ 2022-03-29 14:59 Andrey Nechypurenko
  2022-03-29 18:25 ` Alsey Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-03-29 14:59 UTC (permalink / raw)
  To: buildroot; +Cc: Andrey Nechypurenko, Thomas Petazzoni

Version 3.20 is the first one where the following issue is fixed:
https://gitlab.kitware.com/cmake/cmake/-/issues/18299
Was affected by this bug and decide to bump the version to the
latest stable
---
 package/cmake/cmake.hash | 4 ++--
 package/cmake/cmake.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
index da514a6d6b..1749db8c27 100644
--- a/package/cmake/cmake.hash
+++ b/package/cmake/cmake.hash
@@ -1,5 +1,5 @@
-# From https://cmake.org/files/v3.18/cmake-3.18.6-SHA-256.txt
-sha256  124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600  cmake-3.18.6.tar.gz
+# From https://cmake.org/files/v3.22/cmake-3.22.3-SHA-256.txt
+sha256  9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0  cmake-3.22.3.tar.gz
 
 # Locally calculated
 sha256  131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d  Copyright.txt
diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
index 4177b119ab..053658fad6 100644
--- a/package/cmake/cmake.mk
+++ b/package/cmake/cmake.mk
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-CMAKE_VERSION_MAJOR = 3.18
-CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6
+CMAKE_VERSION_MAJOR = 3.22
+CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
 CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
 CMAKE_LICENSE = BSD-3-Clause
 CMAKE_LICENSE_FILES = Copyright.txt
-- 
2.32.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-03-29 14:59 [Buildroot] [PATCH] package/cmake: bump version to 3.22.3 Andrey Nechypurenko
@ 2022-03-29 18:25 ` Alsey Miller
  2022-05-10 15:02 ` Andrey Nechypurenko
  2022-05-28 21:33 ` Yann E. MORIN
  2 siblings, 0 replies; 21+ messages in thread
From: Alsey Miller @ 2022-03-29 18:25 UTC (permalink / raw)
  To: Andrey Nechypurenko; +Cc: Thomas Petazzoni, buildroot

This newer version of cmake is also needed to cross compile Apple’s Swift programming language, so it would be great if this got merged.

> On Mar 29, 2022, at 7:59 AM, Andrey Nechypurenko <andreynech@gmail.com> wrote:
> 
> Version 3.20 is the first one where the following issue is fixed:
> https://gitlab.kitware.com/cmake/cmake/-/issues/18299
> Was affected by this bug and decide to bump the version to the
> latest stable
> ---
> package/cmake/cmake.hash | 4 ++--
> package/cmake/cmake.mk   | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
> index da514a6d6b..1749db8c27 100644
> --- a/package/cmake/cmake.hash
> +++ b/package/cmake/cmake.hash
> @@ -1,5 +1,5 @@
> -# From https://cmake.org/files/v3.18/cmake-3.18.6-SHA-256.txt
> -sha256  124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600  cmake-3.18.6.tar.gz
> +# From https://cmake.org/files/v3.22/cmake-3.22.3-SHA-256.txt
> +sha256  9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0  cmake-3.22.3.tar.gz
> 
> # Locally calculated
> sha256  131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d  Copyright.txt
> diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
> index 4177b119ab..053658fad6 100644
> --- a/package/cmake/cmake.mk
> +++ b/package/cmake/cmake.mk
> @@ -4,8 +4,8 @@
> #
> ################################################################################
> 
> -CMAKE_VERSION_MAJOR = 3.18
> -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6
> +CMAKE_VERSION_MAJOR = 3.22
> +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
> CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
> CMAKE_LICENSE = BSD-3-Clause
> CMAKE_LICENSE_FILES = Copyright.txt
> -- 
> 2.32.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-03-29 14:59 [Buildroot] [PATCH] package/cmake: bump version to 3.22.3 Andrey Nechypurenko
  2022-03-29 18:25 ` Alsey Miller
@ 2022-05-10 15:02 ` Andrey Nechypurenko
  2022-05-10 15:05   ` Yegor Yefremov via buildroot
  2022-05-28 21:33 ` Yann E. MORIN
  2 siblings, 1 reply; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-10 15:02 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni

Hi Folks,

I am just curious if the following patch will be accepted for the
upcoming release?

Thank you,
Andrey.

On Tue, 29 Mar 2022 at 16:59, Andrey Nechypurenko <andreynech@gmail.com> wrote:
>
> Version 3.20 is the first one where the following issue is fixed:
> https://gitlab.kitware.com/cmake/cmake/-/issues/18299
> Was affected by this bug and decide to bump the version to the
> latest stable
> ---
>  package/cmake/cmake.hash | 4 ++--
>  package/cmake/cmake.mk   | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
> index da514a6d6b..1749db8c27 100644
> --- a/package/cmake/cmake.hash
> +++ b/package/cmake/cmake.hash
> @@ -1,5 +1,5 @@
> -# From https://cmake.org/files/v3.18/cmake-3.18.6-SHA-256.txt
> -sha256  124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600  cmake-3.18.6.tar.gz
> +# From https://cmake.org/files/v3.22/cmake-3.22.3-SHA-256.txt
> +sha256  9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0  cmake-3.22.3.tar.gz
>
>  # Locally calculated
>  sha256  131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d  Copyright.txt
> diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
> index 4177b119ab..053658fad6 100644
> --- a/package/cmake/cmake.mk
> +++ b/package/cmake/cmake.mk
> @@ -4,8 +4,8 @@
>  #
>  ################################################################################
>
> -CMAKE_VERSION_MAJOR = 3.18
> -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6
> +CMAKE_VERSION_MAJOR = 3.22
> +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
>  CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
>  CMAKE_LICENSE = BSD-3-Clause
>  CMAKE_LICENSE_FILES = Copyright.txt
> --
> 2.32.0
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-10 15:02 ` Andrey Nechypurenko
@ 2022-05-10 15:05   ` Yegor Yefremov via buildroot
  2022-05-10 15:20     ` Andrey Nechypurenko
  0 siblings, 1 reply; 21+ messages in thread
From: Yegor Yefremov via buildroot @ 2022-05-10 15:05 UTC (permalink / raw)
  To: Andrey Nechypurenko; +Cc: Thomas Petazzoni, buildroot

Hi Andrey,

On Tue, May 10, 2022 at 5:02 PM Andrey Nechypurenko
<andreynech@gmail.com> wrote:
>
> Hi Folks,
>
> I am just curious if the following patch will be accepted for the
> upcoming release?

What about bumping it to 3.23.1?

Regards,
Yegor

> Thank you,
> Andrey.
>
> On Tue, 29 Mar 2022 at 16:59, Andrey Nechypurenko <andreynech@gmail.com> wrote:
> >
> > Version 3.20 is the first one where the following issue is fixed:
> > https://gitlab.kitware.com/cmake/cmake/-/issues/18299
> > Was affected by this bug and decide to bump the version to the
> > latest stable
> > ---
> >  package/cmake/cmake.hash | 4 ++--
> >  package/cmake/cmake.mk   | 4 ++--
> >  2 files changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
> > index da514a6d6b..1749db8c27 100644
> > --- a/package/cmake/cmake.hash
> > +++ b/package/cmake/cmake.hash
> > @@ -1,5 +1,5 @@
> > -# From https://cmake.org/files/v3.18/cmake-3.18.6-SHA-256.txt
> > -sha256  124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600  cmake-3.18.6.tar.gz
> > +# From https://cmake.org/files/v3.22/cmake-3.22.3-SHA-256.txt
> > +sha256  9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0  cmake-3.22.3.tar.gz
> >
> >  # Locally calculated
> >  sha256  131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d  Copyright.txt
> > diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
> > index 4177b119ab..053658fad6 100644
> > --- a/package/cmake/cmake.mk
> > +++ b/package/cmake/cmake.mk
> > @@ -4,8 +4,8 @@
> >  #
> >  ################################################################################
> >
> > -CMAKE_VERSION_MAJOR = 3.18
> > -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6
> > +CMAKE_VERSION_MAJOR = 3.22
> > +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
> >  CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
> >  CMAKE_LICENSE = BSD-3-Clause
> >  CMAKE_LICENSE_FILES = Copyright.txt
> > --
> > 2.32.0
> >
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-10 15:05   ` Yegor Yefremov via buildroot
@ 2022-05-10 15:20     ` Andrey Nechypurenko
  2022-05-10 19:13       ` Arnout Vandecappelle
  0 siblings, 1 reply; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-10 15:20 UTC (permalink / raw)
  To: Yegor Yefremov; +Cc: Thomas Petazzoni, buildroot

Hi Yegor,

> > I am just curious if the following patch will be accepted for the
> > upcoming release?
>
> What about bumping it to 3.23.1?

At the time I submitted the patch (29.03), v.3.22 was the latest one. It
also fixes the bug I was facing. So it is good enough for me and definitely
better than v.3.18 currently used by Buildroot. If you would like to submit
another one for v. 3.23.1 it would be great.

Regards,
Andrey.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-10 15:20     ` Andrey Nechypurenko
@ 2022-05-10 19:13       ` Arnout Vandecappelle
  2022-05-11  9:45         ` Andrey Nechypurenko
  0 siblings, 1 reply; 21+ messages in thread
From: Arnout Vandecappelle @ 2022-05-10 19:13 UTC (permalink / raw)
  To: Andrey Nechypurenko, Yegor Yefremov
  Cc: Alsey Miller, Thomas Petazzoni, buildroot



On 10/05/2022 17:20, Andrey Nechypurenko wrote:
> Hi Yegor,
> 
>>> I am just curious if the following patch will be accepted for the
>>> upcoming release?
>>
>> What about bumping it to 3.23.1?
> 
> At the time I submitted the patch (29.03), v.3.22 was the latest one. It
> also fixes the bug I was facing. So it is good enough for me and definitely
> better than v.3.18 currently used by Buildroot. If you would like to submit
> another one for v. 3.23.1 it would be great.

  Up to now, we've always kept the cmake version in sync with the value of 
BR2_CMAKE_VERSION_MIN (defined in support/dependencies/check-host-cmake.mk and 
updated every time there is a package that requires a specific newer version - 
like swift would, as mentioned by Alsey.

  However, I'm not altogether sure why we do that. Probably so we can detect the 
need for newer cmake in the autobuilders. But maybe we should tackle that in a 
different way.

  What is the bug you were facing? Perhaps backporting its fix is appropriate?

  Regards,
  Arnout

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-10 19:13       ` Arnout Vandecappelle
@ 2022-05-11  9:45         ` Andrey Nechypurenko
  2022-05-11 10:06           ` Baruch Siach via buildroot
  0 siblings, 1 reply; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-11  9:45 UTC (permalink / raw)
  To: Arnout Vandecappelle; +Cc: Alsey Miller, buildroot, Thomas Petazzoni

Hi Arnout,

> On 10/05/2022 17:20, Andrey Nechypurenko wrote:
> > Hi Yegor,
> >
> >>> I am just curious if the following patch will be accepted for the
> >>> upcoming release?
> >>
> >> What about bumping it to 3.23.1?
> >
> > At the time I submitted the patch (29.03), v.3.22 was the latest one. It
> > also fixes the bug I was facing. So it is good enough for me and definitely
> > better than v.3.18 currently used by Buildroot. If you would like to submit
> > another one for v. 3.23.1 it would be great.
>
>   Up to now, we've always kept the cmake version in sync with the value of
> BR2_CMAKE_VERSION_MIN (defined in support/dependencies/check-host-cmake.mk and
> updated every time there is a package that requires a specific newer version -
> like swift would, as mentioned by Alsey.

In addition to the Swift package mentioned by Alsey, there could be custom
packages added by Buildroot users with external trees. This is what I am
currently doing.

>   What is the bug you were facing?

Our custom package uses a feature which was buggy:
https://gitlab.kitware.com/cmake/cmake/-/issues/18299 (it is also mentioned
in the submitted patch). This bug was fixed in CMake 3.20.

> Perhaps backporting its fix is appropriate?

If the proposed patch with v.3.22 does not introduce any regression, then I
personally do not see any reasons for backporting. 3.18 is two years old and
it might be beneficial to switch to a newer one.

Regards,
Andrey.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-11  9:45         ` Andrey Nechypurenko
@ 2022-05-11 10:06           ` Baruch Siach via buildroot
  2022-05-11 17:24             ` Arnout Vandecappelle
  0 siblings, 1 reply; 21+ messages in thread
From: Baruch Siach via buildroot @ 2022-05-11 10:06 UTC (permalink / raw)
  To: Andrey Nechypurenko; +Cc: Alsey Miller, Thomas Petazzoni, buildroot

Hi Andrey,

On Wed, May 11 2022, Andrey Nechypurenko wrote:
>> On 10/05/2022 17:20, Andrey Nechypurenko wrote:
>> >>> I am just curious if the following patch will be accepted for the
>> >>> upcoming release?
>> >>
>> >> What about bumping it to 3.23.1?
>> >
>> > At the time I submitted the patch (29.03), v.3.22 was the latest one. It
>> > also fixes the bug I was facing. So it is good enough for me and definitely
>> > better than v.3.18 currently used by Buildroot. If you would like to submit
>> > another one for v. 3.23.1 it would be great.
>>
>>   Up to now, we've always kept the cmake version in sync with the value of
>> BR2_CMAKE_VERSION_MIN (defined in support/dependencies/check-host-cmake.mk and
>> updated every time there is a package that requires a specific newer version -
>> like swift would, as mentioned by Alsey.
>
> In addition to the Swift package mentioned by Alsey, there could be custom
> packages added by Buildroot users with external trees. This is what I am
> currently doing.
>
>>   What is the bug you were facing?
>
> Our custom package uses a feature which was buggy:
> https://gitlab.kitware.com/cmake/cmake/-/issues/18299 (it is also mentioned
> in the submitted patch). This bug was fixed in CMake 3.20.
>
>> Perhaps backporting its fix is appropriate?
>
> If the proposed patch with v.3.22 does not introduce any regression, then I
> personally do not see any reasons for backporting. 3.18 is two years old and
> it might be beneficial to switch to a newer one.

Backporting the cmake fix alone would not help hosts with cmake version
3.18 installed. With current BR2_CMAKE_VERSION_MIN set to 3.18 Buildroot
will not build the fixed cmake host package, but rely instead on the
buggy host installed cmake.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-11 10:06           ` Baruch Siach via buildroot
@ 2022-05-11 17:24             ` Arnout Vandecappelle
  2022-05-11 17:58               ` Baruch Siach via buildroot
  2022-05-12  9:12               ` Andrey Nechypurenko
  0 siblings, 2 replies; 21+ messages in thread
From: Arnout Vandecappelle @ 2022-05-11 17:24 UTC (permalink / raw)
  To: Baruch Siach, Andrey Nechypurenko
  Cc: Alsey Miller, Thomas Petazzoni, buildroot



On 11/05/2022 12:06, Baruch Siach wrote:
> Hi Andrey,
> 
> On Wed, May 11 2022, Andrey Nechypurenko wrote:
>>> On 10/05/2022 17:20, Andrey Nechypurenko wrote:
>>>>>> I am just curious if the following patch will be accepted for the
>>>>>> upcoming release?
>>>>>
>>>>> What about bumping it to 3.23.1?
>>>>
>>>> At the time I submitted the patch (29.03), v.3.22 was the latest one. It
>>>> also fixes the bug I was facing. So it is good enough for me and definitely
>>>> better than v.3.18 currently used by Buildroot. If you would like to submit
>>>> another one for v. 3.23.1 it would be great.
>>>
>>>    Up to now, we've always kept the cmake version in sync with the value of
>>> BR2_CMAKE_VERSION_MIN (defined in support/dependencies/check-host-cmake.mk and
>>> updated every time there is a package that requires a specific newer version -
>>> like swift would, as mentioned by Alsey.
>>
>> In addition to the Swift package mentioned by Alsey, there could be custom
>> packages added by Buildroot users with external trees. This is what I am
>> currently doing.
>>
>>>    What is the bug you were facing?
>>
>> Our custom package uses a feature which was buggy:
>> https://gitlab.kitware.com/cmake/cmake/-/issues/18299 (it is also mentioned
>> in the submitted patch). This bug was fixed in CMake 3.20.
>>
>>> Perhaps backporting its fix is appropriate?
>>
>> If the proposed patch with v.3.22 does not introduce any regression, then I
>> personally do not see any reasons for backporting. 3.18 is two years old and
>> it might be beneficial to switch to a newer one.
> 
> Backporting the cmake fix alone would not help hosts with cmake version
> 3.18 installed. With current BR2_CMAKE_VERSION_MIN set to 3.18 Buildroot
> will not build the fixed cmake host package, but rely instead on the
> buggy host installed cmake.

  So we have 3 options:

- Keep the current situation, which creates problems for some external packages.
- Update cmake but not BR2_CMAKE_VERSION_MIN, which is nice for keeping cmake up 
to date but doesn't solve anything for people who run into the bug and have 
CMake 3.18 or 3.19 installed.
- Update both cmake and BR2_CMAKE_VERSION_MIN, which basically means that 
everybody has to build host-cmake unless they have a really bleeding edge distro.

  There is a fourth, much more complicated option, which is to allow individual 
packages to define the minimal cmake version. Then a package that actually runs 
into the problem can force BR2_CMAKE_VERSION_MIN. Of course we'd also need to 
change cmake.mk to use that config-dependendent cmake version. And we're in a 
bit of a tricky situation with the patch version - we'd prefer to set 
BR2_CMAKE_VERSION_MIN to e.g. 3.22, not 3.22.3, so people who have 3.22.1 
installed on the host don't need to build host-cmake. And there's a problem with 
cmake.hash that needs to contain the hashes of many different versions.

  So overall, nothing good :-(

  With all of the above, I'd say we bump to 3.22.3 (this patch) and set 
BR2_CMAKE_VERSION_MIN to 3.22. What do others think?


  Regards,
  Arnout

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-11 17:24             ` Arnout Vandecappelle
@ 2022-05-11 17:58               ` Baruch Siach via buildroot
  2022-05-12 22:07                 ` Arnout Vandecappelle
  2022-05-12  9:12               ` Andrey Nechypurenko
  1 sibling, 1 reply; 21+ messages in thread
From: Baruch Siach via buildroot @ 2022-05-11 17:58 UTC (permalink / raw)
  To: Arnout Vandecappelle
  Cc: Andrey Nechypurenko, Alsey Miller, Thomas Petazzoni, buildroot

Hi Arnout,

On Wed, May 11 2022, Arnout Vandecappelle wrote:
> On 11/05/2022 12:06, Baruch Siach wrote:
>> On Wed, May 11 2022, Andrey Nechypurenko wrote:
>>>> On 10/05/2022 17:20, Andrey Nechypurenko wrote:
>>>>>>> I am just curious if the following patch will be accepted for the
>>>>>>> upcoming release?
>>>>>>
>>>>>> What about bumping it to 3.23.1?
>>>>>
>>>>> At the time I submitted the patch (29.03), v.3.22 was the latest one. It
>>>>> also fixes the bug I was facing. So it is good enough for me and definitely
>>>>> better than v.3.18 currently used by Buildroot. If you would like to submit
>>>>> another one for v. 3.23.1 it would be great.
>>>>
>>>>    Up to now, we've always kept the cmake version in sync with the value of
>>>> BR2_CMAKE_VERSION_MIN (defined in support/dependencies/check-host-cmake.mk and
>>>> updated every time there is a package that requires a specific newer version -
>>>> like swift would, as mentioned by Alsey.
>>>
>>> In addition to the Swift package mentioned by Alsey, there could be custom
>>> packages added by Buildroot users with external trees. This is what I am
>>> currently doing.
>>>
>>>>    What is the bug you were facing?
>>>
>>> Our custom package uses a feature which was buggy:
>>> https://gitlab.kitware.com/cmake/cmake/-/issues/18299 (it is also mentioned
>>> in the submitted patch). This bug was fixed in CMake 3.20.
>>>
>>>> Perhaps backporting its fix is appropriate?
>>>
>>> If the proposed patch with v.3.22 does not introduce any regression, then I
>>> personally do not see any reasons for backporting. 3.18 is two years old and
>>> it might be beneficial to switch to a newer one.
>> Backporting the cmake fix alone would not help hosts with cmake version
>> 3.18 installed. With current BR2_CMAKE_VERSION_MIN set to 3.18 Buildroot
>> will not build the fixed cmake host package, but rely instead on the
>> buggy host installed cmake.
>
>  So we have 3 options:
>
> - Keep the current situation, which creates problems for some external packages.
> - Update cmake but not BR2_CMAKE_VERSION_MIN, which is nice for keeping cmake
>   up to date but doesn't solve anything for people who run into the bug and
>  have CMake 3.18 or 3.19 installed.
> - Update both cmake and BR2_CMAKE_VERSION_MIN, which basically means that
>   everybody has to build host-cmake unless they have a really bleeding edge
>  distro.
>
>  There is a fourth, much more complicated option, which is to allow individual
>  packages to define the minimal cmake version. Then a package that actually
> runs into the problem can force BR2_CMAKE_VERSION_MIN. Of course we'd also
> need to change cmake.mk to use that config-dependendent cmake version. And
> we're in a bit of a tricky situation with the patch version - we'd prefer to
> set BR2_CMAKE_VERSION_MIN to e.g. 3.22, not 3.22.3, so people who have 3.22.1 
> installed on the host don't need to build host-cmake. And there's a problem
> with cmake.hash that needs to contain the hashes of many different versions.
>
>  So overall, nothing good :-(
>
>  With all of the above, I'd say we bump to 3.22.3 (this patch) and set
>  BR2_CMAKE_VERSION_MIN to 3.22. What do others think?

The bug that Andrey encountered is fixed in 3.20. So updating
BR2_CMAKE_VERSION_MIN to 3.20 should be enough, I believe.

Is there a reason to keep BR2_CMAKE_VERSION_MIN and cmake package
version in sync?

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-11 17:24             ` Arnout Vandecappelle
  2022-05-11 17:58               ` Baruch Siach via buildroot
@ 2022-05-12  9:12               ` Andrey Nechypurenko
  1 sibling, 0 replies; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-12  9:12 UTC (permalink / raw)
  To: Arnout Vandecappelle; +Cc: Alsey Miller, Thomas Petazzoni, buildroot

Hi Arnout,

>   With all of the above, I'd say we bump to 3.22.3 (this patch) and set
> BR2_CMAKE_VERSION_MIN to 3.22. What do others think?

I agree with this proposal. I also like the suggestion from Baruch to
set BR2_CMAKE_VERSION_MIN to 3.20 (not 3.22)

Regards,
Andrey.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-11 17:58               ` Baruch Siach via buildroot
@ 2022-05-12 22:07                 ` Arnout Vandecappelle
  2022-05-19 16:18                   ` Andrey Nechypurenko
  0 siblings, 1 reply; 21+ messages in thread
From: Arnout Vandecappelle @ 2022-05-12 22:07 UTC (permalink / raw)
  To: Baruch Siach
  Cc: Andrey Nechypurenko, Alsey Miller, Fabrice Fontaine,
	Thomas Petazzoni, buildroot



On 11/05/2022 19:58, Baruch Siach wrote:
> Hi Arnout,
> 
> On Wed, May 11 2022, Arnout Vandecappelle wrote:
>> On 11/05/2022 12:06, Baruch Siach wrote:
>>> On Wed, May 11 2022, Andrey Nechypurenko wrote:
>>>>> On 10/05/2022 17:20, Andrey Nechypurenko wrote:
>>>>>>>> I am just curious if the following patch will be accepted for the
>>>>>>>> upcoming release?
>>>>>>>
>>>>>>> What about bumping it to 3.23.1?
>>>>>>
>>>>>> At the time I submitted the patch (29.03), v.3.22 was the latest one. It
>>>>>> also fixes the bug I was facing. So it is good enough for me and definitely
>>>>>> better than v.3.18 currently used by Buildroot. If you would like to submit
>>>>>> another one for v. 3.23.1 it would be great.
>>>>>
>>>>>     Up to now, we've always kept the cmake version in sync with the value of
>>>>> BR2_CMAKE_VERSION_MIN (defined in support/dependencies/check-host-cmake.mk and
>>>>> updated every time there is a package that requires a specific newer version -
>>>>> like swift would, as mentioned by Alsey.
>>>>
>>>> In addition to the Swift package mentioned by Alsey, there could be custom
>>>> packages added by Buildroot users with external trees. This is what I am
>>>> currently doing.
>>>>
>>>>>     What is the bug you were facing?
>>>>
>>>> Our custom package uses a feature which was buggy:
>>>> https://gitlab.kitware.com/cmake/cmake/-/issues/18299 (it is also mentioned
>>>> in the submitted patch). This bug was fixed in CMake 3.20.
>>>>
>>>>> Perhaps backporting its fix is appropriate?
>>>>
>>>> If the proposed patch with v.3.22 does not introduce any regression, then I
>>>> personally do not see any reasons for backporting. 3.18 is two years old and
>>>> it might be beneficial to switch to a newer one.
>>> Backporting the cmake fix alone would not help hosts with cmake version
>>> 3.18 installed. With current BR2_CMAKE_VERSION_MIN set to 3.18 Buildroot
>>> will not build the fixed cmake host package, but rely instead on the
>>> buggy host installed cmake.
>>
>>   So we have 3 options:
>>
>> - Keep the current situation, which creates problems for some external packages.
>> - Update cmake but not BR2_CMAKE_VERSION_MIN, which is nice for keeping cmake
>>    up to date but doesn't solve anything for people who run into the bug and
>>   have CMake 3.18 or 3.19 installed.
>> - Update both cmake and BR2_CMAKE_VERSION_MIN, which basically means that
>>    everybody has to build host-cmake unless they have a really bleeding edge
>>   distro.
>>
>>   There is a fourth, much more complicated option, which is to allow individual
>>   packages to define the minimal cmake version. Then a package that actually
>> runs into the problem can force BR2_CMAKE_VERSION_MIN. Of course we'd also
>> need to change cmake.mk to use that config-dependendent cmake version. And
>> we're in a bit of a tricky situation with the patch version - we'd prefer to
>> set BR2_CMAKE_VERSION_MIN to e.g. 3.22, not 3.22.3, so people who have 3.22.1
>> installed on the host don't need to build host-cmake. And there's a problem
>> with cmake.hash that needs to contain the hashes of many different versions.
>>
>>   So overall, nothing good :-(
>>
>>   With all of the above, I'd say we bump to 3.22.3 (this patch) and set
>>   BR2_CMAKE_VERSION_MIN to 3.22. What do others think?
> 
> The bug that Andrey encountered is fixed in 3.20. So updating
> BR2_CMAKE_VERSION_MIN to 3.20 should be enough, I believe.
> 
> Is there a reason to keep BR2_CMAKE_VERSION_MIN and cmake package
> version in sync?

  I think the only reason not to keep them in sync is to increase the exposure 
of possible defective cmake versions in the autobuilders. If we set 
BR2_CMAKE_VERSION_MIN to 3.20 and CMAKE_VERSION to 3.22.3, then if there is some 
issue with either 3.20 or 3.21, it will not be caught by the autobuilders, 
unless one of them happens to have one of the defective versions installed.

  But I see now that this didn't use to be the case. Fabrice started to align 
them in Nov 2019, but before that the host-cmake version was indeed ahead of 
BR2_CMAKE_VERSION_MIN.

  So I guess this patch is actually good to go. Updating BR2_CMAKE_VERSION_MIN 
can be done in a separate patch (but isn't strictly required).


  Regards,
  Arnout


_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-12 22:07                 ` Arnout Vandecappelle
@ 2022-05-19 16:18                   ` Andrey Nechypurenko
  2022-05-24 12:03                     ` Andrey Nechypurenko
  0 siblings, 1 reply; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-19 16:18 UTC (permalink / raw)
  To: Arnout Vandecappelle
  Cc: Alsey Miller, Fabrice Fontaine, Thomas Petazzoni, buildroot

Hi Arnout,

>   So I guess this patch is actually good to go. Updating BR2_CMAKE_VERSION_MIN
> can be done in a separate patch (but isn't strictly required).

Is anybody going to actually integrate/apply the patch so that changes will
be available in the next release?

Thanks,
Andrey.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-19 16:18                   ` Andrey Nechypurenko
@ 2022-05-24 12:03                     ` Andrey Nechypurenko
  0 siblings, 0 replies; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-24 12:03 UTC (permalink / raw)
  To: Arnout Vandecappelle
  Cc: Alsey Miller, Fabrice Fontaine, Thomas Petazzoni, buildroot

ping.... :-)

On Thu, 19 May 2022 at 18:18, Andrey Nechypurenko <andreynech@gmail.com> wrote:
>
> Hi Arnout,
>
> >   So I guess this patch is actually good to go. Updating BR2_CMAKE_VERSION_MIN
> > can be done in a separate patch (but isn't strictly required).
>
> Is anybody going to actually integrate/apply the patch so that changes will
> be available in the next release?
>
> Thanks,
> Andrey.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-03-29 14:59 [Buildroot] [PATCH] package/cmake: bump version to 3.22.3 Andrey Nechypurenko
  2022-03-29 18:25 ` Alsey Miller
  2022-05-10 15:02 ` Andrey Nechypurenko
@ 2022-05-28 21:33 ` Yann E. MORIN
  2022-05-30 12:38   ` Andrey Nechypurenko
  2 siblings, 1 reply; 21+ messages in thread
From: Yann E. MORIN @ 2022-05-28 21:33 UTC (permalink / raw)
  To: Andrey Nechypurenko; +Cc: Thomas Petazzoni, buildroot

Andrey, All,

On 2022-03-29 16:59 +0200, Andrey Nechypurenko spake thusly:
> Version 3.20 is the first one where the following issue is fixed:
> https://gitlab.kitware.com/cmake/cmake/-/issues/18299
> Was affected by this bug and decide to bump the version to the
> latest stable

I was about to apply this, but you did not sign-off your change, so I
can't apply it.

Please, resent with your sign-off.

Regards,
Yann E. MORIN.

> ---
>  package/cmake/cmake.hash | 4 ++--
>  package/cmake/cmake.mk   | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
> index da514a6d6b..1749db8c27 100644
> --- a/package/cmake/cmake.hash
> +++ b/package/cmake/cmake.hash
> @@ -1,5 +1,5 @@
> -# From https://cmake.org/files/v3.18/cmake-3.18.6-SHA-256.txt
> -sha256  124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600  cmake-3.18.6.tar.gz
> +# From https://cmake.org/files/v3.22/cmake-3.22.3-SHA-256.txt
> +sha256  9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0  cmake-3.22.3.tar.gz
>  
>  # Locally calculated
>  sha256  131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d  Copyright.txt
> diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
> index 4177b119ab..053658fad6 100644
> --- a/package/cmake/cmake.mk
> +++ b/package/cmake/cmake.mk
> @@ -4,8 +4,8 @@
>  #
>  ################################################################################
>  
> -CMAKE_VERSION_MAJOR = 3.18
> -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6
> +CMAKE_VERSION_MAJOR = 3.22
> +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
>  CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
>  CMAKE_LICENSE = BSD-3-Clause
>  CMAKE_LICENSE_FILES = Copyright.txt
> -- 
> 2.32.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-28 21:33 ` Yann E. MORIN
@ 2022-05-30 12:38   ` Andrey Nechypurenko
  2022-05-30 12:42     ` Andrey Nechypurenko
  0 siblings, 1 reply; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-30 12:38 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Thomas Petazzoni, buildroot

Version 3.20 is the first one where the following issue is fixed:
https://gitlab.kitware.com/cmake/cmake/-/issues/18299
Was affected by this bug and decide to bump the version to the
latest stable

Signed-off-by: Andrey Nechypurenko <andreynech@gmail.com>
---
 package/cmake/cmake.hash | 4 ++--
 package/cmake/cmake.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
index da514a6d6b..1749db8c27 100644
--- a/package/cmake/cmake.hash
+++ b/package/cmake/cmake.hash
@@ -1,5 +1,5 @@
-# From https://cmake.org/files/v3.18/cmake-3.18.6-SHA-256.txt
-sha256  124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600
 cmake-3.18.6.tar.gz
+# From https://cmake.org/files/v3.22/cmake-3.22.3-SHA-256.txt
+sha256  9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0
 cmake-3.22.3.tar.gz

 # Locally calculated
 sha256  131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d
 Copyright.txt
diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
index 4177b119ab..053658fad6 100644
--- a/package/cmake/cmake.mk
+++ b/package/cmake/cmake.mk
@@ -4,8 +4,8 @@
 #
 ################################################################################

-CMAKE_VERSION_MAJOR = 3.18
-CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6
+CMAKE_VERSION_MAJOR = 3.22
+CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
 CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
 CMAKE_LICENSE = BSD-3-Clause
 CMAKE_LICENSE_FILES = Copyright.txt
--
2.32.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-30 12:38   ` Andrey Nechypurenko
@ 2022-05-30 12:42     ` Andrey Nechypurenko
  0 siblings, 0 replies; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-30 12:42 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Thomas Petazzoni, buildroot

It looks like gmail adds line breaks. Will resend it using git in a few minutes.
Sorry for the inconvenience.


On Mon, 30 May 2022 at 14:38, Andrey Nechypurenko <andreynech@gmail.com> wrote:
>
> Version 3.20 is the first one where the following issue is fixed:
> https://gitlab.kitware.com/cmake/cmake/-/issues/18299
> Was affected by this bug and decide to bump the version to the
> latest stable
>
> Signed-off-by: Andrey Nechypurenko <andreynech@gmail.com>
> ---
>  package/cmake/cmake.hash | 4 ++--
>  package/cmake/cmake.mk   | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
> index da514a6d6b..1749db8c27 100644
> --- a/package/cmake/cmake.hash
> +++ b/package/cmake/cmake.hash
> @@ -1,5 +1,5 @@
> -# From https://cmake.org/files/v3.18/cmake-3.18.6-SHA-256.txt
> -sha256  124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600
>  cmake-3.18.6.tar.gz
> +# From https://cmake.org/files/v3.22/cmake-3.22.3-SHA-256.txt
> +sha256  9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0
>  cmake-3.22.3.tar.gz
>
>  # Locally calculated
>  sha256  131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d
>  Copyright.txt
> diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
> index 4177b119ab..053658fad6 100644
> --- a/package/cmake/cmake.mk
> +++ b/package/cmake/cmake.mk
> @@ -4,8 +4,8 @@
>  #
>  ################################################################################
>
> -CMAKE_VERSION_MAJOR = 3.18
> -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6
> +CMAKE_VERSION_MAJOR = 3.22
> +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
>  CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
>  CMAKE_LICENSE = BSD-3-Clause
>  CMAKE_LICENSE_FILES = Copyright.txt
> --
> 2.32.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-30 13:04   ` Baruch Siach via buildroot
@ 2022-05-30 13:24     ` Andrey Nechypurenko
  0 siblings, 0 replies; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-30 13:24 UTC (permalink / raw)
  To: Baruch Siach; +Cc: Thomas Petazzoni, buildroot

Hi Baruch,

> The 'origin/master' parameter goes to 'git format-patch'. Which means
> that you are sending commits between origin/master..HEAD.
>
> If you want git send-email to send you patch file, put that file as last
> parameter.

Thank you very much for the hint. Did it like you suggested and it
looks good now.

Regards,
Andrey.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-30 12:57 ` Andrey Nechypurenko
@ 2022-05-30 13:04   ` Baruch Siach via buildroot
  2022-05-30 13:24     ` Andrey Nechypurenko
  0 siblings, 1 reply; 21+ messages in thread
From: Baruch Siach via buildroot @ 2022-05-30 13:04 UTC (permalink / raw)
  To: Andrey Nechypurenko; +Cc: Thomas Petazzoni, buildroot

Hi Andrey,

On Mon, May 30 2022, Andrey Nechypurenko wrote:
> This is a little bit strange. The patch file located in outgoing
> directory and generated with
> # git format-patch -M -n -s -o outgoing origin/master
> do contains Signed-off-by: tag. However, the command
> # git send-email --to buildroot@buildroot.org --cc-cmd
> './utils/get-developers -e' origin/master
> leads to what could be seen in my previous mail - no Signed-off-by: tag.
>
> Am I doing something wrong or are there some configuration options I am missing?

The 'origin/master' parameter goes to 'git format-patch'. Which means
that you are sending commits between origin/master..HEAD.

If you want git send-email to send you patch file, put that file as last
parameter.

One more comment below.

> On Mon, 30 May 2022 at 14:44, Andrey Nechypurenko <andreynech@gmail.com> wrote:
>> Version 3.20 is the first one where the following issue is fixed:
>> https://gitlab.kitware.com/cmake/cmake/-/issues/18299
>> Was affected by this bug and decide to bump the version to the
>> latest stable

This bump by itself does not fix the issue for hosts that have buggy
cmake installed. To fix them you also need a separate patch to bump
BR2_CMAKE_VERSION_MIN to a fixed version.

baruch

>> ---
>>  package/cmake/cmake.hash | 4 ++--
>>  package/cmake/cmake.mk   | 4 ++--
>>  2 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
>> index da514a6d6b..1749db8c27 100644
>> --- a/package/cmake/cmake.hash
>> +++ b/package/cmake/cmake.hash
>> @@ -1,5 +1,5 @@
>> -# From https://cmake.org/files/v3.18/cmake-3.18.6-SHA-256.txt
>> -sha256  124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600  cmake-3.18.6.tar.gz
>> +# From https://cmake.org/files/v3.22/cmake-3.22.3-SHA-256.txt
>> +sha256  9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0  cmake-3.22.3.tar.gz
>>
>>  # Locally calculated
>>  sha256  131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d  Copyright.txt
>> diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
>> index 4177b119ab..053658fad6 100644
>> --- a/package/cmake/cmake.mk
>> +++ b/package/cmake/cmake.mk
>> @@ -4,8 +4,8 @@
>>  #
>>  ################################################################################
>>
>> -CMAKE_VERSION_MAJOR = 3.18
>> -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6
>> +CMAKE_VERSION_MAJOR = 3.22
>> +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
>>  CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
>>  CMAKE_LICENSE = BSD-3-Clause
>>  CMAKE_LICENSE_FILES = Copyright.txt
>> --
>> 2.32.0
>>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot


-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
  2022-05-30 12:44 Andrey Nechypurenko
@ 2022-05-30 12:57 ` Andrey Nechypurenko
  2022-05-30 13:04   ` Baruch Siach via buildroot
  0 siblings, 1 reply; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-30 12:57 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni

Hi,

This is a little bit strange. The patch file located in outgoing
directory and generated with
# git format-patch -M -n -s -o outgoing origin/master
do contains Signed-off-by: tag. However, the command
# git send-email --to buildroot@buildroot.org --cc-cmd
'./utils/get-developers -e' origin/master
leads to what could be seen in my previous mail - no Signed-off-by: tag.

Am I doing something wrong or are there some configuration options I am missing?

Thanks,
Andrey.


On Mon, 30 May 2022 at 14:44, Andrey Nechypurenko <andreynech@gmail.com> wrote:
>
> Version 3.20 is the first one where the following issue is fixed:
> https://gitlab.kitware.com/cmake/cmake/-/issues/18299
> Was affected by this bug and decide to bump the version to the
> latest stable
> ---
>  package/cmake/cmake.hash | 4 ++--
>  package/cmake/cmake.mk   | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
> index da514a6d6b..1749db8c27 100644
> --- a/package/cmake/cmake.hash
> +++ b/package/cmake/cmake.hash
> @@ -1,5 +1,5 @@
> -# From https://cmake.org/files/v3.18/cmake-3.18.6-SHA-256.txt
> -sha256  124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600  cmake-3.18.6.tar.gz
> +# From https://cmake.org/files/v3.22/cmake-3.22.3-SHA-256.txt
> +sha256  9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0  cmake-3.22.3.tar.gz
>
>  # Locally calculated
>  sha256  131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d  Copyright.txt
> diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
> index 4177b119ab..053658fad6 100644
> --- a/package/cmake/cmake.mk
> +++ b/package/cmake/cmake.mk
> @@ -4,8 +4,8 @@
>  #
>  ################################################################################
>
> -CMAKE_VERSION_MAJOR = 3.18
> -CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6
> +CMAKE_VERSION_MAJOR = 3.22
> +CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
>  CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
>  CMAKE_LICENSE = BSD-3-Clause
>  CMAKE_LICENSE_FILES = Copyright.txt
> --
> 2.32.0
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH] package/cmake: bump version to 3.22.3
@ 2022-05-30 12:44 Andrey Nechypurenko
  2022-05-30 12:57 ` Andrey Nechypurenko
  0 siblings, 1 reply; 21+ messages in thread
From: Andrey Nechypurenko @ 2022-05-30 12:44 UTC (permalink / raw)
  To: buildroot; +Cc: Andrey Nechypurenko, Thomas Petazzoni

Version 3.20 is the first one where the following issue is fixed:
https://gitlab.kitware.com/cmake/cmake/-/issues/18299
Was affected by this bug and decide to bump the version to the
latest stable
---
 package/cmake/cmake.hash | 4 ++--
 package/cmake/cmake.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/cmake/cmake.hash b/package/cmake/cmake.hash
index da514a6d6b..1749db8c27 100644
--- a/package/cmake/cmake.hash
+++ b/package/cmake/cmake.hash
@@ -1,5 +1,5 @@
-# From https://cmake.org/files/v3.18/cmake-3.18.6-SHA-256.txt
-sha256  124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600  cmake-3.18.6.tar.gz
+# From https://cmake.org/files/v3.22/cmake-3.22.3-SHA-256.txt
+sha256  9f8469166f94553b6978a16ee29227ec49a2eb5ceb608275dec40d8ae0d1b5a0  cmake-3.22.3.tar.gz
 
 # Locally calculated
 sha256  131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d  Copyright.txt
diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk
index 4177b119ab..053658fad6 100644
--- a/package/cmake/cmake.mk
+++ b/package/cmake/cmake.mk
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-CMAKE_VERSION_MAJOR = 3.18
-CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).6
+CMAKE_VERSION_MAJOR = 3.22
+CMAKE_VERSION = $(CMAKE_VERSION_MAJOR).3
 CMAKE_SITE = https://cmake.org/files/v$(CMAKE_VERSION_MAJOR)
 CMAKE_LICENSE = BSD-3-Clause
 CMAKE_LICENSE_FILES = Copyright.txt
-- 
2.32.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-05-30 13:25 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 14:59 [Buildroot] [PATCH] package/cmake: bump version to 3.22.3 Andrey Nechypurenko
2022-03-29 18:25 ` Alsey Miller
2022-05-10 15:02 ` Andrey Nechypurenko
2022-05-10 15:05   ` Yegor Yefremov via buildroot
2022-05-10 15:20     ` Andrey Nechypurenko
2022-05-10 19:13       ` Arnout Vandecappelle
2022-05-11  9:45         ` Andrey Nechypurenko
2022-05-11 10:06           ` Baruch Siach via buildroot
2022-05-11 17:24             ` Arnout Vandecappelle
2022-05-11 17:58               ` Baruch Siach via buildroot
2022-05-12 22:07                 ` Arnout Vandecappelle
2022-05-19 16:18                   ` Andrey Nechypurenko
2022-05-24 12:03                     ` Andrey Nechypurenko
2022-05-12  9:12               ` Andrey Nechypurenko
2022-05-28 21:33 ` Yann E. MORIN
2022-05-30 12:38   ` Andrey Nechypurenko
2022-05-30 12:42     ` Andrey Nechypurenko
2022-05-30 12:44 Andrey Nechypurenko
2022-05-30 12:57 ` Andrey Nechypurenko
2022-05-30 13:04   ` Baruch Siach via buildroot
2022-05-30 13:24     ` Andrey Nechypurenko

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.