Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1] package/pcre2: bump version to 10.44
@ 2024-06-26  9:00 Peter Seiderer via buildroot
  2025-01-09 11:54 ` Marcus Hoffmann via buildroot
  2025-02-04 17:18 ` Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Seiderer via buildroot @ 2024-06-26  9:00 UTC (permalink / raw)
  To: buildroot

- enable PCRE2_AUTORECONF to fix the following buildi/relink failure:

    x86_64-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used
    in cross-compilation: '-L/usr/lib'

For details see [1].

[1] https://github.com/PCRE2Project/pcre2/blob/master/ChangeLog

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/pcre2/pcre2.hash | 4 ++--
 package/pcre2/pcre2.mk   | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/package/pcre2/pcre2.hash b/package/pcre2/pcre2.hash
index f2e17df753..8b22040ba7 100644
--- a/package/pcre2/pcre2.hash
+++ b/package/pcre2/pcre2.hash
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature:
-# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.43/pcre2-10.43.tar.bz2.sig
-sha256  e2a53984ff0b07dfdb5ae4486bbb9b21cca8e7df2434096cc9bf1b728c350bcb  pcre2-10.43.tar.bz2
+# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.44/pcre2-10.44.tar.bz2.sig
+sha256  d34f02e113cf7193a1ebf2770d3ac527088d485d4e047ed10e5d217c6ef5de96  pcre2-10.44.tar.bz2
 # Locally computed
 sha256  030087e2e8dd7c1bdd26057d25d4ded8f45bbf01ad458d68665ad04b8b0fbedf  LICENCE
diff --git a/package/pcre2/pcre2.mk b/package/pcre2/pcre2.mk
index 9641f22e81..191596181a 100644
--- a/package/pcre2/pcre2.mk
+++ b/package/pcre2/pcre2.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PCRE2_VERSION = 10.43
+PCRE2_VERSION = 10.44
 PCRE2_SITE = https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$(PCRE2_VERSION)
 PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2
 PCRE2_LICENSE = BSD-3-Clause
@@ -12,6 +12,9 @@ PCRE2_LICENSE_FILES = LICENCE
 PCRE2_CPE_ID_VENDOR = pcre
 PCRE2_INSTALL_STAGING = YES
 PCRE2_CONFIG_SCRIPTS = pcre2-config
+# Fixes build/relink failure ("ERROR: unsafe header/library path used in
+# cross-compilation: '-L/usr/lib'")
+PCRE2_AUTORECONF = YES
 
 PCRE2_CONF_OPTS += --enable-pcre2-8
 PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_16),--enable-pcre2-16,--disable-pcre2-16)
-- 
2.45.2

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

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

* Re: [Buildroot] [PATCH v1] package/pcre2: bump version to 10.44
  2024-06-26  9:00 [Buildroot] [PATCH v1] package/pcre2: bump version to 10.44 Peter Seiderer via buildroot
