mail-filter/libspf2-1.2.10 fails to build. The patch file doesn't apply cleanly: coated ~ # cat /var/tmp/portage/mail-filter/libspf2-1.2.10/temp/build.log * Package: mail-filter/libspf2-1.2.10 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox nostrip preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libspf2-1.2.10.tar.gz to /var/tmp/portage/mail-filter/libspf2-1.2.10/work >>> Source unpacked in /var/tmp/portage/mail-filter/libspf2-1.2.10/work >>> Preparing source in /var/tmp/portage/mail-filter/libspf2-1.2.10/work/libspf2-1.2.10 ... * Applying libspf2-1.2.10-gcc5.patch ... * Applying libspf2-1.2.10-mga-varargs.patch ... patching file src/include/spf_log.h Hunk #1 FAILED at 60. 1 out of 1 hunk FAILED -- saving rejects to file src/include/spf_log.h.rej * ERROR: mail-filter/libspf2-1.2.10::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/mail-filter/libspf2/libspf2-1.2.10-mga-varargs.patch strangely in my portage tree I only find the libspf2-1.2.10-gcc5.patch file, and I don't know where this build log finds the libspf2-1.2.10-mga-varargs.patch file. In any way I've simply removed applying the libspf2-1.2.10-gcc5.patch from my local ebuild file, and my gcc 10.3.0 compiled the source code without any patches just fine. Reproducible: Always
(In reply to doj from comment #0) > strangely in my portage tree I only find the libspf2-1.2.10-gcc5.patch file, > and I don't know where this build log finds the > libspf2-1.2.10-mga-varargs.patch file. well, it's showing the patch in the error: > /etc/portage/patches/mail-filter/libspf2/libspf2-1.2.10-mga-varargs.patch This appears to be your own patch, maybe you added it for one reason or another long ago and forgot about it. Just remove it. A recent'ish change is that this ebuild was ported to EAPI-7 and so it started actually applying user patches like the rest.