diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2024-02-21 14:43:14 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-02-21 19:59:52 -0800 |
commit | 4cbd72f7b942af44da0704f66c1b0feef8699fe6 (patch) | |
tree | 6c6191900c203839f42344d543deefd0b6e2b31e /meta-python/recipes-devtools/python/python3-matplotlib | |
parent | 87bf42341fb79c5ff57e52addddebc4c4bd29149 (diff) | |
download | meta-openembedded-4cbd72f7b942af44da0704f66c1b0feef8699fe6.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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-matplotlib')
0 files changed, 0 insertions, 0 deletions