diff mbox series

[1/2] package/librtas: Bump to v2.0.3

Message ID 20220606085108.1628288-2-joel@jms.id.au
State Accepted
Headers show
Series powerpc utils and librtas bump | expand

Commit Message

Joel Stanley June 6, 2022, 8:51 a.m. UTC
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(-)

Comments

Arnout Vandecappelle June 6, 2022, 6:19 p.m. UTC | #1
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
Thomas Petazzoni July 23, 2022, 4:57 p.m. UTC | #2
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
diff mbox series

Patch

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