-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
aws_util build issues with aws-sdk-cpp 0.14.4 #2362
Copy link
Copy link
Closed
Labels
librariesFor things referring to osquery third party librariesFor things referring to osquery third party librariesremote
Description
Hey @theopolis
I was trying to upgrade the osquery brew formula to 1.8.1 but still hit the aws-sdk-cpp issue I'd mentioned.
[ 51%] Building CXX object osquery/logger/CMakeFiles/osquery_logger_plugins.dir/plugins/aws_firehose.cpp.o
cd /tmp/osquery-20160814-43457-1nlvhp9/osquery/logger && /usr/local/Library/Homebrew/shims/super/clang++ -DBOOST_NETWORK_ENABLE_HTTPS -DBOOST_NO_CXX11_VARIADIC_TEMPLATES -DDARWIN -DDARWIN_10_11 -DHAS_SSL_TXT_TLSV1_2 -DNDEBUG -DOSQUERY_BUILD_DISTRO=10.11 -DOSQUERY_BUILD_PLATFORM=darwin -DOSQUERY_BUILD_SDK_VERSION=1.8.1 -DOSQUERY_THRIFT="" -DOSQUERY_THRIFT_LIB=thrift -DOSQUERY_THRIFT_POINTER=boost -DOSQUERY_THRIFT_SERVER_LIB=thrift/server -DSTRIP_FLAG_HELP=1 -I/usr/local/opt/openssl/include -I/tmp/osquery-20160814-43457-1nlvhp9/third-party/gmock-1.7.0/gtest/include -I/tmp/osquery-20160814-43457-1nlvhp9/third-party/gmock-1.7.0/include -I/tmp/osquery-20160814-43457-1nlvhp9/generated/gen-cpp -I/tmp/osquery-20160814-43457-1nlvhp9/third-party/sqlite3 -I/tmp/osquery-20160814-43457-1nlvhp9/include -I/tmp/osquery-20160814-43457-1nlvhp9 -I/usr/local/include -I/include -I/tmp/osquery-20160814-43457-1nlvhp9/third-party/sysroots/darwin -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.11 -std=c++11 -stdlib=libc++ -static -Qunused-arguments -Wstrict-aliasing -Wno-missing-field-initializers -Wno-unused-local-typedef -Wno-unknown-warning-option -Wnon-virtual-dtor -Wchar-subscripts -Wpointer-arith -Woverloaded-virtual -Wformat -Wformat-security -Werror=format-security -Wabi-tag -fpermissive -fstack-protector-all -fPIE -fpie -fPIC -fpic -pipe -fdata-sections -ffunction-sections -mmacosx-version-min=10.11 -Os -march=x86-64 -mno-avx -Wall -Wextra -Wno-unused-parameter -o CMakeFiles/osquery_logger_plugins.dir/plugins/aws_firehose.cpp.o -c /tmp/osquery-20160814-43457-1nlvhp9/osquery/logger/plugins/aws_firehose.cpp
In file included from /tmp/osquery-20160814-43457-1nlvhp9/osquery/logger/plugins/aws_firehose.cpp:27:
/tmp/osquery-20160814-43457-1nlvhp9/osquery/logger/plugins/aws_util.h:115:26: error: unexpected namespace name 'Region': expected expression
Status getAWSRegion(Aws::Region ®ion);
^
/tmp/osquery-20160814-43457-1nlvhp9/osquery/logger/plugins/aws_util.h:115:34: error: use of undeclared identifier 'region'
Status getAWSRegion(Aws::Region ®ion);
^
/tmp/osquery-20160814-43457-1nlvhp9/osquery/logger/plugins/aws_util.h:133:14: error: type 'osquery::Status' does not provide a call operator
Status s = getAWSRegion(client_config.region);
^~~~~~~~~~~~
3 errors generated.
make[2]: *** [osquery/logger/CMakeFiles/osquery_logger_plugins.dir/plugins/aws_firehose.cpp.o] Error 1
make[1]: *** [osquery/logger/CMakeFiles/osquery_logger_plugins.dir/all] Error 2
make: *** [all] Error 2
Vendoring 0.12.4 seems undesirable though. Thanks for your help :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
librariesFor things referring to osquery third party librariesFor things referring to osquery third party librariesremote