[php-src] Issue #8185: pear install: error in malloc_consolidate
| From: | arnaud-lb | Date: | Sun, 17 Apr 2022 12:29:23 +0000 |
| Subject: | [php-src] Issue #8185: pear install: error in malloc_consolidate | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241044@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8185
Comment Author: arnaud-lb
Here is a Dockerfile based on mageia 8 and your backport packages:
```
FROM mageia:8
RUN urpmi.addmedia BackportsTesting --update https://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/8/x86_64/media/core/backports_testing/
RUN urpmi.update BackportsTesting
RUN urpmi --auto php-cli php-filter php-pear
RUN /usr/bin/php -n -C \
-d extension=filter \
-d extension=openssl \
-d include_path=/usr/share/pear \
-d date.timezone=UTC \
-d output_buffering=1 \
-d variables_order=EGPCS \
-d register_argc_argv="On" \
-d open_basedir="" \
-d auto_prepend_file="" \
-d auto_append_file="" \
/usr/share/pear/pearcmd.php install Calendar-0.5.5
```
Here is the output of
docker build -t mageia . :
```
Step 5/5 : RUN /usr/bin/php -n -C -d extension=filter -d extension=openssl
-d include_path=/usr/share/pear -d date.timezone=UTC -d output_buffering=1
-d variables_order=EGPCS -d register_argc_argv="On" -d
open_basedir="" -d auto_prepend_file="" -d
auto_append_file="" /usr/share/pear/pearcmd.php install Calendar-0.5.5 &&
echo "Success"
---> Running in 7d58acac3917
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update
pear.php.net" to update
Did not download optional dependencies: pear/Date, use --alldeps to download automatically
pear/Calendar can optionally use package "pear/Date"
downloading Calendar-0.5.5.tar ...
Starting to download Calendar-0.5.5.tar (Unknown size)
.............................................................................................................done:
544,256 bytes
install ok: channel://pear.php.net/Calendar-0.5.5
Success
```
Unfortunately, the pear command returns successfully.
Could you try to adapt this dockerfile to match your environment ?