Building from source fails due to python2 syntax in configure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
graphviz (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When building packages, dh_install --arch fails because the python3 files have not been installed into debian/tmp.
The reason for this is that Python configuration (at least here on Ubuntu 22.04) partly fails, because the configure script is using Python 2 "print" syntax.
The fix is very simple:
--- a/configure.ac 2023-04-02 20:42:26.198046287 -0400
+++ b/configure.ac 2023-04-02 20:42:47.214182903 -0400
@@ -1182,7 +1182,7 @@
if test "x$PYTHON" = "x"; then
use_python="No (python is too old)"
else
- PYTHON_
+ PYTHON_
# PYTHON_
PYTHON_
Related branches
- Dave Jones (community): Needs Fixing
- git-ubuntu import: Pending requested
-
Diff: 72 lines (+41/-0) (has conflicts)3 files modifieddebian/changelog (+20/-0)
debian/patches/series (+5/-0)
debian/patches/svg-scaling.patch (+16/-0)
fix here: https:/ /code.launchpad .net/~dhuggins/ ubuntu/ +source/ graphviz/ +git/graphviz/ +ref/dhd/ fix_2015017_ 2015023