From: Alexandru Ardelean Date: Sun, 31 May 2026 07:25:02 +0000 (+0300) Subject: meshtasticd: add python-pyelftools to host build deps X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=aaaa919101c9d021bb302fff2410fc00d79fe390;p=openwrt-packages.git meshtasticd: add python-pyelftools to host build deps PlatformIO's SCons builder loads its tool modules at the start of 'pio run', including platformio/builder/tools/piosize.py which imports elftools.elf. python-platformio's HOST_BUILD_DEPENDS already lists python-pyelftools/host so it is installed alongside platformio in staging_dir/hostpkg, but the dependency does not always reach meshtasticd's compile step via that indirect chain, leading to: ModuleNotFoundError: No module named 'elftools' File ".../site-packages/platformio/builder/tools/piosize.py", line 22: from elftools.elf.descriptions import describe_sh_flags Declare python-pyelftools/host directly in meshtasticd's build deps so the host install is guaranteed before 'pio run' is invoked. Signed-off-by: Alexandru Ardelean --- diff --git a/net/meshtasticd/Makefile b/net/meshtasticd/Makefile index ceeab311e..8e796bc40 100644 --- a/net/meshtasticd/Makefile +++ b/net/meshtasticd/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=meshtasticd PKG_VERSION:=2.7.15 PKG_SOURCE_VERSION:=v$(PKG_VERSION).567b8ea -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_PROTO:=git @@ -20,6 +20,7 @@ FRONTEND_HASH:=a34f4360a0486543a698de20de533557492e763ab459fc27fcea95d0495144ed PKG_BUILD_DEPENDS:= \ python3/host \ python-platformio/host \ + python-pyelftools/host \ !USE_GLIBC:argp-standalone PKG_MAINTAINER:=Austin Lane , George Sapkin