Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522956 - sys-boot/grub-2.02_beta2(-r2) fails to build
Summary: sys-boot/grub-2.02_beta2(-r2) fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-16 15:52 UTC by ahudson.news
Modified: 2014-09-16 21:34 UTC (History)
1 user (show)

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


Attachments
grub2.02_beta2__build.log (grub2.02_beta2__build.log,112.98 KB, application/octet-stream)
2014-09-16 15:52 UTC, ahudson.news
Details
grub2.02_beta2__emerge--info (grub2.02_beta2__emerge--info,5.03 KB, text/plain)
2014-09-16 15:53 UTC, ahudson.news
Details
grub2.02_beta2__emerge--pqv (grub2.02_beta2__emerge--pqv,403 bytes, text/plain)
2014-09-16 15:53 UTC, ahudson.news
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ahudson.news 2014-09-16 15:52:14 UTC
Both sys-boot/grub-2.02_beta2 and sys-boot/grub-2.02_beta2-r2 fail to build, while sys-boot/grub-2.00_p5107-r2 works just fine. Logfiles attached.

Reproducible: Always
Comment 1 ahudson.news 2014-09-16 15:52:56 UTC
Created attachment 384872 [details]
grub2.02_beta2__build.log
Comment 2 ahudson.news 2014-09-16 15:53:17 UTC
Created attachment 384874 [details]
grub2.02_beta2__emerge--info
Comment 3 ahudson.news 2014-09-16 15:53:38 UTC
Created attachment 384876 [details]
grub2.02_beta2__emerge--pqv
Comment 4 ahudson.news 2014-09-16 15:54:35 UTC
relates to : https://bugs.gentoo.org/show_bug.cgi?id=522314
Comment 5 Mike Gilbert gentoo-dev 2014-09-16 16:08:08 UTC
Do you have media-libs/freetype installed on this system?

It is listed in DEPEND for grub-2.02_beta2-r2, but maybe you did something wierd to avoid installing it.
Comment 6 Mike Gilbert gentoo-dev 2014-09-16 18:08:01 UTC
Oh, I see. The ebuild does not download unifont if truetype is disabled. Should be fixed now.

+  16 Sep 2014; Mike Gilbert <floppym@gentoo.org> grub-2.02_beta2-r2.ebuild,
+  grub-9999-r1.ebuild:
+  Always download/symlink unifont, bug 522956.
Comment 7 ahudson.news 2014-09-16 18:41:59 UTC
# emerge -pqv freetype
[ebuild   R   ] media-libs/freetype-2.5.3-r1  USE="X adobe-cff bzip2 png -auto-hinter -bindist -debug -doc -fontforge (-harfbuzz) -infinality -static-libs -utils" ABI_X86="(64) (-32) (-x32)" 

freetype is installed and actually enabled in the global USE flags, but (for one reason or another, most likely a previous build and/or test issue) explicitly disabled for grub in package.use; I will try your fix as soon as it becomes visible :)
Comment 8 ahudson.news 2014-09-16 21:34:48 UTC
Fix looks good, the -r2 builds successfully now.
Cheers :)