{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/osquery/issues/5284","repository_url":"https://api.github.com/repos/facebook/osquery","labels_url":"https://api.github.com/repos/facebook/osquery/issues/5284/labels{/name}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/5284/comments","events_url":"https://api.github.com/repos/facebook/osquery/issues/5284/events","html_url":"https://github.com/facebook/osquery/issues/5284","id":378200143,"node_id":"MDU6SXNzdWUzNzgyMDAxNDM=","number":5284,"title":"Build failure on High Sierra and Mojave","user":{"login":"fxcoudert","id":1980544,"node_id":"MDQ6VXNlcjE5ODA1NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1980544?v=4","gravatar_id":"","url":"https://api.github.com/users/fxcoudert","html_url":"https://github.com/fxcoudert","followers_url":"https://api.github.com/users/fxcoudert/followers","following_url":"https://api.github.com/users/fxcoudert/following{/other_user}","gists_url":"https://api.github.com/users/fxcoudert/gists{/gist_id}","starred_url":"https://api.github.com/users/fxcoudert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxcoudert/subscriptions","organizations_url":"https://api.github.com/users/fxcoudert/orgs","repos_url":"https://api.github.com/users/fxcoudert/repos","events_url":"https://api.github.com/users/fxcoudert/events{/privacy}","received_events_url":"https://api.github.com/users/fxcoudert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-07T09:11:50Z","updated_at":"2018-11-07T09:13:20Z","closed_at":null,"author_association":"NONE","body":"# Bug report\r\n\r\nBuild error for osquery 3.3.1 on macOS High Sierra and Mojave:\r\n\r\n```\r\nld: weak import of symbol '_OBJC_CLASS_$_CWWiFiClient' not supported because of option: -no_weak_imports for architecture x86_64\r\n```\r\n\r\n<!--\r\nPlease follow this template.\r\nBefore submitting an issue search for duplicates.\r\n-->\r\n\r\n### What operating system and version are you using?\r\n\r\nmacOS High Sierra (10.13) and Mojave (10.14)\r\n\r\n### What version of osquery are you using?\r\n\r\nVersion 3.3.1\r\n\r\n### What steps did you take to reproduce the issue?\r\n\r\nWe run:\r\n\r\n```\r\ncmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/osquery/3.3.1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DSTATIC_LINKING=1 -DNO_HTTP_CLIENT=1 -DMINIMIZE_SIZE=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_ONLY=ec2;firehose;kinesis;sts -DCMAKE_INSTALL_PREFIX=/private/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/brew_vendor/aws-sdk-cpp\r\n```\r\n\r\nfollowed by `make`\r\n\r\n### What did you see?\r\n\r\nThe build was not successful. The error is:\r\n\r\n```\r\n[100%] Linking CXX executable osqueryd\r\ncd /tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/osquery && /usr/local/Cellar/cmake/3.12.4/bin/cmake -E cmake_echo_color --cyan --bold --\\ Building\\ osqueryd:\\ /tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/osquery/osqueryd\r\n-- Building osqueryd: /tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/osquery/osqueryd\r\ncd /tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/osquery && /usr/local/Cellar/cmake/3.12.4/bin/cmake -E cmake_link_script CMakeFiles/daemon.dir/link.txt --verbose=1\r\n/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++   -std=c++14 -stdlib=libc++ -DNDEBUG -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2 -I/private/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/brew_vendor/aws-sdk-cpp/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/daemon.dir/devtools/shell.cpp.o CMakeFiles/daemon.dir/main/main.cpp.o CMakeFiles/daemon.dir/main/posix/main.cpp.o  -o osqueryd -Wl,-force_load libosquery.a -Wl,-force_load libosquery_additional.a -framework Foundation /usr/lib/libz.dylib /usr/local/lib/libgflags.dylib /usr/local/lib/libthrift.dylib /usr/lib/libdl.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_context-mt.dylib /usr/local/lib/libglog.dylib /usr/local/opt/openssl/lib/libcrypto.dylib /usr/local/lib/liblzma.dylib /usr/lib/libbz2.dylib -rdynamic -Wl,-dead_strip -mmacosx-version-min=10.11 -Wl,-cache_path_lto,/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/ltocache -Wl,-no_weak_imports -framework CoreServices -framework SystemConfiguration -framework IOKit -framework DiskArbitration /usr/local/opt/libarchive/lib/libarchive.dylib /usr/local/lib/librdkafka.dylib /private/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/brew_vendor/aws-sdk-cpp/lib/libaws-cpp-sdk-kinesis.a /private/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/brew_vendor/aws-sdk-cpp/lib/libaws-cpp-sdk-firehose.a /private/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/brew_vendor/aws-sdk-cpp/lib/libaws-cpp-sdk-core.a /private/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/brew_vendor/aws-sdk-cpp/lib/libaws-cpp-sdk-sts.a -framework CoreFoundation -framework CoreWLAN -framework CoreGraphics -framework Security -framework OpenDirectory -framework DiskArbitration /usr/local/opt/libarchive/lib/libarchive.dylib /usr/local/lib/librdkafka.dylib /private/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/brew_vendor/aws-sdk-cpp/lib/libaws-cpp-sdk-kinesis.a /private/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/brew_vendor/aws-sdk-cpp/lib/libaws-cpp-sdk-firehose.a /private/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/brew_vendor/aws-sdk-cpp/lib/libaws-cpp-sdk-core.a /private/tmp/osquery-20181106-99163-dg3ek3/osquery-3.3.1/brew_vendor/aws-sdk-cpp/lib/libaws-cpp-sdk-sts.a -framework CoreFoundation -framework CoreWLAN -framework CoreGraphics -framework Security -framework OpenDirectory /usr/local/lib/libzstd.dylib -framework ServiceManagement /usr/lib/libresolv.dylib /usr/lib/libxar.dylib /usr/lib/libcups.dylib /usr/lib/libiconv.dylib /usr/lib/libbsm.dylib /usr/local/lib/libaugeas.dylib /usr/local/lib/libfa.dylib /usr/lib/libxml2.dylib /usr/local/lib/libfuzzy.dylib /usr/local/lib/libtsk.dylib /usr/local/lib/libyara.dylib /usr/local/lib/liblldpctl.dylib /usr/local/lib/librocksdb_lite.dylib /usr/local/lib/libboost_regex-mt.dylib /usr/local/opt/openssl/lib/libssl.dylib /usr/lib/libpthread.dylib /usr/local/lib/libmagic.dylib \r\nld: weak import of symbol '_OBJC_CLASS_$_CWWiFiClient' not supported because of option: -no_weak_imports for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake[2]: *** [osquery/osqueryd] Error 1\r\nmake[1]: *** [osquery/CMakeFiles/daemon.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/osquery/issues/comments/436555999","html_url":"https://github.com/facebook/osquery/issues/5284#issuecomment-436555999","issue_url":"https://api.github.com/repos/facebook/osquery/issues/5284","id":436555999,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjU1NTk5OQ==","user":{"login":"fxcoudert","id":1980544,"node_id":"MDQ6VXNlcjE5ODA1NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1980544?v=4","gravatar_id":"","url":"https://api.github.com/users/fxcoudert","html_url":"https://github.com/fxcoudert","followers_url":"https://api.github.com/users/fxcoudert/followers","following_url":"https://api.github.com/users/fxcoudert/following{/other_user}","gists_url":"https://api.github.com/users/fxcoudert/gists{/gist_id}","starred_url":"https://api.github.com/users/fxcoudert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxcoudert/subscriptions","organizations_url":"https://api.github.com/users/fxcoudert/orgs","repos_url":"https://api.github.com/users/fxcoudert/repos","events_url":"https://api.github.com/users/fxcoudert/events{/privacy}","received_events_url":"https://api.github.com/users/fxcoudert/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T09:13:20Z","updated_at":"2018-11-07T09:13:20Z","author_association":"NONE","body":"Error originally reported at https://github.com/Homebrew/homebrew-core/pull/33339"}}
{"actor":{"display_login":"fxcoudert"}}