[pkg-php-pear] Bug#1077445: php-dompdf: FTBFS: PHP Warning: require_once(/usr/share/php/Phenx/PhpFontLib/autoload.php): Failed to open stream: No such file or directory in /<<PKGBUILDDIR>>/vendor/autoload.php on line 5

Lucas Nussbaum lucas at debian.org
Mon Jul 29 06:54:08 BST 2024


Source: php-dompdf
Version: 2.0.7+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240728 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpabtpl --require-file ../lib/Cpdf.php composer.json > debian/autoload.php.tpl
> mkdir -p vendor
> phpab --output vendor/autoload.php \
> 	--template debian/autoload.php.tpl \
> 	src/
> phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
> 
> Scanning directory src/
> 
> Autoload file vendor/autoload.php generated.
> 
> phpabtpl --require mockery/mockery --require-file ../vendor/autoload.php > debian/autoload.tests.php.tpl
> Proceeding without a composer.json file.phpab --output tests/autoload.php \
> 	--template debian/autoload.tests.php.tpl \
> 	tests/
> phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
> 
> Scanning directory tests/
> 
> Autoload file tests/autoload.php generated.
> 
> phpunit --no-coverage --bootstrap tests/autoload.php
> PHP Warning:  require_once(/usr/share/php/Phenx/PhpFontLib/autoload.php): Failed to open stream: No such file or directory in /<<PKGBUILDDIR>>/vendor/autoload.php on line 5
> PHPUnit 9.6.20 by Sebastian Bergmann and contributors.
> 
> Error in bootstrap script: Error:
> Failed opening required '/usr/share/php/Phenx/PhpFontLib/autoload.php' (include_path='.:/usr/share/php')
> #0 /<<PKGBUILDDIR>>/tests/autoload.php(44): require_once()
> #1 /usr/share/php/PHPUnit/Util/FileLoader.php(66): include_once('...')
> #2 /usr/share/php/PHPUnit/Util/FileLoader.php(49): PHPUnit\Util\FileLoader::load()
> #3 /usr/share/php/PHPUnit/TextUI/Command.php(567): PHPUnit\Util\FileLoader::checkAndLoad()
> #4 /usr/share/php/PHPUnit/TextUI/Command.php(345): PHPUnit\TextUI\Command->handleBootstrap()
> #5 /usr/share/php/PHPUnit/TextUI/Command.php(114): PHPUnit\TextUI\Command->handleArguments()
> #6 /usr/share/php/PHPUnit/TextUI/Command.php(99): PHPUnit\TextUI\Command->run()
> #7 /usr/bin/phpunit(107): PHPUnit\TextUI\Command::main()
> #8 {main}
> make[1]: *** [debian/rules:60: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/php-dompdf_2.0.7+dfsg-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-php-pear mailing list