Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] powerpc utils and librtas bump
@ 2022-06-06  8:51 Joel Stanley
  2022-06-06  8:51 ` [Buildroot] [PATCH 1/2] package/librtas: Bump to v2.0.3 Joel Stanley
  2022-06-06  8:51 ` [Buildroot] [PATCH 2/2] package/powerpc-utils: Bump to v1.3.10 Joel Stanley
  0 siblings, 2 replies; 7+ messages in thread
From: Joel Stanley @ 2022-06-06  8:51 UTC (permalink / raw)
  To: buildroot

When investigating an autobuilder failure I discovered new releases of
both packages, and they seem to build fine with musl so I removed the
glibc restriction when bumping.

Joel Stanley (2):
  package/librtas: Bump to v2.0.3
  package/powerpc-utils: Bump to v1.3.10

 package/librtas/Config.in                | 5 -----
 package/librtas/librtas.hash             | 2 +-
 package/librtas/librtas.mk               | 2 +-
 package/powerpc-utils/Config.in          | 5 +----
 package/powerpc-utils/powerpc-utils.hash | 2 +-
 package/powerpc-utils/powerpc-utils.mk   | 4 ++--
 6 files changed, 6 insertions(+), 14 deletions(-)

-- 
2.35.1

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

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

* [Buildroot] [PATCH 1/2] package/librtas: Bump to v2.0.3
  2022-06-06  8:51 [Buildroot] [PATCH 0/2] powerpc utils and librtas bump Joel Stanley
@ 2022-06-06  8:51 ` Joel Stanley
  2022-06-06 18:19   ` Arnout Vandecappelle
  2022-07-23 16:57   ` Thomas Petazzoni via buildroot
  2022-06-06  8:51 ` [Buildroot] [PATCH 2/2] package/powerpc-utils: Bump to v1.3.10 Joel Stanley
  1 sibling, 2 replies; 7+ messages in thread
From: Joel Stanley @ 2022-06-06  8:51 UTC (permalink / raw)
  To: buildroot

Includes build fixes for musl, so remove the glibc restriction.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 package/librtas/Config.in    | 5 -----
 package/librtas/librtas.hash | 2 +-
 package/librtas/librtas.mk   | 2 +-
 3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/package/librtas/Config.in b/package/librtas/Config.in
index 11660eb2817a..2f8219ee98ee 100644
--- a/package/librtas/Config.in
+++ b/package/librtas/Config.in
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_LIBRTAS
 	bool "librtas"
 	depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
-	depends on BR2_TOOLCHAIN_USES_GLIBC
 	help
 	  The librtas package provides an interface for Run-Time
 	  Abstraction Services (RTAS) calls on PAPR platforms.
@@ -9,7 +8,3 @@ config BR2_PACKAGE_LIBRTAS
 	  and parse RTAS events.
 
 	  http://librtas.sourceforge.net/
-
-comment "librtas needs a glibc toolchain"
-	depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
-	depends on !BR2_TOOLCHAIN_USES_GLIBC
diff --git a/package/librtas/librtas.hash b/package/librtas/librtas.hash
index de0c0a476cac..8d4c4e191235 100644
--- a/package/librtas/librtas.hash
+++ b/package/librtas/librtas.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  b47b2a6f140347ac265e2c66ddf68293f6cdcc7c0c9a78c6e21ff52846465415  librtas-2.0.2.tar.gz
+sha256  1b951422ec9553fa9d5e5e158fd8e298f867f561189fff6817a9540d5661f145  librtas-2.0.3.tar.gz
 sha256  592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c  COPYING.LESSER
diff --git a/package/librtas/librtas.mk b/package/librtas/librtas.mk
index c92a9e2fa494..458d7a0e478e 100644
--- a/package/librtas/librtas.mk
+++ b/package/librtas/librtas.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBRTAS_VERSION = 2.0.2
+LIBRTAS_VERSION = 2.0.3
 LIBRTAS_SITE = $(call github,ibm-power-utilities,librtas,v$(LIBRTAS_VERSION))
 LIBRTAS_LICENSE = LGPL-2.1+
 LIBRTAS_LICENSE_FILES = COPYING.LESSER
