Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331013 - kernel-2.eclass: disable default test function from Portage
Summary: kernel-2.eclass: disable default test function from Portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 10:31 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-08-03 18:31 UTC (History)
0 users

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


Attachments
Build log (kernel-2-notests.patch,982 bytes, text/plain)
2010-08-03 10:31 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-03 10:31:22 UTC
Without the patch I'm going to attach, $foo-sources ebuilds will install a few pre-compiled binaries even though they are binchecks-restricted, because of this:

flame@yamato test % make test
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:307:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c: In function ‘expr_print_file_helper’:
scripts/kconfig/expr.c:1090:8: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/zconf.tab.c: In function ‘conf_write_autoconf’:
scripts/kconfig/confdata.c:759:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/confdata.c:760:12: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/zconf.tab.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:508:13: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel config file ".config")
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `test'.  Stop.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-03 10:31:31 UTC
Created attachment 241229 [details]
Build log
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-08-03 18:31:13 UTC
Committed.