Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565686 - net-firewall/xtables-addons: Fails to compile with split kernel build directory
Summary: net-firewall/xtables-addons: Fails to compile with split kernel build directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://devmanual.gentoo.org/eclass-r...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 15:46 UTC by Matti Nykyri
Modified: 2023-05-30 09:02 UTC (History)
1 user (show)

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


Attachments
The correct kernel build dir is used (xtables.patch,380 bytes, patch)
2015-11-13 15:51 UTC, Matti Nykyri
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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