[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#320212: /usr/bin/kfontview: /usr/lib/libkfontinst.so.0: undefined symbol: FTC_SBit_Cache_New



On Wednesday 27 July 2005 18:49, Tom Epperly wrote:
> Package: kcontrol
> Version: 4:3.3.2-1
> Severity: normal
> File: /usr/bin/kfontview

Short story for unstable users: unstable is currently borked due
to the C++ transition. Wait until kde 3.4.? enters sid and the
error will go way.


Longer story for sarge (and curious sid) users:
> 
> When I try to run kfontview, it fails to start up.
> 
> epperly@driftcreek[~]>kfontview /usr/share/fonts/truetype/freefont/FreeSans.ttf
> QPixmap: Cannot create a QPixmap when no GUI is being used
> QPixmap: Cannot create a QPixmap when no GUI is being used
> QPixmap: Cannot create a QPixmap when no GUI is being used
> QPixmap: Cannot create a QPixmap when no GUI is being used
> kbuildsycoca running...

I get those too if I start kfontview in a slogin user@host shell,
not when started in a KDE session (via KDM). I.e, the msg come
from the KDE daemons that are started.  Nothing to worry about.

> kfontview: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file kfontviewui.rc

This file is wasn't available/was forgotten in KDE 3.3 upstream. 
It was added in KDE 3.4:

$ svn ls --recursive svn://anonsvn.kde.org/home/kde/branches/KDE/3.3/kdebase/kcontrol/kfontinst | fgrep .rc
viewpart/kfontviewpart.rc
$ svn ls --recursive svn://anonsvn.kde.org/home/kde/branches/KDE/3.4/kdebase/kcontrol/kfontinst | fgrep .rc
viewpart/kfontviewpart.rc
viewpart/kfontviewui.rc
svn log svn://anonsvn.kde.org/home/kde/branches/KDE/3.4/kdebase/kcontrol/kfontinst/viewpart/kfontviewui.rc
...
------------------------------------------------------------------------
r370422 | dfaure | 2004-12-13 20:41:56 +0100 (Mon, 13 Dec 2004) | 4 lines

Fixed runtime warning
kfontview: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file kfontviewui.rc
It's quite unusual to have no .rc file, so I'd rather not hide the warning.

------------------------------------------------------------------------

To fix it:

	svn cat svn://anonsvn.kde.org/home/kde/branches/KDE/3.4/kdebase/kcontrol/kfontinst/viewpart/kfontviewui.rc > kfontviewui.rc

and copy this file as root to /usr/share/apps/kfontinst/

> kfontview: relocation error: /usr/lib/libkfontinst.so.0: undefined symbol: FTC_SBit_Cache_New
> epperly@driftcreek[~]>Mutex destroy failure: Device or resource busy

that's a temporary sid/unstable problem.  Does not happen with sarge.

> which kfontview
> /usr/bin/kfontview
> epperly@driftcreek[~]>ICE default IO error handler doing an exit(), pid = 29019, errno = 0

Happen only for slogin -X user@host, not for KDE session (maybe at logout)
nothing to worry about IMHO.

Achim
-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy@lion.austin.ibm.com



Reply to: