[Pkg-fonts-devel] Bug#953079: fontforge: FTBFS: builds with Python 2.7 by default if it is present and build then fails

Julian Gilbey jdg at debian.org
Wed Mar 4 07:08:30 GMT 2020


Package: fontforge
Version: 1:20190801~dfsg-2
Severity: serious
Tags: patch

The configure script prefers Python 2.7 over Python 3.x by default.
This then leads to a build failure as the shlib symbols in
debian/libfontforge3.symbols do not match the symbols in the compiled
libfontforge3.

The easy solution is to change the line in debian/rules which reads

 --enable-python-scripting \

to read

 --enable-python-scripting=3 \

(This is tested and it appears to work.)

Best wishes,

   Julian



More information about the Pkg-fonts-devel mailing list