Bug #79347 [NEW]: Compile error caused by libxml2 2.9.9

From: Date: Thu, 05 Mar 2020 07:17:57 +0000
Subject: Bug #79347 [NEW]: Compile error caused by libxml2 2.9.9
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225894@lists.php.net to get a copy of this message
From: markus dot tobatz at gmail dot com Operating system: Debian Stretch PHP version: 7.3.15 Package: Compile Failure Bug Type: Bug Bug description:Compile error caused by libxml2 2.9.9 Description: ------------ # php -v PHP 7.3.15-4+0~20200224.55+debian9~1.gbpbea824 (cli) (built: Feb 24 2020 18:39:46) ( NTS ) # uname -a Linux vm4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux # dpkg -l | grep libxml2 ii libxml2:amd64 2.9.9+dfsg-1+0~20200226.5+debian9~1.gbp3b6674 amd64 GNOME XML library ii libxml2-dev:amd64 2.9.9+dfsg-1+0~20200226.5+debian9~1.gbp3b6674 amd64 Development files for the GNOME XML library # pecl install solr downloading solr-2.5.0.tgz ... Starting to download solr-2.5.0.tgz (721,839 bytes) .................................................................................................................................................done: 721,839 bytes 66 source files, building running: phpize Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 Enable Solr Debugging (Compiles solr in debug mode) [no] : libcURL install prefix [/usr] : libxml2 install prefix [/usr] : building in /tmp/pear/temp/pear-build-rootG48LX2/solr-2.5.0 running: /tmp/pear/temp/solr/configure --with-php-config=/usr/bin/php-config --enable-solr-debug=no --with-curl=/usr --with-libxml-dir=/usr checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php/20180731 -I/usr/include/php/20180731/main -I/usr/include/php/20180731/TSRM -I/usr/include/php/20180731/Zend -I/usr/include/php/20180731/ext -I/usr/include/php/20180731/ext/date/lib checking for PHP extension directory... /usr/lib/php/20180731 checking for PHP installed headers prefix... /usr/include/php/20180731 checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for cURL support... yes, shared curl headers found in /usr checking for cURL 7.15.0 or greater... libcurl 7.52.1 checking whether to enable the Solr extension... yes, shared checking whether to compile with solr in verbose mode... no checking libxml2 install dir... /usr checking whether to enable code coverage... no /tmp/pear/temp/solr/configure: line 4516: syntax error near unexpected token `LIBXML,' /tmp/pear/temp/solr/configure: line 4516: ` PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.7.6)' ERROR: `/tmp/pear/temp/solr/configure --with-php-config=/usr/bin/php-config --enable-solr-debug=no --with-curl=/usr --with-libxml-dir=/usr' failed Worked on libxml2 version "2.9.9+dfsg-1+0~20190914.4+debian9~1.gbp3b6674" but not with current available version "2.9.9+dfsg-1+0~20200226.5+debian9~1.gbp3b6674" -- Edit bug report at https://bugs.php.net/bug.php?id=79347&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79347&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79347&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79347&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79347&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79347&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79347&r=support Expected behavior: https://bugs.php.net/fix.php?id=79347&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79347&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79347&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79347&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79347&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79347&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79347&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79347&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79347&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79347&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79347&r=mysqlcfg

« previous php.bugs (#225894) next »