Skip to content

Build error #3267

@thiagoanglervision

Description

@thiagoanglervision

Describe the bug

I am trying to build aws-sdk-cpp with the following steps:

sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev zlib1g-dev libpulse-dev
git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp
cd aws-sdk-cpp
mkdir build
cd build
cmake ../../aws-sdk-cpp -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/local/ -DCMAKE_INSTALL_PREFIX=/usr/local/ -DBUILD_ONLY="s3;cognito-idp;rds;secretsmanager"
make

and I am getting the following error:

aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-io/source/s2n/s2n_tls_channel_handler.c:26:14: fatal error: s2n/unstable/cleanup.h: No such file or directory

   26 | #    include <s2n/unstable/cleanup.h>

Regression Issue

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

Expected Behavior

Successful build

Current Behavior

aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-io/source/s2n/s2n_tls_channel_handler.c:26:14: fatal error: s2n/unstable/cleanup.h: No such file or directory

   26 | #    include <s2n/unstable/cleanup.h>

Reproduction Steps

sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev zlib1g-dev libpulse-dev
git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp
cd aws-sdk-cpp
mkdir build
cd build
cmake ../../aws-sdk-cpp -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/local/ -DCMAKE_INSTALL_PREFIX=/usr/local/ -DBUILD_ONLY="s3;cognito-idp;rds;secretsmanager"
make

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

latest

Compiler and Version used

11.4.0

Operating System and version

Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-problemproblems with building this sdkclosed-for-stalenessresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions