Just got this error when I compiled the p11-kit in CentOS 7.3 and redirecting to this site for filing the bug.. ok 21 /token/remove-multiple FAIL: test-token 1..25 ... then ok 12 /openssl/test_directory ok 13 /openssl/test_directory_empty PASS: test-openssl ============================================================================ 1 of 45 tests failed Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=p11-glue ============================================================================ make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/root/rpmbuild/BUILD/p11-kit-0.23.3' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/root/rpmbuild/BUILD/p11-kit-0.23.3' make: *** [check-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.29GdyB (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.29GdyB (%check) Don't have idea how to troubleshoot this. Thanks.
using the this spec from fedora.. http://pkgs.fedoraproject.org/cgit/rpms/p11-kit.git/plain/p11-kit.spec
got it just remove the line make clean in the p11-kit.spec, it is now working fine and got the p11-kit*.rpm p11-kit-0.23.3-2.el7.centos.x86_64.rpm p11-kit-devel-0.23.3-2.el7.centos.x86_64.rpm p11-kit-debuginfo-0.23.3-2.el7.centos.x86_64.rpm p11-kit-trust-0.23.3-2.el7.centos.x86_64.rpm
p11-kit.spec is part of Fedora and or RHEL. I suggest you open a bug at https://bugzilla.redhat.com ... although some of the some people are involved in work on p11-kit upstream.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.