When compiled with -pg, PHP installation fails with Maximum execution time of 0 seconds exceeded

Bug #1729907 reported by canavan
6
This bug affects 1 person
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/pear/install-pear-nozlib.phar on line 2

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/php-7.1.11/configure \

        --enable-fpm \

        --disable-all \

        --prefix=/tmp/pi \

        --without-openssl \

        --without-mm \

        --without-mcrypt \

        --enable-pcntl \

        --enable-ctype \

        --enable-posix \

        --with-pcre-regex=/usr/ \

        --with-pear \

        --enable-phar \

        --enable-xml \

        --enable-libxml \

        --with-iconv \

        --without-gd \

        --with-zlib \

        --without-curl \

        --enable-fd-setsize=8192 \

        --enable-opcache \

        --without-sqlite3 \

        --without-pdo-sqlite \

        --without-pdo-mysql \

        --without-pgsql \

        --without-pdo-pgsql && \

    (cd /tmp/pb; nice make -j 4 install V=1)

[...]

Installing man pages: /tmp/pi/php/man/man1/

  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/pear/install-pear-nozlib.phar on line 2

Makefile:432: recipe for target 'install-pear-installer' failed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.