Bug #78466 [Com]: file-5.36 incompatible

From: Date: Fri, 06 Sep 2019 01:14:03 +0000
Subject: Bug #78466 [Com]: file-5.36 incompatible
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222587@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78466&edit=1 ID: 78466 Comment by: phpbugreports at gmail dot com Reported by: phpbugreports at gmail dot com Summary: file-5.36 incompatible Status: Not a bug Type: Bug Package: *Compile Issues Operating System: Linux PHP Version: 7.2Git-2019-08-27 (Git) Block user comment: N Private report: N New Comment: the problem is that it sucks when you have differences between PHP and the CLI command all the time and at least exit the build with a clear error instead happily build a non-functional binary Previous Comments: ------------------------------------------------------------------------ [2019-09-06 01:06:54] ab@php.net Thanks for the report. Unbundling can't be done and it's not only about ZMM. Best is to use same version that is used in fileinfo, or at least a version that has a compatible magic version. If there are any data fixes needed, it can be added to the magic. If you have some data fixes, please file some issue or contribute a fix through a PR. Thanks. ------------------------------------------------------------------------ [2019-08-27 16:46:37] phpbugreports at gmail dot com Description: ------------ for years now it was no problem to re-generate "data_file.c" to avoid the difference of the system command and php's file extensions with file-5.36 from Fedora 30 this fails again and what is really bad is that the extensions builds without issues but don't work at all what about get rid of that fork one and for all and just use the systems file-libs and just ignore the ZendMM stuff - it sucks to have such things bundeled to begin with /usr/bin/php -d 'display_errors=0' ext/fileinfo/create_data_file.php /usr/share/misc/magic.mgc > ext/fileinfo/data_file.c file-5.34-14.fc29.x86_64 file-5.36-3.fc30.x86_64 finfo_file(): Null byte in regex finfo_file(): Failed identify data 0:(null) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78466&edit=1

« previous php.bugs (#222587) next »