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

Bug 565686

Summary: net-firewall/xtables-addons: Fails to compile with split kernel build directory
Product: Gentoo Linux Reporter: Matti Nykyri <matti.nykyri>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://devmanual.gentoo.org/eclass-reference/linux-info.eclass/index.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The correct kernel build dir is used

Description Matti Nykyri 2015-11-13 15:46:48 UTC
Ebuild uses kernel source directory (KV_DIR) where kernel object directory should be used (KV_OUT_DIR) in src_configure section.

Reproducible: Always

Steps to Reproduce:
1. cd /usr/src/linux-4.1.12 && make distclean
2. make O=/usr/src/linux alldefconfig all
3. emerge xtables-addons

Actual Results:  
Compile fails due to incorrect kernel config.

Expected Results:  
Should compile nicely.
Comment 1 Matti Nykyri 2015-11-13 15:51:02 UTC
Created attachment 416858 [details, diff]
The correct kernel build dir is used
Comment 2 nic 2020-08-25 04:42:16 UTC
This is an old bug and can be closed as all ebuilds in tree have --with-kbuild="${KV_OUT_DIR}" defined as per what is suggested here. Thank you