mirror of https://github.com/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 <alex@shruggie.ro>
pull/29614/head
parent
7c87b934f9
commit
aaaa919101
|
|
@ -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 <vidplace7@gmail.com>, George Sapkin <george@sapk.in>
|
||||
|
|
|
|||
Loading…
Reference in New Issue