Subject: pkg/26473: x11/xorg-server: xtt module does not work
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: pkgsrc-bugs
Date: 07/30/2004 01:34:22
>Number:         26473
>Category:       pkg
>Synopsis:       x11/xorg-server: xtt module does not work
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 29 16:51:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0G NetBSD 2.0G (FIREFLY.MP) #34: Thu Jul 29 08:47:37 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
	A xtt module of X.Org which has built by pkgsrc does not work.  If I
	put `Load "xtt"' to /etc/X11/xorg.conf, following messages appeared.

Symbol FontCacheSearchEntry from module /usr/pkg/xorg/lib/modules/fonts/libxtt.a is unresolved!
Symbol FontCacheGetBitmap from module /usr/pkg/xorg/lib/modules/fonts/libxtt.a is unresolved!
Symbol FontCacheSearchEntry from module /usr/pkg/xorg/lib/modules/fonts/libxtt.a is unresolved!
Symbol FontCacheGetEntry from module /usr/pkg/xorg/lib/modules/fonts/libxtt.a is unresolved!
Symbol FontCacheInsertEntry from module /usr/pkg/xorg/lib/modules/fonts/libxtt.a is unresolved!
Symbol FontCacheGetEntry from module /usr/pkg/xorg/lib/modules/fonts/libxtt.a is unresolved!
Symbol FontCacheSearchEntry from module /usr/pkg/xorg/lib/modules/fonts/libxtt.a is unresolved!
Symbol FontCacheCloseCache from module /usr/pkg/xorg/lib/modules/fonts/libxtt.a is unresolved!
Symbol FontCacheOpenCache from module /usr/pkg/xorg/lib/modules/fonts/libxtt.a is unresolved!

	And then, if I tried to display truetype font, X server was crashed.

(II) Loading sub module "JISX0208"
(II) LoadModule: "JISX0208"
(II) Loading /usr/pkg/xorg/lib/modules/codeconv/libJISX0208.a
(II) Module JISX0208: vendor="X-TrueType Server Project & After X-TT Project"
        compiled for 0.0.0.670, module version = 1.4.2
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4


        This should not happen!
        An unresolved function was called!

Fatal server error:



Please consult the The X.Org Foundation support 
         at http://wiki.X.Org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

>How-To-Repeat:
	see above

>Fix:
Index: x11/xorg-server/files/host.def
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/x11/xorg-server/files/host.def,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 host.def
--- x11/xorg-server/files/host.def	29 Jul 2004 04:52:42 -0000	1.1.1.1
+++ x11/xorg-server/files/host.def	29 Jul 2004 15:35:48 -0000
@@ -27,7 +27,7 @@
 #define BuildXFree86ConfigTools YES
 #define UseInstalledPrograms YES
 
-#define BuildFontCache NO
+#define BuildFontCache YES
 #define BuiltFontLib NO
 
 #define StandardIncludes -I@BLNK@/include
>Release-Note:
>Audit-Trail:
>Unformatted: