-
Notifications
You must be signed in to change notification settings - Fork 252
/
aws-cpp-sdk.bb
60 lines (50 loc) · 9.08 KB
/
aws-cpp-sdk.bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copyright (c) 2019-2021 LG Electronics, Inc.
SUMMARY = "aws-cpp-sdk component - ${BPN}"
SECTION = "devel"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e \
file://LICENSE.txt;md5=e0a34bbbe8370ca4767991e22fc3fda8 \
"
PV = "1.6.53+git${SRCPV}"
SRCREV = "59337ec3dd6a998bddb41e4bad39e783cad34b6b"
SRC_URI = "git://github.com/aws/aws-sdk-cpp.git;protocol=https;branch=master \
file://0001-cmake-AWSSDKConfig.cmake-add-missing-quotes-to-fix-b.patch \
"
S = "${WORKDIR}/git"
inherit cmake ros_faulty_solibs
DEPENDS += "aws-c-common aws-c-event-stream aws-checksums curl openssl zlib"
# Build only what is needed for aws-common
# other components need more dependencies like pulseaudio etc
BUILD_COMPONENTS="core;logs;monitoring;s3;kinesis;iot;lex;polly"
EXTRA_OECMAKE += "-DBUILD_DEPS=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_ONLY='${BUILD_COMPONENTS}'"
EXTRA_OECMAKE += "-DCURL_HAS_H2_EXITCODE=0 -DCURL_HAS_H2_EXITCODE__TRYRUN_OUTPUT='' -DCURL_HAS_TLS_PROXY_EXITCODE=0 -DCURL_HAS_TLS_PROXY_EXITCODE__TRYRUN_OUTPUT=''"
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp:95:82: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp:107:75: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:638:111: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:650:54: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:655:61: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:733:111: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:747:104: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:761:61: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/include/aws/core/utils/Outcome.h:84:27: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp:95:82: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp:107:75: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:638:111: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:650:54: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:655:61: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:733:111: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:747:104: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/client/AWSClient.cpp:761:61: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/include/aws/core/utils/Outcome.h:84:27: error: implicitly-declared 'Aws::Client::AWSError<Aws::Client::CoreErrors>& Aws::Client::AWSError<Aws::Client::CoreErrors>::operator=(const Aws::Client::AWSError<Aws::Client::CoreErrors>&)' is deprecated [-Werror=deprecated-copy]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core-tests/aws/client/AWSErrorMashallerTest.cpp:116:21: error: redundant move in return statement [-Werror=redundant-move]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core-tests/aws/client/AWSErrorMashallerTest.cpp:77:21: error: redundant move in return statement [-Werror=redundant-move]
CXXFLAGS += "-Wno-error=deprecated-copy -Wno-error=redundant-move"
# Fails to build with openssl-3 with:
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:256:41: error: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:265:34: error: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:290:29: error: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:292:28: error: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:293:27: error: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:298:31: error: 'int HMAC_CTX_reset(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
# aws-cpp-sdk/1.6.53+gitAUTOINC+59337ec3dd-r0/git/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:59:44: error: 'int ERR_load_CRYPTO_strings()' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
CXXFLAGS += "-Wno-error=deprecated-declarations"