Fails to unpack, complaining about the 0120_all_4.3.99-parallel-make-v2.patch
Created attachment 34089 [details] 0120_all_4.3.99-parallel-make-v2.patch-7864.out Output from failed patch.
patch_exclude() is apparently failing. Can you attach the complete output of unpacking? It should list the patches it excludes. A similar problem hit spanky a while back, so I'll CC him. The ebuild line, which is completely unconditional: patch_exclude 0120*parallel-make The function: patch_exclude() { # Exclude patches matching a pattern if they exist for PATCH_GROUP in ${@} do # Repress errors for non-matching patterns, they're ugly for PATCH in $(ls ${PATCHDIR}/${PATCH_GROUP}* 2> /dev/null) do if [ -a "${PATCH}" ] then ebegin " `basename ${PATCH}`" mv -f ${PATCH} ${EXCLUDED} eend 0 fi done done }
did you `emerge xorg-x11` or `ebuild xorg-x11 clean unpack` ?
I did ebuild clean unpack, as emerge initially refuses to install xorg-x11 as it conflicts with xfree, I also need to apply some site-local patches at installation time, which is prevented by emerge as it just rushes through. But I guess this means pkg_setup is not run, which is a severe problem. Why must these vars be set in pkg_setup(), why can't they be set in a helper function that gets called on-demand in src_unpack, etc? (one could also argue that ebuild <func> should always call pkg-setup, but that's also a potential problem).
I am just being stupid: ebuild clean setup unpack compile install
*** Bug 55692 has been marked as a duplicate of this bug. ***