This was reported years ago for version 0.7.2 as bug #139592 and fixed. It has come back: if I try to install linuxwacom with a monolithic kernel, it immediately whines that I need module support, even though I don't want it to build a module, don't need it to build a module (my tablet PC emulates a serial port which requires only userspace drivers to operate), and have the "module" USE flag turned very definitely OFF. Reproducible: Always Steps to Reproduce: 1. Configure a monolithic kernel. 2. Emerge linuxwacom. Actual Results: Complains about lack of module support. Expected Results: Should install anyway, just not building the module. I can bypass the check by configuring my kernel with modules; it doesn't actually need to be BUILT, just running menuconfig, checking the box, and saving the .config file is enough (and I can just change it back afterwards).
Hi Chris, can you please provide a build log showing when the failure occurs and just giving us a bit of an idea where to look to fix this? I've checked the old bug and explicitly added a --without-linux to a version of the ebuild and put it in my overlay (ikelos), which is accessible using layman. Could you please give it a try and let me know if it solves the problem?
Here's the complete output of emerge from start to failure: # emerge -1av linuxwacom These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-drivers/linuxwacom-0.8.2 USE="-gtk -module -tcl -tk -usb" 1,068 kB Total: 1 package (1 reinstall), Size of downloads: 1,068 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) x11-drivers/linuxwacom-0.8.2 >>> Downloading 'http://gentoo.chem.wisc.edu/gentoo/distfiles/linuxwacom-0.8.2.tar.bz2' --2009-05-04 16:50:27-- http://gentoo.chem.wisc.edu/gentoo/distfiles/linuxwacom-0.8.2.tar.bz2 Resolving gentoo.chem.wisc.edu... 128.104.70.13 Connecting to gentoo.chem.wisc.edu|128.104.70.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1092825 (1.0M) [application/x-tar] Saving to: `/usr/portage/distfiles/linuxwacom-0.8.2.tar.bz2' 100%[==============================================================================================================================>] 1,092,825 913K/s in 1.2s 2009-05-04 16:50:29 (913 KB/s) - `/usr/portage/distfiles/linuxwacom-0.8.2.tar.bz2' saved [1092825/1092825] * linuxwacom-0.8.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.28-hardened-r7 * 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: x11-drivers/linuxwacom-0.8.2 failed. * Call stack: * ebuild.sh, line 48: Called pkg_setup * linuxwacom-0.8.2.ebuild, line 58: Called linux-mod_pkg_setup * linux-mod.eclass, line 582: Called check_modules_supported * linux-info.eclass, line 493: 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.28-hardened-r7 config * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/usr/portage/tmp/portage/x11-drivers/linuxwacom-0.8.2/temp/build.log'. * The ebuild environment file is located at '/usr/portage/tmp/portage/x11-drivers/linuxwacom-0.8.2/temp/die.env'. *
Also, by your description, I suspect your overlay ebuild won't help: it's not that we need --without-linux added to the configure line (though that might be necessary as well), it's that the build process never *gets* to even the configure stage: the ebuild itself complains and dies.
Ok, it seems that's an error message the linux-mod eclass gives out now based on global variables that are set. There's a new version of the ebuild in my overlay which doesn't called linux-mod_pkg_setup unless use module is actually true. Please give that a go and let me know if it solves your problem...
linuxwacom-0.8.3_p4 (I assume that's the one you wanted me to test) still fails in exactly the same way.
No, sorry, I was hoping you'd test linuxwacom-0.8.2, the version you reported the problem about. 0.8.3_p4 is a testing version and, as it turns out, has other problems... Please try 0.8.2 from my overlay and let me know if that helps...
Oh, OK. Yes, that ebuild installs perfectly, thanks!
Thanks, just committed the changes to the tree. Feel free to reopen this if the problem hasn't gone away... 5:)
The latest stable in Portage is now 0.8.4_p1, and this came back.
Thanks very much for the notice. This is now FIXED again, please wait a few hours, resync your tree, then try re-emerging linuxwacom-0.8.4_p1 again please...
Fixed again. Oh, and there's a typo in the post-compile message: "Please remove any HAL .FDI files you may previously have installed ***fr*** linuxwacom.". I'll reopen this if the module issue comes back again.