Skip to content
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

Build fails, unable to find s2n/unstable/cleanup.h #696

Open
1 task
keivanh opened this issue Nov 23, 2024 · 0 comments
Open
1 task

Build fails, unable to find s2n/unstable/cleanup.h #696

keivanh opened this issue Nov 23, 2024 · 0 comments
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@keivanh
Copy link

keivanh commented Nov 23, 2024

Describe the bug

aws-sdk-cpp build fails during building aws-c-io submodule

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Build should be compeleted

Current Behavior

[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/posix/pipe.c.o
[ 21%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/posix/shared_library.c.o
[ 21%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/posix/socket.c.o
[ 21%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/retry_strategy.c.o
[ 21%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/s2n/s2n_tls_channel_handler.c.o
/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-io/source/s2n/s2n_tls_channel_handler.c:27:14: fatal error: s2n/unstable/cleanup.h: No such file or directory
   27 | #    include <s2n/unstable/cleanup.h>
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/build.make:342: crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/s2n/s2n_tls_channel_handler.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:619: crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Reproduction Steps

git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp
mkdir awsbuild && cd awsbuild
cmake ../aws-sdk-cpp -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/bin -DBUILD_ONLY="s3"
cmake --build . --config=Debug

Possible Solution

This is happening after commit "dc41ddc498c10ebbf69aba7775afa36c8c1910bd" on Oct 10, 2024.

Temporarily workaround:

git checkout 9e1bb08098312e3e36cbdd30073bc6757015c913

Additional Information/Context

Related issue on aws-sdk-cpp

aws-c-io version used

fcb38c8

Compiler and version used

gcc 11.4.0

Operating System and version

Ubuntu 22.04

@keivanh keivanh added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 23, 2024
@keivanh keivanh changed the title (short issue description) Build fails, unable to find <s2n/unstable/cleanup.h Nov 23, 2024
@keivanh keivanh changed the title Build fails, unable to find <s2n/unstable/cleanup.h Build fails, unable to find s2n/unstable/cleanup.h Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant