Bug #76828 [Opn->Nab]: Libzip version is assumed to be an integer

From: Date: Sun, 09 Sep 2018 15:26:27 +0000
Subject: Bug #76828 [Opn->Nab]: Libzip version is assumed to be an integer
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216946@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76828&edit=1 ID: 76828 Updated by: ab@php.net Reported by: office at jiripik dot com Summary: Libzip version is assumed to be an integer -Status: Open +Status: Not a bug Type: Bug Package: Compile Failure Operating System: AWS Linux PHP Version: 7.2.9 Block user comment: N Private report: N New Comment: Yeah, but that's not a released version. Fe look here https://github.com/nih-at/libzip/commit/b95cf3fdd4c1271f922017f092d02a878873425c . Seems it's just a way libzip devs mark a dev version. If it appears in a released version, probably a lot of other packages would be broken. It doesn't look like there is some action need in a consumer project, especially as one can't really tell some version were a dev version. I'd suggest you to file a report on the libzip side, perhaps some extra macro can be introduced to tell whether it's a dev version, like fe PHP does. Thanks. Previous Comments: ------------------------------------------------------------------------ [2018-09-09 12:34:05] office at jiripik dot com Just look at https://github.com/nih-at/libzip/blob/master/CMakeLists.txt and you see SET(PACKAGE_VERSION_MICRO "1a") ------------------------------------------------------------------------ [2018-09-09 11:07:30] ab@php.net Thanks for the report. Which exact version of libzip do you mean. I see this on the vanilla 1.5.1 $:~/src/libzip-1.5.1$ grep -rn PACKAGE_VERSION_MICRO . ./CMakeLists.txt:58:SET(PACKAGE_VERSION_MICRO "1") ..... The installed header also contains all the version parts as integers. Likely it's about a particular disribution which patches the vanilla libs. Thanks. ------------------------------------------------------------------------ [2018-08-31 10:13:56] office at jiripik dot com Description: ------------ The latest libzip has MicroVersion 1a SET(PACKAGE_VERSION_MICRO "1a") which causes PHP build to complain that lizbip invalid suffix on integer constant version ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76828&edit=1

« previous php.bugs (#216946) next »