Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197585 - sys-apps/rlocate-0.5.6 doesn't compile, when KBUILD_OUTPUT is used
Summary: sys-apps/rlocate-0.5.6 doesn't compile, when KBUILD_OUTPUT is used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 02:03 UTC by Sven
Modified: 2008-01-26 18:29 UTC (History)
0 users

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


Attachments
build fails (build.log,2.95 KB, text/plain)
2007-11-29 00:46 UTC, Sonia Hamilton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven 2007-10-31 02:03:01 UTC
On my system, there are there two options in make.conf:
KERNEL_DIR=/usr/src/linux
KBUILD_OUTPUT=${KERNEL_DIR}/_dom0

That means, that the sources are in /usr/src/linux while the binaries (and other stuff like include/version.h) is stored in /usr/src/linux/_dom0
(I build my kernel with "make O=_dom0 menuconfig all install modules_install")


So rlocate's configure complained about missing files.
But it was easy to fix the ebuild:

--- /usr/portage/sys-apps/rlocate/rlocate-0.5.6.ebuild  2007-10-06 15:37:56.000000000 +0200
+++ rlocate-0.5.6.ebuild        2007-10-30 22:56:06.000000000 +0100
@@ -33,7 +33,7 @@
 
 src_compile() {
        econf \
-               --with-kernel=${KV_DIR} \
+               --with-kernel=${KV_OUT_DIR} \
                --with-rlocate-group=locate \
                || die
        emake || die


Simply use KV_OUT_DIR instead of KV_DIR.

Reproducible: Always

Steps to Reproduce:
Comment 1 Sonia Hamilton 2007-11-29 00:46:32 UTC
Created attachment 137286 [details]
build fails