Created attachment 437018 [details] emerge --info '=app-editors/atom-1.7.4-r1' Running apm on my ~amd64 system fails with the error below: % apm help (node:1836) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. (node:1836) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. module.js:568 return process.dlopen(module, path._makeLong(filename)); ^ Error: Module version mismatch. Expected 48, got 47. at Error (native) at Object.Module._extensions..node (module.js:568:18) at Module.load (module.js:458:32) at tryModuleLoad (module.js:417:12) at Function.Module._load (module.js:409:3) at Module.require (module.js:468:17) at require (internal/module.js:20:19) at Object.<anonymous> (/usr/lib64/atom/app/apm/node_modules/git-utils/lib/git.js:8:16) at Object.<anonymous> (/usr/lib64/atom/app/apm/node_modules/git-utils/lib/git.js:371:4) at Module._compile (module.js:541:32)
commit 16c842dc06be668d6b9491eba9bf5c234fc2c00a (HEAD -> master, origin/master, origin/HEAD) Author: Elvis Pranskevichus <elvis@magic.io> AuthorDate: Fri Jun 10 10:35:46 2016 -0400 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Fri Jun 10 16:22:43 2016 +0000 app-editors/atom: Fix app.asar repacking. Fixes bug 585490. Gentoo-Bug: https://bugs.gentoo.org/585490 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1640 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> app-editors/atom/atom-1.7.4-r1.ebuild | 392 ----------------------------------------------------------------------------------------------------------------------- app-editors/atom/atom-1.7.4-r2.ebuild | 405 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ app-editors/atom/files/atom-apm-path.patch | 4 +- 3 files changed, 407 insertions(+), 394 deletions(-) delete mode 100644 app-editors/atom/atom-1.7.4-r1.ebuild create mode 100644 app-editors/atom/atom-1.7.4-r2.ebuild
Actually, it seems like this particular bug is caused by NodeJS version mismatch. Looks like NodeJS 6.0 bumped the module version.
commit d0e3063815f3a4ae8ea583593f9d4eef3d53e460 (HEAD -> master, origin/master, origin/HEAD) Author: Elvis Pranskevichus <elvis@magic.io> AuthorDate: Sun Jun 12 17:05:27 2016 -0400 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Sun Jun 12 21:41:49 2016 +0000 dev-util/electron: Build node executable, fix automagic cups dependency. Electron and apps based on it cannot rely on system NodeJS for compatibility reasons. Fix this by building and using a nodejs executable based on bundled nodejs code. Additionally, fix automagic dependency on libcups and remove dependency on system nodejs Gentoo-Bug: https://bugs.gentoo.org/585116 Gentoo-Bug: https://bugs.gentoo.org/585490 Gentoo-Bug: https://bugs.gentoo.org/585464 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1664 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> app-editors/atom/atom-1.7.4-r2.ebuild | 405 ---------------------------------------------------------- app-editors/atom/atom-1.7.4-r3.ebuild | 420 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ dev-util/electron/electron-0.36.12-r2.ebuild | 721 ------------------------------------------------------------------------------------------------------- dev-util/electron/electron-0.36.12-r3.ebuild | 722 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ dev-util/electron/files/brightray-gentoo-build-fixes-r1.patch | 37 +++++- dev-util/electron/files/electron-gentoo-build-fixes.patch | 127 +++++++++++++++++-- dev-util/electron/files/node-external-snapshots.patch | 116 +++++++++++++++++ dev-util/electron/files/node-gentoo-build-fixes.patch | 95 +++++++++++--- 8 files changed, 1478 insertions(+), 1165 deletions(-) delete mode 100644 app-editors/atom/atom-1.7.4-r2.ebuild create mode 100644 app-editors/atom/atom-1.7.4-r3.ebuild delete mode 100644 dev-util/electron/electron-0.36.12-r2.ebuild create mode 100644 dev-util/electron/electron-0.36.12-r3.ebuild create mode 100644 dev-util/electron/files/node-external-snapshots.patch