On Wed, Mar 04, 2009 at 11:42:37AM +1100, Erik de Castro Lopo wrote:
> Samuel Mimram wrote:
> 
> > The thing is that the build failed on every arch (except i386), see :
> > 
> > https://buildd.debian.org/build.php?pkg=libsndfile
> 
> I've just confirmed this on Debian Testing on Amd64.

Note that there are 3 errors in the buildd logs:
- alpha shows:
test_wrapper.sh: line 33: 31486 Floating point exception./floating_point_test
- ia64, mips, mipsel, hppa, armel show one of:
Line 231: Actual SNR ( 58.7) > target SNR (-31.0).
Line 231: Actual SNR ( 57.4) > target SNR (-31.0).
Line 279: Actual SNR ( 59.3) > target SNR (-29.0).
Line 231: Actual SNR ( 0.0) > target SNR (-31.0).
- amd64, s390 and powerpc show:
    Error : max_abs 1.020731 should be < 1.02.

Note that the errors on !amd64 !s390 !powerpc are all in the
"Test IEEE replacement code".  So it's probably the
IEEE replacement code that is wrong.

On the other hand, amd64, s390 and powerpc all pass those
IEEE replacement code.  And my first guess would be
they all have IEEE hardware support.

> The following patch fixes it.
> 
> Cheers,
> Erik
> 
> --- libsndfile-1.0.19/tests/vorbis_test.c       2009-02-22 10:06:45.000000000 
> +1100
> +++ libsndfile-1.0.19-hacked/tests/vorbis_test.c        2009-03-04 
> 11:41:07.000000000 +1100
> @@ -96,8 +96,8 @@
>         for (k = 0 ; k < ARRAY_LEN (float_data) ; k ++)
>                 max_abs = max_float (max_abs, fabs (float_data [k])) ;
>  
> -       if (max_abs > 1.02)
> -       {       printf ("\n\n    Error : max_abs %f should be < 1.02.\n\n", 
> max_abs) ;
> +       if (max_abs > 1.021)
> +       {       printf ("\n\n    Error : max_abs %f should be < 1.021.\n\n", 
> max_abs) ;
>                 exit (1) ;
>                 } ;

I have no idea what this test is testing exactly.  But
either the test is wrong, or the result is wrong.  And
I currently assume the result is wrong.  I suggest
that if you don't know what it's testing and you really
want to ignore that error that you let the test be skipped
or say it's a known error rather than changing it.


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to