[pkg-php-pear] Bug#1120147: php-codecoverage: FTBFS with the nocheck build profile
Jeremy Bícha
jbicha at debian.org
Thu Nov 6 00:03:29 GMT 2025
Source: php-codecoverage
Version: 12.1.2+dfsg-1
Severity: serious
Tags: forky sid ftbfs
User: debian-qa at lists.debian.org
Usertags: ftbfs-nocheck-profile
X-Debbugs-CC: taffit at debian.org
php-codecoverage fails to build from source with a nocheck build profile.
There is a build dependency loop between phpunit and php-codecoverage
and I believe the simplest way to break the loop is to first build
php-codecoverage with nocheck, then phpunit, then php-codecoverage
normally. That is how I noticed this issue.
The errors that break the build start with:
cp -a /usr/bin/phpunit mimic/usr/bin/
cp: cannot stat '/usr/bin/phpunit': No such file or directory
That means this appears to have been caused by
https://salsa.debian.org/php-team/pear/php-codecoverage/-/commit/a543060e9725
Maybe you could move all those cp commands in debian/rules to the
override_dh_auto_test section to fix this issue?
Thank you,
Jeremy Bícha
More information about the pkg-php-pear
mailing list