package/python-netifaces: remove package
PATCH 1/1 package/python-netifaces: remove package
python-netifaces is no longer maintained: its last release, 0.11.0, is from 2021, and the upstream repository was archived on GitHub the same year.
It now fails to build with musl and GCC 14, as it initializes struct msghdr positionally, which does not match musl's layout with padding fields, and int-conversion warnings are errors since GCC 14:
netifaces.c:1808:9: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
1808 | NULL,
netifaces.c:1808:9: note: (near initialization for 'msghdr.__pad1')
No other package depends on it, so rather than carrying patches for a dead package, remove it. python-ifaddr and python-psutil provide similar functionality.
Fixes:
https://autobuild.buildroot.org/results/dc4a82870828e575eb3bce1b6ea1b281e6e68e8e
--- Config.in.legacy | 9 +++++++++ package/Config.in | 1 - package/python-netifaces/Config.in | 6 ------ package/python-netifaces/python-netifaces.hash | 5 ----- package/python-netifaces/python-netifaces.mk | 14 -------------- 5 files changed, 9 insertions(+), 26 deletions(-) delete mode 100644 package/python-netifaces/Config.in delete mode 100644 package/python-netifaces/python-netifaces.hash delete mode 100644 package/python-netifaces/python-netifaces.mk
Config.in.legacy +9 -0
@@ -146,6 +146,15 @@ endif comment "Legacy options removed in 2026.11" +config BR2_PACKAGE_PYTHON_NETIFACES + bool "python-netifaces has been removed" + select BR2_LEGACY + help + python-netifaces has been removed, as it is no longer + maintained upstream (repository archived in 2021) and fails + to build with recent compilers. Consider using python-ifaddr + or python-psutil instead. + config BR2_PACKAGE_MESA3D_OPENCL bool "Mesa3D OpenCL support is now provided by RustiCL" select BR2_LEGACY
package/Config.in +0 -1
@@ -1278,7 +1278,6 @@ menu "External python modules" source "package/python-nats-py/Config.in" source "package/python-nested-dict/Config.in" source "package/python-netaddr/Config.in" - source "package/python-netifaces/Config.in" source "package/python-networkmanager/Config.in" source "package/python-networkx/Config.in" source "package/python-numpy/Config.in"
package/python-netifaces/Config.in deleted +0 -6
@@ -1,6 +0,0 @@ -config BR2_PACKAGE_PYTHON_NETIFACES - bool "python-netifaces" - help - Portable access to network interfaces from Python. - - http://alastairs-place.net/projects/netifaces
package/python-netifaces/python-netifaces.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/netifaces/json -md5 3146dcb3297dd018ae5eb9a52b440419 netifaces-0.11.0.tar.gz -sha256 043a79146eb2907edf439899f262b3dfe41717d34124298ed281139a8b93ca32 netifaces-0.11.0.tar.gz -# Locally computed sha256 checksums -sha256 b20b895164b72b9cc0170e6c0d60b14f9aaacc6862c0556eed41eaa348883705 LICENSE
package/python-netifaces/python-netifaces.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-netifaces -# -################################################################################ - -PYTHON_NETIFACES_VERSION = 0.11.0 -PYTHON_NETIFACES_SOURCE = netifaces-$(PYTHON_NETIFACES_VERSION).tar.gz -PYTHON_NETIFACES_SITE = https://files.pythonhosted.org/packages/a6/91/86a6eac449ddfae239e93ffc1918cf33fd9bab35c04d1e963b311e347a73 -PYTHON_NETIFACES_LICENSE = MIT -PYTHON_NETIFACES_LICENSE_FILES = LICENSE -PYTHON_NETIFACES_SETUP_TYPE = setuptools - -$(eval $(python-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot