Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/python-pyicu: fix linking against ICU
@ 2026-12-01  2:39 James Hilliard
  2026-12-01  2:39 ` [Buildroot] [PATCH 2/2] package/python-pyicu: bump to version 2.17 James Hilliard
  0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2026-12-01  2:39 UTC (permalink / raw)
  To: buildroot; +Cc: Bernd Kuhls, James Hilliard

PyICU splits PYICU_LFLAGS on colons, not spaces. The combined -L
and -l options were passed to the linker as one search path, leaving
the extension without its ICU dependencies. Importing icu then fails
with undefined symbols.

Keep the library search path in PYICU_LFLAGS and pass the two ICU
libraries that PyICU uses through PYICU_LIBRARIES.

Fixes: c15e60c106bc ("package/python-pyicu: fix build")
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/python-pyicu/python-pyicu.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/python-pyicu/python-pyicu.mk b/package/python-pyicu/python-pyicu.mk
index 002f572b18..c26621c846 100644
--- a/package/python-pyicu/python-pyicu.mk
+++ b/package/python-pyicu/python-pyicu.mk
@@ -15,7 +15,7 @@ PYTHON_PYICU_SETUP_TYPE = setuptools
 PYTHON_PYICU_ENV += \
 	ICU_VERSION="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --modversion`" \
 	PYICU_CFLAGS="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --variable=CXXFLAGS`" \
-	PYICU_LFLAGS="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --libs-only-L` \
-		`$(PKG_CONFIG_HOST_BINARY) icu-i18n --libs-only-l`"
+	PYICU_LFLAGS="`$(PKG_CONFIG_HOST_BINARY) icu-i18n --libs-only-L`" \
+	PYICU_LIBRARIES="icui18n:icuuc"
 
 $(eval $(python-package))
-- 
2.53.0

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

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

* [Buildroot] [PATCH 2/2] package/python-pyicu: bump to version 2.17
  2026-12-01  2:39 [Buildroot] [PATCH 1/2] package/python-pyicu: fix linking against ICU James Hilliard
@ 2026-12-01  2:39 ` James Hilliard
  0 siblings, 0 replies; 2+ messages in thread
From: James Hilliard @ 2026-12-01  2:39 UTC (permalink / raw)
  To: buildroot; +Cc: Bernd Kuhls, James Hilliard

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/python-pyicu/python-pyicu.hash | 4 ++--
 package/python-pyicu/python-pyicu.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/python-pyicu/python-pyicu.hash b/package/python-pyicu/python-pyicu.hash
index 3483408051..1d519dca4a 100644
--- a/package/python-pyicu/python-pyicu.hash
+++ b/package/python-pyicu/python-pyicu.hash
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/pyicu/json
-md5  a554ecf2b79134b0324fe82e29017c34  pyicu-2.16.2.tar.gz
-sha256  006d51e24b5ec76df6ec2130f3dde269c51db8b8cfebb7d45a427dde0d10aa52  pyicu-2.16.2.tar.gz
+md5  0c05aa9af0923de2f62bcb26ecce1c5b  pyicu-2.17.tar.gz
+sha256  6138b95ac9592fa3983bf489e0c625e8fcfffd0c562a36a08269cecc4ffb48be  pyicu-2.17.tar.gz
 # Locally computed sha256 checksums
 sha256  00da5bf22f2386c4f6f07c734490e9b818c4dcf70e6ca49f594e9cec636b9c40  LICENSE
diff --git a/package/python-pyicu/python-pyicu.mk b/package/python-pyicu/python-pyicu.mk
index c26621c846..324549314f 100644
--- a/package/python-pyicu/python-pyicu.mk
+++ b/package/python-pyicu/python-pyicu.mk
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_PYICU_VERSION = 2.16.2
+PYTHON_PYICU_VERSION = 2.17
 PYTHON_PYICU_SOURCE = pyicu-$(PYTHON_PYICU_VERSION).tar.gz
-PYTHON_PYICU_SITE = https://files.pythonhosted.org/packages/b7/d5/354eb1bf84dcf4ab0bfa46f0620ecf68fe313bb082c26872ceb7a5021f94
+PYTHON_PYICU_SITE = https://files.pythonhosted.org/packages/b0/4e/e9537414644692b556b870716b47e43c54d9b8d314a2a004abca6f7492dd
 PYTHON_PYICU_LICENSE = MIT
 PYTHON_PYICU_LICENSE_FILES = LICENSE
 PYTHON_PYICU_DEPENDENCIES = icu
-- 
2.53.0

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

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

end of thread, other threads:[~2026-12-01  2:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01  2:39 [Buildroot] [PATCH 1/2] package/python-pyicu: fix linking against ICU James Hilliard
2026-12-01  2:39 ` [Buildroot] [PATCH 2/2] package/python-pyicu: bump to version 2.17 James Hilliard

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