meshtasticd: add python-pyelftools to host build deps
authorAlexandru Ardelean <redacted>
Sun, 31 May 2026 07:25:02 +0000 (10:25 +0300)
committerAlexandru Ardelean <redacted>
Tue, 2 Jun 2026 11:42:30 +0000 (14:42 +0300)
commitaaaa919101c9d021bb302fff2410fc00d79fe390
treef0b9dc299b01f28fa8b3c6d5722957ef7dbff12b
parent7c87b934f998e77b57f2e5a62eae1cc7ac5c91a4
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 <redacted>
net/meshtasticd/Makefile
git clone https://git.99rst.org/PROJECT