>>> Test phase [check]: net-analyzer/iptraf-ng-1.1.1.20120321 Making check in src make check-TESTS /bin/sh: line 9: sparse: command not found FAIL: tui/input.c ... /bin/sh: line 9: sparse: command not found FAIL: list.h =========================================== 92 of 92 tests failed Please report to iptraf-ng@fedorahosted.org =========================================== make[2]: *** [check-TESTS] Error 1 make[1]: *** [check-am] Error 2 make: *** [check-recursive] Error 1 * ERROR: net-analyzer/iptraf-ng-1.1.1.20120321 failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 85: Called src_test * environment, line 120: Called _eapi0_src_test * phase-helpers.sh, line 550: Called die * The specific snippet of code: * $emake_cmd -j1 check || \ * die "Make check failed. See above for details." # which sparse which: no sparse in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/armv5tel-softfloat-linux-gnueabi/gcc-bin/4.5.3) with sys-devel/sparse installed, the tests pass w/o issues.
Another problem is that sparse then fails at CFLAGS like `--param foo'.
And even then it fails to set proper includes. I doubt testing the source code with sparse, especially after successfully compiling the very same code, is going to do any of our users much good. RESTRICT="test"