Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8985 - kvim ebuild broken
Summary: kvim ebuild broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Hannes Mehnert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-10 09:25 UTC by Alessandro Pisani
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Pisani 2002-10-10 09:25:03 UTC
kvim ebuild is broken, since it won't create a "valid" config.status: going to
/var/tmp/portage/kvim-6.1.141/work/src and viewving config.status, you can
notice it is produced by ./configure, without arguments. This will break the
build during the install phase (btw it also causes a lot of non-KDE stuff to be
compiled in) since the exacutable is named vim instead of kvim.
Comment 1 Alessandro Pisani 2002-10-10 09:30:59 UTC
solution to this bug is to move the line:

cd ${S}

_before_ the line:

kde_src_compile myconf configure

--
kvim ebuild is also affected by bug #8981 (as I reported above)
Comment 2 Alessandro Pisani 2002-10-10 09:34:48 UTC
argh. forget my previous comment.
configure.status is generated correctly, but it seems to get overwritten due to
somemething else after.. don't know what is causing this.
Comment 3 David Nielsen 2002-10-10 15:44:53 UTC
I can compile - but I get this in the end, emerge however returns this as a succesful merge anyways... and kvim then doesn't have a kvim executable.  >>> Install kvim-6.1.141 into /var/tmp/portage/kvim-6.1.141/image/ category app-editors >>> dobin: making src/kvim executable... install: cannot stat `src/kvim': No such file or directory strip: >>> Completed installing into /var/tmp/portage/kvim-6.1.141/image/ 
Comment 4 Alessandro Pisani 2002-10-10 15:51:48 UTC
David: yes, the problem is the one you described. kvim is missing because configure get called twice, and the 2nd time it will generate a config.status without options (configure is called as is), so the resulting executable is a) not for KDE (gtk instead) and b) named vim instead of kvim.  
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-12 04:51:22 UTC
configure get called twice:  
once during kde_src_compile myconf configure 
once during make. 
when it is called during make, it doesn't get any options. 
i think about adding a sed line to kvim-6.1.141.ebuild to switch this 
configure off. 
Comment 6 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-18 06:24:04 UTC
committed a new ebuild and a patch to resolve this, please test. 
Comment 7 Alessandro Pisani 2002-10-18 07:02:26 UTC
it now works, thank you.
It would be also nice to add  --enable-kde-toolbar  to myconf in the ebuild.

Bye,
Alessandro
Comment 8 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-19 09:54:58 UTC
i added --enable-kde-toolbar to kvim-6.1.141_rc2.ebuild and 
kvim-6.1.141.ebuild.