-- 
2.35.1

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

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

* [Buildroot] [PATCH 2/2] package/powerpc-utils: Bump to v1.3.10
  2022-06-06  8:51 [Buildroot] [PATCH 0/2] powerpc utils and librtas bump Joel Stanley
  2022-06-06  8:51 ` [Buildroot] [PATCH 1/2] package/librtas: Bump to v2.0.3 Joel Stanley
@ 2022-06-06  8:51 ` Joel Stanley
  2022-06-06 18:19   ` Arnout Vandecappelle
  2022-07-23 17:15   ` Thomas Petazzoni via buildroot
  1 sibling, 2 replies; 7+ messages in thread
From: Joel Stanley @ 2022-06-06  8:51 UTC (permalink / raw)
  To: buildroot

Since v1.3.9 the package requires numa.h from numctl, so add this as a
dependency.

This bump fixes a missing limits.h for PATH_MAX when building with musl
as detected by the autobuilder.

librtas now builds fine with musl too, so remove the glibc restriction
for enabling that support.

Fixes:

 http://autobuild.buildroot.net/results/613ec647e251ac52a01f222044bd675ce36c1b5b/

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 package/powerpc-utils/Config.in          | 5 +----
 package/powerpc-utils/powerpc-utils.hash | 2 +-
 package/powerpc-utils/powerpc-utils.mk   | 4 ++--
 3 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/package/powerpc-utils/Config.in b/package/powerpc-utils/Config.in
index d04d81c08acb..9034ea2e0fdd 100644
--- a/package/powerpc-utils/Config.in
+++ b/package/powerpc-utils/Config.in
@@ -7,6 +7,7 @@ config BR2_PACKAGE_POWERPC_UTILS
 	depends on !BR2_STATIC_LIBS # dlfcn.h
 	depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
 	select BR2_PACKAGE_ZLIB
+	select BR2_PACKAGE_NUMACTL
 	help
 	  System utilities for PowerPC machines.
 
@@ -16,7 +17,6 @@ if BR2_PACKAGE_POWERPC_UTILS
 
 config BR2_PACKAGE_POWERPC_UTILS_RTAS
 	bool "RTAS support"
-	depends on BR2_TOOLCHAIN_USES_GLIBC
 	select BR2_PACKAGE_LIBRTAS
 	help
 	  Enable support for functions that require RTAS.
@@ -28,7 +28,4 @@ config BR2_PACKAGE_POWERPC_UTILS_RTAS
 	  lsslot, activate_firmware, rtas_ibm_get_vpd, serv_config,
 	  rtas_event_decode, sys_ident.
 
-comment "RTAS support needs a glibc toolchain"
-	depends on !BR2_TOOLCHAIN_USES_GLIBC
-
 endif
diff --git a/package/powerpc-utils/powerpc-utils.hash b/package/powerpc-utils/powerpc-utils.hash
index 8d0b10425b6d..b3c77fb223ba 100644
--- a/package/powerpc-utils/powerpc-utils.hash
+++ b/package/powerpc-utils/powerpc-utils.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  4e3a21419863c08adde49f0795eff0fbfe4597ce82593fa5fe1f1177913fb7b9  powerpc-utils-1.3.8.tar.gz
+sha256  d64d9016a3e63a1e44c6e0833742cf964ae6bb1c6a9c7f0c7c5748aa335dc3db  powerpc-utils-1.3.10.tar.gz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/powerpc-utils/powerpc-utils.mk b/package/powerpc-utils/powerpc-utils.mk
index b12194ae8e73..19fa84946c91 100644
--- a/package/powerpc-utils/powerpc-utils.mk
+++ b/package/powerpc-utils/powerpc-utils.mk
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-POWERPC_UTILS_VERSION = 1.3.8
+POWERPC_UTILS_VERSION = 1.3.10
 POWERPC_UTILS_SITE = $(call github,ibm-power-utilities,powerpc-utils,v$(POWERPC_UTILS_VERSION))
