mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/libdnet: drop support for Python module
The libdnet Python module no longer builds with Python >= 3.13. The
issue has been reported upstream on August 17, 2025, and there has
been no feedback:
https://github.com/ofalk/libdnet/issues/114
Until this gets resolved, we have no choice but to drop support for
the Python module of this package.
Fixes:
https://autobuild.buildroot.net/results/4df6bcaa66d79efac3619a47b08f3cb02c13e276/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit acba4b0fef)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
a82e419c3d
commit
463ee61b0f
@@ -146,6 +146,13 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2025.11.1"
|
||||
|
||||
config BR2_PACKAGE_LIBDNET_PYTHON
|
||||
bool "libdnet python module removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The libdnet Python module is no longer compatible with
|
||||
Python >= 3.13, so it had to be removed.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_FFMPEG
|
||||
bool "opencv3 ffmpeg support removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -5,27 +5,3 @@ config BR2_PACKAGE_LIBDNET
|
||||
routines.
|
||||
|
||||
http://libdnet.sourceforge.net/
|
||||
|
||||
if BR2_PACKAGE_LIBDNET
|
||||
|
||||
config BR2_PACKAGE_LIBDNET_PYTHON
|
||||
bool "libdnet python module"
|
||||
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
depends on !BR2_STATIC_LIBS # libbsd
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libbsd
|
||||
depends on BR2_USE_WCHAR # libbsd
|
||||
select BR2_PACKAGE_LIBBSD
|
||||
help
|
||||
dnet module for python
|
||||
|
||||
comment "dnet module for python requires python3 package"
|
||||
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
||||
depends on !BR2_PACKAGE_PYTHON3
|
||||
|
||||
comment "dnet module for python needs a toolchain w/ dynamic library, threads, wchar"
|
||||
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_USE_WCHAR
|
||||
|
||||
endif
|
||||
|
||||
@@ -12,18 +12,11 @@ LIBDNET_INSTALL_STAGING = YES
|
||||
LIBDNET_AUTORECONF = YES
|
||||
LIBDNET_CONF_OPTS = \
|
||||
--with-gnu-ld \
|
||||
--with-check=no
|
||||
--with-check=no \
|
||||
--without-python
|
||||
LIBDNET_CONFIG_SCRIPTS = dnet-config
|
||||
LIBDNET_DEPENDENCIES = host-pkgconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBDNET_PYTHON),y)
|
||||
LIBDNET_DEPENDENCIES += libbsd host-python-cython python3
|
||||
LIBDNET_CONF_OPTS += --with-python=$(HOST_DIR)/bin
|
||||
LIBDNET_MAKE_ENV += $(PKG_PYTHON_SETUPTOOLS_ENV)
|
||||
LIBDNET_INSTALL_TARGET_OPTS = $(LIBDNET_MAKE_OPTS) DESTDIR=$(TARGET_DIR) INSTALL_STRIP_FLAG=-s install-exec
|
||||
LIBDNET_INSTALL_STAGING_OPTS = $(LIBDNET_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
|
||||
endif
|
||||
|
||||
# Needed for autoreconf to work properly
|
||||
define LIBDNET_FIXUP_ACINCLUDE_M4
|
||||
ln -sf config/acinclude.m4 $(@D)
|
||||
|
||||
Reference in New Issue
Block a user