{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/1302","repository_url":"https://api.github.com/repos/conda/conda-build","labels_url":"https://api.github.com/repos/conda/conda-build/issues/1302/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/1302/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/1302/events","html_url":"https://github.com/conda/conda-build/issues/1302","id":174569661,"number":1302,"title":"OSError invalid argument mmap","user":{"login":"jakirkham","id":3019665,"avatar_url":"https://avatars.githubusercontent.com/u/3019665?v=3","gravatar_id":"","url":"https://api.github.com/users/jakirkham","html_url":"https://github.com/jakirkham","followers_url":"https://api.github.com/users/jakirkham/followers","following_url":"https://api.github.com/users/jakirkham/following{/other_user}","gists_url":"https://api.github.com/users/jakirkham/gists{/gist_id}","starred_url":"https://api.github.com/users/jakirkham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakirkham/subscriptions","organizations_url":"https://api.github.com/users/jakirkham/orgs","repos_url":"https://api.github.com/users/jakirkham/repos","events_url":"https://api.github.com/users/jakirkham/events{/privacy}","received_events_url":"https://api.github.com/users/jakirkham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-01T16:34:01Z","updated_at":"2016-09-01T16:53:56Z","closed_at":null,"body":"Tried building a package with `conda-build` version `2.0.0` as well, but am unable to due to this error.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/opt/conda/bin/conda-build\", line 6, in <module>\r\n    sys.exit(conda_build.cli.main_build.main())\r\n  File \"/opt/conda/lib/python3.5/site-packages/conda_build/cli/main_build.py\", line 234, in main\r\n    execute(sys.argv[1:])\r\n  File \"/opt/conda/lib/python3.5/site-packages/conda_build/cli/main_build.py\", line 226, in execute\r\n    already_built=None, config=config)\r\n  File \"/opt/conda/lib/python3.5/site-packages/conda_build/api.py\", line 81, in build\r\n    need_source_download=need_source_download, config=config)\r\n  File \"/opt/conda/lib/python3.5/site-packages/conda_build/build.py\", line 942, in build_tree\r\n    config=config)\r\n  File \"/opt/conda/lib/python3.5/site-packages/conda_build/build.py\", line 700, in build\r\n    croot=config.croot)\r\n  File \"/opt/conda/lib/python3.5/site-packages/conda_build/post.py\", line 370, in post_build\r\n    fix_shebang(f, prefix=prefix, build_python=build_python, osx_is_app=osx_is_app)\r\n  File \"/opt/conda/lib/python3.5/site-packages/conda_build/post.py\", line 62, in fix_shebang\r\n    mm = mmap.mmap(fi.fileno(), 0)\r\nOSError: [Errno 22] Invalid argument\r\n```\r\n\r\nxref: https://github.com/conda-forge/conda-smithy/issues/289"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/244141853","html_url":"https://github.com/conda/conda-build/issues/1302#issuecomment-244141853","issue_url":"https://api.github.com/repos/conda/conda-build/issues/1302","id":244141853,"user":{"login":"msarahan","id":38393,"avatar_url":"https://avatars.githubusercontent.com/u/38393?v=3","gravatar_id":"","url":"https://api.github.com/users/msarahan","html_url":"https://github.com/msarahan","followers_url":"https://api.github.com/users/msarahan/followers","following_url":"https://api.github.com/users/msarahan/following{/other_user}","gists_url":"https://api.github.com/users/msarahan/gists{/gist_id}","starred_url":"https://api.github.com/users/msarahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msarahan/subscriptions","organizations_url":"https://api.github.com/users/msarahan/orgs","repos_url":"https://api.github.com/users/msarahan/repos","events_url":"https://api.github.com/users/msarahan/events{/privacy}","received_events_url":"https://api.github.com/users/msarahan/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T16:53:56Z","updated_at":"2016-09-01T16:53:56Z","body":"What package?  I have not seen this error before."}}
{"actor":{"display_login":"msarahan"}}