GNU bug report logs - #24279
xterm aborts upon ctrl+click

Previous Next

Package: guix;

Reported by: John Darrington <john <at> darrington.wattle.id.au>

Date: Sun, 21 Aug 2016 13:19:01 UTC

Severity: minor

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24279 in the body.
You can then email your comments to 24279 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Sun, 21 Aug 2016 13:19:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Darrington <john <at> darrington.wattle.id.au>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 21 Aug 2016 13:19:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John Darrington <john <at> darrington.wattle.id.au>
To: bug-guix <at> gnu.org
Subject: Bug in xterm and/or fontconfig
Date: Sun, 21 Aug 2016 15:18:06 +0200
[Message part 1 (text/plain, inline)]
In GuixSD:

guix package -i xterm strace
strace xterm

xterm starts as it should,  however observe many failed calls similar to:
 open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)


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



-- 
Avoid eavesdropping.  Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Mon, 22 Aug 2016 08:37:01 GMT) Full text and rfc822 format available.

Message #8 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: Alex Kost <alezost <at> gmail.com>
To: John Darrington <john <at> darrington.wattle.id.au>
Cc: 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Mon, 22 Aug 2016 11:36:26 +0300
John Darrington (2016-08-21 16:18 +0300) wrote:

> In GuixSD:
>
> guix package -i xterm strace
> strace xterm
>
> xterm starts as it should,  however observe many failed calls similar to:
>  open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>
>
> 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

Pressing Ctrl with any mouse button displays menus for me without any
error.  Did you install any font in your profile?  Try for example,
"guix package -i font-dejavu".  Perhaps you will also need to run
"fc-cache -f".

To make Xterm use a font I want, I have these lines in my ~/XTerm (it
can also be placed in ~/.Xresources I think):

XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 12

-- 
Alex




Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Mon, 22 Aug 2016 13:42:02 GMT) Full text and rfc822 format available.

Message #11 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: John Darrington <john <at> darrington.wattle.id.au>
To: Alex Kost <alezost <at> gmail.com>
Cc: John Darrington <john <at> darrington.wattle.id.au>, 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Mon, 22 Aug 2016 15:41:52 +0200
[Message part 1 (text/plain, inline)]
On Mon, Aug 22, 2016 at 11:36:26AM +0300, Alex Kost wrote:
     John Darrington (2016-08-21 16:18 +0300) wrote:
     
     > In GuixSD:
     >
     > guix package -i xterm strace
     > strace xterm
     >
     > xterm starts as it should,  however observe many failed calls similar to:
     >  open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
     >
     >
     > 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
     
     Pressing Ctrl with any mouse button displays menus for me without any
     error.  Did you install any font in your profile?  Try for example,
     "guix package -i font-dejavu".  Perhaps you will also need to run
     "fc-cache -f".

So that means that font-dejavu should be an input of xterm.  Shall I make that
change?


     To make Xterm use a font I want, I have these lines in my ~/XTerm (it
     can also be placed in ~/.Xresources I think):
     
     XTerm*faceName: DejaVu Sans Mono
     XTerm*faceSize: 12
     

Presumably there is a default font which should work without any resource explicitly set?

J'

-- 
Avoid eavesdropping.  Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Mon, 22 Aug 2016 18:41:02 GMT) Full text and rfc822 format available.

Message #14 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: Alex Kost <alezost <at> gmail.com>
To: John Darrington <john <at> darrington.wattle.id.au>
Cc: 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Mon, 22 Aug 2016 21:39:59 +0300
John Darrington (2016-08-22 16:41 +0300) wrote:

> On Mon, Aug 22, 2016 at 11:36:26AM +0300, Alex Kost wrote:
>      John Darrington (2016-08-21 16:18 +0300) wrote:
>
>      > In GuixSD:
>      >
>      > guix package -i xterm strace
>      > strace xterm
>      >
>      > xterm starts as it should,  however observe many failed calls similar to:
>      >  open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6",
>      > O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>      >
>      >
>      > 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
>
>      Pressing Ctrl with any mouse button displays menus for me without any
>      error.  Did you install any font in your profile?  Try for example,
>      "guix package -i font-dejavu".  Perhaps you will also need to run
>      "fc-cache -f".
>
> So that means that font-dejavu should be an input of xterm.  Shall I make that
> change?

