Gentoo Archives: gentoo-user

From: Skippy <linuxgn2@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] grub 0.97-r18 fails sanity check, stage2 larger than 1MB
Date: Fri, 21 Jan 2022 15:46:33
Message-Id: 355268d8-22f8-0618-156c-595fe8e701f5@204EastSouth.com
1 I think emerge wants to rebuild grub because of a changed USE flag.
2
3 [ebuild R ] sys-boot/grub-0.97-r18::Skippy USE="ncurses
4 -custom-cflags -netboot -static" KERNEL="(-linux%*)" 0 KiB
5
6 When doing so it fails.
7
8 * Sanity check failed: stage2
9 (/var/tmp/portage/sys-boot/grub-0.97-r18/work/grub-0.97/stage2/stage2)
10 is larger than 1MB (268959736 bytes)!
11 * Please check your CFLAGS and/or file a bug report at
12 https://bugs.gentoo.org.
13 * ERROR: sys-boot/grub-0.97-r18::Skippy failed (install phase):
14 * stage2 sanity check failed
15
16 I've done some googling about and found nothing that helps me out.
17
18 Here is the full emerge output:
19
20 https://pastebin.com/XAjAiQFp
21
22 Suggestions please and thank you!
23 Skippy

Replies

Subject Author
Re: [gentoo-user] grub 0.97-r18 fails sanity check, stage2 larger than 1MB "Andreas K. Huettel" <dilfridge@g.o>