Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

colcon build fails #96

Open
utsavrai opened this issue Jul 12, 2021 · 2 comments
Open

colcon build fails #96

utsavrai opened this issue Jul 12, 2021 · 2 comments

Comments

@utsavrai
Copy link

utsavrai commented Jul 12, 2021

colcon build
Starting >>> aws_common
--- stderr: aws_common                            
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp: In member function ‘virtual Aws::Client::AWSError<Aws::Client::CoreErrors> Aws::Client::AWSJsonClient::BuildAWSError(const std::shared_ptr<Aws::Http::HttpResponse>&) const’:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/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]
  638 |         error = AWSError<CoreErrors>(CoreErrors::NETWORK_CONNECTION, "", "Unable to connect to endpoint", true);
      |                                                                                                               ^
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp:20,
                 from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/include/aws/core/client/AWSError.h:51:13: note: because ‘Aws::Client::AWSError<Aws::Client::CoreErrors>’ has user-provided ‘Aws::Client::AWSError<ERROR_TYPE>::AWSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>&) [with ERROR_TYPE = Aws::Client::CoreErrors]’
   51 |             AWSError(const AWSError<CoreErrors>& rhs) :
      |             ^~~~~~~~
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/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]
  650 |             IsRetryableHttpResponseCode(responseCode));
      |                                                      ^
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp:20,
                 from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/include/aws/core/client/AWSError.h:51:13: note: because ‘Aws::Client::AWSError<Aws::Client::CoreErrors>’ has user-provided ‘Aws::Client::AWSError<ERROR_TYPE>::AWSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>&) [with ERROR_TYPE = Aws::Client::CoreErrors]’
   51 |             AWSError(const AWSError<CoreErrors>& rhs) :
      |             ^~~~~~~~
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/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]
  655 |         error = GetErrorMarshaller()->Marshall(*httpResponse);
      |                                                             ^
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp:20,
                 from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/include/aws/core/client/AWSError.h:51:13: note: because ‘Aws::Client::AWSError<Aws::Client::CoreErrors>’ has user-provided ‘Aws::Client::AWSError<ERROR_TYPE>::AWSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>&) [with ERROR_TYPE = Aws::Client::CoreErrors]’
   51 |             AWSError(const AWSError<CoreErrors>& rhs) :
      |             ^~~~~~~~
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp: In member function ‘virtual Aws::Client::AWSError<Aws::Client::CoreErrors> Aws::Client::AWSXMLClient::BuildAWSError(const std::shared_ptr<Aws::Http::HttpResponse>&) const’:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/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]
  733 |         error = AWSError<CoreErrors>(CoreErrors::NETWORK_CONNECTION, "", "Unable to connect to endpoint", true);
      |                                                                                                               ^
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp:20,
                 from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/include/aws/core/client/AWSError.h:51:13: note: because ‘Aws::Client::AWSError<Aws::Client::CoreErrors>’ has user-provided ‘Aws::Client::AWSError<ERROR_TYPE>::AWSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>&) [with ERROR_TYPE = Aws::Client::CoreErrors]’
   51 |             AWSError(const AWSError<CoreErrors>& rhs) :
      |             ^~~~~~~~
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/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]
  747 |         error = AWSError<CoreErrors>(errorCode, "", ss.str(), IsRetryableHttpResponseCode(responseCode));
      |                                                                                                        ^
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp:20,
                 from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/include/aws/core/client/AWSError.h:51:13: note: because ‘Aws::Client::AWSError<Aws::Client::CoreErrors>’ has user-provided ‘Aws::Client::AWSError<ERROR_TYPE>::AWSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>&) [with ERROR_TYPE = Aws::Client::CoreErrors]’
   51 |             AWSError(const AWSError<CoreErrors>& rhs) :
      |             ^~~~~~~~
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/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]
  761 |         error = GetErrorMarshaller()->Marshall(*httpResponse);
      |                                                             ^
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp:20,
                 from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/include/aws/core/client/AWSError.h:51:13: note: because ‘Aws::Client::AWSError<Aws::Client::CoreErrors>’ has user-provided ‘Aws::Client::AWSError<ERROR_TYPE>::AWSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>&) [with ERROR_TYPE = Aws::Client::CoreErrors]’
   51 |             AWSError(const AWSError<CoreErrors>& rhs) :
      |             ^~~~~~~~
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:13:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp: In member function ‘virtual Aws::Client::AWSError<Aws::Client::CoreErrors> Aws::Client::XmlErrorMarshaller::Marshall(const Aws::Http::HttpResponse&) const’:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/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]
   95 |                                  StringUtils::Trim(messageNode.GetText().c_str()));
      |                                                                                  ^
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp:20,
                 from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/include/aws/core/client/AWSError.h:51:13: note: because ‘Aws::Client::AWSError<Aws::Client::CoreErrors>’ has user-provided ‘Aws::Client::AWSError<ERROR_TYPE>::AWSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>&) [with ERROR_TYPE = Aws::Client::CoreErrors]’
   51 |             AWSError(const AWSError<CoreErrors>& rhs) :
      |             ^~~~~~~~
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:13:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/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]
  107 |         error = FindErrorByHttpResponseCode(httpResponse.GetResponseCode());
      |                                                                           ^
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp:20,
                 from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/include/aws/core/client/AWSError.h:51:13: note: because ‘Aws::Client::AWSError<Aws::Client::CoreErrors>’ has user-provided ‘Aws::Client::AWSError<ERROR_TYPE>::AWSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>&) [with ERROR_TYPE = Aws::Client::CoreErrors]’
   51 |             AWSError(const AWSError<CoreErrors>& rhs) :
      |             ^~~~~~~~
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/auth/AWSAuthSigner.cpp:24,
                 from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:8:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/include/aws/core/utils/Outcome.h: In instantiation of ‘Aws::Utils::Outcome<R, E>& Aws::Utils::Outcome<R, E>::operator=(Aws::Utils::Outcome<R, E>&&) [with R = std::shared_ptr<Aws::Http::HttpResponse>; E = Aws::Client::AWSError<Aws::Client::CoreErrors>]’:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp:161:23:   required from here
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/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]
   84 |                     error = std::move(o.error);
      |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/source/client/AWSClient.cpp:20,
                 from /home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-build/aws-cpp-sdk-core/ub_core.cpp:12:
/home/utsav/ROS_WS/kinesis_ws/src/build/aws_common/external/src/aws-cpp-sdk-core/include/aws/core/client/AWSError.h:51:13: note: because ‘Aws::Client::AWSError<Aws::Client::CoreErrors>’ has user-provided ‘Aws::Client::AWSError<ERROR_TYPE>::AWSError(const Aws::Client::AWSError<Aws::Client::CoreErrors>&) [with ERROR_TYPE = Aws::Client::CoreErrors]’
   51 |             AWSError(const AWSError<CoreErrors>& rhs) :
      |             ^~~~~~~~
cc1plus: all warnings being treated as errors
make[5]: *** [aws-cpp-sdk-core/CMakeFiles/aws-cpp-sdk-core.dir/build.make:64: aws-cpp-sdk-core/CMakeFiles/aws-cpp-sdk-core.dir/ub_core.cpp.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:269: aws-cpp-sdk-core/CMakeFiles/aws-cpp-sdk-core.dir/all] Error 2
make[3]: *** [Makefile:130: all] Error 2
make[2]: *** [awssdk/CMakeFiles/AWS_SDK_IMPORT.dir/build.make:115: awssdk/AWS_SDK_IMPORT-prefix/src/AWS_SDK_IMPORT-stamp/AWS_SDK_IMPORT-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:977: awssdk/CMakeFiles/AWS_SDK_IMPORT.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed   <<< aws_common [7.37s, exited with code 2]

Summary: 0 packages finished [8.06s]
  1 package failed: aws_common
  1 package had stderr output: aws_common
  2 packages not processed

@ericluwj
Copy link

Same issue

@cwrx777
Copy link

cwrx777 commented Dec 18, 2021

same issue. i'm trying to build this in foxy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants