cc1: warnings being treated as errors /var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_linux.c: In function 'ieee80211_load_module': /var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_linux.c:338: error: format not a string literal and no format arguments make[2]: *** [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211/ieee80211_linux.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/work/madwifi-0.9.4/net80211] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.28-hardened' make: *** [all] Error 2 ERROR: net-wireless/madwifi-ng-0.9.4-r1 failed. Call stack: ebuild.sh, line 49: Called src_compile environment, line 4081: Called linux-mod_src_compile environment, line 3166: Called die The specific snippet of code: eval "emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; The die message: Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERNELPATH=/usr/src/linux all 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-r1/temp/build.log'. The ebuild environment file is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.4-r1/temp/environment'. This ebuild used the following eclasses from overlays: /usr/local/toolchain-overlay/eclass/toolchain-funcs.eclass /usr/local/toolchain-overlay/eclass/flag-o-matic.eclass /usr/local/toolchain-overlay/eclass/hardened-funcs.eclass This ebuild is from an overlay: '/usr/local/portage/' Reproducible: Always
Created attachment 179993 [details, diff] patch for request_module("%s", modname)
Created attachment 179994 [details] madwifi-ng ebuild with above patch
Thank you for report, cilly. Patch similar to yours was added to the tree. BTW, next time please don't attach full ebuild. diff -u is enough and simplifies review of changes.