Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 233979

Summary: sys-apps/portage-2.1.4.4 fails to install: Failed to patch make.conf.example
Product: Portage Development Reporter: Dmitri Girski <mitek17>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: complete build log
ebuild environment

Description Dmitri Girski 2008-08-05 13:54:35 UTC
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'.
 *
Comment 1 Dmitri Girski 2008-08-05 13:56:39 UTC
Created attachment 162268 [details]
 complete build log
Comment 2 Dmitri Girski 2008-08-05 13:57:01 UTC
Created attachment 162270 [details]
 ebuild environment
Comment 3 Zac Medico gentoo-dev 2008-08-06 01:00:24 UTC
It looks like you have FEATURES=keepwork enabled. That's bad. Disable it.
Comment 4 Dmitri Girski 2008-08-06 05:34:30 UTC
Thanks, Zac! 
I've removed keepwork feature and it went through.