Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225513 - [FEATURES="test"] sys-libs/libsemanage-1.10.9 fails testcases
Summary: [FEATURES="test"] sys-libs/libsemanage-1.10.9 fails testcases
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris PeBenito (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-09 06:02 UTC by Xake
Modified: 2008-09-10 17:35 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 Xake 2008-06-09 06:02:49 UTC
I see three problems here:

* To even run the testcases libsemanage needs dev-util/cunit-2.0 merged.
* tests/Makefile refers to "../../libselinux/src/libselinux.a" and "../../libsepol/src/libsepol.a", two files it will not find. As the ebuild depends on those libs anyway, it maybe should use the ones provided by the dependecies?
* Since it plays with static libraries it should add "-static" to LDFLAGS in the abow mentioned Makefile, else a hardened compiler tries to build it as PIE, failing.

It also seems like the testcase does not error out even if it fails, but that is a diffrent story...
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2008-09-10 17:35:57 UTC
fixed in cvs.  can't run tests in ebuild as they are meant to be run on the entire selinux userland repo, not individual parts