-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Bug Description
Summary:
We can't run target binaries on cross compilation build hosts.
Expected Behavior:
Have a way to specify host compatible versions of binaries.
Actual Behavior:
ERROR: flatc failed:
aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or directory
Reproduction Steps
Attempt to build with buildroot.
################################################################################
#
# python-zlmdb
#
################################################################################
PYTHON_ZLMDB_VERSION = 25.12.3
PYTHON_ZLMDB_SOURCE = zlmdb-$(PYTHON_ZLMDB_VERSION).tar.gz
PYTHON_ZLMDB_SITE = https://files.pythonhosted.org/packages/40/69/d403e26bc059a70578d0406b29cb239a9aa018e28d79f92b8106a1a7d8e5
PYTHON_ZLMDB_SETUP_TYPE = hatch
PYTHON_ZLMDB_LICENSE = MIT
PYTHON_ZLMDB_LICENSE_FILES = LICENSE
PYTHON_ZLMDB_DEPENDENCIES = \
host-python-cffi \
host-python-setuptools
$(eval $(python-package))Additional Context
Error Messages:
======================================================================
Building FlatBuffers compiler (flatc)
======================================================================
-> Configuring with cmake...
-> Building flatc...
-> Built flatc: /home/buildroot/buildroot/output/build/python-zlmdb-25.12.3/src/zlmdb/_flatc/bin/flatc
-> Verifying ISA level...
/home/buildroot/buildroot/output/build/python-zlmdb-25.12.3/src/zlmdb/_flatc/bin/flatc: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, with debug_info, not stripped
-> Added to wheel: zlmdb/_flatc/bin/flatc
======================================================================
Generating reflection.bfbs
======================================================================
ERROR: flatc failed:
aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or directory
Reactions are currently unavailable