Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11086 - emerge gnome works, but gnome fails to run
Summary: emerge gnome works, but gnome fails to run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-22 07:51 UTC by Bill Kenworthy
Modified: 2003-02-04 19:42 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 Bill Kenworthy 2002-11-22 07:51:44 UTC
As above - gnome fails to start as it has no fonts registered.  Line for x11
fonts missing out of /etc/font/font.conf in lines added for gentoo.  Clean,
fresh install.  Others apparently have same problem.
Comment 1 foser (RETIRED) gentoo-dev 2002-11-22 16:58:47 UTC
Xfree 4.2.1 i suppose (no revision) ?

What does your fonts.conf look like ?

What is the ouput of 'fc-cache -f --verbose' ?
Comment 2 Bill Kenworthy 2002-11-22 17:18:45 UTC
Too late as its now fixed for screen dumps etc but:
/etc/font/fonts.conf was missing the line previously mentioned (blank line?) and
the output of fc-cache --verbose was nothing.  Now it lists the x-fonts after
adding "<dir>/usr/X11R6/lib/X11/fonts</dir>" and running an fc-cache.  Details
were listed on gentoo-user email list after I posted the problem, with the
comment that its happening a lot.

BillK
Comment 3 Bill Kenworthy 2002-11-22 17:22:09 UTC
forgot to add (new install into blank partition on 18th Nov):

wdk@rattus wdk $ emerge xfree -s
Searching...   
[ Results for search key : xfree ]
[ Applications found : 1 ]
 
*  x11-base/xfree
      Latest version available: 4.2.1
      Latest version installed: 4.2.1
      Size of downloaded files: 62,844 kB
      Homepage:    http://www.xfree.org
      Description: Xfree86: famous and free X server

BillK
Comment 4 foser (RETIRED) gentoo-dev 2002-11-22 17:34:12 UTC
How do you know its missing when it isnt there in the first place ? I suppose
you refer to the <dir>/usr/X11R6/lib/X11/fonts</dir> line (just to make sure),
cause that doesnt make a lot of sense : it comes out of the box with a config
file having that line in it.
Comment 5 Bill Kenworthy 2002-11-22 17:44:46 UTC
The reason I knew it was missing is that the gentoo-user list told me what to
look for and what to add into the file to fix it.  Its in the section:

<!-- Font directory list configured for Gentoo -->

	<dir>/usr/X11R6/lib/X11/fonts</dir>
	<dir>/usr/share/fonts</dir>
	<dir>~/.fonts</dir>

The X11 fonts line is the one added.  As its under the gentoo comment, it looks
like a gentoo problem, not xfree's

BillK
Comment 6 foser (RETIRED) gentoo-dev 2002-11-22 17:47:31 UTC
On a closer look it seems that my previous statement isn't completely correct,
so i'd really like to know : was the '<dir>/usr/X11R6/lib/X11/fonts</dir>' line
around or not ?
Comment 7 foser (RETIRED) gentoo-dev 2002-11-22 17:53:37 UTC
Ok that clears things up. Thanks for your report.
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-23 19:57:37 UTC
foser:  I think this is problem number one with fontconfig.  I could be wrong,
but I am going to go
          so far and say that we could assume that '/usr/X11R6/lib/X11/fonts'
are not added if that dir
          do not exist ....

possible solution:   create the dir in pkg_setup(), bump the revision, and mask
previous revisions
                            in package.mask.

Maybe also do a foreced updated of /etc/fonts/fonts.conf if it do not contain
'/usr/X11R6/lib/X11/fonts' .

Comments ?
Comment 9 Adam Bellinson 2002-11-24 14:27:23 UTC
Bill Kenworthy had the fix for me:  <!-- Font directory list configured for Gentoo -->          <dir>/usr/X11R6/lib/X11/fonts</dir>         <dir>/usr/share/fonts</dir>         <dir>~/.fonts</dir>  Adding that one line (with X11R6) solved the problem. 
Comment 10 foser (RETIRED) gentoo-dev 2002-11-25 10:20:35 UTC
Azarah : Yes, couldnt we make it fontconfig depend on xfree ? I mean is there
any use for it without it ? Besides that it seems that even if some xfree dirs
are around in some cases those can't be found, i saw that happen with the xft
ebuild and i wanted to add specified include/header dirs for X to the fontconfig
configure step. Only i forgot to do that before i went away for the weekend...
Comment 11 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-25 13:46:29 UTC
Maybe, but I do not think its needed.  Redhat at least have fontconfig seperate
from X, and only
depend on freetype and expat.  Another solution would be to install our own
fonts.conf, but I think
just having that dir present will solve the issue.  I will try to verify this.
Comment 12 foser (RETIRED) gentoo-dev 2002-11-25 17:27:46 UTC
i meant it as a way to ensure the fonts dir being around. We could probably
alter the configure script to not probe dirs if they're around (thats what
happens now) and just include the base ones automaticly. I'll have a look at it.

On second thought: if we _do_ include xfree as a dep to fontconfig, it's cache
will also be filled with the base xfree fonts, eliminating another possible
point of failure.
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-25 17:41:39 UTC
Problem 1:  For xfree-4.2.1 fontconfig is a dep (ok, not for -r1).  This will be
true as well for 4.3.0 ...
Comment 14 foser (RETIRED) gentoo-dev 2002-11-25 17:47:48 UTC
hmm ok, good point. We could make the xfree ebuild do a cache update instead,
i'll look at fixing the config.
Comment 15 foser (RETIRED) gentoo-dev 2002-11-25 18:50:45 UTC
I just added fontconfig-2.0-r4 which should always include
/usr/X11R6/lib/X11/fonts in fonts.conf .

And offtopic : Azarah im disabling the pango-1.1 hinting patch, it breaks my
pango compilation.
Comment 16 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-26 17:29:36 UTC
foser: did you update freetype as the deps suggest ?
Comment 17 foser (RETIRED) gentoo-dev 2002-11-26 18:46:13 UTC
Azarah: hmm already had that revision 

/me kicks his local tree

i'll change it back
Comment 18 foser (RETIRED) gentoo-dev 2002-12-09 12:19:53 UTC
This should be slowly fixed as we're moving towards fully using xft2.