{"action":"closed","issue":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/997","repository_url":"https://api.github.com/repos/Linuxbrew/linuxbrew","labels_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/997/labels{/name}","comments_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/997/comments","events_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/997/events","html_url":"https://github.com/Linuxbrew/linuxbrew/issues/997","id":144377172,"number":997,"title":"libpng: test fails","user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/labels/build-error","name":"build-error","color":"e11d21"},{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-29T20:24:57Z","updated_at":"2016-04-05T00:50:43Z","closed_at":"2016-04-05T00:50:43Z","body":"```\r\nbrew test libpng -v\r\nTesting libpng\r\n==> /usr/bin/gcc test.c -I/gsc/btl/linuxbrew/Cellar/libpng/1.6.21/include -L/gsc/btl/linuxbrew/Cellar/libpng/1.6.21/lib -lpng -o test\r\n==> ./test\r\nError: libpng: failed\r\nFailed executing: ./test \r\n```\r\nIt's using `/usr/bin/gcc` rather than the `gcc-5`, which is installed.\r\n`ENV.cc` is not taking on the correct value in the `test do` block."}}