* [Buildroot] [PATCH 2/7] package/libselinux: fix build with swig >= 4.5.0
2026-09-05 12:20 [Buildroot] [PATCH 1/7] package/{, lib}apparmor: bump to version 4.1.8 Bernd Kuhls
@ 2026-09-05 12:20 ` Bernd Kuhls
2026-09-06 19:31 ` Fiona Klute via buildroot
2026-09-05 12:20 ` [Buildroot] [PATCH 3/7] package/libcec: " Bernd Kuhls
` (5 subsequent siblings)
6 siblings, 1 reply; 12+ messages in thread
From: Bernd Kuhls @ 2026-09-05 12:20 UTC (permalink / raw)
To: buildroot
Cc: Marcus Folkesson, Antoine Tenart, Angelo Compagnucci,
Daniel Sangue, James Hilliard, Giulio Benetti, Pierre Floury
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
...ce-PyString_FromString-with-PyUnicod.patch | 60 +++++++++++++++++++
1 file changed, 60 insertions(+)
create mode 100644 package/libselinux/0003-libselinux-Replace-PyString_FromString-with-PyUnicod.patch
diff --git a/package/libselinux/0003-libselinux-Replace-PyString_FromString-with-PyUnicod.patch b/package/libselinux/0003-libselinux-Replace-PyString_FromString-with-PyUnicod.patch
new file mode 100644
index 0000000000..a503a9cff4
--- /dev/null
+++ b/package/libselinux/0003-libselinux-Replace-PyString_FromString-with-PyUnicod.patch
@@ -0,0 +1,60 @@
+From fb518ff492cd6a286f35b415cbd7fd0f6e3faedb Mon Sep 17 00:00:00 2001
+From: Petr Lautrbach <lautrbach@redhat.com>
+Date: Thu, 6 Aug 2026 16:30:44 +0200
+Subject: [PATCH] libselinux: Replace PyString_FromString with
+ PyUnicode_FromString for SWIG 4.5.0 compatibility
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+SWIG 4.5.0 removed Python 2 C API compatibility macros (PyInt_*,
+PyString_*, SWIG_Python_str_*) from its runtime header pyhead.swg.
+These macros previously mapped deprecated Python 2 C API names to their
+Python 3 equivalents.
+
+Fixes: https://github.com/SELinuxProject/selinux/issues/538
+Authored-by: Jitka Plesníková <jplesnik@redhat.com>
+Signed-off-by: Petr Lautrbach <lautrbach@redhat.com>
+Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
+
+Upstream: https://github.com/SELinuxProject/selinux/commit/fb518ff492cd6a286f35b415cbd7fd0f6e3faedb
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ src/selinuxswig_python.i | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/selinuxswig_python.i b/src/selinuxswig_python.i
+index c8c08a40..74d923e4 100644
+--- a/src/selinuxswig_python.i
++++ b/src/selinuxswig_python.i
+@@ -69,7 +69,7 @@ def install(src, dest):
+ PyObject* list = PyList_New(*$2);
+ int i;
+ for (i = 0; i < *$2; i++) {
+- PyList_SetItem(list, i, PyString_FromString((*$1)[i]));
++ PyList_SetItem(list, i, PyUnicode_FromString((*$1)[i]));
+ }
+ $result = SWIG_AppendOutput($result, list);
+ }
+@@ -123,7 +123,7 @@ def install(src, dest):
+ len++;
+ plist = PyList_New(len);
+ for (i = 0; i < len; i++) {
+- PyList_SetItem(plist, i, PyString_FromString((*$1)[i]));
++ PyList_SetItem(plist, i, PyUnicode_FromString((*$1)[i]));
+ }
+ } else {
+ plist = PyList_New(0);
+@@ -140,7 +140,7 @@ def install(src, dest):
+ if (*$1) {
+ plist = PyList_New(result);
+ for (i = 0; i < result; i++) {
+- PyList_SetItem(plist, i, PyString_FromString((*$1)[i]));
++ PyList_SetItem(plist, i, PyUnicode_FromString((*$1)[i]));
+ }
+ } else {
+ plist = PyList_New(0);
+--
+2.47.3
+
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [Buildroot] [PATCH 2/7] package/libselinux: fix build with swig >= 4.5.0
2026-09-05 12:20 ` [Buildroot] [PATCH 2/7] package/libselinux: fix build with swig >= 4.5.0 Bernd Kuhls
@ 2026-09-06 19:31 ` Fiona Klute via buildroot
0 siblings, 0 replies; 12+ messages in thread
From: Fiona Klute via buildroot @ 2026-09-06 19:31 UTC (permalink / raw)
To: Bernd Kuhls, buildroot
Cc: Marcus Folkesson, Antoine Tenart, Angelo Compagnucci,
Daniel Sangue, James Hilliard, Giulio Benetti, Pierre Floury
Am 05.09.26 um 14:20 schrieb Bernd Kuhls:
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> ...ce-PyString_FromString-with-PyUnicod.patch | 60 +++++++++++++++++++
> 1 file changed, 60 insertions(+)
> create mode 100644 package/libselinux/0003-libselinux-Replace-PyString_FromString-with-PyUnicod.patch
>
> diff --git a/package/libselinux/0003-libselinux-Replace-PyString_FromString-with-PyUnicod.patch b/package/libselinux/0003-libselinux-Replace-PyString_FromString-with-PyUnicod.patch
> new file mode 100644
> index 0000000000..a503a9cff4
> --- /dev/null
> +++ b/package/libselinux/0003-libselinux-Replace-PyString_FromString-with-PyUnicod.patch
> @@ -0,0 +1,60 @@
> +From fb518ff492cd6a286f35b415cbd7fd0f6e3faedb Mon Sep 17 00:00:00 2001
> +From: Petr Lautrbach <lautrbach@redhat.com>
> +Date: Thu, 6 Aug 2026 16:30:44 +0200
> +Subject: [PATCH] libselinux: Replace PyString_FromString with
> + PyUnicode_FromString for SWIG 4.5.0 compatibility
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +SWIG 4.5.0 removed Python 2 C API compatibility macros (PyInt_*,
> +PyString_*, SWIG_Python_str_*) from its runtime header pyhead.swg.
> +These macros previously mapped deprecated Python 2 C API names to their
> +Python 3 equivalents.
> +
> +Fixes: https://github.com/SELinuxProject/selinux/issues/538
> +Authored-by: Jitka Plesníková <jplesnik@redhat.com>
> +Signed-off-by: Petr Lautrbach <lautrbach@redhat.com>
> +Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
> +
> +Upstream: https://github.com/SELinuxProject/selinux/commit/fb518ff492cd6a286f35b415cbd7fd0f6e3faedb
> +
> +Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Tested-by: Fiona Klute <fiona.klute@gmx.de>
Works with and without the swig bump.
Best regards,
Fiona
> +---
> + src/selinuxswig_python.i | 6 +++---
> + 1 file changed, 3 insertions(+), 3 deletions(-)
> +
> +diff --git a/src/selinuxswig_python.i b/src/selinuxswig_python.i
> +index c8c08a40..74d923e4 100644
> +--- a/src/selinuxswig_python.i
> ++++ b/src/selinuxswig_python.i
> +@@ -69,7 +69,7 @@ def install(src, dest):
> + PyObject* list = PyList_New(*$2);
> + int i;
> + for (i = 0; i < *$2; i++) {
> +- PyList_SetItem(list, i, PyString_FromString((*$1)[i]));
> ++ PyList_SetItem(list, i, PyUnicode_FromString((*$1)[i]));
> + }
> + $result = SWIG_AppendOutput($result, list);
> + }
> +@@ -123,7 +123,7 @@ def install(src, dest):
> + len++;
> + plist = PyList_New(len);
> + for (i = 0; i < len; i++) {
> +- PyList_SetItem(plist, i, PyString_FromString((*$1)[i]));
> ++ PyList_SetItem(plist, i, PyUnicode_FromString((*$1)[i]));
> + }
> + } else {
> + plist = PyList_New(0);
> +@@ -140,7 +140,7 @@ def install(src, dest):
> + if (*$1) {
> + plist = PyList_New(result);
> + for (i = 0; i < result; i++) {
> +- PyList_SetItem(plist, i, PyString_FromString((*$1)[i]));
> ++ PyList_SetItem(plist, i, PyUnicode_FromString((*$1)[i]));
> + }
> + } else {
> + plist = PyList_New(0);
> +--
> +2.47.3
> +
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 3/7] package/libcec: fix build with swig >= 4.5.0
2026-09-05 12:20 [Buildroot] [PATCH 1/7] package/{, lib}apparmor: bump to version 4.1.8 Bernd Kuhls
2026-09-05 12:20 ` [Buildroot] [PATCH 2/7] package/libselinux: fix build with swig >= 4.5.0 Bernd Kuhls
@ 2026-09-05 12:20 ` Bernd Kuhls
2026-09-05 12:20 ` [Buildroot] [PATCH 4/7] package/libftdi1: " Bernd Kuhls
` (4 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Bernd Kuhls @ 2026-09-05 12:20 UTC (permalink / raw)
To: buildroot
Cc: Marcus Folkesson, Antoine Tenart, Angelo Compagnucci,
Daniel Sangue, James Hilliard, Giulio Benetti, Pierre Floury
Patch 0002 fixes the build with swig >= 4.5.0.
Patch 0001 is needed to cleanly apply patch 0002.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
...DeviceLanguage-accepts-3-char-ISO-co.patch | 66 ++++++++++++++++
...Python-wrapper-against-SWIG-4.5-whic.patch | 78 +++++++++++++++++++
2 files changed, 144 insertions(+)
create mode 100644 package/libcec/0001-fixed-Python-strDeviceLanguage-accepts-3-char-ISO-co.patch
create mode 100644 package/libcec/0002-fixed-build-the-Python-wrapper-against-SWIG-4.5-whic.patch
diff --git a/package/libcec/0001-fixed-Python-strDeviceLanguage-accepts-3-char-ISO-co.patch b/package/libcec/0001-fixed-Python-strDeviceLanguage-accepts-3-char-ISO-co.patch
new file mode 100644
index 0000000000..e2a86e1f7e
--- /dev/null
+++ b/package/libcec/0001-fixed-Python-strDeviceLanguage-accepts-3-char-ISO-co.patch
@@ -0,0 +1,66 @@
+From f53490e23037f17b68043f5e1ff2f4378d227d56 Mon Sep 17 00:00:00 2001
+From: Lars Op den Kamp <lars@opdenkamp.eu>
+Date: Mon, 13 Jul 2026 15:24:27 +0200
+Subject: [PATCH] fixed: Python strDeviceLanguage accepts 3-char ISO codes
+ (SWIG char[3] typemap)
+
+The SWIG default char[ANY] setter uses SWIG_AsCharArray, which reserves a
+byte for a NUL terminator. strDeviceLanguage is a raw, non-terminated
+char[3] holding a 3-character ISO 639-2 code, so a valid 3-char value needs
+4 bytes and overflowed the buffer, raising a TypeError; only 2-char codes
+fit. Add member-name-scoped in/memberin typemaps that copy the raw bytes
+(str or bytes) so 3-char codes assign correctly. Scoped by name so the
+NUL-terminated strDeviceName keeps the default behaviour.
+
+Upstream: https://github.com/Pulse-Eight/libcec/commit/f53490e23037f17b68043f5e1ff2f4378d227d56
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ src/libcec/libcec.i | 31 +++++++++++++++++++++++++++++++
+ 1 file changed, 31 insertions(+)
+
+diff --git a/src/libcec/libcec.i b/src/libcec/libcec.i
+index a01f9afc..520ff7af 100644
+--- a/src/libcec/libcec.i
++++ b/src/libcec/libcec.i
+@@ -15,6 +15,37 @@
+ $result = PyString_FromString($1.name);
+ }
+
++/////// libcec_configuration::strDeviceLanguage ///////
++// strDeviceLanguage is a raw, fixed-size char[3] that is NOT NUL-terminated (a
++// 3-character ISO 639-2 code). SWIG's default char[ANY] setter reserves a byte
++// for a terminator, so a valid 3-char code needs 4 bytes and overflows the
++// buffer, raising a TypeError; only 2-char codes fit. Copy the raw bytes
++// instead (accepting str or bytes), scoped to this member by name so the
++// NUL-terminated strDeviceName keeps the default behaviour.
++%typemap(in) char strDeviceLanguage[ANY] (char temp[$1_dim0]) {
++ char *cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
++ int res = SWIG_AsCharPtrAndSize($input, &cptr, &csize, &alloc);
++ if (!SWIG_IsOK(res)) {
++ %argument_fail(res, "char [$1_dim0]", $symname, $argnum);
++ }
++ {
++ /* csize counts the trailing NUL; strDeviceLanguage stores no terminator */
++ size_t slen = (csize > 0) ? csize - 1 : 0;
++ if (slen > (size_t)($1_dim0)) {
++ if (alloc == SWIG_NEWOBJ) %delete_array(cptr);
++ %argument_fail(SWIG_ValueError, "char [$1_dim0]", $symname, $argnum);
++ }
++ memset(temp, 0, $1_dim0);
++ if (slen) memcpy(temp, cptr, slen);
++ }
++ $1 = temp;
++ if (alloc == SWIG_NEWOBJ) %delete_array(cptr);
++}
++
++%typemap(memberin) char strDeviceLanguage[ANY] {
++ memcpy($1, $input, $1_dim0 * sizeof(char));
++}
++
+ /////// replace operator[]() ///////
+
+ // CEC::cec_datapacket::operator[]()
+--
+2.47.3
+
diff --git a/package/libcec/0002-fixed-build-the-Python-wrapper-against-SWIG-4.5-whic.patch b/package/libcec/0002-fixed-build-the-Python-wrapper-against-SWIG-4.5-whic.patch
new file mode 100644
index 0000000000..351091e17d
--- /dev/null
+++ b/package/libcec/0002-fixed-build-the-Python-wrapper-against-SWIG-4.5-whic.patch
@@ -0,0 +1,78 @@
+From 55f3443559b0b32a1d7194e424727575faf6f7d4 Mon Sep 17 00:00:00 2001
+From: Lars Op den Kamp <lars@opdenkamp.eu>
+Date: Fri, 31 Jul 2026 14:46:27 +0200
+Subject: [PATCH] fixed: build the Python wrapper against SWIG 4.5, which
+ removed the Python 2 compatibility macros
+
+SWIG 4.5 dropped the PyInt_*/PyString_* macros that pyhead.swg used to define
+for user typemaps. Two places here relied on them.
+
+The callback return handling keeps a PY_MAJOR_VERSION guard rather than moving
+to the Python 3 API outright, because the x86 Windows build still targets
+Python 2 for the EventGhost plugin. A Python 2 int is a PyIntObject, not a
+PyLongObject, so an unguarded PyLong_Check would compile there and then
+silently read every commandHandler and menuStateChanged return value as 0 - the
+one thing those callbacks exist to report. SWIG never reads SwigHelper.h, so
+the C preprocessor makes the choice and the file is SWIG-version independent.
+
+The cec_osd_name out-typemap is deleted rather than fixed, because it is dead:
+GetDeviceOSDName returns std::string, and cec_osd_name only survives as an out
+parameter in the C API, which is not wrapped. It could not have compiled if it
+ever did fire - cec_osd_name is a typedef for char[14], so the $1.name it
+dereferences has no member to name. Removing it leaves the generated wrapper
+byte-for-byte identical.
+
+Verified by preprocessing SwigHelper.h against both Python 3.10 and Python 2.7:
+Python 3 resolves to PyObject_CallObject/PyLong_AsLong with no removed macro
+surviving anywhere, Python 2 to PyEval_CallObject/PyInt_AsLong.
+
+closes #726
+
+Upstream: https://github.com/Pulse-Eight/libcec/commit/55f3443559b0b32a1d7194e424727575faf6f7d4
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ src/libcec/SwigHelper.h | 9 +++++++++
+ src/libcec/libcec.i | 4 ----
+ 2 files changed, 9 insertions(+), 4 deletions(-)
+
+diff --git a/src/libcec/SwigHelper.h b/src/libcec/SwigHelper.h
+index 3c40fc87..0752acb2 100644
+--- a/src/libcec/SwigHelper.h
++++ b/src/libcec/SwigHelper.h
+@@ -137,8 +137,17 @@ namespace CEC
+ Py_DECREF(arglist);
+ if (!!result)
+ {
++ /** SWIG 4.5 removed the PyInt_* compatibility macros it used to define
++ for Python 3, so call the version-appropriate API directly. Note that
++ a Python 2 int is a PyIntObject, not a PyLongObject, so PyLong_Check
++ would silently reject it there. */
++ #if (PY_MAJOR_VERSION < 3)
+ if (PyInt_Check(result))
+ retval = (int)PyInt_AsLong(result);
++ #else // (PY_MAJOR_VERSION >= 3)
++ if (PyLong_Check(result))
++ retval = (int)PyLong_AsLong(result);
++ #endif
+ Py_XDECREF(result);
+ }
+ }
+diff --git a/src/libcec/libcec.i b/src/libcec/libcec.i
+index 520ff7af..0d757aa1 100644
+--- a/src/libcec/libcec.i
++++ b/src/libcec/libcec.i
+@@ -11,10 +11,6 @@
+
+ %ignore *::operator=;
+
+-%typemap(out) CEC::cec_osd_name {
+- $result = PyString_FromString($1.name);
+-}
+-
+ /////// libcec_configuration::strDeviceLanguage ///////
+ // strDeviceLanguage is a raw, fixed-size char[3] that is NOT NUL-terminated (a
+ // 3-character ISO 639-2 code). SWIG's default char[ANY] setter reserves a byte
+--
+2.47.3
+
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread* [Buildroot] [PATCH 4/7] package/libftdi1: fix build with swig >= 4.5.0
2026-09-05 12:20 [Buildroot] [PATCH 1/7] package/{, lib}apparmor: bump to version 4.1.8 Bernd Kuhls
2026-09-05 12:20 ` [Buildroot] [PATCH 2/7] package/libselinux: fix build with swig >= 4.5.0 Bernd Kuhls
2026-09-05 12:20 ` [Buildroot] [PATCH 3/7] package/libcec: " Bernd Kuhls
@ 2026-09-05 12:20 ` Bernd Kuhls
2026-09-05 12:44 ` Yegor Yefremov via buildroot
2026-09-05 12:20 ` [Buildroot] [PATCH 5/7] package/python-pylibfdt: " Bernd Kuhls
` (3 subsequent siblings)
6 siblings, 1 reply; 12+ messages in thread
From: Bernd Kuhls @ 2026-09-05 12:20 UTC (permalink / raw)
To: buildroot
Cc: Marcus Folkesson, Antoine Tenart, Angelo Compagnucci,
Daniel Sangue, James Hilliard, Giulio Benetti, Pierre Floury
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
.../0001-python-update-for-SWIG-4.5.patch | 48 +++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 package/libftdi1/0001-python-update-for-SWIG-4.5.patch
diff --git a/package/libftdi1/0001-python-update-for-SWIG-4.5.patch b/package/libftdi1/0001-python-update-for-SWIG-4.5.patch
new file mode 100644
index 0000000000..4521ea8e4a
--- /dev/null
+++ b/package/libftdi1/0001-python-update-for-SWIG-4.5.patch
@@ -0,0 +1,48 @@
+From 6c965463223ea46d0b7ae22586cadc150f719f84 Mon Sep 17 00:00:00 2001
+From: Jitka Plesnikova <jplesnik@redhat.com>
+Date: Tue, 11 Aug 2026 13:55:58 +0200
+Subject: [PATCH] python: update for SWIG 4.5
+
+SWIG 4.5.0 removed Python 2 compatibility macros (PyInt_, PyString_, SWIG_Python_str_*)
+from its runtime header pyhead.swg (see commit [1]). These macros mapped old Python 2
+C API names to their Python 3 equivalents. Packages that reference them in custom SWIG
+typemaps or pre-generated wrapper code now fail to compile.
+
+This patch replaces all occurrences with the corresponding Python 3 C API functions.
+The replacements are safe since the macros were already aliased to these exact functions
+in SWIG's Python 3 code path.
+
+[1] https://github.com/swig/swig/commit/79f7a2b7cb7ddc256eba09c8770133148025171d
+
+Upstream: http://developer.intra2net.com/mailarchive/html/libftdi/2026/msg00012.html
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ python/ftdi1.i | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/python/ftdi1.i b/python/ftdi1.i
+index fac4d16..31e17c6 100644
+--- a/python/ftdi1.i
++++ b/python/ftdi1.i
+@@ -91,7 +91,7 @@ char * str2charp_size(PyObject* pyObj, int * size)
+ "read_data(context) -> (return_code, buf)"
+ %enddef
+ %feature("autodoc", ftdi_read_data_docstring) ftdi_read_data;
+-%typemap(in,numinputs=1) (unsigned char *buf, int size) %{ $2 = PyInt_AsLong($input);$1 = (unsigned char*)malloc($2*sizeof(char)); %}
++%typemap(in,numinputs=1) (unsigned char *buf, int size) %{ $2 = PyLong_AsLong($input);$1 = (unsigned char*)malloc($2*sizeof(char)); %}
+ %typemap(argout,noblock=1) (unsigned char *buf, int size) {
+ if(result<0)
+ $2=0;
+@@ -136,7 +136,7 @@ char * str2charp_size(PyObject* pyObj, int * size)
+ int ftdi_get_eeprom_value(struct ftdi_context *ftdi, enum ftdi_eeprom_value value_name, int* value);
+ %clear int* value;
+
+-%typemap(in,numinputs=1) (unsigned char *buf, int size) %{ $2 = PyInt_AsLong($input);$1 = (unsigned char*)malloc($2*sizeof(char)); %}
++%typemap(in,numinputs=1) (unsigned char *buf, int size) %{ $2 = PyLong_AsLong($input);$1 = (unsigned char*)malloc($2*sizeof(char)); %}
+ %typemap(argout,noblock=1) (unsigned char *buf, int size) {
+ if(result<0)
+ $2=0;
+--
+2.55.0
+
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [Buildroot] [PATCH 4/7] package/libftdi1: fix build with swig >= 4.5.0
2026-09-05 12:20 ` [Buildroot] [PATCH 4/7] package/libftdi1: " Bernd Kuhls
@ 2026-09-05 12:44 ` Yegor Yefremov via buildroot
0 siblings, 0 replies; 12+ messages in thread
From: Yegor Yefremov via buildroot @ 2026-09-05 12:44 UTC (permalink / raw)
To: Bernd Kuhls
Cc: buildroot, Angelo Compagnucci, Antoine Tenart, Daniel Sangue,
Giulio Benetti, James Hilliard, Marcus Folkesson, Pierre Floury
On Sat, Sep 5, 2026 at 2:21 PM Bernd Kuhls <bernd@kuhls.net> wrote:
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> .../0001-python-update-for-SWIG-4.5.patch | 48 +++++++++++++++++++
> 1 file changed, 48 insertions(+)
> create mode 100644 package/libftdi1/0001-python-update-for-SWIG-4.5.patch
>
> diff --git a/package/libftdi1/0001-python-update-for-SWIG-4.5.patch b/package/libftdi1/0001-python-update-for-SWIG-4.5.patch
> new file mode 100644
> index 0000000000..4521ea8e4a
> --- /dev/null
> +++ b/package/libftdi1/0001-python-update-for-SWIG-4.5.patch
> @@ -0,0 +1,48 @@
> +From 6c965463223ea46d0b7ae22586cadc150f719f84 Mon Sep 17 00:00:00 2001
> +From: Jitka Plesnikova <jplesnik@redhat.com>
> +Date: Tue, 11 Aug 2026 13:55:58 +0200
> +Subject: [PATCH] python: update for SWIG 4.5
> +
> +SWIG 4.5.0 removed Python 2 compatibility macros (PyInt_, PyString_, SWIG_Python_str_*)
> +from its runtime header pyhead.swg (see commit [1]). These macros mapped old Python 2
> +C API names to their Python 3 equivalents. Packages that reference them in custom SWIG
> +typemaps or pre-generated wrapper code now fail to compile.
> +
> +This patch replaces all occurrences with the corresponding Python 3 C API functions.
> +The replacements are safe since the macros were already aliased to these exact functions
> +in SWIG's Python 3 code path.
> +
> +[1] https://github.com/swig/swig/commit/79f7a2b7cb7ddc256eba09c8770133148025171d
> +
> +Upstream: http://developer.intra2net.com/mailarchive/html/libftdi/2026/msg00012.html
> +
> +Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> +---
> + python/ftdi1.i | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/python/ftdi1.i b/python/ftdi1.i
> +index fac4d16..31e17c6 100644
> +--- a/python/ftdi1.i
> ++++ b/python/ftdi1.i
> +@@ -91,7 +91,7 @@ char * str2charp_size(PyObject* pyObj, int * size)
> + "read_data(context) -> (return_code, buf)"
> + %enddef
> + %feature("autodoc", ftdi_read_data_docstring) ftdi_read_data;
> +-%typemap(in,numinputs=1) (unsigned char *buf, int size) %{ $2 = PyInt_AsLong($input);$1 = (unsigned char*)malloc($2*sizeof(char)); %}
> ++%typemap(in,numinputs=1) (unsigned char *buf, int size) %{ $2 = PyLong_AsLong($input);$1 = (unsigned char*)malloc($2*sizeof(char)); %}
> + %typemap(argout,noblock=1) (unsigned char *buf, int size) {
> + if(result<0)
> + $2=0;
> +@@ -136,7 +136,7 @@ char * str2charp_size(PyObject* pyObj, int * size)
> + int ftdi_get_eeprom_value(struct ftdi_context *ftdi, enum ftdi_eeprom_value value_name, int* value);
> + %clear int* value;
> +
> +-%typemap(in,numinputs=1) (unsigned char *buf, int size) %{ $2 = PyInt_AsLong($input);$1 = (unsigned char*)malloc($2*sizeof(char)); %}
> ++%typemap(in,numinputs=1) (unsigned char *buf, int size) %{ $2 = PyLong_AsLong($input);$1 = (unsigned char*)malloc($2*sizeof(char)); %}
> + %typemap(argout,noblock=1) (unsigned char *buf, int size) {
> + if(result<0)
> + $2=0;
> +--
> +2.55.0
> +
> --
> 2.47.3
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 5/7] package/python-pylibfdt: fix build with swig >= 4.5.0
2026-09-05 12:20 [Buildroot] [PATCH 1/7] package/{, lib}apparmor: bump to version 4.1.8 Bernd Kuhls
` (2 preceding siblings ...)
2026-09-05 12:20 ` [Buildroot] [PATCH 4/7] package/libftdi1: " Bernd Kuhls
@ 2026-09-05 12:20 ` Bernd Kuhls
2026-09-05 12:20 ` [Buildroot] [PATCH 6/7] package/trace-cmd: " Bernd Kuhls
` (2 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Bernd Kuhls @ 2026-09-05 12:20 UTC (permalink / raw)
To: buildroot
Cc: Marcus Folkesson, Antoine Tenart, Angelo Compagnucci,
Daniel Sangue, James Hilliard, Giulio Benetti, Pierre Floury
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
...e-removed-SWIG-Python-2-compatibilit.patch | 59 +++++++++++++++++++
1 file changed, 59 insertions(+)
create mode 100644 package/python-pylibfdt/0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibilit.patch
diff --git a/package/python-pylibfdt/0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibilit.patch b/package/python-pylibfdt/0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibilit.patch
new file mode 100644
index 0000000000..fa2b587ddc
--- /dev/null
+++ b/package/python-pylibfdt/0001-pylibfdt-Replace-removed-SWIG-Python-2-compatibilit.patch
@@ -0,0 +1,59 @@
+From 5008d1d6a356b8d0a78060da2e1021507d529cff Mon Sep 17 00:00:00 2001
+From: Jitka Plesnikova <jplesnik@redhat.com>
+Date: Wed, 29 Jul 2026 07:55:56 +0200
+Subject: [PATCH] pylibfdt: Replace removed SWIG Python 2 compatibility macros
+
+SWIG 4.5.0 removed Python 2 compatibility macros (PyInt_*, PyString_*)
+from its runtime header pyhead.swg (see commit 79f7a2b7cb7d). Replace
+them with their Python 3 C API equivalents:
+
+- PyString_FromString -> PyUnicode_FromString
+- PyString_AsString -> PyBytes_AsString
+- PyInt_AsLong -> PyLong_AsLong
+
+The replacements are safe since the macros were already aliased to
+these exact functions in SWIG's Python 3 code path.
+
+Signed-off-by: Jitka Plesnikova <jplesnik@redhat.com>
+Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
+Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
+
+Upstream: https://github.com/dgibson/dtc/commit/5008d1d6a356b8d0a78060da2e1021507d529cff
+
+python-pylibfdt imports tagged dtc versions and currently waits for a
+new dtc release: https://github.com/devicetree-org/pylibfdt/pull/10
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ libfdt/libfdt.i | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/libfdt/libfdt.i b/libfdt/libfdt.i
+index 1f9c0471..b1cb9873 100644
+--- a/libfdt/libfdt.i
++++ b/libfdt/libfdt.i
+@@ -1136,7 +1136,7 @@ typedef uint32_t fdt32_t;
+ PyObject *buff;
+
+ if ($1) {
+- resultobj = PyString_FromString(
++ resultobj = PyUnicode_FromString(
+ fdt_string(fdt1, fdt32_to_cpu($1->nameoff)));
+ buff = PyByteArray_FromStringAndSize(
+ (const char *)($1 + 1), fdt32_to_cpu($1->len));
+@@ -1169,13 +1169,13 @@ typedef uint32_t fdt32_t;
+ }
+ $1 = PyBytes_AsString($input);
+ %#else
+- $1 = PyString_AsString($input); /* char *str */
++ $1 = PyBytes_AsString($input); /* char *str */
+ %#endif
+ }
+
+ /* typemaps used for fdt_next_node() */
+ %typemap(in, numinputs=1) int *depth (int depth) {
+- depth = (int) PyInt_AsLong($input);
++ depth = (int) PyLong_AsLong($input);
+ $1 = &depth;
+ }
+
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread* [Buildroot] [PATCH 6/7] package/trace-cmd: fix build with swig >= 4.5.0
2026-09-05 12:20 [Buildroot] [PATCH 1/7] package/{, lib}apparmor: bump to version 4.1.8 Bernd Kuhls
` (3 preceding siblings ...)
2026-09-05 12:20 ` [Buildroot] [PATCH 5/7] package/python-pylibfdt: " Bernd Kuhls
@ 2026-09-05 12:20 ` Bernd Kuhls
2026-09-05 12:20 ` [Buildroot] [PATCH 7/7] package/swig: bump version to 4.5.1 Bernd Kuhls
2026-09-18 19:55 ` [Buildroot] [PATCH 1/7] package/{, lib}apparmor: bump to version 4.1.8 Thomas Petazzoni via buildroot
6 siblings, 0 replies; 12+ messages in thread
From: Bernd Kuhls @ 2026-09-05 12:20 UTC (permalink / raw)
To: buildroot
Cc: Marcus Folkesson, Antoine Tenart, Angelo Compagnucci,
Daniel Sangue, James Hilliard, Giulio Benetti, Pierre Floury
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
...Python-2-C-API-macros-for-SWIG-4.5.0.patch | 32 +++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 package/trace-cmd/0001-Replace-removed-Python-2-C-API-macros-for-SWIG-4.5.0.patch
diff --git a/package/trace-cmd/0001-Replace-removed-Python-2-C-API-macros-for-SWIG-4.5.0.patch b/package/trace-cmd/0001-Replace-removed-Python-2-C-API-macros-for-SWIG-4.5.0.patch
new file mode 100644
index 0000000000..5f792c9194
--- /dev/null
+++ b/package/trace-cmd/0001-Replace-removed-Python-2-C-API-macros-for-SWIG-4.5.0.patch
@@ -0,0 +1,32 @@
+From 797a541398bbbd55a29ac22ca3fc7271d6627aa5 Mon Sep 17 00:00:00 2001
+From: Jitka Plesnikova <jplesnik@redhat.com>
+Date: Sat, 5 Sep 2026 09:34:04 +0200
+Subject: [PATCH] Replace removed Python 2 C API macros for SWIG 4.5.0
+ compatibility
+
+Downloaded from Fedora:
+https://src.fedoraproject.org/rpms/trace-cmd/c/eff667a072e69238efc469775585b1b30c056187
+
+Upstream: https://bugzilla.kernel.org/show_bug.cgi?id=221966
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ python/ctracecmd.i | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/python/ctracecmd.i b/python/ctracecmd.i
+index 38564601..2525309e 100644
+--- a/python/ctracecmd.i
++++ b/python/ctracecmd.i
+@@ -218,7 +218,7 @@ static int python_callback(struct trace_seq *s,
+ result = PyObject_Call(context, arglist, NULL);
+ Py_XDECREF(arglist);
+ if (result && result != Py_None) {
+- if (!PyInt_Check(result)) {
++ if (!PyLong_Check(result)) {
+ PyErr_SetString(PyExc_TypeError,
+ "callback must return int");
+ PyErr_Print();
+--
+2.47.3
+
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread* [Buildroot] [PATCH 7/7] package/swig: bump version to 4.5.1
2026-09-05 12:20 [Buildroot] [PATCH 1/7] package/{, lib}apparmor: bump to version 4.1.8 Bernd Kuhls
` (4 preceding siblings ...)
2026-09-05 12:20 ` [Buildroot] [PATCH 6/7] package/trace-cmd: " Bernd Kuhls
@ 2026-09-05 12:20 ` Bernd Kuhls
2026-09-05 12:45 ` Yegor Yefremov via buildroot
2026-09-06 19:33 ` Fiona Klute via buildroot
2026-09-18 19:55 ` [Buildroot] [PATCH 1/7] package/{, lib}apparmor: bump to version 4.1.8 Thomas Petazzoni via buildroot
6 siblings, 2 replies; 12+ messages in thread
From: Bernd Kuhls @ 2026-09-05 12:20 UTC (permalink / raw)
To: buildroot
Cc: Marcus Folkesson, Antoine Tenart, Angelo Compagnucci,
Daniel Sangue, James Hilliard, Giulio Benetti, Pierre Floury
https://www.swig.org/Release/RELEASENOTES
Added upstream sha1 & sha256 hashes.
Switched _SITE to https.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commits/3a1e018bd92f929d1acc1882742820bbefe06800
with the exception of bootlin-x86-64-uclibc
https://gitlab.com/bkuhls/buildroot/-/jobs/16323077584
where libselinux caused an unrelated build error also caught by the
autobuilders:
https://autobuild.buildroot.net/results/684/684a779841c26499f2b28f74edf183c73d12773b/
and the exception of bootlin-powerpc-e500mc-uclibc
https://gitlab.com/bkuhls/buildroot/-/jobs/16323077582
where sdl2 caused an unrelated build error also caught by the
autobuilders:
https://autobuild.buildroot.net/results/968/968608bfd41d40ecec3c2cf9544cdcfd1693da3f/
package/swig/swig.hash | 4 +++-
package/swig/swig.mk | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/package/swig/swig.hash b/package/swig/swig.hash
index 21590c422a..f3d4a1829e 100644
--- a/package/swig/swig.hash
+++ b/package/swig/swig.hash
@@ -1,5 +1,7 @@
+# From https://sourceforge.net/projects/swig/files/swig/swig-4.5.1
+sha1 fab5ee9e27b703ea964e55abca585567ebac9bcf swig-4.5.1.tar.gz
+sha256 7fec50b27deddab5455a9633780b6341eddfb96215a7619e93a76eb27178f653 swig-4.5.1.tar.gz
# Locally computed:
-sha256 2af08aced8fcd65cdb5cc62426768914bedc735b1c250325203716f78e39ac9b swig-4.1.1.tar.gz
sha256 f53abaeed775018d519a1b9615f0ca17894772bd9ca21c2a156bf340ac41c13e LICENSE
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE-GPL
sha256 7f50d942373a871211c5efee03f3db2f9efd1cff1002b0ef8e3748baa611a5c2 LICENSE-UNIVERSITIES
diff --git a/package/swig/swig.mk b/package/swig/swig.mk
index 71e5e05f96..e277f5049a 100644
--- a/package/swig/swig.mk
+++ b/package/swig/swig.mk
@@ -4,9 +4,9 @@
#
################################################################################
-SWIG_VERSION_MAJOR = 4.1
+SWIG_VERSION_MAJOR = 4.5
SWIG_VERSION = $(SWIG_VERSION_MAJOR).1
-SWIG_SITE = http://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
+SWIG_SITE = https://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
HOST_SWIG_DEPENDENCIES = host-bison host-pcre2
HOST_SWIG_CONF_OPTS = \
--with-pcre \
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [Buildroot] [PATCH 7/7] package/swig: bump version to 4.5.1
2026-09-05 12:20 ` [Buildroot] [PATCH 7/7] package/swig: bump version to 4.5.1 Bernd Kuhls
@ 2026-09-05 12:45 ` Yegor Yefremov via buildroot
2026-09-06 19:33 ` Fiona Klute via buildroot
1 sibling, 0 replies; 12+ messages in thread
From: Yegor Yefremov via buildroot @ 2026-09-05 12:45 UTC (permalink / raw)
To: Bernd Kuhls
Cc: buildroot, Angelo Compagnucci, Antoine Tenart, Daniel Sangue,
Giulio Benetti, James Hilliard, Marcus Folkesson, Pierre Floury
On Sat, Sep 5, 2026 at 2:21 PM Bernd Kuhls <bernd@kuhls.net> wrote:
>
> https://www.swig.org/Release/RELEASENOTES
>
> Added upstream sha1 & sha256 hashes.
>
> Switched _SITE to https.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> Series passed Gitlab pipelines:
> https://gitlab.com/bkuhls/buildroot/-/commits/3a1e018bd92f929d1acc1882742820bbefe06800
>
> with the exception of bootlin-x86-64-uclibc
> https://gitlab.com/bkuhls/buildroot/-/jobs/16323077584
> where libselinux caused an unrelated build error also caught by the
> autobuilders:
> https://autobuild.buildroot.net/results/684/684a779841c26499f2b28f74edf183c73d12773b/
>
> and the exception of bootlin-powerpc-e500mc-uclibc
> https://gitlab.com/bkuhls/buildroot/-/jobs/16323077582
> where sdl2 caused an unrelated build error also caught by the
> autobuilders:
> https://autobuild.buildroot.net/results/968/968608bfd41d40ecec3c2cf9544cdcfd1693da3f/
>
> package/swig/swig.hash | 4 +++-
> package/swig/swig.mk | 4 ++--
> 2 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/package/swig/swig.hash b/package/swig/swig.hash
> index 21590c422a..f3d4a1829e 100644
> --- a/package/swig/swig.hash
> +++ b/package/swig/swig.hash
> @@ -1,5 +1,7 @@
> +# From https://sourceforge.net/projects/swig/files/swig/swig-4.5.1
> +sha1 fab5ee9e27b703ea964e55abca585567ebac9bcf swig-4.5.1.tar.gz
> +sha256 7fec50b27deddab5455a9633780b6341eddfb96215a7619e93a76eb27178f653 swig-4.5.1.tar.gz
> # Locally computed:
> -sha256 2af08aced8fcd65cdb5cc62426768914bedc735b1c250325203716f78e39ac9b swig-4.1.1.tar.gz
> sha256 f53abaeed775018d519a1b9615f0ca17894772bd9ca21c2a156bf340ac41c13e LICENSE
> sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE-GPL
> sha256 7f50d942373a871211c5efee03f3db2f9efd1cff1002b0ef8e3748baa611a5c2 LICENSE-UNIVERSITIES
> diff --git a/package/swig/swig.mk b/package/swig/swig.mk
> index 71e5e05f96..e277f5049a 100644
> --- a/package/swig/swig.mk
> +++ b/package/swig/swig.mk
> @@ -4,9 +4,9 @@
> #
> ################################################################################
>
> -SWIG_VERSION_MAJOR = 4.1
> +SWIG_VERSION_MAJOR = 4.5
> SWIG_VERSION = $(SWIG_VERSION_MAJOR).1
> -SWIG_SITE = http://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
> +SWIG_SITE = https://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
> HOST_SWIG_DEPENDENCIES = host-bison host-pcre2
> HOST_SWIG_CONF_OPTS = \
> --with-pcre \
> --
> 2.47.3
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH 7/7] package/swig: bump version to 4.5.1
2026-09-05 12:20 ` [Buildroot] [PATCH 7/7] package/swig: bump version to 4.5.1 Bernd Kuhls
2026-09-05 12:45 ` Yegor Yefremov via buildroot
@ 2026-09-06 19:33 ` Fiona Klute via buildroot
1 sibling, 0 replies; 12+ messages in thread
From: Fiona Klute via buildroot @ 2026-09-06 19:33 UTC (permalink / raw)
To: Bernd Kuhls, buildroot
Cc: Marcus Folkesson, Antoine Tenart, Angelo Compagnucci,
Daniel Sangue, James Hilliard, Giulio Benetti, Pierre Floury
Am 05.09.26 um 14:20 schrieb Bernd Kuhls:
> https://www.swig.org/Release/RELEASENOTES
>
> Added upstream sha1 & sha256 hashes.
>
> Switched _SITE to https.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Tested-by: Fiona Klute <fiona.klute@gmx.de> # libselinux
> ---
> Series passed Gitlab pipelines:
> https://gitlab.com/bkuhls/buildroot/-/commits/3a1e018bd92f929d1acc1882742820bbefe06800
>
> with the exception of bootlin-x86-64-uclibc
> https://gitlab.com/bkuhls/buildroot/-/jobs/16323077584
> where libselinux caused an unrelated build error also caught by the
> autobuilders:
> https://autobuild.buildroot.net/results/684/684a779841c26499f2b28f74edf183c73d12773b/
>
> and the exception of bootlin-powerpc-e500mc-uclibc
> https://gitlab.com/bkuhls/buildroot/-/jobs/16323077582
> where sdl2 caused an unrelated build error also caught by the
> autobuilders:
> https://autobuild.buildroot.net/results/968/968608bfd41d40ecec3c2cf9544cdcfd1693da3f/
>
> package/swig/swig.hash | 4 +++-
> package/swig/swig.mk | 4 ++--
> 2 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/package/swig/swig.hash b/package/swig/swig.hash
> index 21590c422a..f3d4a1829e 100644
> --- a/package/swig/swig.hash
> +++ b/package/swig/swig.hash
> @@ -1,5 +1,7 @@
> +# From https://sourceforge.net/projects/swig/files/swig/swig-4.5.1
> +sha1 fab5ee9e27b703ea964e55abca585567ebac9bcf swig-4.5.1.tar.gz
> +sha256 7fec50b27deddab5455a9633780b6341eddfb96215a7619e93a76eb27178f653 swig-4.5.1.tar.gz
> # Locally computed:
> -sha256 2af08aced8fcd65cdb5cc62426768914bedc735b1c250325203716f78e39ac9b swig-4.1.1.tar.gz
> sha256 f53abaeed775018d519a1b9615f0ca17894772bd9ca21c2a156bf340ac41c13e LICENSE
> sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE-GPL
> sha256 7f50d942373a871211c5efee03f3db2f9efd1cff1002b0ef8e3748baa611a5c2 LICENSE-UNIVERSITIES
> diff --git a/package/swig/swig.mk b/package/swig/swig.mk
> index 71e5e05f96..e277f5049a 100644
> --- a/package/swig/swig.mk
> +++ b/package/swig/swig.mk
> @@ -4,9 +4,9 @@
> #
> ################################################################################
>
> -SWIG_VERSION_MAJOR = 4.1
> +SWIG_VERSION_MAJOR = 4.5
> SWIG_VERSION = $(SWIG_VERSION_MAJOR).1
> -SWIG_SITE = http://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
> +SWIG_SITE = https://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
> HOST_SWIG_DEPENDENCIES = host-bison host-pcre2
> HOST_SWIG_CONF_OPTS = \
> --with-pcre \
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Buildroot] [PATCH 1/7] package/{, lib}apparmor: bump to version 4.1.8
2026-09-05 12:20 [Buildroot] [PATCH 1/7] package/{, lib}apparmor: bump to version 4.1.8 Bernd Kuhls
` (5 preceding siblings ...)
2026-09-05 12:20 ` [Buildroot] [PATCH 7/7] package/swig: bump version to 4.5.1 Bernd Kuhls
@ 2026-09-18 19:55 ` Thomas Petazzoni via buildroot
6 siblings, 0 replies; 12+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-18 19:55 UTC (permalink / raw)
To: Bernd Kuhls
Cc: buildroot, Marcus Folkesson, Antoine Tenart, Angelo Compagnucci,
Daniel Sangue, James Hilliard, Giulio Benetti, Pierre Floury
On Sat, Sep 05, 2026 at 02:20:33PM +0200, Bernd Kuhls wrote:
> https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_4.1.8
> https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_4.1.7
> https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_4.1.6
> https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_4.1.5
> https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_4.1.4
> https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_4.1.3
> https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_4.1.2
>
> Switched tarballs to bz2.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Series applied to master, thanks!
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 12+ messages in thread