summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-pyyaml/setup.py
diff options
context:
space:
mode:
authorGuocai He <guocai.he.cn@windriver.com>2025-08-26 10:25:31 +0800
committerGyorgy Sarvari <skandigraun@gmail.com>2025-09-06 16:27:30 +0200
commitafb55dd3301d0e256a26b495b63be4d6416830a9 (patch)
tree30e2ad0d907a43a93479cc4e70918685a2554423 /meta-python/recipes-devtools/python/python-pyyaml/setup.py
parent969a286f49f31616defb4da6ab18331caaa1a305 (diff)
downloadmeta-openembedded-afb55dd3301d0e256a26b495b63be4d6416830a9.tar.gz
unixodbc: fix odbc.pc file generation
The build process currently succeeds but the odbc.pc file is not correctly generated. The error message is like below in log.do_compile and log.do_install: /bin/bash: line 1: ../exe/odbc_config: cannot execute binary file: Exec format error I can see the message comes from the following line in exe/Makefile.am: @sed "s![@]ODBC_ULEN[@]!`$(top_builddir)/exe/odbc_config$(EXEEXT) --ulen`!" \ $(top_builddir)/DriverManager/odbc.pc > $(top_builddir)/exe/odbc.pc.tmp It's running the exe/odbc_config program we built out. But the binary is for the target platform and if we run it on the build host, we get that error message. The resulting ulen and build_cflags in the final odbc.pc file are also empty. Fix the issue by using qemu usermode to launch the target binary. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (master rev: 4cbd72f7b942af44da0704f66c1b0feef8699fe6) Signed-off-by: Guocai He <guocai.he.cn@windriver.com> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pyyaml/setup.py')
0 files changed, 0 insertions, 0 deletions