Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73499 - grub ebuild fails when BLOCK_SIZE=human_readable set in environment
Summary: grub ebuild fails when BLOCK_SIZE=human_readable set in environment
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:
: 82217 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-05 18:35 UTC by Frank Szczerba
Modified: 2005-03-11 00:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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