Summary: | sys-fs/aufs3-3_p20120813 does not build with KBUILD_OUTPUT: Makefile:10: could not find kernel config file. internal auto-config may fail | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | [OLD] Core system | Assignee: | Justin Lecher (RETIRED) <jlec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tommy |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 432392 | ||
Attachments: | proposed patch |
Description
Dennis Schridde
2012-08-22 20:14:04 UTC
could you please do this without setting Kernel_DIR and KBUILD_OUTPUT? Most properly this is the problem. Can't test it right now, but I will take a look on it at the weekend. If you look at the Makefile, it also sets KDIR=/lib/modules/…/build. So it should be KDIR=$KV_OUT_DIR instead of KDIR=$KV_DIR, imo. (In reply to comment #1) > could you please do this without setting Kernel_DIR and KBUILD_OUTPUT? Most > properly this is the problem. Can't test it right now, but I will take a > look on it at the weekend. I assume that would work, if I did compile my kernel in-source, yes. Created attachment 321992 [details, diff]
proposed patch
Attached patch fixes the issue.
Any progress in fixing this? + 07 Oct 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20120813.ebuild: + Pass raw ldflags if ld is called directly, #432398; use KV_OUT_DIR instead of + KV_DIR, #432346 thanks Dennis Schride for the patches + Seems this vanished again for 201210* (In reply to comment #6) > Seems this vanished again for 201210* aufs3-3_p20120813-r1 is also affected. + 18 Oct 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20120813-r1.ebuild, + aufs3-3_p20121015.ebuild: + Merge changes related bugs 432346 432392 432398 into newest version + (In reply to comment #8) > + 18 Oct 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20120813-r1.ebuild, > + aufs3-3_p20121015.ebuild: > + Merge changes related bugs 432346 432392 432398 into newest version I think this issue is still present: emake CC=$(tc-getCC) LD=$(tc-getLD) LDFLAGS="$(raw-ldflags)" ARCH=$(tc-arch-kernel) CONFIG_AUFS_FS=m KDIR=${KV_DIR} This should be KV_OUT_DIR, right? 18 Oct 2012; Justin Lecher <jlec@gentoo.org> aufs3-3_p20120813-r1.ebuild, aufs3-3_p20121015.ebuild: + Change las KV_DIR to KV_OUT_DIR + + |