Bug#906381: lmfit-py: FTBFS in buster/sid (failing tests)
Santiago Vila
sanvila at debian.org
Fri Aug 17 12:20:31 BST 2018
Package: src:lmfit-py
Version: 0.9.7+dfsg-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python2,python3,sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config
running config
I: pybuild base:217: python3.6 setup.py config
running config
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/lmfit-py-0.9.7+dfsg'
dh_auto_build
I: pybuild base:217: /usr/bin/python setup.py build
running build
running build_py
[... snipped ...]
copying images... [ 89%] _images/model_fit4.png
copying images... [ 94%] _images/conf_interval1.png
copying images... [100%] _images/models_peak4.png
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 9 warnings.
The HTML pages are in build/html.
make[1]: Leaving directory '/<<BUILDDIR>>/lmfit-py-0.9.7+dfsg'
dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:217: cd /<<BUILDDIR>>/lmfit-py-0.9.7+dfsg/.pybuild/cpython2_2.7_lmfit/build; python2.7 -m nose tests
...................................lmfit/minimizer.py:1574: RuntimeWarning: invalid value encountered in log
_neg2_log_likel = result.ndata * np.log(result.chisqr / result.ndata)
......E................S....S......................................................................................................................capi_return is NULL
Call-back cb_calcfc_in__cobyla__user__routines failed.
.........................
======================================================================
ERROR: test_itercb.test_itercb
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/<<BUILDDIR>>/lmfit-py-0.9.7+dfsg/.pybuild/cpython2_2.7_lmfit/build/tests/test_itercb.py", line 24, in test_itercb
out = mod.fit(y, pars, x=x, iter_cb=per_iteration)
File "lmfit/model.py", line 736, in fit
output.fit(data=data, weights=weights)
File "lmfit/model.py", line 951, in fit
_ret = self.minimize(method=self.method)
File "lmfit/minimizer.py", line 1649, in minimize
return function(**kwargs)
File "lmfit/minimizer.py", line 1302, in leastsq
lsout = scipy_leastsq(self.__residual, vars, **lskws)
File "/usr/lib/python2.7/dist-packages/scipy/optimize/minpack.py", line 394, in leastsq
gtol, maxfev, epsfcn, factor, diag)
ValueError: The array returned by a function changed size between calls
----------------------------------------------------------------------
Ran 207 tests in 7.658s
FAILED (SKIP=2, errors=1)
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<BUILDDIR>>/lmfit-py-0.9.7+dfsg/.pybuild/cpython2_2.7_lmfit/build; python2.7 -m nose tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:21: build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lmfit-py.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the debian-science-maintainers
mailing list