Package: src:uncertainties Version: 2.4.4-1 Severity: serious Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" (which is what the "Arch: all" autobuilder would do to build it) but it failed: -------------------------------------------------------------------------------- [...] ====================================================================== ERROR: Comparison between function derivatives and numerical derivatives. ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/<<PKGBUILDDIR>>/uncertainties/test_umath.py", line 40, in test_fixed_derivatives_math_funcs test_uncertainties.compare_derivatives(func, numerical_derivatives) File "/<<PKGBUILDDIR>>/uncertainties/test_uncertainties.py", line 203, in compare_derivatives fixed_deriv_value, num_deriv_value)) DerivativesDiffer: Derivative #0 of function 'cos' may be wrong: at args = [-0.00015531348313757576+/-0], value obtained = 0.0001553134825132, while numerical approximation = 0.0001439137242899. -------------------- >> begin captured stdout << --------------------- Testing acos at [0.3515705140294627+/-0], arg #0 Testing acosh at [1.21383500642085+/-0], arg #0 Testing asin at [0.2751865361039778+/-0], arg #0 Testing asinh at [1.848245081819893+/-0], arg #0 Testing atan at [0.5694583185549367+/-0], arg #0 Testing atan2 at [-0.4649913075928138+/-0, 0.3968986747555565+/-0], arg #0 Testing atan2 at [-0.4649913075928138+/-0, 0.3968986747555565+/-0], arg #1 Testing atanh at [0.02193641824821002+/-0], arg #0 Testing copysign at [-1.3339747776292108+/-0, 1.4083966105684347+/-0], arg #0 Testing copysign at [-1.3339747776292108+/-0, 1.4083966105684347+/-0], arg #1 Testing cos at [-0.00015531348313757576+/-0], arg #0 --------------------- >> end captured stdout << ---------------------- ---------------------------------------------------------------------- Ran 54 tests in 1.396s FAILED (errors=1) E: pybuild pybuild:276: test: plugin custom failed with: exit code=1: cd uncertainties; nosetests dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13 debian/rules:21: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:7: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- This happens randomly. Sometimes it fails. Sometimes it does not. But it's easy to trigger if the build is attempted enough times. I attach two build logs in which this test failed. Thanks.
uncertainties_2.4.4-1_amd64-20161112T050834Z.gz
Description: application/gzip
uncertainties_2.4.4-1_amd64-20161117T000619Z.gz
Description: application/gzip