Emerge sys-boot/grub-9999 bzr r2910. Failed Patch: grub-1.99-genkernel.patch. Reproducible: Always
Created attachment 252517 [details] failed patch output
Created attachment 253619 [details, diff] grub-1.99-genkernel.patch modified for new grub-devs version (at least from 2010/11/08)
(In reply to comment #1) > Created an attachment (id=252517) [details] > failed patch output > kernel names list in util/grub.d/10_linux.in was expanded. This is a reason behind failing patch. You need modified version - grub-1.99-genkernel-v2.patch. But there is another bug in upstream which effectively denied building grub today - 2010/11/08: ... mv -f lib/libgcrypt-grub/cipher/.deps-core/gcry_arcfour_module-arcfour.Tpo lib/libgcrypt-grub/cipher/.deps-core/gcry_arcfour_module-arcfour.Po x86_64-pc-linux-gnu-gcc -Os -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32 -fno-PIE -fno-stack-protector -mno-stack-arg-probe -DUSE_ASCII_FAILBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1 -mrtd -mregparm=3 -ffreestanding -Wno-error -Wno-missing-field-initializers -m32 -Wl,--build-id=none -nostdlib -Wl,-N,-r,-d -o gcry_arcfour.module lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.o x86_64-pc-linux-gnu-gcc -Wall -W -I../include -I../include -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include -Os -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32 -fno-PIE -fno-stack-protector -mno-stack-arg-probe -DUSE_ASCII_FAILBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1 -I.. -S -DSTANDALONE -o rs_decoder.S lib/reed_solomon.c -g0 -mregparm=3 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include -DGRUB_FILE=\"kern/i386/pc/startup.S\" -I. -I. -I.. -I.. -I../include -I../include -g -m32 -DASM_FILE=1 -MT kern/i386/pc/kernel_exec-startup.o -MD -MP -MF kern/i386/pc/.deps-core/kernel_exec-startup.Tpo -c -o kern/i386/pc/kernel_exec-startup.o `test -f 'kern/i386/pc/startup.S' || echo './'`kern/i386/pc/startup.S reed_solomon.c: Assembler messages: reed_solomon.c:696: Warning: ignoring changed section attributes for .text kern/i386/pc/startup.S:163: Error: attempt to move .org backwards make[3]: *** [kern/i386/pc/kernel_exec-startup.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999-r1/work/grub-9999/grub-core' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999-r1/work/grub-9999/grub-core' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999-r1/work/grub-9999' make: *** [all] Error 2 emake failed
thanks ... now in the tree http://sources.gentoo.org/sys-boot/grub/files/grub-1.99-genkernel.patch?r1=1.1&r2=1.2
this patch does not apply again.
please keep your tree up-to-date before reporting bugs
Same problem here with sys-biit/grub-1.99_rc1 I did an 'emerge --sync' just 10 minutes ago and did 'FEATURES="-test -stricter" emerge =grub-1.99_rc1' after that. From what I can see the patch seems to be applied?! (build log)
Created attachment 274903 [details] emerge --info
Created attachment 274905 [details] build log