Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224953 - compiling media-fonts/font-misc-misc with USE=-nls causes X to not start
Summary: compiling media-fonts/font-misc-misc with USE=-nls causes X to not start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-05 05:55 UTC by zombie83p
Modified: 2009-05-25 22:49 UTC (History)
0 users

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 zombie83p 2008-06-05 05:55:14 UTC
After recompiling media-fonts/font-misc-misc without the "nls" USE flag, Xorg will no longer start, claiming not to be able to find the default font "fixed".

tail of /var/log/Xorg.0.log:
(II) XINPUT: Adding extended input device "Generic PS/2 Wheel Mouse" (type: MOUSE)
(II) evaluating device (Generic 104-key US Keyboard)
(II) XINPUT: Adding extended input device "Generic 104-key US Keyboard" (type: KEYBOARD)
(II) Generic PS/2 Wheel Mouse: ps2EnableDataReporting: succeeded
Could not init font path element /usr/share/fonts/TTF/, removing from list!
Could not init font path element /usr/share/fonts/OTF, removing from list!

Fatal server error:
could not open default font 'fixed'
(II) AIGLX: Suspending AIGLX clients for VT switch



Reproducible: Always

Steps to Reproduce:
1. disable the "nls" flag
2. compile media-fonts/font-misc-misc
3. Xorg fails to start

Actual Results:  
Xorg does not start

Expected Results:  
Xorg does start

Portage info:
Portage 2.1.5.3 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: 2.6.25-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Wed, 04 Jun 2008 06:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo http://prometheus.cs.wmich.edu/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ "
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1,--as-needed,--hash-style=gnu -s"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amr amrnb amrwb bash-completion berkdb bidi branding bzip2 cairo cdda cddb cdr cjk cli cracklib crypt cups curl dbus dri dts dv dvd dvdr dvdread eds emboss encode evo exif expat fam fbcon ffmpeg firefox flac fontconfig fortran gdbm geoip gif glut gmp gnutls gpm hal iconv isdnlog ithreads jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility ladspa lcms libcaca live logrotate lzo mad matroska midi mikmod mmx mmxext mng mp2 mp3 mp4 mpeg mudflap musepack musicbrainz ncurses nptl nptlonly offensive ogg opengl openmp pam pch pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection rtsp samba session shorten shout smp sndfile socks5 speex spell spl sse sse2 ssl svg taglib tcpd theora threads threadsafe tiff truetype twolame unicode vorbis wavpack win32codecs x264 x86 xcomposite xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="radeon fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

xorg.conf:
Section "ServerLayout"
        Identifier     "X11"
        Screen         "Screen 1" 0 0
        InputDevice    "Generic 104-key US Keyboard"
        InputDevice    "Generic PS/2 Wheel Mouse" "CorePointer"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/cyrillic"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/ttf-bitstream-vera"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        SubSection "extmod"
                Option      "omit xfree86-dga"
        EndSubSection
        Load  "type1"
        Load  "freetype"
EndSection

Section "ServerFlags"
        Option      "blank time" "10"
        Option      "standby time" "20"
        Option      "off time" "60"
EndSection

Section "InputDevice"
        Identifier  "Generic 104-key US Keyboard"
        Driver      "kbd"
        Option      "XkbModel" "pc104"
EndSection

Section "InputDevice"
        Identifier  "Generic PS/2 Wheel Mouse"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Samsung SyncMaster 906BW"
        Option      "DPMS"
EndSection

Section "Device"
#       Option          "AccelMethod" "EXA"
#       Option          "Textured2D" "On"
        Option          "TexturedXrender" "On"
        Identifier      "ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]"
        Driver          "fglrx"
        Option          "XAANoOffscreenPixmaps" "On"
#       Option          "EnablePageFlip" "On"
        Option          "UseFastTLS" "1"
        Option          "VideoOverlay" "On"
        Option          "OpenGLOverlay" "Off"
#       Option          "TexuredVideo" "On"
        Option          "BackingStore" "On"
EndSection

Section "Screen"
        Identifier "Screen 1"
        Device     "ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]"
        Monitor    "Samsung SyncMaster 906BW"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1440x900" "1280x800"
        EndSubSection
EndSection

Section "DRI"
        Group        "video"
        Mode         0660
EndSection

Section "Extensions"
        Option      "Composite" "On"
EndSection