I have no idea :-) I don't know why you get that error and how to fix
it, I just made a guess.

--
Alex




Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Sun, 28 Aug 2016 14:46:01 GMT) Full text and rfc822 format available.

Message #17 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Alex Kost <alezost <at> gmail.com>
Cc: John Darrington <john <at> darrington.wattle.id.au>, 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Sun, 28 Aug 2016 16:45:39 +0200
Alex Kost <alezost <at> gmail.com> 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?

‘strace xterm’ suggests that xterm queries Xft, and eventually bails
out:

--8<---------------cut here---------------start------------->8---
writev(3, [{"-\1\f\0+\0 \1$\0\0\0-*-*-*-R-*-*-*-120-*"..., 56}, {NULL, 0}, {"", 0}], 3) = 56
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\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=0, msg_flags=0}, 0) = 64
open("/gnu/store/2fxgv78y9ngm31s10cb12pbjxwhdkvlb-libxt-1.1.5/share/X11/XtErrorDB", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Warning: Unable to load any usab"..., 48Warning: Unable to load any usable ISO8859 font
) = 48
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"1\1\v\0\1\0$\0", 8}, {"-*-*-*-R-*-*-*-120-*-*-*-*-ISO88"..., 36}, {"", 0}], 3) = 44
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\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=0, msg_flags=0}, 0) = 92
recvmsg(3, 0x7ffeea61d370, 0)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"1\1\v\0\1\0$\0", 8}, {"-*-*-*-R-*-*-*-120-*-*-*-*-ISO88"..., 36}, {"", 0}], 3) = 44
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\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=0, msg_flags=0}, 0) = 92
recvmsg(3, 0x7ffeea61d310, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffeea61d310, 0)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"-\1\22\0,\0 \0019\0\0\0-adobe-courier-bold-"..., 80}, {NULL, 0}, {"", 0}], 3) = 80
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\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_controllen=0, msg_flags=0}, 0) = 3324
recvmsg(3, 0x7ffeea61d4b0, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffeea61d4b0, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffeea61d4b0, 0)           = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"-\1\22\0-\0 \0019\0\0\0-adobe-courier-bold-"..., 80}, {NULL, 0}, {"", 0}], 3) = 80
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\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_controllen=0, msg_flags=0}, 0) = 3324
recvmsg(3, 0x7ffeea61d490, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffeea61d490, 0)           = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffeea61d490, 0)           = -1 EAGAIN (Resource temporarily unavailable)
write(2, "Error: Aborting: no font found\n\n", 32Error: Aborting: no font found
--8<---------------cut here---------------end--------------->8---

Strangely, “guix environment --ad-hoc xlsfonts -- xlsfonts” does work
and lists many fonts.

Thoughts?

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Mon, 29 Aug 2016 09:21:01 GMT) Full text and rfc822 format available.

Message #20 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: Alex Kost <alezost <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: John Darrington <john <at> darrington.wattle.id.au>, 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Mon, 29 Aug 2016 12:20:45 +0300
Ludovic Courtès (2016-08-28 17:45 +0300) wrote:

> Alex Kost <alezost <at> gmail.com> 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?

I don't see how it could be related.  That commit didn't remove
anything, it just added "share/fonts/truetype/fonts.{dir/scale}" files
to guix profiles.

[...]
> Strangely, “guix environment --ad-hoc xlsfonts -- xlsfonts” does work
> and lists many fonts.
>
> Thoughts?

Sorry, I have no idea, and I cannot reproduce this bug.

-- 
Alex




Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Thu, 01 Sep 2016 21:04:02 GMT) Full text and rfc822 format available.

Message #23 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Alex Kost <alezost <at> gmail.com>
Cc: John Darrington <john <at> darrington.wattle.id.au>, 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Thu, 01 Sep 2016 17:03:33 -0400
Alex Kost <alezost <at> gmail.com> writes:

> John Darrington (2016-08-21 16:18 +0300) wrote:
>
>> In GuixSD:
>>
>> guix package -i xterm strace
>> strace xterm
>>
>> xterm starts as it should,  however observe many failed calls similar to:
>>  open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6",
>> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>>
>>
>> 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
>
> Pressing Ctrl with any mouse button displays menus for me without any
> error.

