Skip to contentSkip to conversation

New: xfont_font-adobe-100dpi does not build

Buildroot bugzilla at busybox.net 1 participant 19 messages Mar 26, 2010 – Jun 25, 2010

lore
Share & tools
lore
#0 lore raw

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

Host: X86_64
Target: ARM
Build: buildroot-git
Summary: xfont_font-adobe-100dpi does not build
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: paul.jones at iwtech.com.au
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created an attachment (id=1363)
--> (https://bugs.busybox.net/attachment.cgi?id=1363)
Build log

GEN symb08.pcf.gz

  GEN    symb10.pcf.gz
  GEN    symb12.pcf.gz
  GEN    symb14.pcf.gz
  GEN    symb18.pcf.gz
  GEN    symb24.pcf.gz
  GEN    courB08-ISO8859-1.bdf

/bin/sh: courB08.bdf: command not found
make[1]: *** [courB08-ISO8859-1.bdf] Error 127
make[1]: *** Waiting for unfinished jobs....
GEN courB10-ISO8859-1.bdf
GEN courB12-ISO8859-1.bdf
/bin/sh: courB10.bdf: command not found
/bin/sh: courB12.bdf: command not found
make[1]: *** [courB10-ISO8859-1.bdf] Error 127
make[1]: *** [courB12-ISO8859-1.bdf] Error 127
make[1]: Leaving directory `/media/stuff/kisssroot/output/build/xfont_font-adobe-100dpi-1.0.1'
make: *** [/media/stuff/kisssroot/output/build/xfont_font-adobe-100dpi-1.0.1/.stamp_built] Error 2

Signature · 3 lines
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.
#1 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

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

--- Comment #1 from Paul Jones <[email protected]> 2010-03-26 08:42:08 UTC --- Same problem occurs with xfont_font-adobe-75dpi-1.0.1

  GEN    timR24.pcf.gz
  GEN    symb12.pcf.gz
  GEN    symb10.pcf.gz
  GEN    symb14.pcf.gz
  GEN    symb18.pcf.gz
  GEN    symb24.pcf.gz
  GEN    courB08-ISO8859-1.bdf

/bin/sh: courB08.bdf: command not found
make[1]: *** [courB08-ISO8859-1.bdf] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/media/stuff/kisssroot/output/build/xfont_font-adobe-75dpi-1.0.1'
make: *** [/media/stuff/kisssroot/output/build/xfont_font-adobe-75dpi-1.0.1/.stamp_built] Error 2

Signature · 3 lines
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.
#2 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2010.05

Signature · 3 lines
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.
#3 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc.|paulius.zaleckas at gmail.com
|org |

Signature · 3 lines
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.
#4 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #2 from Paulius Zaleckas <[email protected]> 2010-04-11 22:07:08 UTC --- Very strange... does any other font build OK?
I suspect that it may be some utility missing on the host.

Signature · 3 lines
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.
#5 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #3 from Paul Jones <[email protected]> 2010-04-11 22:14:29 UTC --- There was one other font I tried that had the same trouble (Can't remember it's name right now). The build system is running Gentoo and it compiles the Gentoo-equivalent packages fine, so I'm at a loss to understand what's happening.

Signature · 3 lines
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.
#6 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #4 from Paulius Zaleckas <[email protected]> 2010-04-11 22:16:01 UTC --- (In reply to comment #2)

Quoted 2 lines

Very strange... does any other font build OK?
I suspect that it may be some utility missing on the host.

I have checked Makefile and I think it may be bdftopcf missing on your host.

Signature · 3 lines
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.
#7 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #5 from Thomas Petazzoni <[email protected]> 2010-04-11 22:40:23 UTC --- Then, we should build bdftopcf for the host, and install it in $(HOST_DIR).

Signature · 3 lines
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.
#8 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #6 from Paul Jones <[email protected]> 2010-04-12 09:35:31 UTC --- I just tried to manually build the package without any cross compiling make distclean
./configure

and this is the output I get:
checking for fc-cache... /usr/bin/fc-cache
checking for mkfontdir... /usr/bin/mkfontdir
checking for bdftopcf... /usr/bin/bdftopcf
checking font compression method... gzip
checking for gzip... /bin/gzip
checking for ucs2any... no
checking for MAPS... configure: error: Package requirements (fontutil) were not met:

No package 'fontutil' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables MAPS_CFLAGS and MAPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

I am sure I tried installing font-utils on the host which I remember didn't work so I uninstalled it.
I just reinstalled fontutils and now this builds ok so I assume this package isn't finding the buildroot fontutils.

I checked for bdftopcf on the host and it is there even without fontutils installed.

Signature · 3 lines
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.
#9 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #7 from Paulius Zaleckas <[email protected]> 2010-04-12 14:19:32 UTC --- (In reply to comment #6)

Quoted 3 lines

I checked for bdftopcf on the host and it is there even without fontutils installed.

How you checked for it?
It should output usage documentation if you just type "bdftopcf -" in terminal. And if it really is present on your host I have no idea why buildroot fails to compile fonts...

Signature · 3 lines
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.
#10 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #8 from Thomas Petazzoni <[email protected]> 2010-04-12 14:58:35 UTC --- Anyway, Buildroot should *not* rely on xfont-utils to be installed on the host distribution, but should rather build it for the host.

Signature · 3 lines
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.
#11 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #9 from Paul Jones <[email protected]> 2010-04-12 21:31:16 UTC --- (In reply to comment #7)

Quoted 1 line

It should output usage documentation if you just type "bdftopcf -" in terminal.

That's exactly what I did.

Signature · 3 lines
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.
#12 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #10 from Thomas Petazzoni <[email protected]> --- We recently committed things in the Git repo to fix issues with xfonts. Can you test again and see if your problem is fixed ?

At least here, I can't reproduce.

Signature · 3 lines
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.
#14 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #12 from Paul Jones <[email protected]> --- Created attachment 1705
--> https://bugs.busybox.net/attachment.cgi?id=1705
The output from make -n

Signature · 3 lines
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.
#15 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #13 from Paul Jones <[email protected]> ---
I think I've found the problem - the configure script is cached with the wrong values - see below:

checking for mkfontdir... (cached) /usr/bin/mkfontdir checking for bdftopcf... (cached) /usr/bin/bdftopcf checking font compression method... gzip checking for gzip... (cached) /bin/gzip checking for ucs2any... (cached)

The ucs2any program is inserted into the makefile as a blank string therefore the shell tries to execute the arguments rather than the program, which obviously won't work.

Signature · 3 lines
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.
#16 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

--- Comment #14 from Thomas Petazzoni <[email protected]> --- Paul, can you attach a sample .config file that exhibits the problem ?

Signature · 3 lines
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.
#17 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

Paul Jones <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #15 from Paul Jones <[email protected]> --- I can't seem to reproduce any more. I only had the problem on Gentoo systems but not on Ubuntu. Hopefully the problem is gone so marking as closed.

Signature · 3 lines
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.
#18 lore raw

[Buildroot] [Bug 1399] xfont_font-adobe-100dpi does not build

In reply to bugzilla at busybox.net

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

Mitch Davis <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |mjd-busybox.net at afork.com

--- Comment #16 from Mitch Davis <[email protected]> ---

Quoted 10 lines

GEN courB08-ISO8859-1.bdf
/bin/sh: courB08.bdf: command not found
make[1]: *** [courB08-ISO8859-1.bdf] Error 127
make[1]: *** Waiting for unfinished jobs....
GEN courB10-ISO8859-1.bdf
GEN courB12-ISO8859-1.bdf
/bin/sh: courB10.bdf: command not found
/bin/sh: courB12.bdf: command not found
make[1]: *** [courB10-ISO8859-1.bdf] Error 127
make[1]: *** [courB12-ISO8859-1.bdf] Error 127

I know I'm coming late to the party here, but it seems to me from the make listing that the problem isn't that bdftopcf can't be found, but rather that the command is missing the name of the command altogether, therefore the shell is treating the name of the .bdf file as the command to run.

Paul Jones, if the problem occurs again, can you add V=1 to the make line when you kick off the compile? That should show us the line being executed, rather than just "GEN".

Alternatively, please look in output/build/xfont_font-adobe-100dpi-1.0.1 (or similar, as I don't have it in front of me) for the Makefile. In the Makefile, what is the value of the BDFTOPCF variable?

Signature · 3 lines
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.