Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512110 - net-firewall/ipset-6.17: use pkg_pretend for check_header_patch check
Summary: net-firewall/ipset-6.17: use pkg_pretend for check_header_patch check
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-02 06:58 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2014-06-20 20:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-06-02 06:58:45 UTC
>>> Preparing source in /var/tmp/portage/net-firewall/ipset-6.17/work/ipset-6.17 ...
 * Sorry, but you have to patch kernel sources with the following patch:
 *  # cd /usr/src/linux
 *  # patch -i /var/tmp/portage/net-firewall/ipset-6.17/work/ipset-6.17/netlink.patch -p1
 * You should recompile and run new kernel to avoid runtime errors.
 * ERROR: net-firewall/ipset-6.17::gentoo failed (prepare phase):
 *   Unpatched kernel

Since the ebuild is already using EAPI-5, it seems better to have this kind of checks in pkg_pretend (possibly also executing it only if we're going to build from source instead of doing binpkg).
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-06-20 20:56:21 UTC
No, this cannot be done, because the build_modules variable is set depending on a lot of linux_chkconfig/linux_config tests; and those are very heavy to move to pkg_pretend.