aegypius / overlay

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

Atom 1.0.9 fails to install #62

Closed ribugent closed 7 years ago

ribugent commented 9 years ago

I'm not able to complete the install of Atom due this error:

>>> Source compiled.
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-22103.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /usr/etc
A: /usr/etc
R: /usr/etc
C: npm                                                                                                                                                                                                 

F: mkdir
S: deny
P: /usr/etc
A: /usr/etc
R: /usr/etc
C: node ./script/download-node.js 
 * --------------------------------------------------------------------------------

>>> Failed to emerge app-editors/atom-1.0.9, Log file:

>>>  '/var/tmp/portage/app-editors/atom-1.0.9/temp/build.log'
aegypius commented 9 years ago

@ribugent Thanks for the report !

It seems that the script used to download node is failing (or writing out of the portage sandbox).

I will look for it.

In the meantime you can switch to binary version using :

emerge -C dev-util/atom-shell app-editors/atom
emerge app-editor/atom-bin
aegypius commented 9 years ago

After a few tries to debug what's happening, emerge succeeded to install atom. It seem's that is linked to a temporary download failure of node during atom-package-manager build.

Could you retry with the latest app-editor/atom ?

ribugent commented 9 years ago

Same problem with the latest app-editor atom...

i've created a gist with the build log and "emerge --info" https://gist.github.com/ribugent/9282958ed3048db71a43

Hope this helps

aegypius commented 9 years ago

Thanks for the update it seems that I can focus on the rebuild module phase.

aegypius commented 9 years ago

I disabled module rebuild for now ! You should be able to try it again

neumond commented 9 years ago

Atom fails to build even on 1.0.11. Almost always it caused by broken files fetched by npm install (or something alike). Error messages are very different. Sample fail log here: https://gist.github.com/neumond/443c7df81e297220a613

Tried ~10 times, always fails. I'm not experiencing internet problems in any other program, even with npm update/npm install itself used separately.

aegypius commented 9 years ago

Thanks for the report, it's seems to be a repository failure when downloading core packages. Feel free to switch to app-editors/atom-bin to be able to update atom. I am having a hard time to upgrade to electron 0.30.x that may resolve this issue but I am not giving up !!!