Fwiw, I see the same problem with 'xterm' on both of my GuixSD laptops,
on mips64el and i686.  The i686 laptop is running a full GNOME desktop
environment, and the mips64el laptop runs a somewhat minified Xfce
environment.

I remember that 'xterm' worked for me in the past, and specifically that
the pop-up menus raised by Ctrl-clicks worked, on both of these
machines.  However, at some point in the distant past I switched to
gnome-terminal, so I'm not sure when 'xterm' became broken.

       Mark




Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Fri, 02 Sep 2016 09:04:02 GMT) Full text and rfc822 format available.

Message #26 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: Alex Kost <alezost <at> gmail.com>
To: Mark H Weaver <mhw <at> netris.org>
Cc: John Darrington <john <at> darrington.wattle.id.au>, 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Fri, 02 Sep 2016 12:02:55 +0300
Mark H Weaver (2016-09-02 00:03 +0300) wrote:

> Alex Kost <alezost <at> gmail.com> writes:
>
>> 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
>>
>> Pressing Ctrl with any mouse button displays menus for me without any
>> error.
>
> Fwiw, I see the same problem with 'xterm' on both of my GuixSD laptops,
> on mips64el and i686.  The i686 laptop is running a full GNOME desktop
> environment, and the mips64el laptop runs a somewhat minified Xfce
> environment.

OK, apparently it's broken by default since you all have this problem.
I think I just have some settings on my system that make it work
properly.  For example, I start X server with all font paths that I
need (I don't use SLIM), not sure if it relates.

"xset -q" gives me:

...
Font Path:
  <profile>truetype,<profile>X11/misc,<profile>X11/100dpi,<profile>X11/75dpi,built-ins

where <profile> is my guix profile with fonts.

Also I don't use 'font-alias' package, instead I use a "pure"
modification of it as described at
<https://lists.gnu.org/archive/html/bug-guix/2015-12/msg00022.html>.

But, well, I have no idea why xterm menus work for me :-)

-- 
Alex




Changed bug title to 'xterm aborts upon ctrl+click' from 'Bug in xterm and/or fontconfig' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 01 Nov 2016 21:15:01 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 01 Nov 2016 21:15:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Thu, 04 May 2017 08:43:01 GMT) Full text and rfc822 format available.

Message #33 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 24279 <at> debbugs.gnu.org
Cc: mhw <at> netris.org, alezost <at> gmail.com, john <at> darrington.wattle.id.au
Subject: bug#24279: XTerm menu doesn't work (no font found error)
Date: Wed, 03 May 2017 23:54:58 -0700
I can reproduce this on GuixSD (foreign distros are OK).

By going to tty0 (Ctrl-Alt-F1) we can see the following text which gets
output at every crash:

--8<---------------cut here---------------start------------->8---
Warning: Unable to load any usable ISO8059 font
ERROR: Aborting: no font found
--8<---------------cut here---------------end--------------->8---

Apparently there is a patch which might fix that problem, available
here: https://lists.gnu.org/archive/html/guix-devel/2016-12/msg00165.html

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Tue, 28 Nov 2017 07:15:02 GMT) Full text and rfc822 format available.

Message #36 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: John Darrington <john <at> darrington.wattle.id.au>
Cc: 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Tue, 28 Nov 2017 10:14:34 +0300
[Message part 1 (text/plain, inline)]
Hello John,

John Darrington <john <at> darrington.wattle.id.au> writes:

> In GuixSD:
>
> guix package -i xterm strace
> strace xterm
>
> xterm starts as it should,  however observe many failed calls similar to:
>  open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>
>
> 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

I solved this issue by:

  - Install a font-misc-misc as Mike Hunt from Gentoo forum suggests¹:

    $ guix package -i font-misc-misc

  - From "(guix) Application Setup"²:

    $ xset +fp ~/.guix-profile/share/fonts/X11/misc


I wonder could we do this automatically after installing XTerm?


¹ https://forums.gentoo.org/viewtopic-p-6158302.html#6158302
² https://www.gnu.org/software/guix/manual/guix.html#X11-Fonts


