Starting emacs under X using GTK3, when the window is resized (or emacs is started maximized or at a certain size or...), emacs crashes hard with the stacktrace below. Logs from configure and make follow. The GTK3 bug mentioned [1] is marked resolved-obsolete and only appears to affect 3.0.x -- whereas
Let me know if there is any other information I can provide or if I should redirect this report to GTK.
(gdb) run -Q
Starting program: /home/sean/emacs-26.1/src/emacs-26.1.3 -Q
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff3670700 (LWP 18052)]
[New Thread 0x7ffff2c50700 (LWP 18054)]
X protocol error: BadRequest (invalid request code or no such operation) on protocol request 130
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug:
https://bugzilla.gnome.org/show_bug.cgi?id=85715For details, see etc/PROBLEMS.
Fatal error 6: Aborted
Backtrace:
/home/sean/emacs-26.1/src/emacs-26.1.3[0x577655]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x5522b2]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x5776bd]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x51cbb4]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x51cd42]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x51cc9c]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11d)[0x7ffffbe4522d]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x42157)[0x7ffffbe42157]
/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x42215)[0x7ffffbe42215]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XReply+0x238)[0x7ffffbe43128]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XQueryPointer+0x8e)[0x7ffffbe392be]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x584ea)[0x7ffffdcd84ea]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x77045)[0x7ffffdcf7045]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_window_get_device_position_double+0x10b)[0x7ffffdcca6eb]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_window_get_device_position+0x2d)[0x7ffffdcca7ed]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x33c299)[0x7ffffe2bc299]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x33c7ff)[0x7ffffe2bc7ff]
/usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x2b6e8)[0x7ffffdcab6e8]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4b123)[0x7ffffc5bb123]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x15a)[0x7ffffc5ba6aa]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x69a9be]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x6558c7]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x4208e4]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x55a530]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x566c86]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x55724c]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x5f8369]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x556b37]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x5f7c72]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x556ad5]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x5561de]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x55635c]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x554036]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7ffff92d02e1]
/home/sean/emacs-26.1/src/emacs-26.1.3[0x4142fa]
Thread 1 "emacs-26.1.3" received signal SIGABRT, Aborted.
raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt full
#0 raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:51
set = {__val = {402653184, 0 <repeats 15 times>}}
pid = <optimized out>
tid = <optimized out>
#1 0x00000000005522f5 in terminate_due_to_signal (sig=6, backtrace_limit=40) at emacs.c:394
No locals.
#2 0x00000000005776bd in emacs_abort () at sysdep.c:2426
No locals.
#3 0x000000000051cbb4 in x_connection_closed (dpy=0x2cf9400,
error_message=0x7ffffffec670 "X protocol error: BadRequest (invalid request code or no such operation) on protocol request 130", ioerror=false) at xterm.c:9816
dpyinfo = 0x2d94400
frame = 21474357
tail = 0
idx = 4
#4 0x000000000051cd42 in x_error_quitter (display=0x2cf9400, event=0x7ffffffec920) at xterm.c:9904
buf = "BadRequest (invalid request code or no such operation)", '\000' <repeats 201 times>
buf1 = "X protocol error: BadRequest (invalid request code or no such operation) on protocol request 130", '\000' <repeats 16 times>, "[\000\000\000n", '\000' <repeats 19 times>, "w\000\000\000|", '\000' <repeats 12 times>, "\233d\371\377\177\000\000\020\000\000\000\000\000\000\000 \\L\003", '\000' <repeats 12 times>, "P\246\317\002", '\000' <repeats 12 times>...
#5 0x000000000051cc9c in x_error_handler (display=0x2cf9400, event=0x7ffffffec920) at xterm.c:9874
No locals.
#6 0x00007ffffbe4522d in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
No symbol table info available.
#7 0x00007ffffbe42157 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
No symbol table info available.
#8 0x00007ffffbe42215 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
No symbol table info available.
#9 0x00007ffffbe43128 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
No symbol table info available.
#10 0x00007ffffbe392be in XQueryPointer () from /usr/lib/x86_64-linux-gnu/libX11.so.6
No symbol table info available.
#11 0x00007ffffdcd84ea in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
No symbol table info available.
#12 0x00007ffffdcf7045 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
No symbol table info available.
#13 0x00007ffffdcca6eb in gdk_window_get_device_position_double () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
No symbol table info available.
#14 0x00007ffffdcca7ed in gdk_window_get_device_position () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
No symbol table info available.
#15 0x00007ffffe2bc299 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#16 0x00007ffffe2bc7ff in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
No symbol table info available.
#17 0x00007ffffdcab6e8 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
No symbol table info available.
#18 0x00007ffffc5bb123 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#19 0x00007ffffc5ba6aa in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#20 0x000000000069a9be in xg_select (fds_lim=7, rfds=0x7ffffffed790, wfds=0x7ffffffed710, efds=0x0,
timeout=0x7ffffffed6f0, sigmask=0x0) at xgselect.c:162
pselect_errno = 11
all_rfds = {fds_bits = {0 <repeats 16 times>}}
all_wfds = {fds_bits = {0 <repeats 16 times>}}
tmo = {tv_sec = 0, tv_nsec = 384000000}
tmop = 0x7ffffffed3c0
context = 0x2d0ac80
have_wfds = true
gfds_buf = {{fd = 5, events = 1, revents = 0}, {fd = 6, events = 1, revents = 0}, {fd = 0, events = 0,
revents = 0}, {fd = 47230080, events = 0, revents = 0}, {fd = 2147483647, events = 0, revents = 0}, {
fd = -61106191, events = 32767, revents = 0}, {fd = 378583, events = 0, revents = 0}, {fd = 513015000,
events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 1950112256, events = 34281,
revents = 29652}, {fd = 0, events = 0, revents = 0}, {fd = -61099856, events = 32767, revents = 0}, {
fd = 47230080, events = 0, revents = 0}, {fd = -36798746, events = 32767, revents = 0}, {fd = 47230080,
events = 0, revents = 0}, {fd = 2147483647, events = 0, revents = 0}, {fd = -77712, events = 32767,
revents = 0}, {fd = 13691343, events = 0, revents = 0}, {fd = -77724, events = 32767, revents = 0}, {
fd = -77584, events = 32767, revents = 0}, {fd = 0, events = 500, revents = 0}, {fd = 0, events = 0,
revents = 0}, {fd = 47230080, events = 0, revents = 0}, {fd = 1, events = 32767, revents = 0}, {fd = 2,
events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 26, events = 0, revents = 0}, {
fd = 1950112256, events = 34281, revents = 29652}, {fd = 109, events = 0, revents = 0}, {fd = 47230080,
events = 0, revents = 0}, {fd = 47077792, events = 0, revents = 0}, {fd = -61105660, events = 32767,
revents = 0}, {fd = 47230080, events = 0, revents = 0}, {fd = -100987387, events = 32767, revents = 0}, {
fd = 2, events = 0, revents = 0}, {fd = -1, events = 65535, revents = 65535}, {fd = 47162960, events = 0,
revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -73602012,
events = 32767, revents = 0}, {fd = 17428211, events = 0, revents = 0}, {fd = 47230080, events = 0,
revents = 0}, {fd = 47167256, events = 0, revents = 0}, {fd = 13142784, events = 0, revents = 0}, {
fd = -1, events = 65535, revents = 65535}, {fd = 6140699, events = 1, revents = 0}, {fd = 47167200,
events = 0, revents = 0}, {fd = 47163024, events = 0, revents = 0}, {fd = 47163076, events = 0,
revents = 0}, {fd = 4096, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0,
events = 0, revents = 0}, {fd = -77504, events = 32767, revents = 0}, {fd = 1, events = 0, revents = 0}, {
fd = -77424, events = 32767, revents = 0}, {fd = 80, events = 0, revents = 0}, {fd = 0, events = 0,
revents = 0}, {fd = 21474352, events = 6, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 5645633,
events = 0, revents = 0}, {fd = 13142784, events = 0, revents = 0}, {fd = -77376, events = 32767,
revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 17610037, events = 0, revents = 0}, {fd = -77248,
events = 32767, revents = 0}, {fd = 6143744, events = 0, revents = 0}, {fd = 1, events = 2, revents = 0}, {
fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 1950112256, events = 34281,
revents = 29652}, {fd = -78093, events = 32767, revents = 0}, {fd = 47162960, events = 0, revents = 0}, {
fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 47162984, events = 0,
revents = 0}, {fd = 2147483647, events = 0, revents = 0}, {fd = -36798656, events = 32767, revents = 0}, {
fd = -73601748, events = 32767, revents = 0}, {fd = 5561103, events = 0, revents = 0}, {fd = 47158272,
events = 0, revents = 0}, {fd = 47003792, events = 0, revents = 0}, {fd = -77168, events = 32767,
revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -68933959, events = 32767, revents = 0}, {fd = 0,
events = 0, revents = 0}, {fd = 47158272, events = 0, revents = 0}, {fd = -77176, events = 32767,
revents = 0}, {fd = -68933589, events = 32767, revents = 0}, {fd = -1, events = 65535, revents = 65535}, {
fd = 0, events = 0, revents = 0}, {fd = 47167200, events = 0, revents = 0}, {fd = 1950112256,
events = 34281, revents = 29652}, {fd = 0, events = 0, revents = 0}, {fd = -113616538, events = 32767,
revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 47230080, events = 0, revents = 0}, {fd = 13325920,
events = 0, revents = 0}, {fd = 18423443, events = 0, revents = 0}, {fd = -77072, events = 32767,
revents = 0}, {fd = 5561761, events = 0, revents = 0}, {fd = 18423555, events = 0, revents = 0}, {
fd = 18423443, events = 0, revents = 0}, {fd = -77008, events = 32767, revents = 0}, {fd = 6100591,
events = 0, revents = 0}, {fd = 18423555, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {
fd = -77008, events = 32767, revents = 0}, {fd = 5567948, events = 0, revents = 0}, {fd = 5561103,
events = 0, revents = 0}, {fd = 0, events = 1, revents = 0}, {fd = 13325920, events = 0, revents = 0}, {
fd = 18423555, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -76848, events = 32767,
revents = 0}, {fd = 15885700, events = 0, revents = 0}, {fd = 1535107799, events = 0, revents = 0}, {
fd = 1535107799, events = 0, revents = 0}, {fd = 15885700, events = 0, revents = 0}, {fd = -76912,
events = 32767, revents = 0}, {fd = 6196277, events = 0, revents = 0}, {fd = 498440600, events = 0,
revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 498440600,
events = 0, revents = 0}, {fd = -76800, events = 32767, revents = 0}, {fd = 7011386, events = 0,
revents = 0}, {fd = 1535107798, events = 0, revents = 0}, {fd = 517445100, events = 0, revents = 0}}
gfds = 0x7ffffffecfc0
gfds_size = 128
n_gfds = 2
retval = 0
our_fds = 0
max_fds = 6
context_acquired = true
i = 2
nfds = 0
tmo_in_millisec = 384
must_free = 0
need_to_dispatch = true
#21 0x00000000006558c7 in wait_reading_process_output (time_limit=30, nsecs=0, read_kbd=-1, do_display=true,
wait_for_cell=0, wait_proc=0x0, just_wait_proc=0) at process.c:5381
process_skipped = false
channel = 6
nfds = 0
Available = {fds_bits = {32, 0 <repeats 15 times>}}
Writeok = {fds_bits = {0 <repeats 16 times>}}
check_write = true
check_delay = 0
no_avail = false
xerrno = 11
proc = 140737488279696
timeout = {tv_sec = 0, tv_nsec = 0}
end_time = {tv_sec = 1535107828, tv_nsec = 185219700}
timer_delay = {tv_sec = 0, tv_nsec = 498440600}
got_output_end_time = {tv_sec = 1535107828, tv_nsec = 185219700}
wait = TIMEOUT
got_some_output = -1
retry_for_async = false
count = 3
now = {tv_sec = 0, tv_nsec = -1}
#22 0x00000000004208e4 in sit_for (timeout=122, reading=true, display_option=1) at dispnew.c:5793
sec = 30
nsec = 0
do_display = true
#23 0x000000000055a530 in read_char (commandflag=1, map=22898867, prev_event=0, used_mouse_menu=0x7ffffffedcef,
end_time=0x0) at keyboard.c:2717
tem0 = 0
timeout = 30
delay_level = 4
buffer_size = 1
c = 0
jmpcount = 3
local_getcjmp = {{__jmpbuf = {0, -6372207970231418355, 17610037, 49776, 0, 0, -6372207970405481971,
6372208413058105869}, __mask_was_saved = 0, __saved_mask = {__val = {20762944, 13325920, 6142321, 0,
140737488280368, 5561103, 18501520, 13325920, 5698116, 0, 140737488280416, 5561103, 22867715,
140737488280512, 6280261, 0}}}}
save_jump = {{__jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {
0 <repeats 16 times>}}}}
tem = 0
save = 0
previous_echo_area_message = 0
also_record = 0
reread = false
recorded = false
polling_stopped_here = false
orig_kboard = 0x2d89140
#24 0x0000000000566c86 in read_key_sequence (keybuf=0x7ffffffedeb0, bufsize=30, prompt=0, dont_downcase_last=false,
can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9147
interrupted_kboard = 0x2d89140
interrupted_frame = 0x147ac30 <bss_sbrk_buffer+8089552>
key = 4526696
used_mouse_menu = false
echo_local_start = 0
last_real_key_start = 0
keys_local_start = 0
new_binding = 5
count = 3
t = 0
echo_start = 0
keys_start = 0
current_binding = 22898867
first_event = 0
first_unbound = 31
mock_input = 0
fkey = {parent = 17875411, map = 17875411, start = 0, end = 0}
keytran = {parent = 13695635, map = 13695635, start = 0, end = 0}
indec = {parent = 17875539, map = 17875539, start = 0, end = 0}
shift_translated = false
delayed_switch_frame = 0
original_uppercase = 13375696
original_uppercase_position = -1
dummyflag = false
starting_buffer = 0xd12400 <bss_sbrk_buffer+321440>
fake_prefixed_keys = 0
#25 0x000000000055724c in command_loop_1 () at keyboard.c:1368
cmd = 140737488281600
keybuf = {0, 31200, 4294967296, 0, 13142960, 31200, 280, 13357120, 13142960, 0, 140737488281424, 6279655,
4294967298, 140737488281456, 13325920, 0, 0, 140737488281424, 5561103, 0, 140737488281520, 6280261,
14007299, 3, 13325920, 31200, 0, 140737488281504, 5561103, 0}
i = 0
prev_modiff = 0
prev_buffer = 0x0
already_adjusted = false
#26 0x00000000005f8369 in internal_condition_case (bfun=0x556e3b <command_loop_1>, handlers=21072,
hfun=0x556609 <cmd_error>) at eval.c:1332
val = 5561103
c = 0x2ce54a0
#27 0x0000000000556b37 in command_loop_2 (ignore=0) at keyboard.c:1110
val = 0
#28 0x00000000005f7c72 in internal_catch (tag=51408, func=0x556b0a <command_loop_2>, arg=0) at eval.c:1097
val = 5561103
c = 0x2ce5380
#29 0x0000000000556ad5 in command_loop () at keyboard.c:1089
No locals.
#30 0x00000000005561de in recursive_edit_1 () at keyboard.c:695
count = 1
val = 140737488281904
#31 0x000000000055635c in Frecursive_edit () at keyboard.c:766
count = 0
buffer = 0
#32 0x0000000000554036 in main (argc=2, argv=0x7ffffffee378) at emacs.c:1713
stack_bottom_variable = 0x50
do_initial_setlocale = true
dumping = false
skip_args = 0
no_loadup = false
junk = 0x0
dname_arg = 0x0
ch_to_dir = 0x0
original_pwd = 0x0
disable_aslr = false
rlim = {rlim_cur = 8388608, rlim_max = 8388608}
sockfd = -1
module_assertions = false
(gdb)
(gdb) xbacktrace
Undefined command: "xbacktrace". Try "help".
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) quit
(I've done it several times in this directory; that's why emacs was called `emacs-26.1.3'.) Here are the logs from configure and make:
checking for xcrun... no
checking for GNU Make... make
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for putenv... yes
checking for sbrk... yes
checking for fchmod... yes
checking for readlinkat... yes
checking for explicit_bzero... no
checking for faccessat... yes
checking for fcntl... yes
checking for fdopendir... yes
checking for fstatat... yes
checking for fsync... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for lstat... yes
checking for mkostemp... yes
checking for tzset... yes
checking for pipe2... yes
checking for pselect... yes
checking for readlink... yes
checking for strtoimax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for timegm... yes
checking for futimes... yes
checking for futimesat... yes
checking for futimens... yes
checking for utimensat... yes
checking for lutimes... yes
checking for getdtablesize... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether the compiler is clang... no
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking for a BSD-compatible install... /usr/bin/install -c
checking command to symlink files in the same directory... ln -s
checking for install-info... :
checking for gzip... /bin/gzip
checking for 'find' args to delete a file... -delete
checking for setfattr... no
checking for paxctl... no
checking for -znocombreloc... yes
checking whether addresses are sanitized... no
checking for library containing sqrt... -lm
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
checking for soundcard.h... no
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... no
checking for ALSA... no
checking for linux/fs.h... yes
checking for malloc.h... yes
checking for sys/systeminfo.h... no
checking for sys/sysinfo.h... yes
checking for coff.h... no
checking for pty.h... yes
checking for sys/resource.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for utmp.h... yes
checking for util.h... no
checking for sys/prctl.h... yes
checking for sys/socket.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for malloc/malloc.h... no
checking for sys/un.h... yes
checking for dirent.h... yes
checking for execinfo.h... yes
checking for stdio_ext.h... yes
checking for getopt.h... yes
checking for sys/cdefs.h... yes
checking for sys/time.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking for ADDR_NO_RANDOMIZE... yes
checking if Linux sysinfo may be used... yes
checking for term.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... yes
checking for net/if_dl.h... no
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... yes
checking for struct ifreq.ifr_netmask... yes
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... no
checking whether gcc understands -MMD -MF... yes
checking for X... libraries , headers
checking whether malloc is Doug Lea style... no
checking for getpagesize... yes
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... -lpthread
checking for thread support... yes
checking whether X on GNU/Linux needs -b to link... no
checking for Xkb... yes
checking for XrmSetDatabase... yes
checking for XScreenResourceString... yes
checking for XScreenNumberOfScreen... yes
checking X11 version 6... 6 or newer
checking for RSVG... no
checking for IMAGEMAGICK... no
checking for getaddrinfo_a in -lanl... yes
checking for GTK... yes
checking whether GTK compiles... yes
checking whether GTK_TYPE_FILE_SELECTION is declared... no
checking whether GTK_TYPE_HANDLE_BOX is declared... yes
checking for gtk_handle_box_new... yes
checking whether GTK_TYPE_TEAROFF_MENU_ITEM is declared... yes
checking for gtk_tearoff_menu_item_new... yes
checking for gtk_widget_get_window... yes
checking for gtk_widget_set_has_window... yes
checking for gtk_dialog_get_action_area... yes
checking for gtk_widget_get_sensitive... yes
checking for gtk_widget_get_mapped... yes
checking for gtk_adjustment_get_page_size... yes
checking for gtk_orientable_set_orientation... yes
checking for gtk_window_set_has_resize_grip... yes
checking for DBUS... yes
checking for dbus_watch_get_unix_fd... yes
checking for dbus_type_is_valid... yes
checking for dbus_validate_bus_name... yes
checking for dbus_validate_path... yes
checking for dbus_validate_interface... yes
checking for dbus_validate_member... yes
checking for GSETTINGS... yes
checking whether GSettings is in gio... yes
checking for GOBJECT... yes
checking for lgetfilecon in -lselinux... no
checking for LIBSYSTEMD... no
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for inotify_init1... yes
checking for FONTCONFIG... yes
checking for XFT... yes
checking for XRenderQueryExtension in -lXrender... yes
checking for X11/Xft/Xft.h... yes
checking for XftFontOpen in -lXft... yes
checking for FREETYPE... yes
checking for LIBOTF... no
checking X11/Xlib-xcb.h usability... yes
checking X11/Xlib-xcb.h presence... yes
checking for X11/Xlib-xcb.h... yes
checking for xcb_translate_coordinates in -lxcb... yes
checking for XGetXCBConnection in -lX11-xcb... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for XpmReturnAllocPixels preprocessor define... yes
checking for jpeglib 6b or later... -ljpeg
checking for library containing cmsCreateTransform... no
checking for library containing inflateEnd... -lz
checking for dladdr... yes
checking for dlfunc... no
checking for png... yes
checking whether png_longjmp is declared... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking for GifMakeMapObject in -lgif... yes
checking gpm.h usability... no
checking gpm.h presence... no
checking for gpm.h... no
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for SmcOpenConnection in -lSM... yes
checking for XRANDR... yes
checking for XINERAMA... yes
checking for XFIXES... yes
checking for X11/extensions/Xdbe.h... yes
checking for XdbeAllocateBackBufferName in -lXext... yes
checking for LIBXML2... no
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking for accept4... yes
checking for fchdir... yes
checking for gethostname... yes
checking for getrusage... yes
checking for get_current_dir_name... yes
checking for lrand48... yes
checking for random... yes
checking for rint... yes
checking for trunc... yes
checking for select... yes
checking for getpagesize... (cached) yes
checking for setlocale... yes
checking for newlocale... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for shutdown... yes
checking for pthread_sigmask... (cached) yes
checking for strsignal... yes
checking for setitimer... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockname... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for gai_strerror... yes
checking for sync... yes
checking for getpwent... yes
checking for endpwent... yes
checking for getgrent... yes
checking for endgrent... yes
checking for cfmakeraw... yes
checking for cfsetspeed... yes
checking for __executable_start... yes
checking for log2... yes
checking for prctl... yes
checking for aligned_alloc... yes
checking whether aligned_alloc is declared... yes
checking for __builtin_frame_address... yes
checking for __builtin_unwind_init... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for grantpt... yes
checking for getpt... yes
checking for posix_openpt... yes
checking for library containing tputs... -ltinfo
checking for timerfd interface... yes
checking whether signals can be handled on alternate stack... yes
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... yes
checking for socket... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for snprintf... yes
checking whether GLib is linked in... yes
checking for nl_langinfo and CODESET... yes
checking for mbstate_t... yes
checking for signals via characters... yes
checking for _setjmp... yes
checking for sigsetjmp... yes
checking for usable FIONREAD... yes
checking for usable SIGIO... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unsigned long long int... yes
checking whether byte ordering is bigendian... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking whether strtold conforms to C99... yes
checking if environ is properly declared... yes
checking for complete errno.h... yes
checking whether lstat correctly handles trailing slash... yes
checking for mode_t... yes
checking whether fdatasync is declared... yes
checking for st_dm_mode in struct stat... no
checking whether strmode is declared... no
checking for gawk... no
checking for mawk... mawk
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether limits.h has ULLONG_WIDTH etc.... no
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... no
checking whether memrchr is declared... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking whether time_t is signed... yes
checking whether alarm is declared... yes
checking for working mktime... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking whether <sys/select.h> is self-contained... yes
checking for sigset_t... yes
checking for wchar_t... yes
checking whether strtoimax is declared... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether the utimes function works... yes
checking type of array argument to getgroups... gid_t
checking whether getdtablesize is declared... yes
checking for O_CLOEXEC... yes
checking for promoted mode_t type... mode_t
checking sys/acl.h usability... no
checking sys/acl.h presence... no
checking for sys/acl.h... no
checking for alloca as a compiler built-in... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for clock_settime... yes
checking for d_type member in directory struct... yes
checking whether dup2 works... yes
checking for library containing backtrace_symbols_fd... none required
checking for explicit_memset... no
checking whether fcntl handles F_DUPFD correctly... no
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking for library containing fdatasync... none required
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for flexible array member... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking whether fstatat (..., 0) works... yes
checking for getloadavg... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... almost
checking for memrchr... yes
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking whether readlinkat signature is correct... yes
checking for sig2str... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking for socklen_t... yes
checking for ssize_t... yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for working stdalign.h... yes
checking for max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking for stpcpy... yes
checking whether strtoimax works... yes
checking whether symlink handles trailing slash correctly... yes
checking for nlink_t... yes
checking whether localtime_r is declared... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking for timezone_t... no
checking for library containing timer_settime... -lrt
checking for timer_settime... yes
checking for variable-length arrays... yes
checking whether getdtablesize works... yes
checking for gcc option to disable position independent executables... -no-pie
Configured for 'x86_64-pc-linux-gnu'.
Where should the build process find the source code? .
What compiler should emacs be built with? gcc -g
Should Emacs use the GNU version of malloc? no (only before dumping)
Should Emacs use a relocating allocator for buffers? no
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? x11
What toolkit should Emacs use? GTK3
Where do we find X Windows header files? Standard dirs
Where do we find X Windows libraries? Standard dirs
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? yes
Does Emacs use -ljpeg? yes
Does Emacs use -ltiff? yes
Does Emacs use a gif library? yes -lgif
Does Emacs use a png library? yes -lpng16
Does Emacs use -lrsvg-2? no
Does Emacs use cairo? no
Does Emacs use -llcms2? no
Does Emacs use imagemagick (version 6)? no
Does Emacs support sound? yes
Does Emacs use -lgpm? no
Does Emacs use -ldbus? yes
Does Emacs use -lgconf? no
Does Emacs use GSettings? yes
Does Emacs use a file notification library? yes -lglibc (inotify)
Does Emacs use access control lists? no
Does Emacs use -lselinux? no
Does Emacs use -lgnutls? no
Does Emacs use -lxml2? no
Does Emacs use -lfreetype? yes
Does Emacs use -lm17n-flt? no
Does Emacs use -lotf? no
Does Emacs use -lxft? yes
Does Emacs use -lsystemd? no
Does Emacs directly use zlib? yes
Does Emacs have dynamic modules support? yes
Does Emacs use toolkit scroll bars? yes
Does Emacs support Xwidgets (requires gtk3)? no
Does Emacs have threading support in lisp? yes
configure: creating ./config.status
config.status: creating src/emacs-module.h
config.status: creating Makefile
config.status: creating lib/
gnulib.mkconfig.status: creating ./doc/man/emacs.1
config.status: creating lib/Makefile
config.status: creating lib-src/Makefile
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating nextstep/Makefile
config.status: creating nt/Makefile
config.status: creating admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing src/epaths.h commands
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
configure: You might want to install GNU Mailutils
<
https://mailutils.org> and use './configure --with-mailutils'.