aws-c-sdkutils do_configure failure when ptest & multilib is enabled
Closed this issue · 1 comments
When ptest is enabled, aws-c-sdkutils do_configure fails with error messages like below:
-- Performing Test HAVE_SYSCONF
-- Performing Test HAVE_SYSCONF - Success
CMake Error at /ala-lpggp72/qichen/WRL/build-aws/tmp-glibc/work/core2-64-wrs-linux/aws-c-sdkutils/0.1.12-r0/re
cipe-sysroot/usr/lib64/cmake/AwsFindPackage.cmake:19 (find_package):
By not providing "Findaws-c-common.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"aws-c-common", but CMake did not find one.
Could not find a package configuration file provided by "aws-c-common" with
any of the following names:
aws-c-commonConfig.cmake
aws-c-common-config.cmake
Add the installation prefix of "aws-c-common" to CMAKE_PREFIX_PATH or set
"aws-c-common_DIR" to a directory containing one of the above files. If
"aws-c-common" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:70 (aws_use_package)
-- Configuring incomplete, errors occurred!
WARNING: exit code 1 from a shell command.
The ptest is enabled as below:
DISTRO_FEATURES:append = " ptest"
EXTRA_IMAGE_FEATURES += " ptest-pkgs"
PTEST_ENABLED = "1"
Some directory hierarchy:
$ find recipe-sysroot -name "aws-c-common*"
recipe-sysroot/sysroot-providers/aws-c-common
recipe-sysroot/usr/lib64/aws-c-common
recipe-sysroot/usr/lib64/aws-c-common/cmake/aws-c-common-config.cmake
recipe-sysroot/usr/lib64/aws-c-common/cmake/shared/aws-c-common-targets.cmake
recipe-sysroot/usr/lib64/aws-c-common/cmake/shared/aws-c-common-targets-debug.cmake
To reproduce the problem, multilib needs to be enabled.
e.g.,
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS ?= "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 ?= "core2-32"