Oleg.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Tue, 28 Nov 2017 12:43:02 GMT) Full text and rfc822 format available.

Message #39 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> n0.is>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: XTerm menu doesn't work (no font found error)
Date: Tue, 28 Nov 2017 12:41:43 +0000
[Message part 1 (text/plain, inline)]
Maxim Cournoyer transcribed 0.5K bytes:
> I can reproduce this on GuixSD (foreign distros are OK).
> 
> By going to tty0 (Ctrl-Alt-F1) we can see the following text which gets
> output at every crash:
> 
> --8<---------------cut here---------------start------------->8---
> Warning: Unable to load any usable ISO8059 font
> ERROR: Aborting: no font found
> --8<---------------cut here---------------end--------------->8---
> 
> Apparently there is a patch which might fix that problem, available
> here: https://lists.gnu.org/archive/html/guix-devel/2016-12/msg00165.html
> 
> Maxim

Good catch, it was just forgotten. Would you like to work on the suggestions
Ludovic gave John? It's unlikely that John will work on them after John
more-or-less left Guix.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Wed, 29 Nov 2017 10:02:02 GMT) Full text and rfc822 format available.

Message #42 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: Alex Kost <alezost <at> gmail.com>
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: John Darrington <john <at> darrington.wattle.id.au>, 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Wed, 29 Nov 2017 13:01:00 +0300
Oleg Pykhalov (2017-11-28 10:14 +0300) wrote:

> Hello John,
>
> John Darrington <john <at> darrington.wattle.id.au> writes:
>
>> In GuixSD:
>>
>> guix package -i xterm strace
>> strace xterm
>>
>> xterm starts as it should,  however observe many failed calls similar to:
>>  open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>>
>>
>> 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
>
> I solved this issue by:
>
>   - Install a font-misc-misc as Mike Hunt from Gentoo forum suggests¹:
>
>     $ guix package -i font-misc-misc
>
>   - From "(guix) Application Setup"²:
>
>     $ xset +fp ~/.guix-profile/share/fonts/X11/misc

Just to mention: I have font-misc-misc and some other fonts in my
profile with the Xorg font path set accordingly.  Apparently, that's why
I didn't experience this bug :-)

-- 
Alex




Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Wed, 29 Nov 2017 12:57:02 GMT) Full text and rfc822 format available.

Message #45 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: ng0 <ng0 <at> n0.is>
Cc: 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: XTerm menu doesn't work (no font found error)
Date: Wed, 29 Nov 2017 07:56:48 -0500
Hi ng0,

ng0 <ng0 <at> n0.is> writes:

> Maxim Cournoyer transcribed 0.5K bytes:
>> I can reproduce this on GuixSD (foreign distros are OK).
>> 
>> By going to tty0 (Ctrl-Alt-F1) we can see the following text which gets
>> output at every crash:
>> 
>> --8<---------------cut here---------------start------------->8---
>> Warning: Unable to load any usable ISO8059 font
>> ERROR: Aborting: no font found
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Apparently there is a patch which might fix that problem, available
>> here: https://lists.gnu.org/archive/html/guix-devel/2016-12/msg00165.html
>> 
>> Maxim
>
> Good catch, it was just forgotten. Would you like to work on the suggestions
> Ludovic gave John? It's unlikely that John will work on them after John
> more-or-less left Guix.

Yes, it's on my TODO! Thanks for the reminder :)

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Thu, 30 Nov 2017 09:43:01 GMT) Full text and rfc822 format available.

Message #48 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: John Darrington <john <at> darrington.wattle.id.au>, 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Thu, 30 Nov 2017 10:42:36 +0100
[Message part 1 (text/plain, inline)]
Hi Oleg,

Oleg Pykhalov <go.wigust <at> gmail.com> skribis:

> John Darrington <john <at> darrington.wattle.id.au> writes:
>
>> In GuixSD:
>>
>> guix package -i xterm strace
>> strace xterm
>>
>> xterm starts as it should,  however observe many failed calls similar to:
>>  open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>>
>>
>> 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
>
> I solved this issue by:
>
>   - Install a font-misc-misc as Mike Hunt from Gentoo forum suggests¹:
>
>     $ guix package -i font-misc-misc
>
>   - From "(guix) Application Setup"²:
>
>     $ xset +fp ~/.guix-profile/share/fonts/X11/misc

