Public bug reported:

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

** Affects: gcc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1729907

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc/+bug/1729907/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to