package/python3: drop unsupported system ffi option
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
@@ -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
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.
Signed-off-by Danomi Manchego <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedIn 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.
Signed-off-by Danomi Manchego <[email protected]>
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@@ -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