@ 2025-01-09 11:54 ` Marcus Hoffmann via buildroot
  2025-02-04 17:18 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 4+ messages in thread
From: Marcus Hoffmann via buildroot @ 2025-01-09 11:54 UTC (permalink / raw)
  To: Peter Seiderer, buildroot

Hi,

On 26.06.24 11:00, Peter Seiderer via buildroot wrote:
> - enable PCRE2_AUTORECONF to fix the following buildi/relink failure:
> 
>      x86_64-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used
>      in cross-compilation: '-L/usr/lib'
> 
> For details see [1].
> 
> [1] https://github.com/PCRE2Project/pcre2/blob/master/ChangeLog
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>

Not sure why this slipped through the cracks, but FWIW:

Tested-by: Marcus Hoffmann <buildroot@bubu1.eu>

> ---
>   package/pcre2/pcre2.hash | 4 ++--
>   package/pcre2/pcre2.mk   | 5 ++++-
>   2 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/package/pcre2/pcre2.hash b/package/pcre2/pcre2.hash
> index f2e17df753..8b22040ba7 100644
> --- a/package/pcre2/pcre2.hash
> +++ b/package/pcre2/pcre2.hash
> @@ -1,5 +1,5 @@
>   # Locally calculated after checking pgp signature:
> -# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.43/pcre2-10.43.tar.bz2.sig
> -sha256  e2a53984ff0b07dfdb5ae4486bbb9b21cca8e7df2434096cc9bf1b728c350bcb  pcre2-10.43.tar.bz2
> +# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.44/pcre2-10.44.tar.bz2.sig
> +sha256  d34f02e113cf7193a1ebf2770d3ac527088d485d4e047ed10e5d217c6ef5de96  pcre2-10.44.tar.bz2
>   # Locally computed
>   sha256  030087e2e8dd7c1bdd26057d25d4ded8f45bbf01ad458d68665ad04b8b0fbedf  LICENCE
> diff --git a/package/pcre2/pcre2.mk b/package/pcre2/pcre2.mk
> index 9641f22e81..191596181a 100644
> --- a/package/pcre2/pcre2.mk
> +++ b/package/pcre2/pcre2.mk
> @@ -4,7 +4,7 @@
>   #
>   ################################################################################
>   
> -PCRE2_VERSION = 10.43
> +PCRE2_VERSION = 10.44
>   PCRE2_SITE = https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$(PCRE2_VERSION)
>   PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2
>   PCRE2_LICENSE = BSD-3-Clause
> @@ -12,6 +12,9 @@ PCRE2_LICENSE_FILES = LICENCE
>   PCRE2_CPE_ID_VENDOR = pcre
>   PCRE2_INSTALL_STAGING = YES
>   PCRE2_CONFIG_SCRIPTS = pcre2-config
> +# Fixes build/relink failure ("ERROR: unsafe header/library path used in
> +# cross-compilation: '-L/usr/lib'")
> +PCRE2_AUTORECONF = YES
>   
>   PCRE2_CONF_OPTS += --enable-pcre2-8
>   PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_16),--enable-pcre2-16,--disable-pcre2-16)

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

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

* Re: [Buildroot] [PATCH v1] package/pcre2: bump version to 10.44
  2024-06-26  9:00 [Buildroot] [PATCH v1] package/pcre2: bump version to 10.44 Peter Seiderer via buildroot
  2025-01-09 11:54 ` Marcus Hoffmann via buildroot
@ 2025-02-04 17:18 ` Thomas Petazzoni via buildroot
  2025-02-04 17:18   ` Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-02-04 17:18 UTC (permalink / raw)
  To: Peter Seiderer via buildroot; +Cc: Peter Seiderer, buildroot

On Wed, 26 Jun 2024 11:00:26 +0200
Peter Seiderer via buildroot <buildroot@buildroot.org> wrote:

> - enable PCRE2_AUTORECONF to fix the following buildi/relink failure:
> 
>     x86_64-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used
>     in cross-compilation: '-L/usr/lib'
> 
> For details see [1].
> 
> [1] https://github.com/PCRE2Project/pcre2/blob/master/ChangeLog
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
>  package/pcre2/pcre2.hash | 4 ++--
>  package/pcre2/pcre2.mk   | 5 ++++-
>  2 files changed, 6 insertions(+), 3 deletions(-)

Applied to master, 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] 4+ messages in thread

* Re: [Buildroot] [PATCH v1] package/pcre2: bump version to 10.44
  2025-02-04 17:18 ` Thomas Petazzoni via buildroot
@ 2025-02-04 17:18   ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2025-02-04 17:18 UTC (permalink / raw)
  To: Peter Seiderer via buildroot; +Cc: Peter Seiderer, buildroot

On Wed, 26 Jun 2024 11:00:26 +0200
Peter Seiderer via buildroot <buildroot@buildroot.org> wrote:

> - enable PCRE2_AUTORECONF to fix the following buildi/relink failure:
> 
>     x86_64-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used
>     in cross-compilation: '-L/usr/lib'
> 
> For details see [1].
> 
> [1] https://github.com/PCRE2Project/pcre2/blob/master/ChangeLog
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
>  package/pcre2/pcre2.hash | 4 ++--
>  package/pcre2/pcre2.mk   | 5 ++++-
>  2 files changed, 6 insertions(+), 3 deletions(-)

Applied to master, 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] 4+ messages in thread

end of thread, other threads:[~2025-02-04 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26  9:00 [Buildroot] [PATCH v1] package/pcre2: bump version to 10.44 Peter Seiderer via buildroot
2025-01-09 11:54 ` Marcus Hoffmann via buildroot
2025-02-04 17:18 ` Thomas Petazzoni via buildroot
2025-02-04 17:18   ` Thomas Petazzoni

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