{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/27131","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/27131/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/27131/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/27131/events","html_url":"https://github.com/dart-lang/sdk/issues/27131","id":172515072,"number":27131,"title":"Building SDK fails (`./tools/build.py`)","user":{"login":"vynes","id":10801954,"avatar_url":"https://avatars.githubusercontent.com/u/10801954?v=3","gravatar_id":"","url":"https://api.github.com/users/vynes","html_url":"https://github.com/vynes","followers_url":"https://api.github.com/users/vynes/followers","following_url":"https://api.github.com/users/vynes/following{/other_user}","gists_url":"https://api.github.com/users/vynes/gists{/gist_id}","starred_url":"https://api.github.com/users/vynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vynes/subscriptions","organizations_url":"https://api.github.com/users/vynes/orgs","repos_url":"https://api.github.com/users/vynes/repos","events_url":"https://api.github.com/users/vynes/events{/privacy}","received_events_url":"https://api.github.com/users/vynes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-infrastructure","name":"area-infrastructure","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"whesse","id":4905639,"avatar_url":"https://avatars.githubusercontent.com/u/4905639?v=3","gravatar_id":"","url":"https://api.github.com/users/whesse","html_url":"https://github.com/whesse","followers_url":"https://api.github.com/users/whesse/followers","following_url":"https://api.github.com/users/whesse/following{/other_user}","gists_url":"https://api.github.com/users/whesse/gists{/gist_id}","starred_url":"https://api.github.com/users/whesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whesse/subscriptions","organizations_url":"https://api.github.com/users/whesse/orgs","repos_url":"https://api.github.com/users/whesse/repos","events_url":"https://api.github.com/users/whesse/events{/privacy}","received_events_url":"https://api.github.com/users/whesse/received_events","type":"User","site_admin":false},"assignees":[{"login":"whesse","id":4905639,"avatar_url":"https://avatars.githubusercontent.com/u/4905639?v=3","gravatar_id":"","url":"https://api.github.com/users/whesse","html_url":"https://github.com/whesse","followers_url":"https://api.github.com/users/whesse/followers","following_url":"https://api.github.com/users/whesse/following{/other_user}","gists_url":"https://api.github.com/users/whesse/gists{/gist_id}","starred_url":"https://api.github.com/users/whesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whesse/subscriptions","organizations_url":"https://api.github.com/users/whesse/orgs","repos_url":"https://api.github.com/users/whesse/repos","events_url":"https://api.github.com/users/whesse/events{/privacy}","received_events_url":"https://api.github.com/users/whesse/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-08-22T17:58:36Z","updated_at":"2016-08-24T11:57:27Z","closed_at":null,"body":"I'm on Gentoo.\r\n\r\nRunning: `./tools/build.py --verbose --mode release --arch x64 create_sdk`\r\n\r\nOutput:\r\n\r\nmake -j 2 BUILDTYPE=ReleaseX64 V=1 create_sdk\r\n  g++ '-DNDEBUG' '-D_FORTIFY_SOURCE=2' -Iruntime  -Werror -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -Wvla -Woverloaded-virtual -g3 -ggdb3 -fno-rtti -fno-exceptions -fstack-protector -Wa,--noexecstack -m64 -msse2 -O3 -ffunction-sections -fno-omit-frame-pointer  -MMD -MF out/ReleaseX64/.deps/out/ReleaseX64/obj.host/libdart_builtin/runtime/bin/log_android.o.d.raw  -c -o out/ReleaseX64/obj.host/libdart_builtin/runtime/bin/log_android.o runtime/bin/log_android.cc\r\n  g++ '-DNDEBUG' '-D_FORTIFY_SOURCE=2' -Iruntime  -Werror -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -Wvla -Woverloaded-virtual -g3 -ggdb3 -fno-rtti -fno-exceptions -fstack-protector -Wa,--noexecstack -m64 -msse2 -O3 -ffunction-sections -fno-omit-frame-pointer  -MMD -MF out/ReleaseX64/.deps/out/ReleaseX64/obj.host/libdart_builtin/runtime/bin/log_linux.o.d.raw  -c -o out/ReleaseX64/obj.host/libdart_builtin/runtime/bin/log_linux.o runtime/bin/log_linux.cc\r\n<command-line>:0:0: error: \"_FORTIFY_SOURCE\" redefined [-Werror]\r\n<built-in>: note: this is the location of the previous definition\r\n<command-line>:0:0: error: \"_FORTIFY_SOURCE\" redefined [-Werror]\r\n<built-in>: note: this is the location of the previous definition\r\ncc1plus: all warnings being treated as errors\r\nmake: *** [runtime/libdart_builtin.host.mk:2834: out/ReleaseX64/obj.host/libdart_builtin/runtime/bin/log_android.o] Error 1\r\nmake: *** Waiting for unfinished jobs....\r\ncc1plus: all warnings being treated as errors\r\nmake: *** [runtime/libdart_builtin.host.mk:2834: out/ReleaseX64/obj.host/libdart_builtin/runtime/bin/log_linux.o] Error 1\r\nBUILD FAILED\r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/242038123","html_url":"https://github.com/dart-lang/sdk/issues/27131#issuecomment-242038123","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/27131","id":242038123,"user":{"login":"vynes","id":10801954,"avatar_url":"https://avatars.githubusercontent.com/u/10801954?v=3","gravatar_id":"","url":"https://api.github.com/users/vynes","html_url":"https://github.com/vynes","followers_url":"https://api.github.com/users/vynes/followers","following_url":"https://api.github.com/users/vynes/following{/other_user}","gists_url":"https://api.github.com/users/vynes/gists{/gist_id}","starred_url":"https://api.github.com/users/vynes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vynes/subscriptions","organizations_url":"https://api.github.com/users/vynes/orgs","repos_url":"https://api.github.com/users/vynes/repos","events_url":"https://api.github.com/users/vynes/events{/privacy}","received_events_url":"https://api.github.com/users/vynes/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T11:57:27Z","updated_at":"2016-08-24T11:57:27Z","body":"I did a `gclient runhooks` and removed that line again (3550 for me). Same error.\r\nYes, the commands still include -D_FORTIFY_SOURCE."}}
{"actor":{"display_login":"vynes"}}