[pkg-php-pear] Bug#1039773: php-dompdf: FTBFS with phpunit 10: make[1]: *** [debian/rules:21: execute_before_dh_auto_build] Error 1

Athos Ribeiro athoscribeiro at gmail.com
Wed Jun 28 22:05:34 BST 2023


Source: php-dompdf
Version: 2.0.3+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: phpunit

Hi,

We will start the phpunit 10 transition in unstable soon. During a test
rebuild, php-dompdf was found to FTBFS.

To reproduce this locally, you need to install the phpunit 10 package (and any
other dependency, which should also be available) from experimental on an
unstable system or build chroot.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf lib/fonts/DejaVuSans-Bold.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf lib/fonts/DejaVuSans-BoldOblique.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf lib/fonts/DejaVuSans-Oblique.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf lib/fonts/DejaVuSans.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf lib/fonts/DejaVuSansMono-Bold.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf lib/fonts/DejaVuSansMono-BoldOblique.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf lib/fonts/DejaVuSansMono-Oblique.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf lib/fonts/DejaVuSansMono.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf lib/fonts/DejaVuSerif-Bold.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf lib/fonts/DejaVuSerif-BoldItalic.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf lib/fonts/DejaVuSerif-Italic.ttf
> ln -s /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf lib/fonts/DejaVuSerif.ttf
> ttf2afm /usr/share/fonts/truetype/liberation2/LiberationMono-Bold.ttf -o lib/fonts/Courier-Bold.afm
> ttf2afm: fatal: truetype fonts file `/usr/share/fonts/truetype/liberation2/LiberationMono-Bold.ttf' not found.
> make[1]: *** [debian/rules:21: execute_before_dh_auto_build] Error 1


The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-dompdf/

A phpunit reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html

-- 
Athos Ribeiro



More information about the pkg-php-pear mailing list