{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/31725","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/31725/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/31725/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/31725/events","html_url":"https://github.com/NixOS/nixpkgs/issues/31725","id":274364425,"node_id":"MDU6SXNzdWUyNzQzNjQ0MjU=","number":31725,"title":"Missing __sincos header on macOS","user":{"login":"matthewbauer","id":19036,"node_id":"MDQ6VXNlcjE5MDM2","avatar_url":"https://avatars0.githubusercontent.com/u/19036?v=4","gravatar_id":"","url":"https://api.github.com/users/matthewbauer","html_url":"https://github.com/matthewbauer","followers_url":"https://api.github.com/users/matthewbauer/followers","following_url":"https://api.github.com/users/matthewbauer/following{/other_user}","gists_url":"https://api.github.com/users/matthewbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewbauer/subscriptions","organizations_url":"https://api.github.com/users/matthewbauer/orgs","repos_url":"https://api.github.com/users/matthewbauer/repos","events_url":"https://api.github.com/users/matthewbauer/events{/privacy}","received_events_url":"https://api.github.com/users/matthewbauer/received_events","type":"User","site_admin":false},"labels":[{"id":90308187,"node_id":"MDU6TGFiZWw5MDMwODE4Nw==","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20darwin","name":"6.topic: darwin","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-11-16T01:31:33Z","updated_at":"2018-08-22T16:28:32Z","closed_at":"2018-08-21T19:33:48Z","author_association":"MEMBER","body":"I'm getting this error while building Firefox:\r\n\r\n```\r\n/private/tmp/nix-build-firefox-unwrapped-56.0.2.drv-0/firefox-56.0.2/js/src/jsmath.cpp:921:5: error: use of undeclared identifier '__sincos'\r\n    __sincos(x, sin, cos);\r\n    ^\r\n```\r\n\r\nFrom what I can tell, __sincos should be available in math.h but jsmath.cpp can't find it. For instance this fails:\r\n\r\n```\r\nnix-shell '<nixpkgs>' -p stdenv --run '(echo \"#include <math.h>\"; echo \"int main() { __sincos(0, sin, cos); return 0; }\") | clang -x c -'\r\n```\r\n\r\nFull log is available at:\r\n\r\nhttps://gist.github.com/matthewbauer/d2068d9f6a41f43276f271e2dbbe80bc\r\n\r\nBranch is at:\r\n\r\nhttps://github.com/matthewbauer/nixpkgs/tree/firefox-on-macos\r\n\r\nSome people who might know about Darwin stdenv:\r\n/cc @copumpkin @LnL7 "},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/415094315","html_url":"https://github.com/NixOS/nixpkgs/issues/31725#issuecomment-415094315","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/31725","id":415094315,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTA5NDMxNQ==","user":{"login":"matthewbauer","id":19036,"node_id":"MDQ6VXNlcjE5MDM2","avatar_url":"https://avatars0.githubusercontent.com/u/19036?v=4","gravatar_id":"","url":"https://api.github.com/users/matthewbauer","html_url":"https://github.com/matthewbauer","followers_url":"https://api.github.com/users/matthewbauer/followers","following_url":"https://api.github.com/users/matthewbauer/following{/other_user}","gists_url":"https://api.github.com/users/matthewbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewbauer/subscriptions","organizations_url":"https://api.github.com/users/matthewbauer/orgs","repos_url":"https://api.github.com/users/matthewbauer/repos","events_url":"https://api.github.com/users/matthewbauer/events{/privacy}","received_events_url":"https://api.github.com/users/matthewbauer/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T16:28:32Z","updated_at":"2018-08-22T16:28:32Z","author_association":"MEMBER","body":"This was related to firefox, and was fixed in #44186."}}
{"actor":{"display_login":"matthewbauer"}}