From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24279: Bug in xterm and/or fontconfig Date: Sun, 28 Aug 2016 16:45:39 +0200 Message-ID: <87wpj10x64.fsf@gnu.org> References: <20160821131806.GA7072@jocasta.intra> <877fb9ci9h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1be1LX-0004Ql-Ah for bug-guix@gnu.org; Sun, 28 Aug 2016 10:46:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1be1LW-0000Dk-7I for bug-guix@gnu.org; Sun, 28 Aug 2016 10:46:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1be1LW-0000Dg-3n for bug-guix@gnu.org; Sun, 28 Aug 2016 10:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1be1LV-0005Rl-Un for bug-guix@gnu.org; Sun, 28 Aug 2016 10:46:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877fb9ci9h.fsf@gmail.com> (Alex Kost's message of "Mon, 22 Aug 2016 11:36:26 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Alex Kost Cc: John Darrington , 24279@debbugs.gnu.org Alex Kost skribis: > John Darrington (2016-08-21 16:18 +0300) wrote: [...] >> Now in the xterm, hold down Ctrl and press any mouse button. >> The xterm aborts with the following messages: >> Warning: Unable to load any usable ISO8859 font >> Error: Aborting: no font found Same here. > Pressing Ctrl with any mouse button displays menus for me without any > error. Did you install any font in your profile? Xterm uses server-side font rendering, so this cannot be a Fontconfig issue. Could it be related to 9eb5a449eed7297fdc2e6f3e77c2f625b07fddd1? =E2=80=98strace xterm=E2=80=99 suggests that xterm queries Xft, and eventua= lly bails out: --8<---------------cut here---------------start------------->8--- writev(3, [{"-\1\f\0+\0 \1$\0\0\0-*-*-*-R-*-*-*-120-*"..., 56}, {NULL, 0}, = {"", 0}], 3) =3D 56 poll([{fd=3D3, events=3DPOLLIN}], 1, 4294967295) =3D 1 ([{fd=3D3, revents= =3DPOLLIN}]) recvmsg(3, {msg_name(0)=3DNULL, msg_iov(1)=3D[{"\0\17\364\1+\0 \1\0\0-\0\0\= 0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=3D0, msg_= flags=3D0}, 0) =3D 64 open("/gnu/store/2fxgv78y9ngm31s10cb12pbjxwhdkvlb-libxt-1.1.5/share/X11/XtE= rrorDB", O_RDONLY) =3D -1 ENOENT (No such file or directory) write(2, "Warning: Unable to load any usab"..., 48Warning: Unable to load a= ny usable ISO8859 font ) =3D 48 poll([{fd=3D3, events=3DPOLLIN|POLLOUT}], 1, 4294967295) =3D 1 ([{fd=3D3, r= events=3DPOLLOUT}]) writev(3, [{"1\1\v\0\1\0$\0", 8}, {"-*-*-*-R-*-*-*-120-*-*-*-*-ISO88"..., 3= 6}, {"", 0}], 3) =3D 44 poll([{fd=3D3, events=3DPOLLIN}], 1, 4294967295) =3D 1 ([{fd=3D3, revents= =3DPOLLIN}]) recvmsg(3, {msg_name(0)=3DNULL, msg_iov(1)=3D[{"\1\0\366\1\17\0\0\0\1\0\0\0= \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=3D0, m= sg_flags=3D0}, 0) =3D 92 recvmsg(3, 0x7ffeea61d370, 0) =3D -1 EAGAIN (Resource temporarily= unavailable) poll([{fd=3D3, events=3DPOLLIN|POLLOUT}], 1, 4294967295) =3D 1 ([{fd=3D3, r= events=3DPOLLOUT}]) writev(3, [{"1\1\v\0\1\0$\0", 8}, {"-*-*-*-R-*-*-*-120-*-*-*-*-ISO88"..., 3= 6}, {"", 0}], 3) =3D 44 poll([{fd=3D3, events=3DPOLLIN}], 1, 4294967295) =3D 1 ([{fd=3D3, revents= =3DPOLLIN}]) recvmsg(3, {msg_name(0)=3DNULL, msg_iov(1)=3D[{"\1\0\367\1\17\0\0\0\1\0\0\0= \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=3D0, m= sg_flags=3D0}, 0) =3D 92 recvmsg(3, 0x7ffeea61d310, 0) =3D -1 EAGAIN (Resource temporarily= unavailable) recvmsg(3, 0x7ffeea61d310, 0) =3D -1 EAGAIN (Resource temporarily= unavailable) poll([{fd=3D3, events=3DPOLLIN|POLLOUT}], 1, 4294967295) =3D 1 ([{fd=3D3, r= events=3DPOLLOUT}]) writev(3, [{"-\1\22\0,\0 \0019\0\0\0-adobe-courier-bold-"..., 80}, {NULL, 0= }, {"", 0}], 3) =3D 80 poll([{fd=3D3, events=3DPOLLIN}], 1, 4294967295) =3D 1 ([{fd=3D3, revents= =3DPOLLIN}]) recvmsg(3, {msg_name(0)=3DNULL, msg_iov(1)=3D[{"\1\0\371\0017\3\0\0\0\0\1\0= \7\0\377\377\371\377\0\0\0\0\0\0\3\0\10\0\7\0\v\0"..., 4096}], msg_controll= en=3D0, msg_flags=3D0}, 0) =3D 3324 recvmsg(3, 0x7ffeea61d4b0, 0) =3D -1 EAGAIN (Resource temporarily= unavailable) recvmsg(3, 0x7ffeea61d4b0, 0) =3D -1 EAGAIN (Resource temporarily= unavailable) recvmsg(3, 0x7ffeea61d4b0, 0) =3D -1 EAGAIN (Resource temporarily= unavailable) poll([{fd=3D3, events=3DPOLLIN|POLLOUT}], 1, 4294967295) =3D 1 ([{fd=3D3, r= events=3DPOLLOUT}]) writev(3, [{"-\1\22\0-\0 \0019\0\0\0-adobe-courier-bold-"..., 80}, {NULL, 0= }, {"", 0}], 3) =3D 80 poll([{fd=3D3, events=3DPOLLIN}], 1, 4294967295) =3D 1 ([{fd=3D3, revents= =3DPOLLIN}]) recvmsg(3, {msg_name(0)=3DNULL, msg_iov(1)=3D[{"\1\0\373\0017\3\0\0\0\0\1\0= \7\0\377\377\371\377\0\0\0\0\0\0\3\0\10\0\7\0\v\0"..., 4096}], msg_controll= en=3D0, msg_flags=3D0}, 0) =3D 3324 recvmsg(3, 0x7ffeea61d490, 0) =3D -1 EAGAIN (Resource temporarily= unavailable) recvmsg(3, 0x7ffeea61d490, 0) =3D -1 EAGAIN (Resource temporarily= unavailable) recvmsg(3, 0x7ffeea61d490, 0) =3D -1 EAGAIN (Resource temporarily= unavailable) write(2, "Error: Aborting: no font found\n\n", 32Error: Aborting: no font f= ound --8<---------------cut here---------------end--------------->8--- Strangely, =E2=80=9Cguix environment --ad-hoc xlsfonts -- xlsfonts=E2=80=9D= does work and lists many fonts. Thoughts? Ludo=E2=80=99.