/usr/share/fonts/misc/fonts.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
variable     -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1
5x7          -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-1
5x8          -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-1
6x9          -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso8859-1
6x10         -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1
6x12         -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1
6x13         -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
6x13bold     -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-1
7x13         -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
7x13bold     -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
7x13euro     -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-15
7x13eurobold -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-15
7x14         -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
7x14bold     -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1
8x13         -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
8x13bold     -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1
8x16         -sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1
9x15         -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1
9x15bold     -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-1
10x20        -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1
12x24        -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1
nil2         -misc-nil-medium-r-normal--2-20-75-75-c-10-misc-fontspecific

heb6x13      -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-8
heb8x13      -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-8

k14          -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0
a14          -misc-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1
r14          -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0
rk14         -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0
r16          -sony-fixed-medium-r-normal--16-*-*-*-*-*-jisx0201.1976-0
rk16         -sony-fixed-medium-r-normal--16-*-*-*-*-*-jisx0201.1976-0
r24          -sony-fixed-medium-r-normal--24-*-*-*-*-*-jisx0201.1976-0
rk24         -sony-fixed-medium-r-normal--24-*-*-*-*-*-jisx0201.1976-0
kana14       -misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0
8x16kana     -sony-fixed-medium-r-normal--16-120-100-100-c-80-jisx0201.1976-0
8x16romankana -sony-fixed-medium-r-normal--16-120-100-100-c-80-jisx0201.1976-0
12x24kana     -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0
12x24romankana -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0
kanji16      -jis-fixed-medium-r-normal--16-*-*-*-*-*-jisx0208.1983-0
kanji24      -jis-fixed-medium-r-normal--24-*-*-*-*-*-jisx0208.1983-0

hanzigb16st "-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0"
hanzigb24st "-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0"
hanzigb16fs "-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0"

olcursor   "-sun-open look cursor-----12-120-75-75-p-160-sunolcursor-1"
olglyph-10 "-sun-open look glyph-----10-100-75-75-p-101-sunolglyph-1"
olglyph-12 "-sun-open look glyph-----12-120-75-75-p-113-sunolglyph-1"
olglyph-14 "-sun-open look glyph-----14-140-75-75-p-128-sunolglyph-1"
olglyph-19 "-sun-open look glyph-----19-190-75-75-p-154-sunolglyph-1"

-misc-fixed-medium-r-normal--7-50-100-100-c-50-iso8859-1 -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-1
-misc-fixed-medium-r-normal--8-60-100-100-c-50-iso8859-1 -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-1
-misc-fixed-medium-r-normal--9-80-100-100-c-60-iso8859-1 -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso8859-1
-misc-fixed-medium-r-normal--10-70-100-100-c-60-iso8859-1 -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--12-90-100-100-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
-misc-fixed-bold-r-semicondensed--13-100-100-100-c-60-iso8859-1 -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-1
-misc-fixed-medium-r-normal--13-100-100-100-c-70-iso8859-1 -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
-misc-fixed-bold-r-normal--13-100-100-100-c-70-iso8859-1 -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
-misc-fixed-medium-r-normal--13-100-100-100-c-80-iso8859-1 -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
-misc-fixed-bold-r-normal--13-100-100-100-c-80-iso8859-1 -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1
-misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
-misc-fixed-medium-r-normal--15-120-100-100-c-90-iso8859-1 -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1
-misc-fixed-bold-r-normal--15-120-100-100-c-90-iso8859-1 -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-1
-misc-fixed-medium-r-normal--20-140-100-100-c-100-iso8859-1 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-8 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-8
-misc-fixed-medium-r-normal--13-100-100-100-c-80-iso8859-8 -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-8
-sony-fixed-medium-r-normal--16-150-75-75-c-80-iso8859-1 -sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1
-sony-fixed-medium-r-normal--16-150-75-75-c-80-jisx0201.1976-0 -sony-fixed-medium-r-normal--16-120-100-100-c-80-jisx0201.1976-0
-sony-fixed-medium-r-normal--24-230-75-75-c-120-iso8859-1 -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1
-sony-fixed-medium-r-normal--24-230-75-75-c-120-jisx0201.1976-0 -sony-fixed-medium-r-normal--24-170-100-100-c-120-jisx0201.1976-0
-jis-fixed-medium-r-normal--16-110-100-100-c-160-jisx0208.1983-0 -jis-fixed-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0
-jis-fixed-medium-r-normal--24-170-100-100-c-240-jisx0208.1983-0 -jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-05-25 22:49:42 UTC
With 1.5.3-r5 and newer, Xorg should be able to start since it now falls back to its very own "fixed" font in case it can't find one on disk. I guess the issue here (X doesn't start) is fixed.

If the "nls" USE flag causes other issues, please don't hesitate to open new bugs.

Thanks