Source: php-codecoverage
Version: 12.1.2+dfsg-1
Severity: serious
Tags: forky sid ftbfs
User: [email protected]
Usertags: ftbfs-nocheck-profile
X-Debbugs-CC: [email protected]

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

Reply via email to