{"action":"created","issue":{"url":"https://api.github.com/repos/nylas/N1/issues/26","labels_url":"https://api.github.com/repos/nylas/N1/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/nylas/N1/issues/26/comments","events_url":"https://api.github.com/repos/nylas/N1/issues/26/events","html_url":"https://github.com/nylas/N1/issues/26","id":109930564,"number":26,"title":"Arch Linux - chromium-pickle@0.1.4 node-gyp failed","user":{"login":"mbilker","id":1266541,"avatar_url":"https://avatars.githubusercontent.com/u/1266541?v=3","gravatar_id":"","url":"https://api.github.com/users/mbilker","html_url":"https://github.com/mbilker","followers_url":"https://api.github.com/users/mbilker/followers","following_url":"https://api.github.com/users/mbilker/following{/other_user}","gists_url":"https://api.github.com/users/mbilker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbilker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbilker/subscriptions","organizations_url":"https://api.github.com/users/mbilker/orgs","repos_url":"https://api.github.com/users/mbilker/repos","events_url":"https://api.github.com/users/mbilker/events{/privacy}","received_events_url":"https://api.github.com/users/mbilker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-06T03:43:30Z","updated_at":"2015-10-06T10:30:32Z","closed_at":null,"body":"I attempted to build this package on Arch Linux (my daily desktop) without success. The installation fails to compile the native code associated with chromium-pickle@0.1.4, which hasn't been updated since January and uses an old version of v8. This causes this error to be thrown when running script/bootstrap after a fresh clone:\r\n\r\n```\r\nNode: v4.1.1\r\nnpm: v3.3.5\r\n\r\n---> Installing N1 build tools\r\n     This goes inside the `build` folder and runs `npm install`\r\n     It will use the system `npm` to bootstrap our own N1 npm.\r\n     Our build tools (like Grunt) need to be compiled against Node via `npm`.\r\n     Everything else needs to be compiled against Chromium with `apm`.\r\n\r\n     $ npm --userconfig=/home/mbilker/src/n1/.npmrc install --loglevel error --cwd=/home/mbilker/src/n1/build --ignoreStdout=true \r\n\r\nIn file included from ../../native-mate/vendor/src/native_mate/converter.h:13:0,\r\n                 from ../../native-mate/vendor/src/native_mate/arguments.h:10,\r\n                 from ../../native-mate/vendor/src/native_mate/arguments.cc:5:\r\n../../native-mate/header_redirect/v8/include/v8.h:2:35: fatal error: ../deps/v8/include/v8.h: No such file or directory\r\ncompilation terminated.\r\nmake: *** [Release/obj.target/native_mate/../native-mate/vendor/src/native_mate/arguments.o] Error 1\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Linux 4.2.2-1-ARCH\r\ngyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /home/mbilker/src/n1/build/node_modules/chromium-pickle\r\ngyp ERR! node -v v4.1.1\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok \r\nnpm ERR! Linux 4.2.2-1-ARCH\r\nnpm ERR! argv \"/usr/bin/node\" \"/usr/bin/npm\" \"--userconfig=/home/mbilker/src/n1/.npmrc\" \"install\" \"--loglevel\" \"error\"\r\nnpm ERR! node v4.1.1\r\nnpm ERR! npm  v3.3.5\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! chromium-pickle@0.1.4 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the chromium-pickle@0.1.4 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the chromium-pickle package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls chromium-pickle\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/mbilker/src/n1/build/npm-debug.log\r\n```"},"comment":{"url":"https://api.github.com/repos/nylas/N1/issues/comments/145816637","html_url":"https://github.com/nylas/N1/issues/26#issuecomment-145816637","issue_url":"https://api.github.com/repos/nylas/N1/issues/26","id":145816637,"user":{"login":"yuvadm","id":315080,"avatar_url":"https://avatars.githubusercontent.com/u/315080?v=3","gravatar_id":"","url":"https://api.github.com/users/yuvadm","html_url":"https://github.com/yuvadm","followers_url":"https://api.github.com/users/yuvadm/followers","following_url":"https://api.github.com/users/yuvadm/following{/other_user}","gists_url":"https://api.github.com/users/yuvadm/gists{/gist_id}","starred_url":"https://api.github.com/users/yuvadm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuvadm/subscriptions","organizations_url":"https://api.github.com/users/yuvadm/orgs","repos_url":"https://api.github.com/users/yuvadm/repos","events_url":"https://api.github.com/users/yuvadm/events{/privacy}","received_events_url":"https://api.github.com/users/yuvadm/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T10:30:32Z","updated_at":"2015-10-06T10:30:32Z","body":"I've already started working on a basic PKGBUILD, here are some things that need to happen there:\r\n - use nvm to set node to v0.10.X for the build\r\n - fix node-gyp errors with `npm config set python /usr/bin/python2`"}}