[php-src] Issue #8185: pear install: error in malloc_consolidate
| From: | arnaud-lb | Date: | Fri, 15 Apr 2022 18:02:30 +0000 |
| Subject: | [php-src] Issue #8185: pear install: error in malloc_consolidate | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241017@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8185
Comment Author: arnaud-lb
I tried reproducing with the same configure command, with no luck. Here is the docker file I used:
```
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y git gcc autoconf make bison re2c pkg-config
libsystemd-dev libxml2-dev libssl-dev libpcre2-dev zlib1g-dev libbz2-dev libcurl4-openssl-dev
libsqlite3-dev wget
RUN git clone --depth 1 --single-branch --branch PHP-8.1 https://github.com/php/php-src
RUN cd php-src && \
./buildconf && \
'./configure' '--enable-fpm' '--with-fpm-user=apache'
'--with-fpm-group=apache' '--with-fpm-systemd' '--enable-cli'
'--enable-zts' '--with-pic' '--build=x86_64-mageia-linux-gnu'
'--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib64'
'--libexecdir=/usr/libexec' '--localstatedir=/var/lib'
'--mandir=/usr/share/man' '--enable-shared=yes' '--enable-static=no'
'--disable-debug' '--enable-mbregex' '--enable-phpdbg'
'--enable-phpdbg-webhelper' '--enable-simplexml'
'--with-cdb' '--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php.d' '--with-freetype=/usr'
'--with-imap-ssl=/usr' '--with-jpeg=/usr' '--with-ldap-sasl'
'--with-libdir=lib64' '--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--with-openssl=shared' '--with-openssl-dir=/usr' '--with-pear'
'--with-external-pcre=/usr' '--with-pcre-jit'
'--with-system-ciphers' '--with-webp=/usr' '--with-xpm=/usr/X11R6'
'--with-zlib-dir=/usr' 'build_alias=x86_64-mageia-linux-gnu'
'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'
'ENCHANT_CFLAGS=-I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-pthread ' 'ENCHANT_LIBS=-lenchant-2 ' && \
make -j16 && \
make install
RUN echo 'extension=openssl.so' >> /etc/php.ini
```
(I've just removed some shared extensions from the configure command.)