Source: octave-symbolic
Version: 2.7.1-1
Severity: serious
Tags: ftbfs

Some recent change in unstable makes octave-symbolic FTBFS:

https://tests.reproducible-builds.org/debian/history/octave-symbolic.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/octave-symbolic.html

...
>>>>> /build/1st/octave-symbolic-2.7.1/inst/@sym/linspace.m
***** test
 a = linspace(sym(3), 5, 5);
 b = [sym(6) 7 8 9 10]/2;
 assert (isequal (a, b))
***** test
 % performance: want roughly O(1) not O(n)
 A = linspace(sym(0), sym(10), 3);  % do one first, avoid caching
 tic; A = linspace(sym(0), sym(10), 3);   t1 = toc();
 tic; A = linspace(sym(0), sym(10), 100); t2 = toc();
 if (t2 >= 10*t1)
   assert (false);
 end
!!!!! test failed
assert (false) failed
...
>>>>> /build/1st/octave-symbolic-2.7.1/inst/@double/pochhammer.m
***** error <sizes> pochhammer ([1 2], [1 2 3])
***** error <sizes> pochhammer ([1 2], [1; 2])
***** error <Invalid> pochhammer (1, 2, 3)
***** error <Invalid> pochhammer (1)
***** test
 y = sym(11)/10;
 t = sym(3);
 x = 1.1;
 s = 3;
 A = pochhammer (x, s);
 B = double (pochhammer (y, t));
 assert (A, B, -2*eps);
***** test
 % maple
 A = 256.798558090310131720;
 B = pochhammer (18.1, 1.9);
 assert (A, B, -20*eps)
***** test
 % maple, complex inputs>
 A = 2.67921619474318221972 + 1.96716724764630702653*1i;
 B = pochhammer (12.1+3.1*i, 0.5+0.2i);
 assert (A, B, -4*eps);
***** test
 % maple, matrix inputs
 A = [5.61467232547723663908 20.6144884613920190965];
 B = pochhammer ([0.9 0.8], [3.1 4.2]);
 assert (A, B, -eps);
!!!!! test failed
ASSERT errors for:  assert (A,B,-eps)

  Location  |  Observed  |  Expected  |  Reason
    (2)        20.6145      20.6145      Rel err 5.1702e-16 exceeds tol 
2.2204e-16 by 3e-16
...
Summary: 2230 tests, 2200 passed, 28 known failures, 0 skipped
Some tests failed.  Giving up...
make: *** [debian/rules:5: binary] Error 1

Reply via email to