Source: php7.4

Hi,

In debian/rules, the PHP CGI executable is set as:
  TEST_PHP_CGI_EXECUTABLE=$(CURDIR)/cgi-build/sapi/php-cgi
while a correct path would be:
  TEST_PHP_CGI_EXECUTABLE=$(CURDIR)/cgi-build/sapi/cgi/php-cgi

This results in many errors:
sh: 1: /<<PKGBUILDDIR>>/cgi-build/sapi/php-cgi: not found
see e.g.
https://buildd.debian.org/status/fetch.php?pkg=php7.4&arch=amd64&ver=7.4.21-1%2Bdeb11u1&stamp=1625215800&raw=0
which makes the test results less comprehensive.

Apparently this has been the case since at least the php5 package.

Is there a reason to set it that way, or should it be fixed?

Cheers!
Sylvain Beucler
Debian LTS Team

Reply via email to