Bug #77150 [Opn->Dup]: ZIP Extension cannot be compiled against latest version of libzip
| From: | cmb@php.net | Date: | Wed, 14 Nov 2018 11:44:57 +0000 |
| Subject: | Bug #77150 [Opn->Dup]: ZIP Extension cannot be compiled against latest version of libzip | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217952@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77150&edit=1
ID: 77150
Updated by: cmb@php.net
Reported by: s dot pfalz at webcookies dot de
Summary: ZIP Extension cannot be compiled against latest
version of libzip
-Status: Open
+Status: Duplicate
Type: Bug
Package: Compile Failure
Operating System: CentOS 7.5
PHP Version: 7.2.12
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Duplicate of bug #76828.
Previous Comments:
------------------------------------------------------------------------
[2018-11-14 10:35:25] s dot pfalz at webcookies dot de
Description:
------------
If you compile the zip extension against the latest libzip Version 1.5.1a the compile run fails:
In file included from /opt/libzip/include/zip.h:45:0,
from /usr/src/php-7.2.12/ext/zip/php_zip.h:31,
from /usr/src/php-7.2.12/ext/zip/php_zip.c:36:
/usr/src/php-7.2.12/ext/zip/php_zip.c: In function âphp_zip_object_free_storageâ:
/opt/libzip/include/zipconf.h:14:30: error: invalid suffix "a" on integer constant
#define LIBZIP_VERSION_MICRO 1a
^
/usr/src/php-7.2.12/ext/zip/php_zip.c:1029:63: note: in expansion of macro
âLIBZIP_VERSION_MICROâ
#if LIBZIP_VERSION_MAJOR == 1 && LIBZIP_VERSION_MINOR == 3 && LIBZIP_VERSION_MICRO
== 1
^
/usr/src/php-7.2.12/ext/zip/php_zip.c: In function âc_ziparchive_closeâ:
/opt/libzip/include/zipconf.h:14:30: error: invalid suffix "a" on integer constant
#define LIBZIP_VERSION_MICRO 1a
^
/usr/src/php-7.2.12/ext/zip/php_zip.c:1542:63: note: in expansion of macro
âLIBZIP_VERSION_MICROâ
#if LIBZIP_VERSION_MAJOR == 1 && LIBZIP_VERSION_MINOR == 3 && LIBZIP_VERSION_MICRO
== 1
^
make: *** [ext/zip/php_zip.lo] Error 1
make: *** Waiting for unfinished jobs....
That's maybe an error on the libzip code itself using 1a as define, but I'm not sure so
I'll post it here for reference.
Expected result:
----------------
Compile should be completed without a failure
Actual result:
--------------
Compile run failed.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77150&edit=1