Created attachment 557194 [details] emerge --info '=app-emulation/xen-4.11.0-r4::gentoo' * Applying xen-4.9.1-r1_coff-x86-64.patch ... 1 out of 1 hunk FAILED -- saving rejects to file xen/arch/x86/Makefile.rej [ !! ] * ERROR: app-emulation/xen-4.11.0-r4::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/app-emulation/xen/xen-4.9.1-r1_coff-x86-64.patch * * Call stack: * ebuild.sh, line 124: Called src_prepare * environment, line 2654: Called default * phase-functions.sh, line 868: Called default_src_prepare * phase-functions.sh, line 933: Called __eapi6_src_prepare * environment, line 210: Called eapply_user * environment, line 825: Called eapply '/etc/portage/patches/app-emulation/xen/xen-4.9.1-r1_coff-x86-64.patch' * environment, line 795: Called _eapply_patch '/etc/portage/patches/app-emulation/xen/xen-4.9.1-r1_coff-x86-64.patch' * environment, line 733: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/app-emulation/xen/xen-4.9.1-r1_coff-x86-64.patch' * isolated-functions.sh, line 119: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=app-emulation/xen-4.11.0-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/xen-4.11.0-r4::gentoo'`. * The complete build log is located at '/mnt/extra/portagetemp/portage/app-emulation/xen-4.11.0-r4/temp/build.log'. * The ebuild environment file is located at '/mnt/extra/portagetemp/portage/app-emulation/xen-4.11.0-r4/temp/environment'. * Working directory: '/mnt/extra/portagetemp/portage/app-emulation/xen-4.11.0-r4/work/xen-4.11.0' * S: '/mnt/extra/portagetemp/portage/app-emulation/xen-4.11.0-r4/work/xen-4.11.0' zeta /usr # emerge -pqv '=app-emulation/xen-4.11.0-r4::gentoo' [ebuild U ] app-emulation/xen-4.11.0-r4 [4.10.0] USE="efi flask -custom-cflags -debug" zeta /usr # Build log and emerge --info attached and to follow.
Created attachment 557196 [details] Build Log
Ahah. I have an old patch lingering that has polluted this build. Please leave this bug alone or in doldrums, I'll remove the patch and try to build and if that does not work, then tweak the patch to see if the failure is a result thereof and I'll report back here. zeta /var/tmp/portage/portage/app-emulation/xen-4.11.0-r4 # ls -la /etc/portage/patches/app-emulation/xen total 24 drwxr-xr-x 2 root root 4096 Mar 1 2018 . drwxr-xr-x 3 root root 4096 Feb 28 2018 .. -rw-r--r-- 1 root root 2044 Feb 28 2018 xen-4.8.0-coff-x86-64.patchHOLD -rw-r--r-- 1 root root 4861 Mar 1 2018 xen-4.9.1-r1_coff-x86-64.patch -rw-r--r-- 1 root root 2043 Mar 1 2018 xen-4.9.1-r1_coff-x86-64.patch~ zeta /var/tmp/portage/portage/app-emulation/xen-4.11.0-r4 #
I renamed xen-4.9.1-r1_coff-x86-64.patch to xen-4.9.1-r1_coff-x86-64.patch_HOLD20181206 thereby removing it from consideration. The package successfully built. Closing this bug.
It failed to apply because it's already included in 4.11.