Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414841 - net-analyzer/iptraf-ng-1.1.1.20120321 missing sys-devel/sparse dep for USE=test
Summary: net-analyzer/iptraf-ng-1.1.1.20120321 missing sys-devel/sparse dep for USE=test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-06 09:00 UTC by Markus Meier
Modified: 2012-05-19 15:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2012-05-06 09:00:43 UTC
>>> 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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-19 15:44:55 UTC
Another problem is that sparse then fails at CFLAGS like `--param foo'.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-19 15:59:37 UTC
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"