gentoo / releng

[MIRROR] Content related to production of releases
https://gitweb.gentoo.org/proj/releng.git
16 stars 15 forks source link

Genkernel fails to build on PPC64 due to wrong patch #19

Open damiandudycz opened 4 months ago

damiandudycz commented 4 months ago

Patch file in etc/portage/patches/genkernel-ppc64-iso.patch fails to apply to genkernel, and its compilation fails. Tried with stable genkernel and unstable releases. This happens during stage2 for livecd.

 * Applying genkernel-ppc64-iso.patch ...
patching file defaults/initrd.scripts
Hunk #1 FAILED at 178.
1 out of 1 hunk FAILED -- saving rejects to file defaults/initrd.scripts.rej                                                                                                               [ !! ]
 * ERROR: sys-kernel/genkernel-9999::gentoo failed (unpack phase):
 *   patch -p1  failed with /etc/portage/patches/genkernel-ppc64-iso.patch
 * 
 * Call stack:
 *               ebuild.sh, line  136:  Called post_src_unpack
 *               genkernel, line    9:  Called eapply '/etc/portage/patches/genkernel-ppc64-iso.patch'
 *             environment, line 1359:  Called _eapply_patch '/etc/portage/patches/genkernel-ppc64-iso.patch'
 *             environment, line 1297:  Called __helpers_die 'patch -p1  failed with /etc/portage/patches/genkernel-ppc64-iso.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *          die "$@"
thesamesam commented 4 months ago

https://github.com/gentoo/releng/blob/2e52c01031793eeb363c029b3f9436e6f3ccdcc3/releases/portage/isos-qemu/patches/genkernel-ppc64-iso.patch#L4

@benkohler