You are not logged in.

#1 2012-07-11 16:34:25

irrlicht
Member
Registered: 2010-12-06
Posts: 107

xorg-server 1.12.3 breaks emacs

After update of

[2012-07-09 19:46] upgraded xorg-server-common (1.12.2-1 -> 1.12.3-1)
[2012-07-09 19:46] upgraded xorg-server (1.12.2-1 -> 1.12.3-1)
[2012-07-09 19:46] upgraded xorg-server-xvfb (1.12.2-1 -> 1.12.3-1)

my emacs got broken.  If i try to start emacs i get this error:


└■  emacs
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
X protocol error: BadMatch (invalid parameter attributes) on protocol request 149
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715
For details, see etc/PROBLEMS.
Fatal error (6)Aborted

Downgrading solves this issue.


Everything less than immortality is a complete waste of time!

Offline

#2 2012-07-12 21:01:32

irrlicht
Member
Registered: 2010-12-06
Posts: 107

Re: xorg-server 1.12.3 breaks emacs

Better solution:

You can't just recompile emacs-24.1 if you have a recent glibc(>=2.16) library. Because emacs-24.1 defines "gets" function somewhere which is not a part of glibc anymore. This bug is fixed in a trunk of emacs, so just pull the trunk and build emacs with "-which-x-toolkit=gtk3". Don't use gtk toolkit, since it's broken.


Everything less than immortality is a complete waste of time!

Offline

#3 2012-07-13 03:50:20

sitquietly
Member
From: On the Wolf River
Registered: 2010-07-12
Posts: 220

Re: xorg-server 1.12.3 breaks emacs

irrlicht wrote:

...You can't just recompile emacs-24.1 if you have a recent glibc(>=2.16) library. Because emacs-24.1 defines "gets" function somewhere which is not a part of glibc anymore. This bug is fixed in a trunk of emacs, so just pull the trunk and build emacs with "-which-x-toolkit=gtk3".....

In other words, build the emacs-bzr package from AUR.  (and I just now noticed that it uses gtk3, thanks to irrlicht for pointing that out).  Works fine.

Offline

Board footer

Powered by FluxBB