Oh, good to know!

We can also fix this once and for all with this patch:

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 0da3397da..8f285b29a 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -113,6 +113,8 @@
         (file-append font-alias "/share/fonts/X11/100dpi")
         (file-append font-alias "/share/fonts/X11/misc")
         (file-append font-alias "/share/fonts/X11/cyrillic")
+        (file-append font-misc-misc               ;default fonts for xterm
+                     "/share/fonts/X11/misc")
         (file-append font-adobe75dpi "/share/fonts/X11/75dpi")))
 
 (define* (xorg-configuration-file #:key
[Message part 3 (text/plain, inline)]
That adds 4.1 MiB, but it saves user headaches, so I think it’s worth it.

I’ll go ahead and push that if there are no objections.

Thanks,
Ludo’.

Information forwarded to bug-guix <at> gnu.org:
bug#24279; Package guix. (Fri, 01 Dec 2017 02:11:02 GMT) Full text and rfc822 format available.

Message #51 received at 24279 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: Oleg Pykhalov <go.wigust <at> gmail.com>,
 John Darrington <john <at> darrington.wattle.id.au>, 24279 <at> debbugs.gnu.org
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Thu, 30 Nov 2017 21:10:47 -0500
Hello,

ludo <at> gnu.org (Ludovic Courtès) writes:

[...]

> We can also fix this once and for all with this patch:
>
> diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
> index 0da3397da..8f285b29a 100644
> --- a/gnu/services/xorg.scm
> +++ b/gnu/services/xorg.scm
> @@ -113,6 +113,8 @@
>          (file-append font-alias "/share/fonts/X11/100dpi")
>          (file-append font-alias "/share/fonts/X11/misc")
>          (file-append font-alias "/share/fonts/X11/cyrillic")
> +        (file-append font-misc-misc               ;default fonts for xterm
> +                     "/share/fonts/X11/misc")
>          (file-append font-adobe75dpi "/share/fonts/X11/75dpi")))
>  
>  (define* (xorg-configuration-file #:key
>
>
> That adds 4.1 MiB, but it saves user headaches, so I think it’s worth it.
>
> I’ll go ahead and push that if there are no objections.

And another bug down! :) Thanks for fixing it; LGTM!

Maxim




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Fri, 01 Dec 2017 15:02:02 GMT) Full text and rfc822 format available.

Notification sent to John Darrington <john <at> darrington.wattle.id.au>:
bug acknowledged by developer. (Fri, 01 Dec 2017 15:02:02 GMT) Full text and rfc822 format available.

Message #56 received at 24279-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 24279-done <at> debbugs.gnu.org, John Darrington <john <at> darrington.wattle.id.au>,
 Oleg Pykhalov <go.wigust <at> gmail.com>
Subject: Re: bug#24279: Bug in xterm and/or fontconfig
Date: Fri, 01 Dec 2017 16:01:55 +0100
Hello,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:

> ludo <at> gnu.org (Ludovic Courtès) writes:
>
> [...]
>
>> We can also fix this once and for all with this patch:
>>
>> diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
>> index 0da3397da..8f285b29a 100644
>> --- a/gnu/services/xorg.scm
>> +++ b/gnu/services/xorg.scm
>> @@ -113,6 +113,8 @@
>>          (file-append font-alias "/share/fonts/X11/100dpi")
>>          (file-append font-alias "/share/fonts/X11/misc")
>>          (file-append font-alias "/share/fonts/X11/cyrillic")
>> +        (file-append font-misc-misc               ;default fonts for xterm
>> +                     "/share/fonts/X11/misc")
>>          (file-append font-adobe75dpi "/share/fonts/X11/75dpi")))
>>  
>>  (define* (xorg-configuration-file #:key
>>
>>
>> That adds 4.1 MiB, but it saves user headaches, so I think it’s worth it.
>>
>> I’ll go ahead and push that if there are no objections.
>
> And another bug down! :) Thanks for fixing it; LGTM!

Awesome, I went ahead and pushed as
4afc903a8c1b9cb19c0341b5cd2ea80a34974f25.

Thanks everyone!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 Dec 2017 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.