You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when building doris through build.sh, meet cmake error like:
CMake Error at CMakeLists.txt:185 (include):
include could notfind requested file:
AwsFindPackage
CMake Error at CMakeLists.txt:197 (add_subdirectory):
add_subdirectory given source"crt/aws-crt-cpp" which is not an existing
directory.
...
CMake Error at aws-cpp-sdk-core/CMakeLists.txt:516 (aws_use_package):
Unknown CMake command"aws_use_package".
What You Expected?
should build succeed
How to Reproduce?
Just download doris to a new Linux environment, and run build.sh, this error should be reproduced.
A more direct way:
rm -rf thirdparty/src/aws-sdk-cpp-1.9.272/
cd thirdyparty
sh build-thirdparty.sh -j 99 --continue aws_sdk
Anything Else?
The reason is that prefetch_crt_dependency.sh of aws-skd tar.gz file will download outdated deps of aws-skd, which make cmake file not work.
I also encountered this problem when building, and finally running the prefetch_crt_dependency.sh script manually after the aws-sdk-cpp was unpacked during the build, and then solved the problem.
Search before asking
Version
doris master, commit id 44e20d9
What's Wrong?
when building doris through build.sh, meet cmake error like:
What You Expected?
should build succeed
How to Reproduce?
Just download doris to a new Linux environment, and run build.sh, this error should be reproduced.
A more direct way:
Anything Else?
The reason is that prefetch_crt_dependency.sh of aws-skd tar.gz file will download outdated deps of aws-skd, which make cmake file not work.
See details: aws/aws-sdk-cpp#1648
Possible solution:
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: