* [Buildroot] xfonts error in 2011.02
@ 2011-04-09 21:43 Michael J. Hammel
2011-04-10 15:38 ` Michael J. Hammel
0 siblings, 1 reply; 2+ messages in thread
From: Michael J. Hammel @ 2011-04-09 21:43 UTC (permalink / raw)
To: buildroot
I'm getting the following while building 2011.02's
xfonts_font-adobe-100dpi package:
/home/mjhammel/src/ximba/bb/src/../bld/buildroot-2011.02.bld/staging//usr/bin/ucs2any: Can't read mapping file '/usr/share/fonts/X11/util/map-ISO8859-1': No such file or directory!
This seems related to this patch:
http://git.buildroot.net/buildroot/commit/?id=117a8ea0eaabec72d7637f80f7a55fbba9ce67bf
I've applied the patch but it doesn't appear to fix the problem. Also,
is this patch correct? It seems the following:
++ if (pcsysrootdir &&
++ (!strcmp(variable_name, "includedir") ||
++ !strcmp(variable_name, "libdir")))
should actually be this:
++ if (pcsysrootdir &&
++ (!strcmp(variable_name, "includedir") &&
++ !strcmp(variable_name, "libdir")))
Unfortunately, that doesn't fix my problem either. "map-ISO8859-1" is
installed under the sysroot tree without my change and under the staging
tree with it. I need to double check that with clean builds (in
progress) to be certain, but I'm pretty sure that's the scenario.
Is the correct location for the map files ucs2any is looking for
STAGING/usr/share/fonts/X11/util? Should the output of this message
specify that it was trying to look in the staging directory? At the
moment, it looks like it's looking in the host file system. So I can't
tell if the problem is that ucs2any is looking in the wrong place or the
map file is installed (by xfonts_font-util) in the wrong place.
--
Michael J. Hammel <buildroot@graphics-muse.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] xfonts error in 2011.02
2011-04-09 21:43 [Buildroot] xfonts error in 2011.02 Michael J. Hammel
@ 2011-04-10 15:38 ` Michael J. Hammel
0 siblings, 0 replies; 2+ messages in thread
From: Michael J. Hammel @ 2011-04-10 15:38 UTC (permalink / raw)
To: buildroot
On Sat, 2011-04-09 at 15:43 -0600, Michael J. Hammel wrote:
> This seems related to this patch:
> http://git.buildroot.net/buildroot/commit/?id=117a8ea0eaabec72d7637f80f7a55fbba9ce67bf
>
> I've applied the patch but it doesn't appear to fix the problem. Also,
> is this patch correct? It seems the following:
>
> ++ if (pcsysrootdir &&
> ++ (!strcmp(variable_name, "includedir") ||
> ++ !strcmp(variable_name, "libdir")))
After more testing it appears this is probably correct, but is missing
one additional variable: mapdir. When I added mapdir to the patch the
build appears to complete successfully and the fonts are in the correct
location.
I don't know if this is the correct solution, but it works. So I'll
post a bug report for it in a little while.
--
Michael J. Hammel <buildroot@graphics-muse.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-10 15:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-09 21:43 [Buildroot] xfonts error in 2011.02 Michael J. Hammel
2011-04-10 15:38 ` Michael J. Hammel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox