Skip to contentSkip to conversation

package/python3: drop unsupported system ffi option

PATCH Applied Danomi Manchego 2 participants 3 messages Jan 17 – Feb 6

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python3: drop unsupported system ffi option

The --with-system-ffi was removed back in Python-3.12.0. From the release notes:

- gh-100540: Removed the ``--with-system-ffi`` ``configure`` option; ``libffi`` must now always be supplied by the system on all non-Windows platforms. The option has had no effect on non-Darwin platforms for several releases, and in 3.11 only had the non-obvious effect of invoking ``pkg-config`` to find ``libffi`` and never setting ``-DUSING_APPLE_OS_LIBFFI``. Now on Darwin platforms ``configure`` will first check for the OS ``libffi`` and then fall back to the same processing as other platforms if it is not found.

The commit drops the now defunct option.

---
 package/python3/python3.mk | 1 -
 1 file changed, 1 deletion(-)
package/python3/python3.mk +0 -1
index 0189a505b4..a92e969f39 100644
@@ -206,7 +206,6 @@ PYTHON3_CONF_OPTS += \
 	--without-ensurepip \
 	--without-cxx-main \
 	--with-build-python=$(HOST_DIR)/bin/python3 \
-	--with-system-ffi \
 	--disable-pydoc \
 	--disable-test-modules \
 	--disable-tk \
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 16 lines · Danomi Manchego

The --with-system-ffi was removed back in Python-3.12.0. From the release notes:

- gh-100540: Removed the ``--with-system-ffi`` ``configure`` option; ``libffi`` must now always be supplied by the system on all
non-Windows
platforms. The option has had no effect on non-Darwin platforms
for
several releases, and in 3.11 only had the non-obvious effect of
invoking
``pkg-config`` to find ``libffi`` and never setting ``-DUSING_APPLE_OS_LIBFFI``. Now on Darwin platforms ``configure``
will
first check for the OS ``libffi`` and then fall back to the same processing as other platforms if it is not found.

Quoted 3 lines

The commit drops the now defunct option.

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Danomi Manchego

In reply of:

Quoted 12 lines

The --with-system-ffi was removed back in Python-3.12.0. From the release notes:

- gh-100540: Removed the ``--with-system-ffi`` ``configure`` option; ``libffi`` must now always be supplied by the system on all non-Windows platforms. The option has had no effect on non-Darwin platforms for several releases, and in 3.11 only had the non-obvious effect of invoking ``pkg-config`` to find ``libffi`` and never setting ``-DUSING_APPLE_OS_LIBFFI``. Now on Darwin platforms ``configure`` will first check for the OS ``libffi`` and then fall back to the same processing as other platforms if it is not found.

Quoted 3 lines

The commit drops the now defunct option.

Applied to 2025.02.x & 2025.11.x. Thanks

Quoted 23 lines
---
 package/python3/python3.mk | 1 -
 1 file changed, 1 deletion(-)
package/python3/python3.mk +0 -1
index 0189a505b4..a92e969f39 100644
@@ -206,7 +206,6 @@ PYTHON3_CONF_OPTS += \
 	--without-ensurepip \
 	--without-cxx-main \
 	--with-build-python=$(HOST_DIR)/bin/python3 \
-	--with-system-ffi \
 	--disable-pydoc \
 	--disable-test-modules \
 	--disable-tk \
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot