help-libidn
[Top][All Lists]
Advanced

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

Re: GNU Libidn 1.33 : FAIL: tst_stringprep


From: Dennis Clarke
Subject: Re: GNU Libidn 1.33 : FAIL: tst_stringprep
Date: Fri, 5 Aug 2016 15:03:18 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0a1

On 08/05/2016 02:26 PM, Dennis Clarke wrote:
On 08/05/2016 02:12 PM, Dennis Clarke wrote:

Not sure why tst_stringprep fails the basic testsuite here on a Sun
Solaris 10 Sparc server using the Oracle Studio 12.5 compiler tools
and C99 compiler to be specific.

 What more can I look for to debug this ?

sorry .. reply to myself : this has been around a while :
   https://lists.gnu.org/archive/html/help-libidn/2009-06/msg00002.html


Really should fire up the debugger and figure this one out.

No need to do that it seems :-\

OKay, so the issue is that I had libidn 1.32 installed previously
and the test tst_stringprep makes a call to check version :

210    if (!stringprep_check_version (STRINGPREP_VERSION))
211      fail ("stringprep_check_version failed (header %s runtime %s)\n",
212            STRINGPREP_VERSION, stringprep_check_version (NULL));

Of course the headers and the libs being found are installed from
the previous version because, lets face it, I have not yet
installed this version because it doesn't pass all its tests yet.
However this is all so familiar because clearly I do this on every
version and forget that you won't get valid test reults until AFTER
the libs and headers etc are installed. At least in this one test.

So the logs said :

$ cat tst_stringprep.log
stringprep_check_version failed (header 1.33 runtime 1.32)
stringprep_check_version failure (header 1.33 runtime 1.32)


After install ... all tests are fine.


Clearly I need to clean out some old stuff or one must
build libidn without a previous libidn laying about.

Dennis




reply via email to

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