Summary: | net-wireless/ipw3945-1.2.0 fails to install after compilation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike C. Delorme <mike.delorme> |
Component: | New packages | Assignee: | Christian Heim (RETIRED) <phreak> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mike C. Delorme
2007-02-10 21:09:00 UTC
(In reply to comment #0) > ipw3945 fails to install the kernel module after successful compilation against > gentoo-sources-2.6.19-r5. This comes only after a recent change to the ebuild: > > 10 Feb 2007; Christian Heim <phreak@gentoo.org> ipw3945-1.2.0.ebuild: > Moving the linux_mod-pkg_setup around, Fixing #166152 (thanks to Jan). > > > > Reproducible: Always > > Steps to Reproduce: > 1. Compile gentoo-sources-2.6.19-r5 with IEEE80211 compiled within the kernel > 2. Try to merge ipw3945-1.2.0 > 3. Watch the successful build, and unsuccessful install > > > > > >>> Source compiled. > >>> Test phase [not enabled]: net-wireless/ipw3945-1.2.0 > > >>> Install ipw3945-1.2.0 into /var/tmp/portage/ipw3945-1.2.0/image/ category net-wireless > * Installing ipw3945 module > install: cannot stat `ipw3945.': No such file or directory > > !!! ERROR: net-wireless/ipw3945-1.2.0 failed. > Call stack: > ebuild.sh, line 1546: Called dyn_install > ebuild.sh, line 1020: Called src_install > ipw3945-1.2.0.ebuild, line 79: Called linux-mod_src_install > linux-mod.eclass, line 540: Called die > > !!! doins ipw3945. failed > !!! If you need support, post the topmost build error, and the call stack if > relevant. Your /usr/src/linux points to a valid kernel source directory ? That's about the only reason set_kvobj in eclass/linux-mod.eclass would fail (or not result in anything). I've added an explicit declaration of KV_OBJ to the ebuild now, so it should *really* work for proper setups. (In reply to comment #0) > Your /usr/src/linux points to a valid kernel source directory ? That's about > the only reason set_kvobj in eclass/linux-mod.eclass would fail (or not result > in anything). > > I've added an explicit declaration of KV_OBJ to the ebuild now, so it should > *really* work for proper setups. > Yes, my /usr/src/linux points to the proper kernel directory. I too realized that the peroper extension was not being added when trying to install the module shortly after I posted. It's almost as though for some reason the set_kvobj() function wasn't being called in linux-mod.eclass, and the KV_OBJ variable wasn't being set as a result. I don't know why this might've happened. Your explicit declaration in the ebuild seems to have done the trick, and the package now merges properly. Thanks for your quick reply/fix! |