Bug#952251: sympy: FTBFS: make[2]: python: Command not found
Steve Langasek
steve.langasek at canonical.com
Fri Feb 28 20:15:04 GMT 2020
Package: sympy
Followup-For: Bug #952251
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch
This should be addressed by fixing the upstream build rules to invoke
python3 instead of python. Please find attached a patch which has been
uploaded to Ubuntu to fix this failure.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
diff -Nru sympy-1.5.1/debian/patches/python3-not-python.patch sympy-1.5.1/debian/patches/python3-not-python.patch
--- sympy-1.5.1/debian/patches/python3-not-python.patch 1969-12-31 16:00:00.000000000 -0800
+++ sympy-1.5.1/debian/patches/python3-not-python.patch 2020-02-28 09:23:34.000000000 -0800
@@ -0,0 +1,17 @@
+Author: Steve Langasek <steve.langasek at ubuntu.com>
+Description: invoke python3 for building, not the deprecated python.
+Last-Update: 2020-02-28
+Bug-Debian: https://bugs.debian.org/952251
+
+Index: sympy-1.5.1/doc/Makefile
+===================================================================
+--- sympy-1.5.1.orig/doc/Makefile
++++ sympy-1.5.1/doc/Makefile
+@@ -1,6 +1,6 @@
+ # Makefile for Sphinx documentation
+ #
+-PYTHON = python
++PYTHON = python3
+ RST2HTML = rst2html
+
+ # You can set these variables from the command line.
diff -Nru sympy-1.5.1/debian/patches/series sympy-1.5.1/debian/patches/series
--- sympy-1.5.1/debian/patches/series 2020-02-07 09:53:35.000000000 -0800
+++ sympy-1.5.1/debian/patches/series 2020-02-28 09:23:34.000000000 -0800
@@ -3,3 +3,4 @@
03_sphinx_conf.patch
04_doc_makefile.patch
05_sphinx_math_dollar.patch
+python3-not-python.patch
More information about the debian-science-maintainers
mailing list