#248496 pacman: X Error of failed request

Package:
pacman
Source:
pacman
Description:
Chase Monsters in a Labyrinth
Submitter:
Rakesh 'arky' Ambati
Date:
2019-11-03 14:09:05 UTC
Severity:
normal
#248496#5
Date:
2004-05-11 15:54:21 UTC
From:
To:
If I use the command.
$ pacman
X Error of failed request:  BadName (named color or
font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  27
  Current serial number in output stream:  31

If I use the command.
$pacman grey
X Error of failed request:  BadName (named color or
font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  21
  Current serial number in output stream:  25

#248496#10
Date:
2018-06-02 10:18:22 UTC
From:
To:
severity 248496 grave
thanks

Raising priority, since the game does not run at all and the package
seems completely abandoned.

If I'm right, the package will eventually just be dropped.

#248496#17
Date:
2018-06-02 13:17:38 UTC
From:
To:
Control: severity -1 normal
Control: tags -1 moreinfo

Hello,

the game works for me on amd64 and i386 in Sid. I cannot confirm that
the game is unusable for the majority of users hence I think severity
grave is not justified in this case.

Please note that the package has been orphaned. It simply needs a new
maintainer.

https://bugs.debian.org/869291

Regards,

Markus

#248496#26
Date:
2018-06-03 07:15:45 UTC
From:
To:
It does not work for me, same thing as what the bugreport has, since
over 10 years…
Il giorno sab 2 giu 2018 alle ore 15:17 Markus Koschany
<apo@debian.org> ha scritto:

#248496#31
Date:
2018-06-03 10:14:35 UTC
From:
To:
Am 03.06.2018 um 09:15 schrieb Salvo Tomaselli:

We need more information if we want to tackle the problem.

What Debian are you running? What architecture, desktop environment, X
server and graphics driver do you use? Add everything that might be
interesting to this bug report. Without those information it is very
hard to debug the problem.

Markus

#248496#36
Date:
2018-06-03 11:33:18 UTC
From:
To:
Debian sid, x86_64 up to date. Intel video card, not that it matters.

Il 03 Giu 2018 12:14, "Markus Koschany" <apo@debian.org> ha scritto:

#248496#41
Date:
2018-06-03 11:34:40 UTC
From:
To:
Am 03.06.2018 um 13:33 schrieb Salvo Tomaselli:

It does matter. But with such poor bug reports this issue will never be
fixed for you.

#248496#46
Date:
2018-06-03 11:57:10 UTC
From:
To:
Well it had been open for over 10 years with 0 activity nor request
for more details, you only woke up because I raised priority, but are
not willing to take the package, a package that for me should be
removed.
Il giorno dom 3 giu 2018 alle ore 13:34 Markus Koschany
<apo@debian.org> ha scritto:

#248496#51
Date:
2018-06-03 12:03:38 UTC
From:
To:
Am 03.06.2018 um 13:57 schrieb Salvo Tomaselli:

It has been working for the majority of users for the past ten years,
that's why nobody raised the severity in the past. As long as you don't
provide proper information to debug this issue nobody will be able to
help you. Just removing a package is an extremely poor solution.

#248496#56
Date:
2018-06-04 05:37:51 UTC
From:
To:
It does something bad with the X11 protocol, but I don't know anything
about it so I can't debug it.

I just see from strace a bunch of recvmsg(3, {msg_namelen=0}, 0)
   = -1 EAGAIN (Resource temporarily unavailable) soon after the
socket to Xorg is opened.
Il giorno dom 3 giu 2018 alle ore 14:03 Markus Koschany
<apo@debian.org> ha scritto:

#248496#61
Date:
2019-11-03 14:00:40 UTC
From:
To:
Hi,

I just encountered the same problem.

I'm fairly certain the root cause is that the game assumes some specific
named font is available, and fails when it isn't (i.e. missing dependency).

I looked at it using xtruss
(https://www.chiark.greenend.org.uk/~sgtatham/xtruss/) and it seems to try
to use a font called "8x16":

OpenFont(fid=f#04600003, name="8x16")
ChangeGC(gc=g#04600002, foreground=0x0000FFFF, background=0x00000000, font=f#04600003)
ChangeWindowAttributes(window=w#04600001, event-mask=Exposure)
ConfigureWindow(window=w#04600001, stack-mode=Above)
MapWindow(window=w#04600001)
 ... OpenFont(fid=f#04600003, name="8x16") = BadName
 ... ChangeGC(gc=g#04600002, foreground=0x0000FFFF, background=0x00000000, font=f#04600003) = BadFont(font=f#00000000)
--- Expose(window=w#04600001, x=0, y=0, width=1, height=1, count=0)
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  27
  Current serial number in output stream:  31

I have no idea how to provide the game with the required font; the
xfonts-base package, which contains /usr/share/fonts/X11/misc/8x16.pcf.gz,
is installed, fwiw.

HTH.

Andras