[pkg-php-pear] Bug#820691: php-dompdf: FTBFS - Class 'Font' not found

Michael Tautschnig mt at debian.org
Mon Apr 11 13:05:43 UTC 2016


Package: php-dompdf
Version: 0.6.2+dfsg-2
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
Copying /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf to /srv/jenkins-slave/workspace/sid-goto-cc-php-dompdf/php-dompdf-0.6.2+dfsg/debian/php-dompdf/usr/share/php/dompdf/lib/fonts/DejaVuSans.ttf...
Generating Adobe Font Metrics for /srv/jenkins-slave/workspace/sid-goto-cc-php-dompdf/php-dompdf-0.6.2+dfsg/debian/php-dompdf/usr/share/php/dompdf/lib/fonts/DejaVuSans...
PHP Fatal error:  Uncaught Error: Class 'Font' not found in /srv/jenkins-slave/workspace/sid-goto-cc-php-dompdf/php-dompdf-0.6.2+dfsg/debian/php-dompdf/usr/share/php/dompdf/load_font.php:139
Stack trace:
#0 /srv/jenkins-slave/workspace/sid-goto-cc-php-dompdf/php-dompdf-0.6.2+dfsg/debian/php-dompdf/usr/share/php/dompdf/load_font.php(171): install_font_family('dejavu sans', '/usr/share/font...', '/usr/share/font...', '/usr/share/font...', '/usr/share/font...')
#1 {main}
  thrown in /srv/jenkins-slave/workspace/sid-goto-cc-php-dompdf/php-dompdf-0.6.2+dfsg/debian/php-dompdf/usr/share/php/dompdf/load_font.php on line 139
debian/rules:6: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 255
make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-php-dompdf/php-dompdf-0.6.2+dfsg'
debian/rules:3: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-dompdf-build-log.txt.gz
Type: application/x-gunzip
Size: 6779 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20160411/e178d77f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20160411/e178d77f/attachment.sig>


More information about the pkg-php-pear mailing list