aegypius / overlay

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

app-editors/atom X Window System error #29

Closed TheChymera closed 9 years ago

TheChymera commented 9 years ago

Hi, I was able to emerge app-editors/atom with all its dependencies (after applying the change you proposed - strangely, I cannot find the thread where we last talked, could you link it?). Now, however, I get the following error:

[982:1102/012914:ERROR:browser_main_loop.cc(162)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.

(atom:982): Pango-WARNING **: /usr/lib64/pango/1.6.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[1003:1102/012915:ERROR:sandbox_linux.cc(305)] InitializeSandbox() called with multiple threads in process gpu-process
App load time: 151ms
[982:1102/012915:ERROR:nss_util.cc(821)] After loading Root Certs, loaded==false: NSS error code: -8018
[1029:1102/012915:INFO:renderer_main.cc(204)] Renderer process started
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 272 error_code 2 request_code 12 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Could you help me find out what is wrong? Is pango to blame?

aegypius commented 9 years ago

Yes it seems I missed pango dependency in libchromium.so

TheChymera commented 9 years ago

What should I add?

aegypius commented 9 years ago

What should I add?

You should try adding x11-libs/pango in atom-shell DEPEND.

Could you send me the result of ldd /usr/share/atom/libchomiumcontent.so ?

... strangely, I cannot find the thread where we last talked, could you link it?

It was the closed issue #4

TheChymera commented 9 years ago
ldd: /usr/share/atom/libchomiumcontent.so: No such file or directory
aegypius commented 9 years ago

ldd /usr/share/atom/libchromiumcontent.so (missed the R)

TheChymera commented 9 years ago

Ah, ok, this is better: output

aegypius commented 9 years ago

Sorry for the late response, your output seems to be OK, everything is linked. I tried to build libchromiumcontent from source but I failed again (build procedure is a mess IMO).

For now, I can't help you much. you can try to build it from source as described on the atom repository.

TheChymera commented 9 years ago

It actually ended up working, after I added pango as a dep. Atom seems silly slow, though, and some of the plugins don't work right .... but I guess I'll have to go to upstream with that.

aegypius commented 9 years ago

@TheChymera Could you create a PR with your updates ?