[Pkg-fonts-devel] Bug#840417: pdf2htmlex: FTBFS with new release of fontforge

Vasudev Kamath vasudev at copyninja.info
Tue Oct 11 12:25:28 UTC 2016

Source: pdf2htmlex
Severity: serious
User: pkg-fonts-devel at lists.alioth.debian.org
Usertags: fontforge-transition

Dear Maintainer,

pdf2htmlex FTBFS with new version of fontforge (currently in experimental).
Below is the snippet of log showing the error.

[ 47%] Building C object CMakeFiles/pdf2htmlEX.dir/src/util/ffw.c.o
/usr/bin/cc   -I/<<BUILDDIR>>/pdf2htmlex-0.14.6+ds/src -I/usr/include/poppler -I/usr/include/fontforge  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/pdf2htmlex-0.14.6+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wall   -o CMakeFiles/pdf2htmlEX.dir/src/util/ffw.c.o   -c /<<BUILDDIR>>/pdf2htmlex-0.14.6+ds/src/util/ffw.c
In file included from /usr/include/fontforge/baseviews.h:30:0,
                 from /<<BUILDDIR>>/pdf2htmlex-0.14.6+ds/src/util/ffw.c:17:
/usr/include/fontforge/ffglib.h:27:18: fatal error: glib.h: No such file or directory
 #include <glib.h>
compilation terminated.
CMakeFiles/pdf2htmlEX.dir/build.make:425: recipe for target 'CMakeFiles/pdf2htmlEX.dir/src/util/ffw.c.o' failed
make[4]: *** [CMakeFiles/pdf2htmlEX.dir/src/util/ffw.c.o] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/pdf2htmlex-0.14.6+ds/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:102: recipe for target 'CMakeFiles/pdf2htmlEX.dir/all' failed
make[3]: *** [CMakeFiles/pdf2htmlEX.dir/all] Error 2
make[3]: Leaving directory '/<<BUILDDIR>>/pdf2htmlex-0.14.6+ds/obj-x86_64-linux-gnu'
Makefile:141: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/pdf2htmlex-0.14.6+ds/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
debian/rules:21: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/pdf2htmlex-0.14.6+ds'
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

It looks like missing dependency on glib development headers. The full log is
available at ¹.

We intend to upload the fontforge to unstable in about a week's time. If you
need any more information please feel free to contact us (Fonts team).

¹ https://angband.pl/tmp/ff11/failed/pdf2htmlex_amd64-2016-10-10T23:47:05Z.build

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

More information about the Pkg-fonts-devel mailing list