-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK build failed #3203
Comments
The error that you're getting is from a missing file in s2n.
s2n is a dependency of this sdk but it should be include when cloning this sdk. Can you try building it again in a clean directory and make sure to clone the submodules. git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp Please let me know if this still doesn't work for you |
Same issue happening for me, I have this on my Docker CI/CD, so for sure it always clone the whole repo in a clean environment. It happens for both git clone log:
Configs:
Build:
File exists:
|
This issue appears after "aws-c-io" submodule commit "dc41ddc498c10ebbf69aba7775afa36c8c1910bd" on Oct 10, 2024 Temporarily workaround: 1- Clean the build folder
3- rebuild the aws-sdkk-cpp I will open new issue on "aws-c-io" repo |
Yes, I did clone with git clone --branch 1.11.450 --recurse-submodules https://github.com/aws/aws-sdk-cpp.git and hence get the build failures. |
using a minimal dockerfile in a clean environment works at that tag FROM public.ecr.aws/amazonlinux/amazonlinux:2023
#Install g++
RUN yum groupinstall "Development Tools" -y
#Install required dependencies
RUN yum install -y curl-devel openssl-devel ninja-build cmake3
# build and install SDK
RUN git clone --branch 1.11.450 --recurse-submodules https://github.com/aws/aws-sdk-cpp && \
cd aws-sdk-cpp && \
mkdir build && \
cd build && \
cmake -DBUILD_ONLY="s3" -DCMAKE_INSTALL_PREFIX=/sdk-install -DAUTORUN_UNIT_TESTS=OFF .. && \
cmake --build . && \
cmake --install . so this is likely something build environment specific, if you can replicate this in docker to eliminate build environment concerns would be happy to take a look, but looks like in a clean environment it builds as expected. |
Describe the bug
Building SDK from source failed.
Regression Issue
Expected Behavior
No build failures
Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11.450
Compiler and Version used
gcc (SUSE Linux) 9.3.1 20200406 [revision 6db837a5288ee3ca5ec504fbd5a765817e556ac2]
Operating System and version
SLES15 SP6
The text was updated successfully, but these errors were encountered: