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

Bug 73499

Summary: grub ebuild fails when BLOCK_SIZE=human_readable set in environment
Product: Gentoo Linux Reporter: Frank Szczerba <frank>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: rhill
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Frank Szczerba 2004-12-05 18:35:13 UTC
If BLOCK_SIZE=human_readable is set in the environment when grub is emerged, start.S fails to compile in stage2. STAGE2_SIZE get set to something like 386k, rather than 395264 (for example, not actual numbers).

The fix should be as simple as adding an "unset BLOCK_SIZE" into the ebuild, but unfortunately I don't have the time to try this myself at the moment.

Reproducible: Always
Steps to Reproduce:
1. export BLOCK_SIZE=human_readable
2. emerge sys-boot/grub-0.94-r2


Actual Results:  
make failed in stage2 building start.S. Compiler reported missing ')' at line 366.

Expected Results:  
compiled cleanly

I was building grub-0.94-r2 with gcc 3.3.4 20040623, but this should be universal.
Comment 1 SpanKY gentoo-dev 2005-02-16 20:22:49 UTC
*** Bug 82217 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2005-03-10 20:29:27 UTC
fixed in cvs in all ebuilds, sorry for the delay