Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333343 - sys-boot/grub-9999 needs newer >= media-fonts/unifont-5.1*
Summary: sys-boot/grub-9999 needs newer >= media-fonts/unifont-5.1*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 19:05 UTC by K. Posern
Modified: 2010-08-22 19:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
broken build log (sys-boot:grub-9999:20100816-115442.log,258.69 KB, text/plain)
2010-08-19 21:37 UTC, K. Posern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description K. Posern 2010-08-18 19:05:30 UTC
When trying to compile grub-9999 with media-fonts/unifont-1.0-r4 (default, as the media-fonts/unifont-5.1* is in testing (keyworded)) it fails due to an empty ascii.bitmaps file, which is due to grub-mkfont not being able to do its job because the glyph-count in the unifont file is too small... yeah I've seen it all ;)


Reproducible: Always

Steps to Reproduce:
1.install unifont with regular version v1
2.USE=truetype emerge -vt grub-9999 
3.
Comment 1 K. Posern 2010-08-18 19:06:32 UTC
... this actually changed from grub-1.98 
+
... you will need grub-9999 to handle imsm fakerads (with a metadata version of >=1.xx)
Comment 2 K. Posern 2010-08-18 19:11:21 UTC
side-question: Why is the unifont package testing?
Could this be lifted to make the 5.1 version the default (there seems on the website of unifont news about an upcoming v5.2)
Comment 3 Eray Aslan gentoo-dev 2010-08-19 20:52:34 UTC
Please attach the build log.  Thank you.
Comment 4 K. Posern 2010-08-19 21:37:19 UTC
Created attachment 243625 [details]
broken build log

This line 2 above the failed x86_64-pc-linux-gnu-gcc call are causing the problem:
./grub-mkfont --ascii-bitmaps -o ascii.bitmaps /usr/share/fonts/unifont/unifont.pcf.gz
Because it creates an empty ascii.bitmaps file without any (error) message :(
The next line then creates the variable ascii_bitmaps in ascii.h:
./grub-bin2h ascii_bitmaps < ascii.bitmaps > ascii.h
So that the compile of font/font.c failes, because the variable "ascii_bitmaps" is not set.
Comment 5 SpanKY gentoo-dev 2010-08-22 19:58:03 UTC
added to the tree ... thanks

http://sources.gentoo.org/sys-boot/grub/grub-9999.ebuild?r1=1.23&r2=1.24