Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 3583] New: xfonts_font-adobe-100dpi fails due to missing map file.
Date: Sun, 10 Apr 2011 15:58:41 +0000 (UTC)	[thread overview]
Message-ID: <bug-3583-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=3583

           Summary: xfonts_font-adobe-100dpi fails due to missing map
                    file.
           Product: buildroot
           Version: 2011.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: mjhammel at graphics-muse.org
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 3187
  --> https://bugs.busybox.net/attachment.cgi?id=3187
Updated patch to address pkg-config variables that need sysroot path prepended.

The problem presents itself with the following error:
/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!

After looking through the recent commits I found this patch:
http://git.buildroot.net/buildroot/commit/?id=117a8ea0eaabec72d7637f80f7a55fbba9ce67bf

This didn't fix the problem, but it pointed me in the right direction.  The map
file was in two places under the staging tree after a build with this patch:
$ find . -name map-ISO8859-1
./staging/usr/share/fonts/X11/util/map-ISO8859-1
./staging/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/share/fonts/X11/util/map-ISO8859-1

Looking through xfonts_font-adobe-100dpi I discovered that the variable
"mapdir" is checked for the location of this file  So I changed the patch to
include mapdir and the build now completes and the fonts are in the correct
location.

The question is: is this the correct fix?  

Updated patch is attached.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

             reply	other threads:[~2011-04-10 15:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-10 15:58 bugzilla at busybox.net [this message]
2011-04-24  3:18 ` [Buildroot] [Bug 3583] xfonts_font-adobe-100dpi fails due to missing map file bugzilla at busybox.net
2011-08-04 20:14 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-3583-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox