When compiled with -pg, PHP installation fails with Maximum execution time of 0 seconds exceeded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When compiling PHP with -pg, the resulting build cannot be installed, since the installation of pear fails with
Fatal error: Maximum execution time of 0 seconds exceeded in /tmp/pb/
Tested with the default gcc of zesty as well as gcc-7 7.2.0-8ubuntu3 on artful with PHP 7.1.10 and 7.1.11.
Unpack PHP source code in e.g. /tmp/p, then reproduce with
mkdir -p /tmp/pb
cd /tmp/pb && \
CFLAGS=" -pg -fPIC" \
/bin/bash /tmp/p/
--with-pear \
--with-zlib \
(cd /tmp/pb; nice make -j 4 install V=1)
[...]
Installing man pages: /tmp/pi/
page: phpize.1
page: php-config.1
Installing PEAR environment: /tmp/pi/lib/php/
Fatal error: Maximum execution time of 0 seconds exceeded in /tmp/pb/
Makefile:432: recipe for target 'install-