aws/aws-sdk-cpp

Build failed for version 1.9.379

hqho opened this issue · 2 comments

hqho commented

Describe the bug

Build failed:

nos-tdvm-smp-7520:/home/jenkins/aws-sdk-cpp # cmake --build . --config=Debug
[ 11%] Built target aws-c-common
[ 12%] Built target aws-checksums
[ 47%] Built target s2n
[ 49%] Built target aws-c-sdkutils
[ 51%] Built target aws-c-cal
[ 55%] Built target aws-c-io
[ 55%] Built target aws-c-compression
[ 61%] Built target aws-c-http
[ 66%] Built target aws-c-auth
[ 69%] Built target aws-c-s3
[ 71%] Built target aws-c-mqtt
[ 72%] Built target aws-c-event-stream
[ 77%] Built target aws-crt-cpp
[ 88%] Built target aws-cpp-sdk-core
[ 88%] Built target aws-cpp-sdk-s3
[ 89%] Built target aws-cpp-sdk-sts
[ 89%] Built target aws-cpp-sdk-secretsmanager
[ 90%] Built target testing-resources
[ 90%] Linking CXX executable aws-cpp-sdk-core-tests
./aws-cpp-sdk-core-tests: symbol lookup error: ./aws-cpp-sdk-core-tests: undefined symbol: _ZNK3Aws6Client15AWSAuthV4Signer11SignRequestERNS_4Http11HttpRequestEPKcS6_b
aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/build.make:949: recipe for target 'aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests' failed
gmake[2]: *** [aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests] Error 127
gmake[2]: *** Deleting file 'aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests'
CMakeFiles/Makefile2:1051: recipe for target 'aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/all' failed
gmake[1]: *** [aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
gmake: *** [all] Error 2

Expected Behavior

Expect build to succeed

Current Behavior

nos-tdvm-smp-7520:/home/jenkins/aws-sdk-cpp # cmake --build . --config=Debug
[ 11%] Built target aws-c-common
[ 12%] Built target aws-checksums
[ 47%] Built target s2n
[ 49%] Built target aws-c-sdkutils
[ 51%] Built target aws-c-cal
[ 55%] Built target aws-c-io
[ 55%] Built target aws-c-compression
[ 61%] Built target aws-c-http
[ 66%] Built target aws-c-auth
[ 69%] Built target aws-c-s3
[ 71%] Built target aws-c-mqtt
[ 72%] Built target aws-c-event-stream
[ 77%] Built target aws-crt-cpp
[ 88%] Built target aws-cpp-sdk-core
[ 88%] Built target aws-cpp-sdk-s3
[ 89%] Built target aws-cpp-sdk-sts
[ 89%] Built target aws-cpp-sdk-secretsmanager
[ 90%] Built target testing-resources
[ 90%] Linking CXX executable aws-cpp-sdk-core-tests
./aws-cpp-sdk-core-tests: symbol lookup error: ./aws-cpp-sdk-core-tests: undefined symbol: _ZNK3Aws6Client15AWSAuthV4Signer11SignRequestERNS_4Http11HttpRequestEPKcS6_b
aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/build.make:949: recipe for target 'aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests' failed
gmake[2]: *** [aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests] Error 127
gmake[2]: *** Deleting file 'aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests'
CMakeFiles/Makefile2:1051: recipe for target 'aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/all' failed
gmake[1]: *** [aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
gmake: *** [all] Error 2

Reproduction Steps

cmake -DBUILD_ONLY="core;s3;sts;secretsmanager" -DCMAKE_INSTALL_PREFIX="/home/jenkins/local" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_CURL_LOGGING="OFF" . && cmake --build . --config=Debug

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

1.9.379

Compiler and Version used

gcc (SUSE Linux) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Operating System and version

SLES 12 SP3

hqho commented

After update the system with more memory, the build work.

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.