Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236138 - net-firewall/ipset-2.3.3a does not compile with disabled modules
Summary: net-firewall/ipset-2.3.3a does not compile with disabled modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-29 18:11 UTC by Krzysztof Olędzki
Modified: 2008-10-14 07:20 UTC (History)
1 user (show)

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


Attachments
Detect non-modular kernel and don't build modules (ipset-no-modules.patch.txt,1.57 KB, patch)
2008-10-05 20:01 UTC, Krzysztof Olędzki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Olędzki 2008-08-29 18:11:49 UTC
>>> Emerging (1 of 1) net-firewall/ipset-2.3.3a to /
 * ipset-2.3.3a.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                     [ ok ]
 * checking ipset-2.3.3a.tar.bz2 ;-) ...                                                                   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.24.7-o5
 * Checking for suitable kernel configuration options...                                                   [ ok ]
 * These sources do not support loading external modules.
 * to be able to use this module please enable "Loadable modules support"
 * in your kernel, recompile and then try merging this module again.
 *
 * ERROR: net-firewall/ipset-2.3.3a failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *     ipset-2.3.3a.ebuild, line   49:  Called linux-mod_pkg_setup
 *        linux-mod.eclass, line  473:  Called check_modules_supported
 *       linux-info.eclass, line  399:  Called die
 * The specific snippet of code:
 *              die "No support for external modules in ${KV_FULL} config"
 *  The die message:
 *   No support for external modules in 2.6.24.7-o5 config
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-firewall/ipset-2.3.3a/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-firewall/ipset-2.3.3a/temp/die.env'.
 *

 * Messages for package net-firewall/ipset-2.3.3a:

 * These sources do not support loading external modules.
 * to be able to use this module please enable "Loadable modules support"
 * in your kernel, recompile and then try merging this module again.
 *
 * ERROR: net-firewall/ipset-2.3.3a failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *     ipset-2.3.3a.ebuild, line   49:  Called linux-mod_pkg_setup
 *        linux-mod.eclass, line  473:  Called check_modules_supported
 *       linux-info.eclass, line  399:  Called die
 * The specific snippet of code:
 *              die "No support for external modules in ${KV_FULL} config"
 *  The die message:
 *   No support for external modules in 2.6.24.7-o5 config
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-firewall/ipset-2.3.3a/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-firewall/ipset-2.3.3a/temp/die.env'.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-08-29 21:55:03 UTC
As the message tells you, you have to configure your kernel accordingly.
Comment 2 Krzysztof Olędzki 2008-08-29 21:57:50 UTC
Why? Ipset works without any problems with non-modular kernels and I see no reason to force modular configuration. 
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-08-29 22:44:56 UTC
"Working" doesn't mean it compiles, but maybe it's really a bug, forwarding you to the maintainers
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-09-09 05:56:46 UTC
Krzysztof: give me a patch then that detects a non-modular kernel and only builds userspace instead of the kernel modules as well.
Comment 5 Krzysztof Olędzki 2008-10-05 20:01:41 UTC
Created attachment 167377 [details, diff]
Detect non-modular kernel and don't build modules
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-10-14 07:20:57 UTC
incvs.