Summary: | dev-libs/nss-3.15 fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Palimaka (kensington) <kensington> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahudson.news, gentoo, kingjon3377, levertond, nikoli, sam, tka |
Priority: | Normal | Keywords: | PullRequest, TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/25930 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Michael Palimaka (kensington)
![]() I see this same problem on dev-libs/nss-3.15.1-r1 Can confirm this bug with =dev-libs/nss-3.15.1-r1 too This breaks because of a weird hack in the Makefile that fools the PM into thinking there's a valid check target defined, but it actually just fails when invoked: http://hg.mozilla.org/projects/nss/annotate/82e7c0ea4364/coreconf/rules.mk#l828. It wasn't an issue in previous versions because the older ebuilds didn't set S to the directory containing the top level Makefile, so the default src_test didn't have any effect. The simple fix here would be to just set RESTRICT="test" in the ebuild. NSS does actually come with a test suite that could perhaps be run, but I don't know how much effort it would take to get that working. Works for me -- thanks for doing the research on this! + 01 Sep 2013; Ian Stakenvicius <axs@gentoo.org> nss-3.15.1-r1.ebuild: + Restrict tests to avoid running tests with do not exist, bug 474056 + The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b12191959f0606be45499923f4b0589eef95a82 commit 5b12191959f0606be45499923f4b0589eef95a82 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-16 18:19:26 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-06-17 07:37:10 +0000 dev-libs/nss: re-enable tests Bug: https://bugs.gentoo.org/474056 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-libs/nss/nss-3.79-r1.ebuild | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) |