emerging portage 2.1.4.4 dies at the installation stage while patching make.conf.example Reproducible: Always Steps to Reproduce: 1.emerge portage Actual Results: ~ # emerge portage Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) sys-apps/portage-2.1.4.4 to / * portage-2.1.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * portage-2.1.4.4.patch.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking portage-2.1.4.tar.bz2 ;-) ... [ ok ] * checking portage-2.1.4.4.patch.bz2 ;-) ... [ ok ] >>> Checking portage-2.1.4.tar.bz2's mtime... >>> Checking portage-man-pl-2.1.2.tar.bz2's mtime... >>> Checking portage-2.1.4.4.patch.bz2's mtime... >>> WORKDIR is up-to-date, keeping... >>> It appears that 'portage-2.1.4.4' is already compiled; skipping. >>> Remove '/var/tmp/portage/sys-apps/portage-2.1.4.4/.compiled' to force compilation. >>> It appears that portage has already been tested; skipping. >>> Install portage-2.1.4.4 into /var/tmp/portage/sys-apps/portage-2.1.4.4/image/ category sys-apps patching file make.conf Hunk #1 succeeded at 68 with fuzz 2 (offset 45 lines). Hunk #2 FAILED at 87. Hunk #3 FAILED at 170. 2 out of 3 hunks FAILED -- saving rejects to file make.conf.rej * * ERROR: sys-apps/portage-2.1.4.4 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2432: Called die * The specific snippet of code: * patch make.conf "make.conf.${ARCH}".diff || die "Failed to patch make.conf.example"; * The die message: * Failed to patch make.conf.example * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.4.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.4.4/temp/environment'. * * Messages for package sys-apps/portage-2.1.4.4: * * ERROR: sys-apps/portage-2.1.4.4 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2432: Called die * The specific snippet of code: * patch make.conf "make.conf.${ARCH}".diff || die "Failed to patch make.conf.example"; * The die message: * Failed to patch make.conf.example * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.4.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.4.4/temp/environment'. *
Created attachment 162268 [details] complete build log
Created attachment 162270 [details] ebuild environment
It looks like you have FEATURES=keepwork enabled. That's bad. Disable it.
Thanks, Zac! I've removed keepwork feature and it went through.