help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libidn-1.24 build feedback


From: Simon Josefsson
Subject: Re: libidn-1.24 build feedback
Date: Thu, 05 Jan 2012 10:28:17 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

"Nelson H. F. Beebe" <address@hidden> writes:

> I installed libidn-1.24 on about two dozen flavors of Unix in our test
> lab here today.  Most were successful, but there were a few minor test
> failures:

Thank you for testing!

> GNU/Linux on IA-63, PPC-64, PPC-32, Alpha, SPARC, and Ubuntu x86 (but
> not Red Hat or Fedora x86):
>
>       IDNA3[0] failed
>       IDNA3[1] failed
>       FAIL: tst_idna3

This is disturbing.  I am guessing that for some reason the self test
ends up being linked to the system libidn.  The system libidn probably
has the bug that this self tests are checking for.  However I cannot
reproduce this on Ubuntu 11.10 amd64.  Can you show the output of 'ldd
tests/tst_idna3' inside the build-tree?  On my Ubuntu system it prints:

address@hidden:~/libidn-1.24# ldd tests/tst_idna3
        linux-vdso.so.1 =>  (0x00007fff549dd000)
        libidn.so.11 => /root/libidn-1.24/lib/.libs/libidn.so.11 
(0x00007ffb9acf4000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffb9a94e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ffb9af29000)
address@hidden:~/libidn-1.24# 

> NetBSD 5.0.2 x86:
>       FAIL: stringprep_locale_to_utf8("foo") == (null)
>       FAIL: stringprep_utf8_to_locale("foo") == (null)
>       FAIL: tst_toutf8

This indicate a broken system iconv function.  I'm surprised NetBSD
doesn't have a working iconv, so possibly there is a libidn bug.  Did
libidn detect libiconv?  Can you show the ./configure log output?

> OpenBSD 4.7 x86:
>       same two failures as above
>
> Solaris 11 x86_64:
>       --- exp Tue Jan  3 17:49:08 2012
>       +++ out Tue Jan  3 17:49:08 2012
>       @@ -1,4 +1,4 @@
>        --- empty
>        +++ in
>       -@@ -0,0 +1 @@
>       +@@ -1,0 +1,1 @@
>        +xyz
>       FAIL: test-init.sh

Bruno said this one had been fixed in gnulib, although I haven't been
able to find the patch to apply.

> Tests were all successful on: 
>       Solaris 10 (SPARC, x86, x86_64)
>       FreeBSD 8.1 x86
>       GNU/Linux x86_64 (Red Hat and OpenSUSE)
>       Mac OS X (PPC, 32-bit x86_64, 64-bit x86_64)

Thanks again,
Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]