-POWERPC_UTILS_DEPENDENCIES = zlib
+POWERPC_UTILS_DEPENDENCIES = zlib numactl
 POWERPC_UTILS_AUTORECONF = YES
 POWERPC_UTILS_LICENSE = GPL-2.0+
 POWERPC_UTILS_LICENSE_FILES = COPYING
-- 
2.35.1

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

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

* Re: [Buildroot] [PATCH 2/2] package/powerpc-utils: Bump to v1.3.10
  2022-06-06  8:51 ` [Buildroot] [PATCH 2/2] package/powerpc-utils: Bump to v1.3.10 Joel Stanley
@ 2022-06-06 18:19   ` Arnout Vandecappelle
  2022-07-23 17:15   ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 7+ messages in thread
From: Arnout Vandecappelle @ 2022-06-06 18:19 UTC (permalink / raw)
  To: Joel Stanley, buildroot

  Hi Joel,

On 06/06/2022 10:51, Joel Stanley wrote:
> Since v1.3.9 the package requires numa.h from numctl, so add this as a
> dependency.
> 
> This bump fixes a missing limits.h for PATH_MAX when building with musl
> as detected by the autobuilder.
> 
> librtas now builds fine with musl too, so remove the glibc restriction
> for enabling that support.
> 
> Fixes:
> 
>   http://autobuild.buildroot.net/results/613ec647e251ac52a01f222044bd675ce36c1b5b/

  Since we're about to release 2022.05, it's inconvenient to bump the package 
version...

  Also, it's not clear if this bump depends on the librtas bump. For sure, the 
removal of the glibc requirement does depend on it.

  Is there a possibility to backport the patch that fixes the build issue instead?

  Regards,
  Arnout


> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>   package/powerpc-utils/Config.in          | 5 +----
>   package/powerpc-utils/powerpc-utils.hash | 2 +-
>   package/powerpc-utils/powerpc-utils.mk   | 4 ++--
>   3 files changed, 4 insertions(+), 7 deletions(-)
> 
> diff --git a/package/powerpc-utils/Config.in b/package/powerpc-utils/Config.in
> index d04d81c08acb..9034ea2e0fdd 100644
> --- a/package/powerpc-utils/Config.in
> +++ b/package/powerpc-utils/Config.in
> @@ -7,6 +7,7 @@ config BR2_PACKAGE_POWERPC_UTILS
>   	depends on !BR2_STATIC_LIBS # dlfcn.h
>   	depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
>   	select BR2_PACKAGE_ZLIB
> +	select BR2_PACKAGE_NUMACTL
>   	help
>   	  System utilities for PowerPC machines.
>   
> @@ -16,7 +17,6 @@ if BR2_PACKAGE_POWERPC_UTILS
>   
>   config BR2_PACKAGE_POWERPC_UTILS_RTAS
>   	bool "RTAS support"
> -	depends on BR2_TOOLCHAIN_USES_GLIBC
>   	select BR2_PACKAGE_LIBRTAS
>   	help
>   	  Enable support for functions that require RTAS.
> @@ -28,7 +28,4 @@ config BR2_PACKAGE_POWERPC_UTILS_RTAS
>   	  lsslot, activate_firmware, rtas_ibm_get_vpd, serv_config,
>   	  rtas_event_decode, sys_ident.
>   
> -comment "RTAS support needs a glibc toolchain"
> -	depends on !BR2_TOOLCHAIN_USES_GLIBC
> -
>   endif
> diff --git a/package/powerpc-utils/powerpc-utils.hash b/package/powerpc-utils/powerpc-utils.hash
> index 8d0b10425b6d..b3c77fb223ba 100644
> --- a/package/powerpc-utils/powerpc-utils.hash
> +++ b/package/powerpc-utils/powerpc-utils.hash
> @@ -1,3 +1,3 @@
>   # Locally calculated
> -sha256  4e3a21419863c08adde49f0795eff0fbfe4597ce82593fa5fe1f1177913fb7b9  powerpc-utils-1.3.8.tar.gz
> +sha256  d64d9016a3e63a1e44c6e0833742cf964ae6bb1c6a9c7f0c7c5748aa335dc3db  powerpc-utils-1.3.10.tar.gz
>   sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
> diff --git a/package/powerpc-utils/powerpc-utils.mk b/package/powerpc-utils/powerpc-utils.mk
> index b12194ae8e73..19fa84946c91 100644
> --- a/package/powerpc-utils/powerpc-utils.mk
> +++ b/package/powerpc-utils/powerpc-utils.mk
> @@ -4,9 +4,9 @@
>   #
>   ################################################################################
>   
> -POWERPC_UTILS_VERSION = 1.3.8
> +POWERPC_UTILS_VERSION = 1.3.10
>   POWERPC_UTILS_SITE = $(call github,ibm-power-utilities,powerpc-utils,v$(POWERPC_UTILS_VERSION))
> -POWERPC_UTILS_DEPENDENCIES = zlib
> +POWERPC_UTILS_DEPENDENCIES = zlib numactl
>   POWERPC_UTILS_AUTORECONF = YES
>   POWERPC_UTILS_LICENSE = GPL-2.0+
>   POWERPC_UTILS_LICENSE_FILES = COPYING
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/librtas: Bump to v2.0.3
  2022-06-06  8:51 ` [Buildroot] [PATCH 1/2] package/librtas: Bump to v2.0.3 Joel Stanley
@ 2022-06-06 18:19   ` Arnout Vandecappelle
  2022-07-23 16:57   ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 7+ messages in thread
