Jump to content
  • 0
Sign in to follow this  

grub2 fails to emerge: problem with patch in prepare phase


In a fresh funtoo installation i have the problem just after compiling and installing a new kernel with its respective better-initrafms ready to work, the next logical step now is to install a boot loader, in this case i'm following the funtoo installation tutorial:

emerge boot-update

but fails in the part of emerging grub: Failed Patch: 0002-grub-install-support-for-partitioned-partx-loop-devi.patch !


Ii'm attaching the build log here :

[32;01m * [39;49;00mPackage:    sys-boot/grub-2.02_beta2-r3
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: funtoo
[32;01m * [39;49;00mUSE:        amd64 binfont elibc_glibc grub_platforms_efi-64 grub_platforms_pc kernel_linux nls userland_GNU
[32;01m * [39;49;00mFEATURES:   preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking grub-2.02~beta2.tar.xz to /var/tmp/portage/sys-boot/grub-2.02_beta2-r3/work
>>> Unpacking unifont-7.0.01.pcf.gz to /var/tmp/portage/sys-boot/grub-2.02_beta2-r3/work
>>> Unpacking unifont-1.0.pf2.xz to /var/tmp/portage/sys-boot/grub-2.02_beta2-r3/work
>>> Source unpacked in /var/tmp/portage/sys-boot/grub-2.02_beta2-r3/work
>>> Preparing source in /var/tmp/portage/sys-boot/grub-2.02_beta2-r3/work/grub-2.02~beta2 ...
 [32;01m*[0m Applying various patches (bugfixes/updates) ...
 [32;01m*[0m   0001-Makefile.util.def-Link-grub-ofpathname-with-zfs-libs.patch ...
[A[123C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   0002-grub-install-support-for-partitioned-partx-loop-devi.patch ...

 [31;01m*[0m Failed Patch: 0002-grub-install-support-for-partitioned-partx-loop-devi.patch !
 [31;01m*[0m  ( /usr/portage/sys-boot/grub/files/2.02_beta2/0002-grub-install-support-for-partitioned-partx-loop-devi.patch )
 [31;01m*[0m Include in your bugreport the contents of:
 [31;01m*[0m   /var/tmp/portage/sys-boot/grub-2.02_beta2-r3/temp/0002-grub-install-support-for-partitioned-partx-loop-devi.patch.out

 [31;01m*[0m ERROR: sys-boot/grub-2.02_beta2-r3 failed (prepare phase):
 [31;01m*[0m   Failed Patch: 0002-grub-install-support-for-partitioned-partx-loop-devi.patch!
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   93:  Called src_prepare
 [31;01m*[0m   environment, line 4635:  Called epatch
 [31;01m*[0m   environment, line 1951:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m               die "Failed Patch: ${patchname}!";
 [31;01m*[0m If you need support, post the output of `emerge --info '=sys-boot/grub-2.02_beta2-r3'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.02_beta2-r3'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.02_beta2-r3/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.02_beta2-r3/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/sys-boot/grub-2.02_beta2-r3/work/grub-2.02~beta2'
 [31;01m*[0m S: '/var/tmp/portage/sys-boot/grub-2.02_beta2-r3/work/grub-2.02~beta2'

Do i need to mask the grub-2.02_beta2-r3? Thanks in advance :)

Share this post

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...