>>> Emerging (1 of 1) net-wireless/ipw3945-1.2.0 to / * ipw3945-1.2.0.tgz MD5 ;-) ... [ ok ] * ipw3945-1.2.0.tgz RMD160 ;-) ... [ ok ] * ipw3945-1.2.0.tgz SHA1 ;-) ... [ ok ] * ipw3945-1.2.0.tgz SHA256 ;-) ... [ ok ] * ipw3945-1.2.0.tgz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking ipw3945-1.2.0.tgz ;-) ... [ ok ] * BLEEESMRT * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.19-suspend2-r1/build * Found sources for kernel version: * 2.6.19-suspend2-r1 >>> Unpacking source... >>> Unpacking ipw3945-1.2.0.tgz to /var/tmp/portage/ipw3945-1.2.0/work * Applying ipw3945-1.2.0-Makefile.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0 ... * Preparing ipw3945 module Using ieee80211 subsystem version API v2 from: Base: /lib/modules/2.6.19-suspend2-r1/build/ Path: /lib/modules/2.6.19-suspend2-r1/build/include/ EXTRA_CFLAGS = -DIPW3945_COMPAT=2 -g -Wa,-adhlms=check_inc.lst mkdir -p /var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0/tmp/.tmp_versions make -C /lib/modules/2.6.19-suspend2-r1/build M=/var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0 MODVERDIR=/var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0/tmp/.tmp_versions modules make[1]: Entering directory `/usr/src/linux-2.6.19-suspend2-r1' CC [M] /var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0/ipw3945.o Building modules, stage 2. MODPOST 1 modules CC /var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0/ipw3945.mod.o LD [M] /var/tmp/portage/ipw3945-1.2.0/work/ipw3945-1.2.0/ipw3945.ko make[1]: Leaving directory `/usr/src/linux-2.6.19-suspend2-r1' >>> 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 84: Called linux-mod_src_install linux-mod.eclass, line 542: Called die !!! doins ipw3945. failed !!! If you need support, post the topmost build error, and the call stack if relevant. Patch attached.
Created attachment 109685 [details, diff] fix broken pkg_setup function order
Original report contained additional debugging output, the point still lasts, however. Also please note that the patch I've made is accidentally reversed. It's 3AM here and an older version of this crap is oopsing for me, sorry :(.
Thanks Jan, fixed in CVS.