Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343293 - sys-boot/grub-9999: Failed Patch: grub-1.99-genkernel.patch
Summary: sys-boot/grub-9999: Failed Patch: grub-1.99-genkernel.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-29 21:51 UTC by Jeff Kowalczyk
Modified: 2011-05-28 16:36 UTC (History)
1 user (show)

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


Attachments
failed patch output (grub-1.99-genkernel.patch.out,2.29 KB, text/plain)
2010-10-29 21:51 UTC, Jeff Kowalczyk
Details
grub-1.99-genkernel.patch modified for new grub-devs version (at least from 2010/11/08) (grub-1.99-genkernel-v2.patch,745 bytes, patch)
2010-11-08 11:47 UTC, Jiří Moravec
Details | Diff
emerge --info (emerge__info,11.02 KB, application/octet-stream)
2011-05-28 16:36 UTC, Attila Stehr
Details
build log (grub-1.99_rc1_20110528-180224.log,479.29 KB, application/octet-stream)
2011-05-28 16:36 UTC, Attila Stehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2010-10-29 21:51:18 UTC
Emerge sys-boot/grub-9999 bzr r2910. Failed Patch: grub-1.99-genkernel.patch.

Reproducible: Always
Comment 1 Jeff Kowalczyk 2010-10-29 21:51:51 UTC
Created attachment 252517 [details]
failed patch output
Comment 2 Jiří Moravec 2010-11-08 11:47:51 UTC
Created attachment 253619 [details, diff]
grub-1.99-genkernel.patch modified for new grub-devs version (at least from 2010/11/08)
Comment 3 Jiří Moravec 2010-11-08 12:04:40 UTC
(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
Comment 5 Leho Kraav (:macmaN @lkraav) 2011-04-07 10:29:49 UTC
this patch does not apply again.
Comment 6 SpanKY gentoo-dev 2011-04-07 19:45:49 UTC
please keep your tree up-to-date before reporting bugs
Comment 7 Attila Stehr 2011-05-28 16:35:32 UTC
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)
Comment 8 Attila Stehr 2011-05-28 16:36:12 UTC
Created attachment 274903 [details]
emerge --info
Comment 9 Attila Stehr 2011-05-28 16:36:39 UTC
Created attachment 274905 [details]
build log