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

SDK build failed #3203

Open
1 task done
hqho opened this issue Nov 21, 2024 · 5 comments
Open
1 task done

SDK build failed #3203

hqho opened this issue Nov 21, 2024 · 5 comments
Labels
bug This issue is a bug. build-problem problems with building this sdk p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.

Comments

@hqho
Copy link

hqho commented Nov 21, 2024

Describe the bug

Building SDK from source failed.

[ 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/jenkins/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.
make[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
make[1]: *** [CMakeFiles/Makefile2:655: crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Regression Issue

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

Expected Behavior

No build failures

Current Behavior

nos-sles-2453:/home/jenkins/aws-sdk-cpp # cmake -S . -B build.Release -DBUILD_ONLY="core;s3;sts;secretsmanager" -DCMAKE_INSTALL_PREFIX="/home/jenkins/local" -DCMAKE_BUILD_TYPE=Release -DENABLE_CURL_LOGGING="OFF" && cd build.$BUILD_TYPE && make
CMake Warning at CMakeLists.txt:9 (message):
  In 1.11 releases, we are releasing experimental alternative building
  mode.By setting -DLEGACY_BUILD=OFF you can test our advances in modern
  CMake building and provide early feedback.  The legacy support is set by
  default in 1.11, when you complete build updating scripts please update the
  build flags as mentioned in README.md and set -DLEGACY_BUILD=OFF.  The
  legacy support will be removed at 1.12.0 release.


CMake Deprecation Warning at CMakeLists.txt:17 (cmake_policy):
  The OLD behavior for policy CMP0077 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- TARGET_ARCH not specified; inferring host OS to be platform compilation target
-- Building AWS libraries as shared objects
-- Generating linux build config
-- Building project version: 1.11.450
-- The CXX compiler identification is GNU 9.3.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES Development Development.Module Development.Embed) (found version "3.11.10")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13")
--   Zlib library: /usr/lib64/libz.so
-- Http client: Curl
-- Found CURL: /usr/lib64/libcurl.so (found version "8.6.0")
--   Curl include directory: /usr/include
--   Curl target link: /usr/lib64/libcurl.so
-- Performing Test HAVE_ATOMICS_WITHOUT_LIBATOMIC
-- Performing Test HAVE_ATOMICS_WITHOUT_LIBATOMIC - Success
-- AWS CRT C++ 0.29.3
-- The C compiler identification is GNU 9.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- CMake 3.28.3
CMake Deprecation Warning at crt/aws-crt-cpp/crt/aws-c-common/CMakeLists.txt:14 (cmake_policy):
  The OLD behavior for policy CMP0077 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Performing Test AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS
-- Performing Test AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS - Success
-- Performing Test AWS_HAVE_WINAPI_DESKTOP
-- Performing Test AWS_HAVE_WINAPI_DESKTOP - Failed
-- Performing Test AWS_ARCH_INTEL
-- Performing Test AWS_ARCH_INTEL - Success
-- Performing Test AWS_ARCH_INTEL_X64
-- Performing Test AWS_ARCH_INTEL_X64 - Success
-- Performing Test AWS_ARCH_ARM64
-- Performing Test AWS_ARCH_ARM64 - Failed
-- Performing Test AWS_ARCH_ARM32
-- Performing Test AWS_ARCH_ARM32 - Failed
-- Performing Test AWS_HAVE_GCC_INLINE_ASM
-- Performing Test AWS_HAVE_GCC_INLINE_ASM - Success
-- Performing Test AWS_HAVE_AUXV
-- Performing Test AWS_HAVE_AUXV - Success
-- Performing Test AWS_HAVE_EXECINFO
-- Performing Test AWS_HAVE_EXECINFO - Success
-- Performing Test AWS_HAVE_LINUX_IF_LINK_H
-- Performing Test AWS_HAVE_LINUX_IF_LINK_H - Success
-- Performing Test HAVE_MTUNE_NEOVERSE_V1
-- Performing Test HAVE_MTUNE_NEOVERSE_V1 - Failed
-- Performing Test HAVE_M_AVX2_FLAG
-- Performing Test HAVE_M_AVX2_FLAG - Success
-- Performing Test HAVE_M_AVX512_FLAG
-- Performing Test HAVE_M_AVX512_FLAG - Success
-- Performing Test AWS_HAVE_AVX2_INTRINSICS
-- Performing Test AWS_HAVE_AVX2_INTRINSICS - Success
-- Performing Test AWS_HAVE_AVX512_INTRINSICS
-- Performing Test AWS_HAVE_AVX512_INTRINSICS - Success
-- Performing Test AWS_HAVE_MM256_EXTRACT_EPI64
-- Performing Test AWS_HAVE_MM256_EXTRACT_EPI64 - Success
-- Performing Test AWS_HAVE_CLMUL
-- Performing Test AWS_HAVE_CLMUL - Success
-- Performing Test AWS_HAVE_ARM32_CRC
-- Performing Test AWS_HAVE_ARM32_CRC - Failed
-- Performing Test AWS_HAVE_ARMv8_1
-- Performing Test AWS_HAVE_ARMv8_1 - Failed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for pthread_mutexattr_init
-- Looking for pthread_mutexattr_init - not found
-- Performing Test HAS_FPIC_FLAG
-- Performing Test HAS_FPIC_FLAG - Success
-- Performing Test HAS_64BIT_FILE_OFFSET_BY_DEFAULT
-- Performing Test HAS_64BIT_FILE_OFFSET_BY_DEFAULT - Success
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Performing Test HAS_WGNU
-- Performing Test HAS_WGNU - Failed
-- Performing Test HAVE_SYSCONF
-- Performing Test HAVE_SYSCONF - Success
-- Looking for pthread_attr_setaffinity_np
-- Looking for pthread_attr_setaffinity_np - found
-- Performing Test PTHREAD_SETNAME_TAKES_2ARGS
-- Performing Test PTHREAD_SETNAME_TAKES_2ARGS - Success
-- Performing Test PTHREAD_GETNAME_TAKES_2ARGS
-- Performing Test PTHREAD_GETNAME_TAKES_2ARGS - Failed
-- Performing Test PTHREAD_GET_NAME_TAKES_2ARGS
-- Performing Test PTHREAD_GET_NAME_TAKES_2ARGS - Failed
-- Performing Test PTHREAD_GETNAME_TAKES_3ARGS
-- Performing Test PTHREAD_GETNAME_TAKES_3ARGS - Success
-- Building SIMD base64 decoder
-- Packaging currently only supported on Fedora.
CMake Deprecation Warning at crt/aws-crt-cpp/crt/s2n/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Detected CMAKE_SYSTEM_PROCESSOR as x86_64
-- Detected 64-Bit system
-- Found crypto: /usr/lib64/libcrypto.so
-- LibCrypto Include Dir: /usr/include
-- LibCrypto Shared Lib:  /usr/lib64/libcrypto.so
-- LibCrypto Static Lib:  crypto_STATIC_LIBRARY-NOTFOUND
-- Using libcrypto from the cmake path
-- CMAKE_AR found: /usr/bin/ar
-- CMAKE_RANLIB found: /usr/bin/ranlib
-- CMAKE_OBJCOPY found: /usr/bin/objcopy
-- feature S2N_ATOMIC_SUPPORTED: TRUE
-- feature S2N_CLOEXEC_SUPPORTED: TRUE
-- feature S2N_CLOEXEC_XOPEN_SUPPORTED: TRUE
-- feature S2N_CLONE_SUPPORTED: TRUE
-- feature S2N_CPUID_AVAILABLE: TRUE
-- feature S2N_DIAGNOSTICS_POP_SUPPORTED: TRUE
-- feature S2N_DIAGNOSTICS_PUSH_SUPPORTED: TRUE
-- feature S2N_EXECINFO_AVAILABLE: TRUE
-- feature S2N_FALL_THROUGH_SUPPORTED: TRUE
-- feature S2N_FEATURES_AVAILABLE: TRUE
-- feature S2N_KTLS_SUPPORTED: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_EC_KEY_CHECK_FIPS: FALSE
-- feature S2N_LIBCRYPTO_SUPPORTS_EVP_AEAD_TLS: FALSE
-- feature S2N_LIBCRYPTO_SUPPORTS_EVP_KEM: FALSE
-- feature S2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_EVP_RC4: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_FLAG_NO_CHECK_TIME: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_HKDF: FALSE
-- feature S2N_LIBCRYPTO_SUPPORTS_MLKEM: FALSE
-- feature S2N_LIBCRYPTO_SUPPORTS_RSA_PSS_SIGNING: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_X509_STORE_LIST: TRUE
-- feature S2N_LINUX_SENDFILE: TRUE
-- feature S2N_MADVISE_SUPPORTED: TRUE
-- feature S2N_MINHERIT_SUPPORTED: FALSE
-- feature S2N_STACKTRACE: TRUE
-- LibCrypto Include Dir: /usr/include
-- LibCrypto Shared Lib:  /usr/lib64/libcrypto.so
-- LibCrypto Static Lib:  crypto_STATIC_LIBRARY-NOTFOUND
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.1.4")
-- Using libcrypto from system: /usr/lib64/libcrypto.so
-- Add s3-crt:s3 to C2J_SPECIAL_NAME_LIST
-- Considering core
-- Considering s3
-- Considering sts
-- Considering secretsmanager
-- Looking for pathconf
-- Looking for pathconf - found
-- Looking for umask
-- Looking for umask - found
-- Adding core to SDK build
-- Updating version info to 1.11.450
-- Custom memory management disabled
-- Performing Test CURL_HAS_H2
-- Performing Test CURL_HAS_H2 - Success
-- Performing Test CURL_HAS_TLS_PROXY
-- Performing Test CURL_HAS_TLS_PROXY - Success
-- Performing Test AWS_HAS_ALIGNED_ALLOC
-- Performing Test AWS_HAS_ALIGNED_ALLOC - Success
-- exporting aws-cpp-sdk-core
-- Adding s3 to SDK build
-- exporting aws-cpp-sdk-s3
-- Adding sts to SDK build
-- exporting aws-cpp-sdk-sts
-- Adding secretsmanager to SDK build
-- exporting aws-cpp-sdk-secretsmanager
-- Configuring done (24.3s)
-- Generating done (0.2s)
-- Build files have been written to: /home/jenkins/aws-sdk-cpp/build.Release
[  0%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/allocator.c.o
[  0%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/allocator_sba.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/arch/intel/asm/cpuid.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/arch/intel/cpuid.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/array_list.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/assert.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/byte_buf.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/cache.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/cbor.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/codegen.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/command_line_parser.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/common.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/condition_variable.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/date_time.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/device_random.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/encoding.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/error.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/cJSON.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/allocators.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/arrays.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/bytestrings.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/callbacks.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/common.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/encoding.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/floats_ctrls.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/builder_callbacks.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/encoders.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/loaders.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/memory_utils.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/stack.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/unicode.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/ints.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/maps.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/serialization.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/streaming.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/strings.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/tags.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/fifo_cache.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/file.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/hash_table.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/host_utils.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/json.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/lifo_cache.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/linked_hash_table.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/linux/system_info.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/log_channel.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/log_formatter.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/log_writer.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/logging.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/lru_cache.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/math.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/memtrace.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/clock.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/condition_variable.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/cross_process_lock.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/device_random.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/environment.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/file.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/mutex.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/process.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/rw_lock.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/system_info.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/system_resource_utils.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/thread.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/time.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/priority_queue.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/process_common.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/ref_count.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/ring_buffer.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/statistics.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/string.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/system_info.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/task_scheduler.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/thread_scheduler.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/thread_shared.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/uri.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/uuid.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/xml_parser.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/arch/intel/encoding_avx2.c.o
[ 13%] Linking C shared library libaws-c-common.so
[ 13%] Built target aws-c-common
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/crc.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/crc64.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/crc64_sw.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/crc_sw.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/intel/asm/crc32c_sse42_asm.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/intel/intrin/crc64nvme_avx512.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/intel/intrin/crc32c_sse42_avx512.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/intel/intrin/crc64nvme_clmul.c.o
[ 14%] Linking C shared library libaws-checksums.so
[ 14%] Built target aws-checksums
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/aws_profile.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_regex.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_rule_engine.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_ruleset.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_standard_lib.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_types_impl.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_util.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/partitions.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/resource_name.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/sdkutils.c.o
[ 16%] Linking C shared library libaws-c-sdkutils.so
[ 16%] Built target aws-c-sdkutils
[ 16%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/cal.c.o
[ 16%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/der.c.o
[ 16%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/ecc.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/hash.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/hmac.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/rsa.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/symmetric_cipher.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/openssl_aes.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/openssl_platform_init.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/openssl_rsa.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/opensslcrypto_ecc.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/opensslcrypto_hash.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/opensslcrypto_hmac.c.o
[ 18%] Linking C shared library libaws-c-cal.so
[ 18%] Built target aws-c-cal
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/alpn_handler.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/async_stream.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/channel.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/channel_bootstrap.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/event_loop.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/exponential_backoff_retry_strategy.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/future.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/host_resolver.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/io.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/linux/epoll_event_loop.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/message_pool.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/pem.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/pkcs11_lib.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/pkcs11_tls_op_handler.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/posix/host_resolver.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/posix/pipe.c.o
[ 20%] 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/jenkins/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.
make[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
make[1]: *** [CMakeFiles/Makefile2:655: crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Reproduction Steps

cmake -S . -B build.Release -DBUILD_ONLY="core;s3;sts;secretsmanager" -DCMAKE_INSTALL_PREFIX="/home/jenkins/local" -DCMAKE_BUILD_TYPE=Release -DENABLE_CURL_LOGGING="OFF" && cd build.$BUILD_TYPE && make

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

@hqho hqho added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 21, 2024
@jmklix
Copy link
Member

jmklix commented Nov 23, 2024

The error that you're getting is from a missing file in s2n.

fatal error: s2n/unstable/cleanup.h: No such file or directory

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

@jmklix jmklix added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days. p3 This is a minor priority issue build-problem problems with building this sdk and removed needs-triage This issue or PR still needs to be triaged. labels Nov 23, 2024
@keivanh
Copy link

keivanh commented Nov 23, 2024

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.
I can see it clones s2n submodule and "cleanup.h" does exist (see last log attachment).

It happens for both Debug and Release types.

git clone log:

$ git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp
Cloning into 'aws-sdk-cpp'...
remote: Enumerating objects: 1072044, done.
remote: Counting objects: 100% (31290/31290), done.
remote: Compressing objects: 100% (8001/8001), done.
remote: Total 1072044 (delta 20611), reused 30176 (delta 19781), pack-reused 1040754 (from 1)
Receiving objects: 100% (1072044/1072044), 585.33 MiB | 10.80 MiB/s, done.
Resolving deltas: 100% (845968/845968), done.
Updating files: 100% (132023/132023), done.
Submodule 'aws-common-runtime/aws-crt-cpp' (https://github.com/awslabs/aws-crt-cpp.git) registered for path 'crt/aws-crt-cpp'
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp'...
remote: Enumerating objects: 11859, done.        
remote: Counting objects: 100% (720/720), done.        
remote: Compressing objects: 100% (361/361), done.        
remote: Total 11859 (delta 433), reused 562 (delta 333), pack-reused 11139 (from 1)        
Receiving objects: 100% (11859/11859), 5.41 MiB | 9.57 MiB/s, done.
Resolving deltas: 100% (8143/8143), done.
Submodule path 'crt/aws-crt-cpp': checked out '281a7caff7e10f68a5422d8fca8acf0b48e4215f'
Submodule 'crt/aws-c-auth' (https://github.com/awslabs/aws-c-auth.git) registered for path 'crt/aws-crt-cpp/crt/aws-c-auth'
Submodule 'crt/aws-c-cal' (https://github.com/awslabs/aws-c-cal.git) registered for path 'crt/aws-crt-cpp/crt/aws-c-cal'
Submodule 'crt/aws-c-common' (https://github.com/awslabs/aws-c-common.git) registered for path 'crt/aws-crt-cpp/crt/aws-c-common'
Submodule 'crt/aws-c-compression' (https://github.com/awslabs/aws-c-compression.git) registered for path 'crt/aws-crt-cpp/crt/aws-c-compression'
Submodule 'crt/aws-c-event-stream' (https://github.com/awslabs/aws-c-event-stream.git) registered for path 'crt/aws-crt-cpp/crt/aws-c-event-stream'
Submodule 'crt/aws-c-http' (https://github.com/awslabs/aws-c-http.git) registered for path 'crt/aws-crt-cpp/crt/aws-c-http'
Submodule 'crt/aws-c-io' (https://github.com/awslabs/aws-c-io.git) registered for path 'crt/aws-crt-cpp/crt/aws-c-io'
Submodule 'crt/aws-c-mqtt' (https://github.com/awslabs/aws-c-mqtt.git) registered for path 'crt/aws-crt-cpp/crt/aws-c-mqtt'
Submodule 'crt/aws-c-s3' (https://github.com/awslabs/aws-c-s3.git) registered for path 'crt/aws-crt-cpp/crt/aws-c-s3'
Submodule 'crt/aws-c-sdkutils' (https://github.com/awslabs/aws-c-sdkutils.git) registered for path 'crt/aws-crt-cpp/crt/aws-c-sdkutils'
Submodule 'crt/aws-checksums' (https://github.com/awslabs/aws-checksums.git) registered for path 'crt/aws-crt-cpp/crt/aws-checksums'
Submodule 'crt/aws-lc' (https://github.com/awslabs/aws-lc.git) registered for path 'crt/aws-crt-cpp/crt/aws-lc'
Submodule 'crt/s2n' (https://github.com/awslabs/s2n.git) registered for path 'crt/aws-crt-cpp/crt/s2n'
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-auth'...
remote: Enumerating objects: 3688, done.        
remote: Counting objects: 100% (1609/1609), done.        
remote: Compressing objects: 100% (570/570), done.        
remote: Total 3688 (delta 1295), reused 1165 (delta 993), pack-reused 2079 (from 1)        
Receiving objects: 100% (3688/3688), 1.29 MiB | 2.59 MiB/s, done.
Resolving deltas: 100% (2305/2305), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-cal'...
remote: Enumerating objects: 2983, done.        
remote: Counting objects: 100% (1148/1148), done.        
remote: Compressing objects: 100% (423/423), done.        
remote: Total 2983 (delta 933), reused 802 (delta 713), pack-reused 1835 (from 1)        
Receiving objects: 100% (2983/2983), 2.18 MiB | 8.29 MiB/s, done.
Resolving deltas: 100% (1922/1922), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-common'...
remote: Enumerating objects: 16867, done.        
remote: Counting objects: 100% (250/250), done.        
remote: Compressing objects: 100% (148/148), done.        
remote: Total 16867 (delta 147), reused 165 (delta 92), pack-reused 16617 (from 1)        
Receiving objects: 100% (16867/16867), 4.18 MiB | 9.65 MiB/s, done.
Resolving deltas: 100% (11189/11189), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-compression'...
remote: Enumerating objects: 641, done.        
remote: Counting objects: 100% (260/260), done.        
remote: Compressing objects: 100% (157/157), done.        
remote: Total 641 (delta 107), reused 219 (delta 81), pack-reused 381 (from 1)        
Receiving objects: 100% (641/641), 182.81 KiB | 2.81 MiB/s, done.
Resolving deltas: 100% (289/289), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-event-stream'...
remote: Enumerating objects: 1160, done.        
remote: Counting objects: 100% (395/395), done.        
remote: Compressing objects: 100% (152/152), done.        
remote: Total 1160 (delta 297), reused 299 (delta 233), pack-reused 765 (from 1)        
Receiving objects: 100% (1160/1160), 371.15 KiB | 3.09 MiB/s, done.
Resolving deltas: 100% (658/658), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-http'...
remote: Enumerating objects: 8735, done.        
remote: Counting objects: 100% (1934/1934), done.        
remote: Compressing objects: 100% (459/459), done.        
remote: Total 8735 (delta 1721), reused 1562 (delta 1441), pack-reused 6801 (from 1)        
Receiving objects: 100% (8735/8735), 3.58 MiB | 9.71 MiB/s, done.
Resolving deltas: 100% (5997/5997), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-io'...
remote: Enumerating objects: 11040, done.        
remote: Counting objects: 100% (1307/1307), done.        
remote: Compressing objects: 100% (383/383), done.        
remote: Total 11040 (delta 904), reused 1234 (delta 838), pack-reused 9733 (from 1)        
Receiving objects: 100% (11040/11040), 5.15 MiB | 10.30 MiB/s, done.
Resolving deltas: 100% (7611/7611), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-mqtt'...
remote: Enumerating objects: 6005, done.        
remote: Counting objects: 100% (2210/2210), done.        
remote: Compressing objects: 100% (770/770), done.        
remote: Total 6005 (delta 1778), reused 1559 (delta 1392), pack-reused 3795 (from 1)        
Receiving objects: 100% (6005/6005), 2.06 MiB | 8.32 MiB/s, done.
Resolving deltas: 100% (3991/3991), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-s3'...
remote: Enumerating objects: 7454, done.        
remote: Counting objects: 100% (546/546), done.        
remote: Compressing objects: 100% (200/200), done.        
remote: Total 7454 (delta 362), reused 469 (delta 296), pack-reused 6908 (from 1)        
Receiving objects: 100% (7454/7454), 3.51 MiB | 8.08 MiB/s, done.
Resolving deltas: 100% (5052/5052), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-sdkutils'...
remote: Enumerating objects: 444, done.        
remote: Counting objects: 100% (330/330), done.        
remote: Compressing objects: 100% (209/209), done.        
remote: Total 444 (delta 200), reused 176 (delta 105), pack-reused 114 (from 1)        
Receiving objects: 100% (444/444), 187.21 KiB | 2.97 MiB/s, done.
Resolving deltas: 100% (224/224), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-checksums'...
remote: Enumerating objects: 1525, done.        
remote: Counting objects: 100% (416/416), done.        
remote: Compressing objects: 100% (150/150), done.        
remote: Total 1525 (delta 335), reused 274 (delta 262), pack-reused 1109 (from 1)        
Receiving objects: 100% (1525/1525), 454.48 KiB | 3.92 MiB/s, done.
Resolving deltas: 100% (783/783), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-lc'...
remote: Enumerating objects: 109526, done.        
remote: Counting objects: 100% (146/146), done.        
remote: Compressing objects: 100% (116/116), done.        
remote: Total 109526 (delta 42), reused 85 (delta 26), pack-reused 109380 (from 1)        
Receiving objects: 100% (109526/109526), 492.25 MiB | 11.70 MiB/s, done.
Resolving deltas: 100% (78358/78358), done.
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/s2n'...
remote: Enumerating objects: 75192, done.        
remote: Counting objects: 100% (23021/23021), done.        
remote: Compressing objects: 100% (1413/1413), done.        
remote: Total 75192 (delta 22137), reused 21735 (delta 21608), pack-reused 52171 (from 1)        
Receiving objects: 100% (75192/75192), 32.15 MiB | 10.18 MiB/s, done.
Resolving deltas: 100% (55742/55742), done.
Submodule path 'crt/aws-crt-cpp/crt/aws-c-auth': checked out '3982bd75fea74efd8f9b462b27fedd4599db4f53'
Submodule path 'crt/aws-crt-cpp/crt/aws-c-cal': checked out '656762aefbee2bc8f509cb23cd107abff20a72bb'
Submodule path 'crt/aws-crt-cpp/crt/aws-c-common': checked out 'f41b772f0de9454a4e7a65750b58c2379533bbf1'
Submodule path 'crt/aws-crt-cpp/crt/aws-c-compression': checked out 'c6c1191e525e5aa6ead9e1afc392e35d3b50331e'
Submodule path 'crt/aws-crt-cpp/crt/aws-c-event-stream': checked out 'd2dcc9344dae24de320866045d85166d8a91a0d1'
Submodule path 'crt/aws-crt-cpp/crt/aws-c-http': checked out '74b3a0dd1396b72f701c8bdf24e5c6f41e52cf87'
Submodule path 'crt/aws-crt-cpp/crt/aws-c-io': checked out 'e247ef89cdf170cadcb4c665fb0146e82cd6e135'
Submodule path 'crt/aws-crt-cpp/crt/aws-c-mqtt': checked out '627c3334e52021aa8d5772b6ca076884610f3219'
Submodule path 'crt/aws-crt-cpp/crt/aws-c-s3': checked out '8c1969bce5bfe0e063cbc719182dbe344342b880'
Submodule path 'crt/aws-crt-cpp/crt/aws-c-sdkutils': checked out '0818f28ee436b892f09fbe8e3a6ae37ff40e9436'
Submodule path 'crt/aws-crt-cpp/crt/aws-checksums': checked out '0d2f5521f61215f38f791d106ae304402208112d'
Submodule path 'crt/aws-crt-cpp/crt/aws-lc': checked out '8ffe277c21915ca82dc78a3bdc6a92e10c284b92'
Submodule path 'crt/aws-crt-cpp/crt/s2n': checked out '9f4baecc753d6fe01c13e4f422d2e327c64d06b8'
Submodule 'tests/cbmc/aws-verification-model-for-libcrypto' (https://github.com/awslabs/aws-verification-model-for-libcrypto.git) registered for path 'crt/aws-crt-cpp/crt/s2n/tests/cbmc/aws-verification-model-for-libcrypto'
Cloning into '/home/user/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/s2n/tests/cbmc/aws-verification-model-for-libcrypto'...
remote: Enumerating objects: 268, done.        
remote: Counting objects: 100% (141/141), done.        
remote: Compressing objects: 100% (92/92), done.        
remote: Total 268 (delta 100), reused 60 (delta 49), pack-reused 127 (from 1)        
Receiving objects: 100% (268/268), 112.66 KiB | 1.94 MiB/s, done.
Resolving deltas: 100% (171/171), done.
Submodule path 'crt/aws-crt-cpp/crt/s2n/tests/cbmc/aws-verification-model-for-libcrypto': checked out 'd732f7257fc569e1be32d34037b111af0a058ab0'

Configs:

$ cmake /home/user/Development/aws-sdk-cpp -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/bin -DBUILD_ONLY="s3;transfer"

CMake Warning at CMakeLists.txt:9 (message):
  In 1.11 releases, we are releasing experimental alternative building
  mode.By setting -DLEGACY_BUILD=OFF you can test our advances in modern
  CMake building and provide early feedback.  The legacy support is set by
  default in 1.11, when you complete build updating scripts please update the
  build flags as mentioned in README.md and set -DLEGACY_BUILD=OFF.  The
  legacy support will be removed at 1.12.0 release.


CMake Deprecation Warning at CMakeLists.txt:17 (cmake_policy):
  The OLD behavior for policy CMP0077 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- TARGET_ARCH not specified; inferring host OS to be platform compilation target
-- Building AWS libraries as shared objects
-- Generating linux build config
-- Building project version: 1.11.454
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter Development Development.Module Development.Embed 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
--   Zlib library: /usr/lib/x86_64-linux-gnu/libz.so
-- Http client: Curl
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.81.0")  
--   Curl include directory: /usr/include/x86_64-linux-gnu
--   Curl target link: /usr/lib/x86_64-linux-gnu/libcurl.so
-- Performing Test HAVE_ATOMICS_WITHOUT_LIBATOMIC
-- Performing Test HAVE_ATOMICS_WITHOUT_LIBATOMIC - Success
-- AWS CRT C++ 0.29.3
-- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- CMake 3.22.1
CMake Deprecation Warning at crt/aws-crt-cpp/crt/aws-c-common/CMakeLists.txt:14 (cmake_policy):
  The OLD behavior for policy CMP0077 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Performing Test AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS
-- Performing Test AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS - Success
-- Performing Test AWS_HAVE_WINAPI_DESKTOP
-- Performing Test AWS_HAVE_WINAPI_DESKTOP - Failed
-- Performing Test AWS_ARCH_INTEL
-- Performing Test AWS_ARCH_INTEL - Success
-- Performing Test AWS_ARCH_INTEL_X64
-- Performing Test AWS_ARCH_INTEL_X64 - Success
-- Performing Test AWS_ARCH_ARM64
-- Performing Test AWS_ARCH_ARM64 - Failed
-- Performing Test AWS_ARCH_ARM32
-- Performing Test AWS_ARCH_ARM32 - Failed
-- Performing Test AWS_HAVE_GCC_INLINE_ASM
-- Performing Test AWS_HAVE_GCC_INLINE_ASM - Success
-- Performing Test AWS_HAVE_AUXV
-- Performing Test AWS_HAVE_AUXV - Success
-- Performing Test AWS_HAVE_EXECINFO
-- Performing Test AWS_HAVE_EXECINFO - Success
-- Performing Test AWS_HAVE_LINUX_IF_LINK_H
-- Performing Test AWS_HAVE_LINUX_IF_LINK_H - Success
-- Performing Test HAVE_MTUNE_NEOVERSE_V1
-- Performing Test HAVE_MTUNE_NEOVERSE_V1 - Failed
-- Performing Test HAVE_M_AVX2_FLAG
-- Performing Test HAVE_M_AVX2_FLAG - Success
-- Performing Test HAVE_M_AVX512_FLAG
-- Performing Test HAVE_M_AVX512_FLAG - Success
-- Performing Test AWS_HAVE_AVX2_INTRINSICS
-- Performing Test AWS_HAVE_AVX2_INTRINSICS - Success
-- Performing Test AWS_HAVE_AVX512_INTRINSICS
-- Performing Test AWS_HAVE_AVX512_INTRINSICS - Success
-- Performing Test AWS_HAVE_MM256_EXTRACT_EPI64
-- Performing Test AWS_HAVE_MM256_EXTRACT_EPI64 - Success
-- Performing Test AWS_HAVE_CLMUL
-- Performing Test AWS_HAVE_CLMUL - Success
-- Performing Test AWS_HAVE_ARM32_CRC
-- Performing Test AWS_HAVE_ARM32_CRC - Failed
-- Performing Test AWS_HAVE_ARMv8_1
-- Performing Test AWS_HAVE_ARMv8_1 - Failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Looking for pthread_mutexattr_init
-- Looking for pthread_mutexattr_init - not found
-- Performing Test HAS_FPIC_FLAG
-- Performing Test HAS_FPIC_FLAG - Success
-- Performing Test HAS_64BIT_FILE_OFFSET_BY_DEFAULT
-- Performing Test HAS_64BIT_FILE_OFFSET_BY_DEFAULT - Success
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Performing Test HAS_WGNU
-- Performing Test HAS_WGNU - Failed
-- Performing Test HAVE_SYSCONF
-- Performing Test HAVE_SYSCONF - Success
-- Looking for pthread_attr_setaffinity_np
-- Looking for pthread_attr_setaffinity_np - found
-- Performing Test PTHREAD_SETNAME_TAKES_2ARGS
-- Performing Test PTHREAD_SETNAME_TAKES_2ARGS - Success
-- Performing Test PTHREAD_GETNAME_TAKES_2ARGS
-- Performing Test PTHREAD_GETNAME_TAKES_2ARGS - Failed
-- Performing Test PTHREAD_GET_NAME_TAKES_2ARGS
-- Performing Test PTHREAD_GET_NAME_TAKES_2ARGS - Failed
-- Performing Test PTHREAD_GETNAME_TAKES_3ARGS
-- Performing Test PTHREAD_GETNAME_TAKES_3ARGS - Success
-- Building SIMD base64 decoder
-- Packaging currently only supported on Fedora.
-- Detected CMAKE_SYSTEM_PROCESSOR as x86_64
-- Detected 64-Bit system
-- Found crypto: /usr/lib/x86_64-linux-gnu/libcrypto.so  
-- LibCrypto Include Dir: /usr/include
-- LibCrypto Shared Lib:  /usr/lib/x86_64-linux-gnu/libcrypto.so
-- LibCrypto Static Lib:  /usr/lib/x86_64-linux-gnu/libcrypto.a
-- Using libcrypto from the cmake path
-- CMAKE_AR found: /usr/bin/ar
-- CMAKE_RANLIB found: /usr/bin/ranlib
-- CMAKE_OBJCOPY found: /usr/bin/objcopy
-- feature S2N_ATOMIC_SUPPORTED: TRUE
-- feature S2N_CLOEXEC_SUPPORTED: TRUE
-- feature S2N_CLOEXEC_XOPEN_SUPPORTED: TRUE
-- feature S2N_CLONE_SUPPORTED: TRUE
-- feature S2N_CPUID_AVAILABLE: TRUE
-- feature S2N_DIAGNOSTICS_POP_SUPPORTED: TRUE
-- feature S2N_DIAGNOSTICS_PUSH_SUPPORTED: TRUE
-- feature S2N_EXECINFO_AVAILABLE: TRUE
-- feature S2N_FALL_THROUGH_SUPPORTED: TRUE
-- feature S2N_FEATURES_AVAILABLE: TRUE
-- feature S2N_KTLS_SUPPORTED: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_EC_KEY_CHECK_FIPS: FALSE
-- feature S2N_LIBCRYPTO_SUPPORTS_EVP_AEAD_TLS: FALSE
-- feature S2N_LIBCRYPTO_SUPPORTS_EVP_KEM: FALSE
-- feature S2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_EVP_RC4: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_FLAG_NO_CHECK_TIME: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_HKDF: FALSE
-- feature S2N_LIBCRYPTO_SUPPORTS_MLKEM: FALSE
-- feature S2N_LIBCRYPTO_SUPPORTS_RSA_PSS_SIGNING: TRUE
-- feature S2N_LIBCRYPTO_SUPPORTS_X509_STORE_LIST: TRUE
-- feature S2N_LINUX_SENDFILE: TRUE
-- feature S2N_MADVISE_SUPPORTED: TRUE
-- feature S2N_MINHERIT_SUPPORTED: FALSE
-- feature S2N_STACKTRACE: TRUE
-- LibCrypto Include Dir: /usr/include
-- LibCrypto Shared Lib:  /usr/lib/x86_64-linux-gnu/libcrypto.so
-- LibCrypto Static Lib:  /usr/lib/x86_64-linux-gnu/libcrypto.a
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.2")  
-- Using libcrypto from system: /usr/lib/x86_64-linux-gnu/libcrypto.so
-- Add s3-crt:s3 to C2J_SPECIAL_NAME_LIST
-- Considering s3
-- Considering transfer
-- Looking for pathconf
-- Looking for pathconf - found
-- Looking for umask
-- Looking for umask - found
-- Adding s3 to SDK build
-- exporting aws-cpp-sdk-s3
-- Adding transfer to SDK build
-- exporting aws-cpp-sdk-transfer
-- Adding core to SDK build
-- Updating version info to 1.11.454
-- Custom memory management disabled
-- Performing Test CURL_HAS_H2
-- Performing Test CURL_HAS_H2 - Success
-- Performing Test CURL_HAS_TLS_PROXY
-- Performing Test CURL_HAS_TLS_PROXY - Success
-- Performing Test AWS_HAS_ALIGNED_ALLOC
-- Performing Test AWS_HAS_ALIGNED_ALLOC - Success
-- exporting aws-cpp-sdk-core
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/Development/awsbuild

Build:

$ cmake --build . --config=Release
[  0%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/allocator.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/allocator_sba.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/arch/intel/asm/cpuid.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/arch/intel/cpuid.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/array_list.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/assert.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/byte_buf.c.o
[  1%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/cache.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/cbor.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/codegen.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/command_line_parser.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/common.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/condition_variable.c.o
[  2%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/date_time.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/device_random.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/encoding.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/error.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/cJSON.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/allocators.c.o
[  3%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/arrays.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/bytestrings.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/callbacks.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/common.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/encoding.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/floats_ctrls.c.o
[  4%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/builder_callbacks.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/encoders.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/loaders.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/memory_utils.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/stack.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/internal/unicode.c.o
[  5%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/ints.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/maps.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/serialization.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/streaming.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/strings.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/external/libcbor/cbor/tags.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/fifo_cache.c.o
[  6%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/file.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/hash_table.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/host_utils.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/json.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/lifo_cache.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/linked_hash_table.c.o
[  7%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/linux/system_info.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/log_channel.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/log_formatter.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/log_writer.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/logging.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/lru_cache.c.o
[  8%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/math.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/memtrace.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/clock.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/condition_variable.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/cross_process_lock.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/device_random.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/environment.c.o
[  9%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/file.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/mutex.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/process.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/rw_lock.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/system_info.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/system_resource_utils.c.o
[ 10%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/thread.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/posix/time.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/priority_queue.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/process_common.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/ref_count.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/ring_buffer.c.o
[ 11%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/statistics.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/string.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/system_info.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/task_scheduler.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/thread_scheduler.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/thread_shared.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/uri.c.o
[ 12%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/uuid.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/xml_parser.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-c-common/CMakeFiles/aws-c-common.dir/source/arch/intel/encoding_avx2.c.o
[ 13%] Linking C shared library libaws-c-common.so
[ 13%] Built target aws-c-common
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/crc.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/crc64.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/crc64_sw.c.o
[ 13%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/crc_sw.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/intel/asm/crc32c_sse42_asm.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/intel/intrin/crc64nvme_avx512.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/intel/intrin/crc32c_sse42_avx512.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-checksums/CMakeFiles/aws-checksums.dir/source/intel/intrin/crc64nvme_clmul.c.o
[ 14%] Linking C shared library libaws-checksums.so
[ 14%] Built target aws-checksums
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/aws_profile.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_regex.c.o
[ 14%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_rule_engine.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_ruleset.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_standard_lib.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_types_impl.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/endpoints_util.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/partitions.c.o
[ 15%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/resource_name.c.o
[ 16%] Building C object crt/aws-crt-cpp/crt/aws-c-sdkutils/CMakeFiles/aws-c-sdkutils.dir/source/sdkutils.c.o
[ 16%] Linking C shared library libaws-c-sdkutils.so
[ 16%] Built target aws-c-sdkutils
[ 16%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/cal.c.o
[ 16%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/der.c.o
[ 16%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/ecc.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/hash.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/hmac.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/rsa.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/symmetric_cipher.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/openssl_aes.c.o
[ 17%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/openssl_platform_init.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/openssl_rsa.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/opensslcrypto_ecc.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/opensslcrypto_hash.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-cal/CMakeFiles/aws-c-cal.dir/source/unix/opensslcrypto_hmac.c.o
[ 18%] Linking C shared library libaws-c-cal.so
[ 18%] Built target aws-c-cal
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/alpn_handler.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/async_stream.c.o
[ 18%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/channel.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/channel_bootstrap.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/event_loop.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/exponential_backoff_retry_strategy.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/future.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/host_resolver.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/io.c.o
[ 19%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/linux/epoll_event_loop.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/message_pool.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/pem.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/pkcs11_lib.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/pkcs11_tls_op_handler.c.o
[ 20%] Building C object crt/aws-crt-cpp/crt/aws-c-io/CMakeFiles/aws-c-io.dir/source/posix/host_resolver.c.o
[ 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

File exists:

user:~/Development/aws-sdk-cpp$ find ./ -name "cleanup.h"
./crt/aws-crt-cpp/crt/s2n/api/unstable/cleanup.h

@keivanh
Copy link

keivanh commented Nov 23, 2024

This issue appears after "aws-c-io" submodule commit "dc41ddc498c10ebbf69aba7775afa36c8c1910bd" on Oct 10, 2024

Temporarily workaround:

1- Clean the build folder
2- Manually checkout one commit before the dc41ddc49:

user@usersvm:~/Development/aws-sdk-cpp/crt/aws-crt-cpp/crt/aws-c-io$ git checkout 9e1bb08098312e3e36cbdd30073bc6757015c913
Previous HEAD position was 614c35c TLS deliver buffer data during shutdown (#650)
HEAD is now at 9e1bb08 Clarify socket options logging (#681)

3- rebuild the aws-sdkk-cpp

I will open new issue on "aws-c-io" repo

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days. label Nov 24, 2024
@hqho
Copy link
Author

hqho commented Nov 25, 2024

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.

@sbiscigl
Copy link
Contributor

sbiscigl commented Nov 25, 2024

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.

@sbiscigl sbiscigl added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days. label Nov 25, 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. build-problem problems with building this sdk p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Projects
None yet
Development

No branches or pull requests

4 participants