-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
build-problemproblems with building this sdkproblems with building this sdkclosed-for-stalenessresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Description
Describe the bug
If you upload a release version of the SDK and try to build it, that will fail, because of empty submodule directory
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
Successful build from release archive
Current Behavior
Failed build
Reproduction Steps
wget https://github.com/aws/aws-sdk-cpp/archive/refs/tags/1.11.485.zip
unzip 1.11.485.zip
cd aws-sdk-cpp-1.11.485/
mkdir build && cd build
cmake ..
output
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.
-- 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.485
-- The CXX compiler identification is GNU 9.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /usr/bin/python3.8 (found version "3.8.10") found components: Interpreter Development
-- 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.68.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
CMake Error at CMakeLists.txt:225 (include):
include could not find load file:
AwsFindPackage
CMake Error at CMakeLists.txt:236 (add_subdirectory):
The source directory
/home/i123/aws-sdk-cpp-1.11.485/crt/aws-crt-cpp
does not contain a CMakeLists.txt file.
CMake Error at CMakeLists.txt:250 (aws_use_package):
Unknown CMake command "aws_use_package".
-- Configuring incomplete, errors occurred!
See also "/home/i123/aws-sdk-cpp-1.11.485/build/CMakeFiles/CMakeOutput.log".
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11.485
Compiler and Version used
9.4.0
Operating System and version
ubuntu20
Metadata
Metadata
Assignees
Labels
build-problemproblems with building this sdkproblems with building this sdkclosed-for-stalenessresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.