{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/5042","repository_url":"https://api.github.com/repos/arduino/Arduino","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/5042/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/5042/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/5042/events","html_url":"https://github.com/arduino/Arduino/issues/5042","id":160394854,"number":5042,"title":"Arduino IDE selects wrong board package toolchain","user":{"login":"vshymanskyy","id":1506708,"avatar_url":"https://avatars.githubusercontent.com/u/1506708?v=3","gravatar_id":"","url":"https://api.github.com/users/vshymanskyy","html_url":"https://github.com/vshymanskyy","followers_url":"https://api.github.com/users/vshymanskyy/followers","following_url":"https://api.github.com/users/vshymanskyy/following{/other_user}","gists_url":"https://api.github.com/users/vshymanskyy/gists{/gist_id}","starred_url":"https://api.github.com/users/vshymanskyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vshymanskyy/subscriptions","organizations_url":"https://api.github.com/users/vshymanskyy/orgs","repos_url":"https://api.github.com/users/vshymanskyy/repos","events_url":"https://api.github.com/users/vshymanskyy/events{/privacy}","received_events_url":"https://api.github.com/users/vshymanskyy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-15T11:00:42Z","updated_at":"2016-06-15T12:24:25Z","closed_at":null,"body":"The Arduino IDE (or arduino-builder), selects the wrong toolchain when some additional platforms are installed through Boards Manager.\r\n\r\nFor example, if I install both Digistump Oak and ESP8266 community packages, it selects\r\n```.arduino15/packages/digistump/tools/xtensa-lx106-elf-gcc``` instead of\r\n```.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc``` when compiling for regular ESP8266.\r\n\r\nIt causes more problems like this:\r\nI'm trying to build \"Blink\" example for MKR100 (after installing RedBear Duo support package):\r\nIt fails, because IDE selects ```~/.arduino15/packages/RedBear/tools/arm-none-eabi-gcc/4.9-2015-q3``` toolchain, and it's not compiling correctly.\r\n\r\nSame for some other boards combinations."},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/226171483","html_url":"https://github.com/arduino/Arduino/issues/5042#issuecomment-226171483","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/5042","id":226171483,"user":{"login":"facchinm","id":8843437,"avatar_url":"https://avatars.githubusercontent.com/u/8843437?v=3","gravatar_id":"","url":"https://api.github.com/users/facchinm","html_url":"https://github.com/facchinm","followers_url":"https://api.github.com/users/facchinm/followers","following_url":"https://api.github.com/users/facchinm/following{/other_user}","gists_url":"https://api.github.com/users/facchinm/gists{/gist_id}","starred_url":"https://api.github.com/users/facchinm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facchinm/subscriptions","organizations_url":"https://api.github.com/users/facchinm/orgs","repos_url":"https://api.github.com/users/facchinm/repos","events_url":"https://api.github.com/users/facchinm/events{/privacy}","received_events_url":"https://api.github.com/users/facchinm/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T12:24:25Z","updated_at":"2016-06-15T12:24:25Z","body":"This is probably solved by https://github.com/arduino/Arduino/pull/4795, would you mind giving the @ArduinoBot build a try?"}}
{"actor":{"display_login":"facchinm"}}