gnutls-3.0.18 make check fails on Solaris10

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Apr 3 16:37:26 CEST 2012


On Tue, Apr 3, 2012 at 4:00 PM, Kiyoshi KANAZAWA
<yoi_no_myoujou at yahoo.co.jp> wrote:

Hello,
 Thank you for the report. Some questions inline.

> Gnutls-3.0.18 make check fails on Solaris10 x86-64.
> There are 2 types of errors.
> (1) 'AF_LOCAL' undeclared
>  CC     mini-loss-time.o
> mini-loss-time.c: In function `start':
> mini-loss-time.c:256: error: `AF_LOCAL' undeclared (first use in this function)

If you define AF_LOCAL to AF_UNIX do they compile?

> (2) Segmentation Fault
> make[3]: Entering directory `/tmp/gnutls-3.0.18/tests/pkcs12-decode'
> NEON PKCS12 OK client.p12 foobar
> NEON PKCS12 OK noclient.p12
> NEON PKCS12 OK unclient.p12
> Segmentation Fault

Could you apply the patch and run the pkcs12 test? (you'll need valgrind)

regards,
Nikos
-------------- next part --------------
diff --git a/tests/pkcs12-decode/pkcs12 b/tests/pkcs12-decode/pkcs12
index e35004f..c01e950 100755
--- a/tests/pkcs12-decode/pkcs12
+++ b/tests/pkcs12-decode/pkcs12
@@ -29,8 +29,8 @@ for p12 in 'client.p12 foobar' noclient.p12 unclient.p12 pkcs12_2certs.p12; do
     set -- $p12
     file=$1
     passwd=$2
-    $CERTTOOL --p12-info --inder --password "$passwd" \
-		--infile $srcdir/$file > out 2>&1
+    valgrind $CERTTOOL --p12-info --inder --password "$passwd" \
+		--infile $srcdir/$file > out
     rc=$?
     if test $rc != 0; then
 	cat out


More information about the Gnutls-devel mailing list