[Pkg-fonts-devel] Bug#876837: Bug#876837: fonts-liberation2 FTBFS with fonttools 3.15.1-2

Adrian Bunk bunk at debian.org
Tue Sep 26 10:12:13 UTC 2017


On Tue, Sep 26, 2017 at 12:09:35PM +0200, Fabian Greffrath wrote:
> Adrian Bunk wrote:
> > python scripts/setisFixedPitch-fonttools.py src/LiberationMono-*.ttf
> > /bin/sh: 1: python: not found
> > Makefile:58: recipe for target 'ttf-dir' failed
> > make[1]: *** [ttf-dir] Error 127
> > make[1]: Leaving directory '/build/1st/fonts-liberation2-2.00.1'
> > dh_auto_build: make -j1 returned exit code 2
> > debian/rules:3: recipe for target 'build' failed
> > make: *** [build] Error 2
> 
> So, I need to add an explicit B-D on python?

Unfortunately that's not enough:

python scripts/setisFixedPitch-fonttools.py src/LiberationMono-*.ttf
Traceback (most recent call last):
  File "scripts/setisFixedPitch-fonttools.py", line 31, in <module>
    from fontTools import ttLib
ImportError: No module named fontTools
Makefile:58: recipe for target 'ttf-dir' failed

The problem is that you are using the python modules shipped by fonttools,
and these are now provided for Python3 instead of Python2.

>  - Fabia

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Pkg-fonts-devel mailing list