{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/42765","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42765/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42765/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42765/events","html_url":"https://github.com/Homebrew/homebrew/pull/42765","id":100181585,"number":42765,"title":"boost (fix test for multi-threading)","user":{"login":"egentry","id":1245474,"avatar_url":"https://avatars.githubusercontent.com/u/1245474?v=3","gravatar_id":"","url":"https://api.github.com/users/egentry","html_url":"https://github.com/egentry","followers_url":"https://api.github.com/users/egentry/followers","following_url":"https://api.github.com/users/egentry/following{/other_user}","gists_url":"https://api.github.com/users/egentry/gists{/gist_id}","starred_url":"https://api.github.com/users/egentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egentry/subscriptions","organizations_url":"https://api.github.com/users/egentry/orgs","repos_url":"https://api.github.com/users/egentry/repos","events_url":"https://api.github.com/users/egentry/events{/privacy}","received_events_url":"https://api.github.com/users/egentry/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/maintainer%20feedback","name":"maintainer feedback","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-10T22:17:26Z","updated_at":"2015-08-11T17:46:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42765","html_url":"https://github.com/Homebrew/homebrew/pull/42765","diff_url":"https://github.com/Homebrew/homebrew/pull/42765.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/42765.patch"},"body":"This formula provides a flag to build the library without a\r\nsingle-threaded variant (\"--without-single\").  The library will\r\nbuild successfully, but the test case will still fail, since the\r\nprovided test assumes the single-threaded variant exists.\r\n(Specifically, the test includes a linker flag to the single-\r\nthreaded variant.)\r\n\r\nThis can be fixed by adding a bit more logic to the test, so that\r\nif the single-threaded variant has been excluded, it will try to\r\nlink to the multi-threaded variant.\r\n\r\n(Naming convention for the boost library variants:\r\nhttp://www.boost.org/doc/libs/1_58_0/more/getting_started/unix-variants.html#library-naming)\r\n\r\nThe original bug can be reproduced by:\r\n``` brew install boost --without-single && brew test boost```\r\nwhich, when compiled with clang, returns the error:\r\n```\r\nld: library not found for -lboost_system\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nError: boost: failed\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/129988421","html_url":"https://github.com/Homebrew/homebrew/pull/42765#issuecomment-129988421","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42765","id":129988421,"user":{"login":"mikemcquaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemcquaid","html_url":"https://github.com/mikemcquaid","followers_url":"https://api.github.com/users/mikemcquaid/followers","following_url":"https://api.github.com/users/mikemcquaid/following{/other_user}","gists_url":"https://api.github.com/users/mikemcquaid/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemcquaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemcquaid/subscriptions","organizations_url":"https://api.github.com/users/mikemcquaid/orgs","repos_url":"https://api.github.com/users/mikemcquaid/repos","events_url":"https://api.github.com/users/mikemcquaid/events{/privacy}","received_events_url":"https://api.github.com/users/mikemcquaid/received_events","type":"User","site_admin":true},"created_at":"2015-08-11T17:46:48Z","updated_at":"2015-08-11T17:46:48Z","body":"Yeh, I'm probably with @DomT4 here. @egentry do you find the `brew test boost` useful for some reason?"}}