self-check failure

Simon Josefsson simon at josefsson.org
Fri Mar 9 05:46:41 PST 2012


Thanks for 0.12. :-)  However I got a self-test failure when running
'make check':

make[2]: Entering directory `/home/jas/src/p11-kit-0.12/tests'
0x402f57 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

It happens every time.  p11-kit 0.11 works fine when I build it with
./configure CFLAGS=-D_GNU_SOURCE to workaround the pthread issue.

Was anything else changed?  I'm including the diff between config.h of
the different versions below, maybe something there trigger this bug?

If you don't have any ideas, I'll debug more, but maybe you can already
identify the problem.

/Simon

--- p11-kit-0.11/config.h	2012-03-09 14:43:16.963323647 +0100
+++ p11-kit-0.12/config.h	2012-03-09 14:42:20.895821605 +0100
@@ -88,7 +88,7 @@
 #define PACKAGE_NAME "p11-kit"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "p11-kit 0.11"
+#define PACKAGE_STRING "p11-kit 0.12"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "p11-kit"
@@ -97,13 +97,35 @@
 #define PACKAGE_URL "http://p11-glue.freedesktop.org/p11-kit.html"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "0.11"
+#define PACKAGE_VERSION "0.12"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
+/* Enable extensions on AIX 3, Interix.  */
+#ifndef _ALL_SOURCE
+# define _ALL_SOURCE 1
+#endif
+/* Enable GNU extensions on systems that have them.  */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
+/* Enable threading extensions on Solaris.  */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+/* Enable extensions on HP NonStop.  */
+#ifndef _TANDEM_SOURCE
+# define _TANDEM_SOURCE 1
+#endif
+/* Enable general extensions on Solaris.  */
+#ifndef __EXTENSIONS__
+# define __EXTENSIONS__ 1
+#endif
+
+
 /* Version number of package */
-#define VERSION "0.11"
+#define VERSION "0.12"
 
 /* Print debug output */
 #define WITH_DEBUG 1
@@ -113,3 +135,13 @@
 
 /* In debug mode */
 #define _DEBUG 1
+
+/* Define to 1 if on MINIX. */
+/* #undef _MINIX */
+
+/* Define to 2 if the system does not provide POSIX.1 features except with
+   this defined. */
+/* #undef _POSIX_1_SOURCE */
+
+/* Define to 1 if you need to in order for `stat' and other things to work. */
+/* #undef _POSIX_SOURCE */


More information about the p11-glue mailing list