Emerging madwifi-ng-0.9.4.4030.20090529 with use injection triggers a missing patch problem. madwifi-ng-injection-r3925.patch is not in the portage tree. Reproducible: Always Steps to Reproduce: 1. USE="injection" emerge =net-wireless/madwifi-ng-0.9.4.4030.20090529 2. 3. Actual Results: * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.30-rc4/build * Found sources for kernel version: * 2.6.30-rc4 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking madwifi-0.9.4-r4030-20090529.tar.gz to /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work >>> Source unpacked in /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work >>> Preparing source in /var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/work/madwifi-0.9.4-r4030-20090529 ... * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch * ( madwifi-ng-injection-r3925.patch ) * * ERROR: net-wireless/madwifi-ng-0.9.4.4030.20090529 failed. * Call stack: * ebuild.sh, line 49: Called src_prepare * environment, line 3317: Called epatch '/usr/portage/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch' * environment, line 1426: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; * The die message: * Cannot find $EPATCH_SOURCE! * * 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-wireless/madwifi-ng-0.9.4.4030.20090529/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4.4030.20090529/temp/environment'. *
Thank you Pierre-Yves. Missed patch now added to the tree.