Skip to content

Instantly share code, notes, and snippets.

@brunoric
Last active January 17, 2019 07:19
Show Gist options
  • Save brunoric/66fd62c00848a11f144d1838d26d043a to your computer and use it in GitHub Desktop.
Save brunoric/66fd62c00848a11f144d1838d26d043a to your computer and use it in GitHub Desktop.
Build failing for PHP 7.2.0alpha2
# make finishes with
Generating phar.php
Generating phar.phar
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
directorytreeiterator.inc
clicommand.inc
invertedregexiterator.inc
directorygraphiterator.inc
pharcommand.inc
phar.inc
Build complete.
Don't forget to run 'make test'.
# starting make install
+ make install
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20160303/
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/php/man/man1/
Installing phpdbg binary: /usr/local/bin/
Installing phpdbg man page: /usr/local/php/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
make[1]: *** [install-pear-installer] Error 255
Makefile:435: recipe for target 'install-pear-installer' failed
Makefile:438: recipe for target 'install-pear' failed
make: *** [install-pear] Error 2
The command '/bin/sh -c set -xe && buildDeps=" $PHP_EXTRA_BUILD_DEPS libcurl4-openssl-dev libedit-dev libsqlite3-dev libssl-dev libxml2-dev " && apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* && export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" && docker-php-source extract && cd /usr/src/php && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)" && ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --disable-cgi --enable-ftp --enable-mbstring --enable-mysqlnd --with-curl --with-libedit --with-openssl --with-zlib --with-pcre-regex=/usr --with-libdir="lib/$debMultiarch" $PHP_EXTRA_CONFIGURE_ARGS && make -j "$(nproc)" && make install && { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } && cd / && pecl update-channels && rm -rf /tmp/pear ~/.pearrc' returned a non-zero code: 2
@m9rco
Copy link

m9rco commented Jan 17, 2019

fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment