[Python-modules-team] Bug#806867: python-scipy: FTBFS when built with dpkg-buildpackage -A (No module named scipy)

Santiago Vila sanvila at unex.es
Sun May 29 19:39:33 UTC 2016


> Exception occurred:
>   File "conf.py", line 58, in <module>
>     import scipy
> ImportError: No module named scipy
> The full traceback has been saved in /tmp/sphinx-err-dX0KL_.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> Makefile:87: recipe for target 'html' failed
> make[1]: *** [html] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> debian/rules:37: recipe for target 'build-indep' failed

This error message suggests that the package build may not be split
into build-arch and build-indep, because the manual needs "python-scipy"
to be present in the system and this is created in the build-arch
target.

My suggestion to fix this would be to make build-arch and build-indep
to depend on build (not the other way around) and build everything in
the build target.

The package will probably not build "optimally", but at least it
should build, and that will always be better than the current FTBFS bug.

Thanks.



More information about the Python-modules-team mailing list