Bug 7199

Summary: mkfontscale can't find encodings.dir
Product: xorg Reporter: sangu <sangu.xorg>
Component: Lib/XfontAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: high CC: jch
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
mkfontscale strace file none

Description sangu 2006-06-12 10:23:59 UTC
Doing mkfontscale in  directory which has cjk ttf fonts.
$ strace -o mkfontscale-strace.txt mkfontscale
[...]
open("/encodings/encodings.dir", O_RDONLY) = -1 ENOENT (No such file or director
y)
open("/encodings/encodings.dir", O_RDONLY) = -1 ENOENT (No such file or director
y)
open("/encodings/encodings.dir", O_RDONLY) = -1 ENOENT (No such file or director
y)
open("/encodings/encodings.dir", O_RDONLY) = -1 ENOENT (No such file or director
y)
[...]

xorg-x11 7.0
Comment 1 sangu 2006-06-12 10:24:47 UTC
Created attachment 5886 [details]
mkfontscale strace file
Comment 2 sangu 2006-06-12 10:29:18 UTC
encodings directory is /usr/share/X11/fonts/encodings

/usr/share/X11/fonts/encodings $ ls -R
.:
adobe-dingbats.enc.gz  iso8859-11.enc.gz        microsoft-cp1256.enc.gz
adobe-standard.enc.gz  iso8859-13.enc.gz        microsoft-cp1257.enc.gz
adobe-symbol.enc.gz    iso8859-16.enc.gz        microsoft-cp1258.enc.gz
ansi-1251.enc.gz       iso8859-6.16.enc.gz      microsoft-win3.1.enc.gz
armscii-8.enc.gz       iso8859-6.8x.enc.gz      mulearabic-0.enc.gz
ascii-0.enc.gz         large                    mulearabic-1.enc.gz
dec-special.enc.gz     microsoft-cp1250.enc.gz  mulearabic-2.enc.gz
encodings.dir          microsoft-cp1251.enc.gz  mulelao-1.enc.gz
ibm-cp437.enc.gz       microsoft-cp1252.enc.gz  suneu-greek.enc.gz
ibm-cp850.enc.gz       microsoft-cp1253.enc.gz  tcvn-0.enc.gz
ibm-cp852.enc.gz       microsoft-cp1254.enc.gz  tis620-2.enc.gz
ibm-cp866.enc.gz       microsoft-cp1255.enc.gz  viscii1.1-1.enc.gz

./large:
big5.eten-0.enc.gz  gb18030-0.enc.gz        jisx0208.1990-0.enc.gz
big5hkscs-0.enc.gz  gb18030.2000-0.enc.gz   jisx0212.1990-0.enc.gz
cns11643-1.enc.gz   gb18030.2000-1.enc.gz   ksc5601.1987-0.enc.gz
cns11643-2.enc.gz   gb2312.1980-0.enc.gz    ksc5601.1992-3.enc.gz
cns11643-3.enc.gz   gbk-0.enc.gz            sun.unicode.india-0.enc.gz
encodings.dir       jisx0201.1976-0.enc.gz

OS is Fedora Development
Comment 3 Juliusz Chroboczek 2006-10-31 07:54:59 UTC
Hmm... it looks like your libfontenc was compiled with an incorrect value
for ENCODINGSDIR.  Could you please check the libfontenc Makefile for this
variable?

Comment 4 Benjamin Close 2008-01-11 02:38:10 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 5 Alan Coopersmith 2008-04-24 19:55:24 UTC
No reply from submitter after a year and a half, closing as not reproducible.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.