| Summary: | sys-apps/rlocate-0.5.6 doesn't compile, when KBUILD_OUTPUT is used | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sven <sven.koehler> |
| Component: | New packages | Assignee: | SpanKY <vapier> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build fails | ||
Created attachment 137286 [details]
build fails
thanks, fixed in cvs http://sources.gentoo.org/sys-apps/rlocate/rlocate-0.5.6.ebuild?r1=1.1&r2=1.2 |
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: