Skip to contentSkip to conversation

package/pcre2: bump version to 10.44

PATCH Applied Peter Seiderer via buildroot 1 participant 3 messages Jun 26, 2024 – Feb 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pcre2: bump version to 10.44

- 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

---
 package/pcre2/pcre2.hash | 4 ++--
 package/pcre2/pcre2.mk   | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
package/pcre2/pcre2.hash +2 -2
index f2e17df753..8b22040ba7 100644
@@ -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
package/pcre2/pcre2.mk +4 -1
index 9641f22e81..191596181a 100644
@@ -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)
Signature · 6 lines
2.45.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
author Tested-by Marcus Hoffmann on v1 1/1
#1 lore raw

Hi,

Quoted 10 lines · Peter Seiderer via 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

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

Quoted 31 lines
---
  package/pcre2/pcre2.hash | 4 ++--
  package/pcre2/pcre2.mk   | 5 ++++-
  2 files changed, 6 insertions(+), 3 deletions(-)
package/pcre2/pcre2.hash +2 -2
index f2e17df753..8b22040ba7 100644
@@ -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
package/pcre2/pcre2.mk +1 -1
index 9641f22e81..191596181a 100644
@@ -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

package/pcre2/pcre2.mk PCRE2_LICENSE_FILES = LICENCE · line 20

Quoted 9 lines
package/pcre2/pcre2.mk +3 -0
@@ -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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Peter Seiderer via buildroot
Quoted 7 lines · On Wed, 26 Jun 2024 11:00:26 +0200 Peter Seiderer via 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].

Quoted 7 lines

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

---
 package/pcre2/pcre2.hash | 4 ++--
 package/pcre2/pcre2.mk   | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot