{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/machinelearning/issues/73","repository_url":"https://api.github.com/repos/dotnet/machinelearning","labels_url":"https://api.github.com/repos/dotnet/machinelearning/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/machinelearning/issues/73/comments","events_url":"https://api.github.com/repos/dotnet/machinelearning/issues/73/events","html_url":"https://github.com/dotnet/machinelearning/issues/73","id":321082702,"node_id":"MDU6SXNzdWUzMjEwODI3MDI=","number":73,"title":"Build failed under OSX","user":{"login":"justinormont","id":4080826,"node_id":"MDQ6VXNlcjQwODA4MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/4080826?v=4","gravatar_id":"","url":"https://api.github.com/users/justinormont","html_url":"https://github.com/justinormont","followers_url":"https://api.github.com/users/justinormont/followers","following_url":"https://api.github.com/users/justinormont/following{/other_user}","gists_url":"https://api.github.com/users/justinormont/gists{/gist_id}","starred_url":"https://api.github.com/users/justinormont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinormont/subscriptions","organizations_url":"https://api.github.com/users/justinormont/orgs","repos_url":"https://api.github.com/users/justinormont/repos","events_url":"https://api.github.com/users/justinormont/events{/privacy}","received_events_url":"https://api.github.com/users/justinormont/received_events","type":"User","site_admin":false},"labels":[{"id":927030050,"node_id":"MDU6TGFiZWw5MjcwMzAwNTA=","url":"https://api.github.com/repos/dotnet/machinelearning/labels/Build","name":"Build","color":"a2f9dc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-08T08:02:49Z","updated_at":"2018-09-28T19:06:17Z","closed_at":"2018-09-28T19:06:17Z","author_association":"MEMBER","body":"### System information\r\n\r\n- **OS version/distro**: OSX 10.12.6\r\n- **.NET Version (eg., dotnet --info)**: \r\n```\r\n.NET Command Line Tools (2.1.4)\r\n\r\nProduct Information:\r\n Version:            2.1.4\r\n Commit SHA-1 hash:  5e8add2190\r\n\r\nRuntime Environment:\r\n OS Name:     Mac OS X\r\n OS Version:  10.12\r\n OS Platform: Darwin\r\n RID:         osx.10.12-x64\r\n Base Path:   /usr/local/share/dotnet/sdk/2.1.4/\r\n\r\nMicrosoft .NET Core Shared Framework Host\r\n\r\n  Version  : 2.0.5\r\n  Build    : 17373eb129b3b05aa18ece963f8795d65ef8ea54\r\n```\r\n### Issue\r\n\r\n- **What did you do?** \r\n```bash\r\n> git clone git@github.com:dotnet/machinelearning.git\r\n> cd machinelearning\r\n> ./build.sh\r\n```\r\n\r\n- **What happened?**\r\nBuild failed\r\n\r\n- **What did you expect?**\r\nML goodness\r\n\r\n### Source code / logs\r\n```\r\n... truncated for brevity ...\r\n\r\n  + cmake /Users/justinormont/Documents/Microsoft/src/machinelearning/src/Native -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug -DVERSION_FILE_PATH:STRING=/Users/justinormont/Documents/Microsoft/src/machinelearning/src/Native/../../bin/obj/version.c\r\n  -- The C compiler identification is Clang 3.5.1\r\n  -- The CXX compiler identification is Clang 3.5.1\r\n  -- Check for working C compiler: /usr/local/bin/clang-3.5\r\n  -- Check for working C compiler: /usr/local/bin/clang-3.5 -- works\r\n  -- Detecting C compiler ABI info\r\n  -- Detecting C compiler ABI info - done\r\n  -- Detecting C compile features\r\n  -- Detecting C compile features - done\r\n  -- Check for working CXX compiler: /usr/local/bin/clang++-3.5\r\n  -- Check for working CXX compiler: /usr/local/bin/clang++-3.5 -- works\r\n  -- Detecting CXX compiler ABI info\r\n  -- Detecting CXX compiler ABI info - done\r\n  -- Detecting CXX compile features\r\n  -- Detecting CXX compile features - done\r\n  -- Configuring done\r\n  -- Generating done\r\nEXEC : CMake warning (dev):  [/Users/justinormont/Documents/Microsoft/src/machinelearning/src/Native/build.proj]\r\n    Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run \"cmake\r\n    --help-policy CMP0042\" for policy details.  Use the cmake_policy command to\r\n    set the policy and suppress this warning.\r\n  \r\n    MACOSX_RPATH is not specified for the following targets:\r\n  \r\n     CpuMathNative\r\n     FastTreeNative\r\n  \r\n  This warning is for project developers.  Use -Wno-dev to suppress it.\r\n  \r\n  -- Build files have been written to: /Users/justinormont/Documents/Microsoft/src/machinelearning/bin/obj/x64.Debug/Native\r\n  + set +x\r\n  Scanning dependencies of target CpuMathNative\r\n  [  8%] Building CXX object CpuMathNative/CMakeFiles/CpuMathNative.dir/Sse.cpp.o\r\nEXEC : error : unknown warning option '-Wno-unused-local-typedef' [-Werror,-Wunknown-warning-option] [/Users/justinormont/Documents/Microsoft/src/machinelearning/src/Native/build.proj]\r\n  make[2]: *** [CpuMathNative/CMakeFiles/CpuMathNative.dir/Sse.cpp.o] Error 1\r\n  make[1]: *** [CpuMathNative/CMakeFiles/CpuMathNative.dir/all] Error 2\r\n  make: *** [all] Error 2\r\n/Users/justinormont/Documents/Microsoft/src/machinelearning/src/Native/build.proj(33,5): error MSB3073: The command \"/Users/justinormont/Documents/Microsoft/src/machinelearning/src/Native/build.sh --configuration Debug --arch x64 \" exited with code 2.\r\n\r\nBuild FAILED.\r\n\r\nEXEC : CMake warning (dev):  [/Users/justinormont/Documents/Microsoft/src/machinelearning/src/Native/build.proj]\r\nEXEC : error : unknown warning option '-Wno-unused-local-typedef' [-Werror,-Wunknown-warning-option] [/Users/justinormont/Documents/Microsoft/src/machinelearning/src/Native/build.proj]\r\n/Users/justinormont/Documents/Microsoft/src/machinelearning/src/Native/build.proj(33,5): error MSB3073: The command \"/Users/justinormont/Documents/Microsoft/src/machinelearning/src/Native/build.sh --configuration Debug --arch x64 \" exited with code 2.\r\n    1 Warning(s)\r\n    2 Error(s)\r\n\r\nTime Elapsed 00:01:28.38\r\nCommand execution failed with exit code 1.\r\n```\r\n\r\n### Attempts\r\nI first suspected an older version of clang or cmake:\r\n```bash\r\n> clang++ --version\r\nApple LLVM version 7.0.2 (clang-700.1.81)\r\nTarget: x86_64-apple-darwin16.7.0\r\nThread model: posix\r\n\r\n> cmake --version\r\ncmake version 3.10.1\r\n```\r\n\r\nAfter updating:\r\n```bash\r\n> clang++ --version\r\nApple LLVM version 9.0.0 (clang-900.0.39.2)\r\nTarget: x86_64-apple-darwin16.7.0\r\nThread model: posix\r\nInstalledDir: /Library/Developer/CommandLineTools/usr/bin\r\n\r\n> cmake --version\r\ncmake version 3.11.1\r\n```\r\nStill no luck after updating clang++ & cmake.\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/machinelearning/issues/comments/425536188","html_url":"https://github.com/dotnet/machinelearning/issues/73#issuecomment-425536188","issue_url":"https://api.github.com/repos/dotnet/machinelearning/issues/73","id":425536188,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTUzNjE4OA==","user":{"login":"justinormont","id":4080826,"node_id":"MDQ6VXNlcjQwODA4MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/4080826?v=4","gravatar_id":"","url":"https://api.github.com/users/justinormont","html_url":"https://github.com/justinormont","followers_url":"https://api.github.com/users/justinormont/followers","following_url":"https://api.github.com/users/justinormont/following{/other_user}","gists_url":"https://api.github.com/users/justinormont/gists{/gist_id}","starred_url":"https://api.github.com/users/justinormont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinormont/subscriptions","organizations_url":"https://api.github.com/users/justinormont/orgs","repos_url":"https://api.github.com/users/justinormont/repos","events_url":"https://api.github.com/users/justinormont/events{/privacy}","received_events_url":"https://api.github.com/users/justinormont/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T19:06:17Z","updated_at":"2018-09-28T19:06:17Z","author_association":"MEMBER","body":"@markusweimer : No not at the time. I pulled the current state earlier this week, and it built correctly."}}
{"actor":{"display_login":"justinormont"}}