{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/11890","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/11890/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/11890/comments","events_url":"https://api.github.com/repos/atom/atom/issues/11890/events","html_url":"https://github.com/atom/atom/issues/11890","id":158332747,"number":11890,"title":"Atom fails to build on 64-bit FreeBSD 10.3; node-gyp and python2 issues","user":{"login":"fusion809","id":4717341,"avatar_url":"https://avatars1.githubusercontent.com/u/4717341?v=4","gravatar_id":"","url":"https://api.github.com/users/fusion809","html_url":"https://github.com/fusion809","followers_url":"https://api.github.com/users/fusion809/followers","following_url":"https://api.github.com/users/fusion809/following{/other_user}","gists_url":"https://api.github.com/users/fusion809/gists{/gist_id}","starred_url":"https://api.github.com/users/fusion809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusion809/subscriptions","organizations_url":"https://api.github.com/users/fusion809/orgs","repos_url":"https://api.github.com/users/fusion809/repos","events_url":"https://api.github.com/users/fusion809/events{/privacy}","received_events_url":"https://api.github.com/users/fusion809/received_events","type":"User","site_admin":false},"labels":[{"id":601496052,"url":"https://api.github.com/repos/atom/atom/labels/stale","name":"stale","color":"e6e6e6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-03T10:00:27Z","updated_at":"2018-05-15T05:09:31Z","closed_at":"2017-11-16T04:34:08Z","author_association":"NONE","body":"Hi,\n\nI followed the [freebsd.md build guide](https://github.com/atom/atom/blob/master/docs/build-instructions/freebsd.md) and installed a few extra deps I thought may be missing, namely I ran:\n\n``` bash\nsudo pkg install node npm libgnome-keyring gcc make python2\nsudo npm install -g node-gyp\nsudo npm config set python /usr/local/bin/python2 -g\n```\n\nthen I got the source code of Atom 1.7.4 and cd'ed into it, via running:\n\n``` bash\ncurl -OL https://github.com/atom/atom/archive/v1.7.4.tar.gz\ntar -xzf v1.7.4.tar.gz\ncd atom-1.7.4\n```\n\nFinally I ran:\n\n``` bash\nscript/build\n```\n\nand received the output:\n\n``` bash\nNode: v5.11.1\nnpm: v2.13.3\nInstalling build modules...\ngyp ERR! configure error \ngyp ERR! stack Error: Command failed: /usr/local/bin/python2 -c import platform; print(platform.python_version());\ngyp ERR! stack Traceback (most recent call last):\ngyp ERR! stack   File \"<string>\", line 1, in <module>\ngyp ERR! stack AttributeError: 'module' object has no attribute 'python_version'\ngyp ERR! stack \ngyp ERR! stack     at ChildProcess.exithandler (child_process.js:202:12)\ngyp ERR! stack     at emitTwo (events.js:100:13)\ngyp ERR! stack     at ChildProcess.emit (events.js:185:7)\ngyp ERR! stack     at maybeClose (internal/child_process.js:850:16)\ngyp ERR! stack     at Socket.<anonymous> (internal/child_process.js:323:11)\ngyp ERR! stack     at emitOne (events.js:90:13)\ngyp ERR! stack     at Socket.emit (events.js:182:7)\ngyp ERR! stack     at Pipe._onclose (net.js:484:12)\ngyp ERR! System FreeBSD 10.3-RELEASE\ngyp ERR! command \"/usr/local/bin/node\" \"/usr/home/fusion809/atom-1.7.4/build/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\ngyp ERR! cwd /usr/home/fusion809/atom-1.7.4/build/node_modules/runas\ngyp ERR! node -v v5.11.1\ngyp ERR! node-gyp -v v2.0.2\ngyp ERR! not ok \ngyp ERR! configure error \ngyp ERR! stack Error: Command failed: /usr/local/bin/python2 -c import platform; print(platform.python_version());\ngyp ERR! stack Traceback (most recent call last):\ngyp ERR! stack   File \"<string>\", line 1, in <module>\ngyp ERR! stack AttributeError: 'module' object has no attribute 'python_version'\ngyp ERR! stack \ngyp ERR! stack     at ChildProcess.exithandler (child_process.js:202:12)\ngyp ERR! stack     at emitTwo (events.js:100:13)\ngyp ERR! stack     at ChildProcess.emit (events.js:185:7)\ngyp ERR! stack     at maybeClose (internal/child_process.js:850:16)\ngyp ERR! stack     at Socket.<anonymous> (internal/child_process.js:323:11)\ngyp ERR! stack     at emitOne (events.js:90:13)\ngyp ERR! stack     at Socket.emit (events.js:182:7)\ngyp ERR! stack     at Pipe._onclose (net.js:484:12)\ngyp ERR! System FreeBSD 10.3-RELEASE\ngyp ERR! command \"/usr/local/bin/node\" \"/usr/home/fusion809/atom-1.7.4/build/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\ngyp ERR! cwd /usr/home/fusion809/atom-1.7.4/build/node_modules/minidump\ngyp ERR! node -v v5.11.1\ngyp ERR! node-gyp -v v2.0.2\ngyp ERR! not ok \nnpm ERR! FreeBSD 10.3-RELEASE\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/home/fusion809/atom-1.7.4/build/node_modules/.bin/npm\" \"--userconfig=/usr/home/fusion809/atom-1.7.4/build/.npmrc\" \"install\" \"--loglevel\" \"error\"\nnpm ERR! node v5.11.1\nnpm ERR! npm  v2.13.3\nnpm ERR! code ELIFECYCLE\n\nnpm ERR! runas@3.1.1 install: `node-gyp rebuild`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the runas@3.1.1 install script 'node-gyp rebuild'.\nnpm ERR! This is most likely a problem with the runas package,\nnpm ERR! not with npm itself.\nnpm ERR! Tell the author that this fails on your system:\nnpm ERR!     node-gyp rebuild\nnpm ERR! You can get their info via:\nnpm ERR!     npm owner ls runas\nnpm ERR! There is likely additional logging output above.\n\nnpm ERR! Please include the following file with any support request:\nnpm ERR!     /usr/home/fusion809/atom-1.7.4/build/npm-debug.log\n```\n\nnpm-debug.log can be found [here](http://paste2.org/tfDc67tg). I have noticed some other Python issues, like I tried to upload my build log to paste2.org using `pastebinit` but it gave the error:\n\n``` bash\nTraceback (most recent call last):\n  File \"/usr/local/bin/pastebinit\", line 27, in <module>\n    from ConfigParser import SafeConfigParser\n  File \"/usr/local/lib/python2.7/ConfigParser.py\", line 91, in <module>\n    from collections import OrderedDict as _default_dict\n  File \"/usr/local/lib/python2.7/collections.py\", line 4, in <module>\n    from _abcoll import *\n  File \"/usr/local/lib/python2.7/_abcoll.py\", line 70, in <module>\n    Iterable.register(str)\n  File \"/usr/local/lib/python2.7/abc.py\", line 107, in register\n    if not isinstance(subclass, (type, types.ClassType)):\nAttributeError: 'module' object has no attribute 'ClassType'\n```\n\nso I am guessing that I am missing some Python2 package?\n\nThanks for your time,\nBrenton\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/389044392","html_url":"https://github.com/atom/atom/issues/11890#issuecomment-389044392","issue_url":"https://api.github.com/repos/atom/atom/issues/11890","id":389044392,"user":{"login":"lock[bot]","id":33595554,"avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-05-15T05:09:31Z","updated_at":"2018-05-15T05:09:31Z","author_association":"NONE","body":"This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in [Safe Mode](https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode) then please open a new issue and fill out [the entire issue template](https://github.com/atom/atom/blob/master/ISSUE_TEMPLATE.md) to ensure that we have enough information to address your issue. Thanks!\n"}}
{"actor":{"display_login":"lock"}}