aegypius / overlay

Gentoo overlay
http://aegypius.github.io/overlay/
31 stars 8 forks source link

atom-shell-0.22.3-r2 build fails #55

Closed calendulish closed 9 years ago

calendulish commented 9 years ago
 * Bootstrap atom-shell source
   - bootstrap: git submodule sync
   - bootstrap: git submodule update --init --recursive
   - bootstrap: npm install
   - bootstrap: /tmp/portage/dev-util/atom-shell-0.22.3-r2/temp/python2.7/bin/python /tmp/portage/dev-util/atom-shell-0.22.3-r2/work/atom-shell-0.22.3/vendor/brightray/script/bootstrap --commit c01b10faf0d478e48
f537210ec263fabd551578d http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent
   - bootstrap: /tmp/portage/dev-util/atom-shell-0.22.3-r2/temp/python2.7/bin/python /tmp/portage/dev-util/atom-shell-0.22.3-r2/work/atom-shell-0.22.3/script/update.py
   - bootstrap: /tmp/portage/dev-util/atom-shell-0.22.3-r2/work/atom-shell-0.22.3/node_modules/.bin/apm install

module.js:356
  Module._extensions[extension](this, filename);
                               ^
Error: /tmp/portage/dev-util/atom-shell-0.22.3-r2/work/atom-shell-0.22.3/node_modules/atom-package-manager/node_modules/git-utils/build/Release/git.node: undefined symbol: node_module_register
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/tmp/portage/dev-util/atom-shell-0.22.3-r2/work/atom-shell-0.22.3/node_modules/atom-package-manager/node_modules/git-utils/lib/git.js:8:16)
    at Object.<anonymous> (/tmp/portage/dev-util/atom-shell-0.22.3-r2/work/atom-shell-0.22.3/node_modules/atom-package-manager/node_modules/git-utils/lib/git.js:359:4)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

Traceback (most recent call last):
  File "./script/bootstrap.py", line 131, in <module>
    sys.exit(main())
  File "./script/bootstrap.py", line 36, in main
    update_atom_modules('spec')
  File "./script/bootstrap.py", line 89, in update_atom_modules
    execute_stdout([apm, 'install'])
  File "/tmp/portage/dev-util/atom-shell-0.22.3-r2/work/atom-shell-0.22.3/script/lib/util.py", line 155, in execute_stdout
    execute(argv)
  File "/tmp/portage/dev-util/atom-shell-0.22.3-r2/work/atom-shell-0.22.3/script/lib/util.py", line 143, in execute
    raise e
subprocess.CalledProcessError: Command '['/tmp/portage/dev-util/atom-shell-0.22.3-r2/work/atom-shell-0.22.3/node_modules/.bin/apm', 'install']' returned non-zero exit status 8
calendulish commented 9 years ago

With a stable version of nodejs (0.10.30), I have no issues. You cannot mask nodejs for this repository?

aegypius commented 9 years ago

Thanks for the report, I will try to reproduce your failure on a virtual machine to help you out.

It seem to be related to apm installation process which fails with some versions of nodejs .

Could you tell me which version of nodejs you were using when the build failed ?

calendulish commented 9 years ago

The last unstable 0.12.4-r1

aegypius commented 9 years ago

OK thanks, I will try that.

aegypius commented 9 years ago

I tried to use nvm instead of relying on system nodejs version but it fails. Have you filed an issue on atom/electron ?

arkrost commented 9 years ago

I can confirm that build fails with nodejs 0.12.6. I was able to install atom with nodejs-0.10.38. Can you please reopen this issue to deal with it? It seems that due to this issue it should be possible to build atom with nodejs 0.12.x.

aegypius commented 9 years ago

Thanks @arkrost for the report but i will not reopen atom/electron#1119 because atom-shell-0.22.3 is far from being the latest electron version. I am working on a workaround to get rid of net-libs/nodejs in the build of atom-shell.

Sorry for the delay but the first attempts was unsuccessful.