Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256669 - net-wireless/madwifi-ng-0.9.4-r1 - madwifi-0.9.4/net80211/ieee80211_linux.c:338: error: format not a string literal and no format arguments
Summary: net-wireless/madwifi-ng-0.9.4-r1 - madwifi-0.9.4/net80211/ieee80211_linux.c:3...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-28 18:48 UTC by cilly
Modified: 2009-01-31 16:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for request_module("%s", modname) (madwifi-ng-string-literal.patch,500 bytes, patch)
2009-01-28 18:52 UTC, cilly
Details | Diff
madwifi-ng ebuild with above patch (madwifi-ng-0.9.4-r1.ebuild,3.26 KB, text/plain)
2009-01-28 18:53 UTC, cilly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2009-01-28 18:48:35 UTC
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
Comment 1 cilly 2009-01-28 18:52:33 UTC
Created attachment 179993 [details, diff]
patch for request_module("%s", modname)
Comment 2 cilly 2009-01-28 18:53:16 UTC
Created attachment 179994 [details]
madwifi-ng ebuild with above patch
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-01-31 16:16:00 UTC
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.