[jim@lobo p11-kit-0.12]$ uname -a Linux lobo.silvertailsystems.com 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux[jim@lobo p11-kit-0.12]$ cat /etc/redhat-release CentOS Linux release 6.0 (Final) [jim@lobo p11-kit-0.12]$ make check Making check in p11-kit make[1]: Entering directory `/home/jim/packages/p11-kit-0.12/p11-kit' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/jim/packages/p11-kit-0.12/p11-kit' Making check in tools make[1]: Entering directory `/home/jim/packages/p11-kit-0.12/tools' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/jim/packages/p11-kit-0.12/tools' Making check in tests make[1]: Entering directory `/home/jim/packages/p11-kit-0.12/tests' make check-TESTS make[2]: Entering directory `/home/jim/packages/p11-kit-0.12/tests' 0x402eb3 setting ....F........ There was 1 failure: 1) test_set_clear: hash-test.c:182: should be null !!!FAILURES!!! Runs: 13 Passes: 12 Fails: 1 FAIL: hash-test ........ OK (8 tests) PASS: ptr-array-test .............. OK (14 tests) PASS: conf-test ....................................... OK (39 tests) PASS: uri-test ....... OK (7 tests) PASS: pin-test p11-kit: p11-kit initialization called recursively ... OK (3 tests) PASS: test-init ============================================================================ 1 of 6 tests failed Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=p11-glue ============================================================================ make[2]: *** [check-TESTS] Error 1
The same bug happens with p11-kit-0.11. I want to build gnutls-2.12.17 which requires p11-kit >= 0.11.
Thanks for reporting the problem. Fixed in git master. commit af8d28014f97ab0d9e4d00961e72aefd7adb470b Author: Stef Walter <stefw@gnome.org> Date: Tue Mar 27 12:14:56 2012 +0200 Fix broken hashmap behavior * We were relying on undefined gcc behavior related to the & operator. * This would show up as a test failure when running with -O2 on certain GCC versions, as well as failure on clang 3.1
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.