From: Arnout Vandecappelle @ 2022-06-06 18:19 UTC (permalink / raw)
  To: Joel Stanley, buildroot



On 06/06/2022 10:51, Joel Stanley wrote:
> Includes build fixes for musl, so remove the glibc restriction.

  And what about uClibc (only in the BR2_powerpc case of course, because uClibc 
doesn't support PPC64)?

  Regards,
  Arnout

> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>   package/librtas/Config.in    | 5 -----
>   package/librtas/librtas.hash | 2 +-
>   package/librtas/librtas.mk   | 2 +-
>   3 files changed, 2 insertions(+), 7 deletions(-)
> 
> diff --git a/package/librtas/Config.in b/package/librtas/Config.in
> index 11660eb2817a..2f8219ee98ee 100644
> --- a/package/librtas/Config.in
> +++ b/package/librtas/Config.in
> @@ -1,7 +1,6 @@
>   config BR2_PACKAGE_LIBRTAS
>   	bool "librtas"
>   	depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
> -	depends on BR2_TOOLCHAIN_USES_GLIBC
>   	help
>   	  The librtas package provides an interface for Run-Time
>   	  Abstraction Services (RTAS) calls on PAPR platforms.
> @@ -9,7 +8,3 @@ config BR2_PACKAGE_LIBRTAS
>   	  and parse RTAS events.
>   
>   	  http://librtas.sourceforge.net/
> -
> -comment "librtas needs a glibc toolchain"
> -	depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
> -	depends on !BR2_TOOLCHAIN_USES_GLIBC
> diff --git a/package/librtas/librtas.hash b/package/librtas/librtas.hash
> index de0c0a476cac..8d4c4e191235 100644
> --- a/package/librtas/librtas.hash
> +++ b/package/librtas/librtas.hash
> @@ -1,3 +1,3 @@
>   # Locally computed
> -sha256  b47b2a6f140347ac265e2c66ddf68293f6cdcc7c0c9a78c6e21ff52846465415  librtas-2.0.2.tar.gz
> +sha256  1b951422ec9553fa9d5e5e158fd8e298f867f561189fff6817a9540d5661f145  librtas-2.0.3.tar.gz
>   sha256  592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c  COPYING.LESSER
> diff --git a/package/librtas/librtas.mk b/package/librtas/librtas.mk
> index c92a9e2fa494..458d7a0e478e 100644
> --- a/package/librtas/librtas.mk
> +++ b/package/librtas/librtas.mk
> @@ -4,7 +4,7 @@
>   #
>   ################################################################################
>   
> -LIBRTAS_VERSION = 2.0.2
> +LIBRTAS_VERSION = 2.0.3
>   LIBRTAS_SITE = $(call github,ibm-power-utilities,librtas,v$(LIBRTAS_VERSION))
>   LIBRTAS_LICENSE = LGPL-2.1+
>   LIBRTAS_LICENSE_FILES = COPYING.LESSER
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/librtas: Bump to v2.0.3
  2022-06-06  8:51 ` [Buildroot] [PATCH 1/2] package/librtas: Bump to v2.0.3 Joel Stanley
  2022-06-06 18:19   ` Arnout Vandecappelle
@ 2022-07-23 16:57   ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 7+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-23 16:57 UTC (permalink / raw)
  To: Joel Stanley; +Cc: buildroot

On Mon,  6 Jun 2022 18:21:07 +0930
Joel Stanley <joel@jms.id.au> wrote:

> Includes build fixes for musl, so remove the glibc restriction.
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>  package/librtas/Config.in    | 5 -----
>  package/librtas/librtas.hash | 2 +-
>  package/librtas/librtas.mk   | 2 +-
>  3 files changed, 2 insertions(+), 7 deletions(-)

There was a build issue with uClibc toolchains that don't have SSP
support, which I have fixed by adding a patch, and I reported the issue
upstream: https://github.com/ibm-power-utilities/librtas/issues/25.

I updated the commit log to mention explicitly that uClibc builds now
work fine as well.

Applied with those changes, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 2/2] package/powerpc-utils: Bump to v1.3.10
  2022-06-06  8:51 ` [Buildroot] [PATCH 2/2] package/powerpc-utils: Bump to v1.3.10 Joel Stanley
  2022-06-06 18:19   ` Arnout Vandecappelle
@ 2022-07-23 17:15   ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 7+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-23 17:15 UTC (permalink / raw)
  To: Joel Stanley; +Cc: buildroot

On Mon,  6 Jun 2022 18:21:08 +0930
Joel Stanley <joel@jms.id.au> wrote:

> Since v1.3.9 the package requires numa.h from numctl, so add this as a
> dependency.
> 
> This bump fixes a missing limits.h for PATH_MAX when building with musl
> as detected by the autobuilder.
> 
> librtas now builds fine with musl too, so remove the glibc restriction
> for enabling that support.
> 
> Fixes:
> 
>  http://autobuild.buildroot.net/results/613ec647e251ac52a01f222044bd675ce36c1b5b/
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>  package/powerpc-utils/Config.in          | 5 +----
>  package/powerpc-utils/powerpc-utils.hash | 2 +-
>  package/powerpc-utils/powerpc-utils.mk   | 4 ++--
>  3 files changed, 4 insertions(+), 7 deletions(-)

So, as Arnout suggested, I split this into two commits:

 - One backporting the musl fix, and just that, so that it can be
   backported to our LTS branch.

 - One doing the bump to 1.3.10, which obviously removes the patch as
   it is upstream.

Note that you had forgotten to propagate the numactl Config.in
dependencies to powerpc-utils, so I did that as well.

Applied with those changes. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-07-23 17:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-06  8:51 [Buildroot] [PATCH 0/2] powerpc utils and librtas bump Joel Stanley
2022-06-06  8:51 ` [Buildroot] [PATCH 1/2] package/librtas: Bump to v2.0.3 Joel Stanley
2022-06-06 18:19   ` Arnout Vandecappelle
2022-07-23 16:57   ` Thomas Petazzoni via buildroot
2022-06-06  8:51 ` [Buildroot] [PATCH 2/2] package/powerpc-utils: Bump to v1.3.10 Joel Stanley
2022-06-06 18:19   ` Arnout Vandecappelle
2022-07-23 17:15   ` Thomas Petazzoni via buildroot

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