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

Bug 360279

Summary: vim-7.3.135 fails to build with Makefile:297: auto/config.mk: No such file or directory
Product: Gentoo Linux Reporter: Todd Goodman <tsg>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Todd Goodman 2011-03-24 14:16:04 UTC
=app-editors/vim-7.3.135 fails with error Makefile:297: auto/config.mk: No such file or directory just as with app-editors/vim-core-7.3.135 (Bug 360127)

The same workaround I used for Bug 360127 works for me with vim as well:

Changing to /var/tmp/portage/app-editors/vim-7.3.135/work/vim73/src and
doing a "cp config.mk.dist auto/config.mk" creates the required file (auto/config.mk.)

Then an "ebuild /usr/portage/app-editors/vim/vim-7.3.135.ebuild
configure compile install postinst qmerge" seems to work for me.

One way to fix it might be to add a "[ -f src/auto/config.mk ] || cp
src/config.mk.dist src/auto/config.mk in /usr/portage/eclass/vim.eclass at line
378 (before the "make -j1 -C src autoconf || die "make autoconf failed"" line.

But I leave particulars up to people who know much more than I...

Reproducible: Always

Steps to Reproduce:
1.emerge vim
2.
3.
Actual Results:  
Failed with the error message above

Expected Results:  
A shiny new vim
Comment 1 Rafał Mużyło 2011-03-24 16:31:06 UTC

*** This bug has been marked as a duplicate of bug 360217 ***