Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 532506

Summary: media-libs/freetype-2.5.4 fails to load uncompressed PCF fonts
Product: Gentoo Linux Reporter: Steven Green <steven>
Component: [OLD] Core systemAssignee: Ben de Groot (RETIRED) <yngwin>
Severity: normal CC: floppym, fonts, hazelnusse, jlec, miflab, polynomial-c, smaarster, steven, yngwin, yuriy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 532152    
Attachments: sys-boot:grub-2.02_beta2-r6:20141213-205502.log
emerge --info

Description Steven Green 2014-12-13 21:09:23 UTC
Created attachment 391602 [details]

emerging sys-boot/grub-2.02_beta2-r6 fails to emerge

Section from build log with errors:

PATH=.:$PATH pkgdatadir=. /usr/bin/help2man --section=8 -i /var/tmp/portage/sys-boot/grub-2.02_beta2-r6/work/grub-2.02~beta2/docs/man/grub-reboot.h2m -o grub-reboot.8 grub-reboot
./build-grub-mkfont -o unicode.pf2 ./unifont.pcf || (rm -f unicode.pf2; exit 1)
can't open file ./unifont.pcf, index 0: error 2: unknown file format
./build-grub-mkfont -o ascii.pf2 ./unifont.pcf -r 0x0-0x7f,0x2190-0x2193,0x2501-0x251B || (rm -f ascii.pf2; exit 1)
can't open file ./unifont.pcf, index 0: error 2: unknown file format
Comment 1 Steven Green 2014-12-13 21:09:57 UTC
Created attachment 391604 [details]
emerge --info
Comment 2 vvgloo 2014-12-14 07:09:37 UTC
I got the same error
Comment 3 Jaroslav Rakhmatoullin 2014-12-14 14:33:47 UTC
The cause for this failure seems to be in the (unstable) media-libs/freetype-2.5.4. Both the 2.02_beta2-r3 and r6 are building fine with (stable) media-libs/freetype-2.5.3-r1
Comment 4 Mike Gilbert gentoo-dev 2014-12-14 16:58:09 UTC
Copying the freetype maintainers. Any idea why freetype would stop recognizing this pcf font?
Comment 5 Mike Gilbert gentoo-dev 2014-12-14 19:39:03 UTC
This has been reported at freetype upstream. Adjusting summary and re-assigning.
Comment 6 Mike Gilbert gentoo-dev 2014-12-14 20:36:01 UTC
Thanks for reporting and helping to narrow it down to a freetype problem.

+*freetype-2.5.4-r1 (14 Dec 2014)
+  14 Dec 2014; Mike Gilbert <>
+  +files/2.5.4-0001-pcf-Fix-Savannah-bug-43774.patch,
+  +files/2.5.4-0002-src-pcf-pcfread.c-pcf_read_TOC-Improve-fix-from-2014.patch,
+  +freetype-2.5.4-r1.ebuild, -freetype-2.5.4.ebuild:
+  Backport fixes for bug 532506.
Comment 7 Mike Gilbert gentoo-dev 2014-12-15 00:30:04 UTC
*** Bug 532592 has been marked as a duplicate of this bug. ***
Comment 8 Mike Gilbert gentoo-dev 2014-12-16 16:01:30 UTC
*** Bug 532706 has been marked as a duplicate of this bug. ***