Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184583 - libXfont-1.3.0: X fails to start with "could not open default font 'fixed'"
Summary: libXfont-1.3.0: X fails to start with "could not open default font 'fixed'"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-08 09:49 UTC by cmartin
Modified: 2007-10-03 16:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cmartin 2007-07-08 09:49:19 UTC
libXfont-1.2.2 works OK.

With libXfont-1.2.7-r1 installed, X fails to start with

Fatal server error:
could not open default font 'fixed'

From Xorg.0.log.old:
...
(WW) The directory "/usr/share/fonts/monafont/" does not exist.
        Entry deleted from font path.
(**) FontPath set to:
        /usr/share/fonts/corefonts/,
        /usr/share/fonts/dejavu/,
        /usr/share/fonts/ttf-bitstream-vera/,
        /usr/share/fonts/aquapfont/,
        /usr/share/fonts/kochi-substitute/,
        /usr/share/fonts/mikachan-font/,
        /usr/share/fonts/cronyx/100dpi/,
        /usr/share/fonts/cronyx/75dpi/,
        /usr/share/fonts/cyrillic/,
        /usr/share/fonts/freefonts/,
        /usr/share/fonts/intlfonts/,
        /usr/share/fonts/sharefonts/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/misc/,
        /usr/share/fonts/75dpi/,
        /usr/share/fonts/100dpi/
...

fonts.alias in /usr/share/fonts/misc/ exists and has the "fixed" alias:
! $Xorg: fonts.alias,v 1.3 2000/08/21 16:42:31 coskrey Exp $
fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
...

fonts.dir in /usr/share/fonts/misc/ has:
$ grep 'misc-fixed-medium-r-semicondensed--13' /usr/share/fonts/misc/fonts.dir
6x13-ISO8859-1.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
6x13.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1

The font exists:
$ ls -l /usr/share/fonts/misc/6x13-ISO8859-1.pcf.gz
8 -rw-r--r-- 1 root root 4637 2007-04-09 10:02 /usr/share/fonts/misc/6x13-ISO8859-1.pcf.gz

and appears to have reasonable content:
$ cp -pv /usr/share/fonts/misc/6x13-ISO8859-1.pcf.gz /tmp
`/usr/share/fonts/misc/6x13-ISO8859-1.pcf.gz' -> `/tmp/6x13-ISO8859-1.pcf.gz'
$ cd /tmp
$ gzip -dv 6x13-ISO8859-1.pcf.gz 
6x13-ISO8859-1.pcf.gz:   76.4% -- replaced with 6x13-ISO8859-1.pcf
$ file 6x13-ISO8859-1.pcf 
6x13-ISO8859-1.pcf: X11 Portable Compiled Font data
$ less 6x13-ISO8859-1.pcf
...
FONTNAME_REGISTRY^@^@FOUNDRY^@
Misc^@FAMILY_NAME^@Fixed^@WEIGHT_NAME^@Medium^@SLANT^@R^@SETWIDTH_NAME^@SemiCond
ensed^@ADD_STYLE_NAME^@^@PIXEL_SIZE^@POINT_SIZE^@RESOLUTION_X^@RESOLUTION_Y^@SPA
CING^@C^@AVERAGE_WIDTH^@CHARSET_REGISTRY^@ISO8859^@CHARSET_ENCODING^@1^@COPYRIGH
T^@Public domain font.  Share and enjoy.^@CAP_HEIGHT^@X_HEIGHT^@FONT^@-Misc-Fixe
d-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1^@WEIGHT^@RESOLUTION^@QUAD_
WIDTH

x11-base/xorg-server-1.2.0-r3 is installed and requires
>=x11-libs/libXfont-1.2.5 so it has to be built with a later version
than 1.2.2 and 1.2.2 reinstalled afterwards.

emerge --info:
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r3 i686)
=================================================================
System uname: 2.6.21-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 08 Jul 2007 06:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.virginmedia.com/sites/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB.UTF-8"
LINGUAS="en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts audiofile berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox flac gdbm gpm gstreamer gtk hal iconv isdnlog jpeg libg++ mad midi mikmod mp3 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xft xml xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2007-08-02 01:10:26 UTC
Is this still an issue with 1.3.0? Please reopen when you reply.
Comment 2 cmartin 2007-08-02 09:19:39 UTC
(In reply to comment #1)
> Is this still an issue with 1.3.0? Please reopen when you reply.
> 

Thanks for your reply — I should have made it clear that I had tried 1.3.0 and it failed with the same error.

I've tried it again, just to be sure, and it still fails

Fatal server error:
could not open default font 'fixed'
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.

Here is the current emerge --info, it has changed a bit: new portage and kernel but that seems to be all. All the other info is the same.

Portage 2.1.2.11 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 02 Aug 2007 06:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.virginmedia.com/sites/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB.UTF-8"
LINGUAS="en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts audiofile berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox flac gdbm gpm gstreamer gtk hal iconv isdnlog jpeg libg++ mad midi mikmod mp3 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xft xml xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 cmartin 2007-10-03 16:13:47 UTC
At the beginning of May I updated all the machines to 2007.0 "in place", changed the profile from 2006.1 to 2007.0 and ran emerge -uDavn.

A week ago one of the machines started failing to boot with "agetty respawning too fast" or failing in some init.d script with an I/O error.

I reinstalled 2007.0 from scratch on it and it seems OK now.

I thought the libXfont bug might be due to the update in place done on this machine so I have reinstalled 2007.0 from scratch.

It is now running with xorg-server-1.3.0.0-r1 together with libXfont-1.3.0 with no problems.

I shan't be upgrading in place again, I think.