Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9473 - Solution for Xfree 4.2.1 X Font Server error message
Summary: Solution for Xfree 4.2.1 X Font Server error message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Low enhancement (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 9705 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-22 03:05 UTC by Mark
Modified: 2003-02-04 19:42 UTC (History)
3 users (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 Mark 2002-10-22 03:05:32 UTC
Hey guys.

When I installed xfree-4.2.1 I didn't have my timezone set yet. If no timezone
is set and 'date' is called, something like this is shown:

>> "Tue Oct 22 09:50:05 Local time zone must be set--see zic manual". 

When, after the xfree emerge, '/etc/init.d/xfs start' is executed, the following
error occurs:

>> * Creating font cache...
>>    Fontconfig error: line 17: not well-formed (invalid token)
>>    Fontconfig error: Cannot load default config file 

I found out this problem occurs because the timezone in line 17 of
/etc/fonts/fonts.conf was the same output as stated above, so I had to set my
timezone, do a `date` after that, then replaced the invalid date in
/etc/fonts/fonts.conf with the correct output of `date`.
I recommend /etc/init.d/xfs to contain a line or script that checks
/etc/fonts/fonts.conf, if it finds 'see zic manual' or something, replace the
invalid line (line 17) with a correct `date`-output.

Just my $0,02; good luck :)

Mark
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-25 17:13:00 UTC
This is something I keep forgetting.  We need to change the docs to set the
timezone *after* bootstrap, but *before* emerge system, as a few things
need you to have a valid timezone.

Collin ... would you be so kind.  If there is any issues, please ask,
hopefully somebody should know.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-27 19:58:26 UTC
*** Bug 9705 has been marked as a duplicate of this bug. ***
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-29 15:10:46 UTC
This should be fixed for fontconfig-2.0-r2 at least.  Removed the date
inclusion for fonts.conf ...