|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-10-07 11:54 UTC] mkoula@php.net
[2020-10-07 12:20 UTC] cmb@php.net
[2020-10-07 13:49 UTC] mkoula@php.net
[2020-10-09 14:28 UTC] nikic@php.net
[2020-10-15 10:29 UTC] nikic@php.net
-Status: Open
+Status: Feedback
[2020-10-15 13:07 UTC] mkoula@php.net
[2020-10-16 08:53 UTC] cmb@php.net
-Status: Feedback
+Status: Open
[2020-10-16 08:53 UTC] cmb@php.net
[2020-12-02 23:39 UTC] php-bugs-2020 at ryandesign dot com
[2020-12-02 23:53 UTC] mkoula@php.net
-PHP Version: 8.0.0rc1
+PHP Version: 8.0.0
[2020-12-02 23:53 UTC] mkoula@php.net
[2020-12-03 05:35 UTC] php-bugs-2020 at ryandesign dot com
[2020-12-03 09:21 UTC] nikic@php.net
[2021-06-12 14:12 UTC] php-bugs-2020 at ryandesign dot com
[2021-06-14 09:00 UTC] git@php.net
[2021-06-14 09:00 UTC] git@php.net
-Status: Open
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 18:00:02 2025 UTC |
Description: ------------ I previously compiled 8.0.0beta3 and worked fine. Today I run the same configuration on 8.0.0rc1 and configure went through fine and then when I ran make command it died with the message: /Users/mIREK/compile/php8/php-8.0.0rc1/ext/fileinfo/fileinfo.c:429:24: error: implicit declaration of function 'magic_stream' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret_val = (char *) magic_stream(magic, stream); ^ /Users/mIREK/compile/php8/php-8.0.0rc1/ext/fileinfo/fileinfo.c:429:24: note: did you mean 'magic_setparam'? /opt/local/include/magic.h:153:5: note: 'magic_setparam' declared here int magic_setparam(magic_t, int, const void *); ^ /Users/mIREK/compile/php8/php-8.0.0rc1/ext/fileinfo/fileinfo.c:429:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ret_val = (char *) magic_stream(magic, stream); ^ /Users/mIREK/compile/php8/php-8.0.0rc1/ext/fileinfo/fileinfo.c:477:25: error: implicit declaration of function 'magic_stream' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ret_val = (char *)magic_stream(magic, stream); ^ /Users/mIREK/compile/php8/php-8.0.0rc1/ext/fileinfo/fileinfo.c:477:17: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ret_val = (char *)magic_stream(magic, stream); ^ 2 warnings and 2 errors generated. make: *** [ext/fileinfo/fileinfo.lo] Error 1 As a configure I used this, which for beta worked fine: ./configure \ --prefix=/opt/local \ --sysconfdir=/opt/local/php80 \ --program-suffix=80 \ --with-config-file-path=/opt/local/etc/php80 \ --with-config-file-scan-dir=/opt/local/etc/php80/conf.d \ --enable-bcmath \ --enable-calendar \ --enable-exif \ --enable-ftp \ --enable-fpm \ --enable-gd \ --enable-intl \ --enable-mbregex \ --enable-mbstring \ --enable-mysqlnd \ --enable-pcntl \ --enable-soap \ --enable-sockets \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-opcache \ --with-curl \ --with-fpm-user=_www \ --with-fpm-group=_www \ --with-freetype \ --with-iconv=/opt/local \ --with-libxml \ --with-jpeg \ --with-layout=GNU \ --with-mysql-sock=/tmp/mysql.sock \ --with-openssl \ --with-pdo-mysql=mysqlnd \ --with-pdo-pgsql=/opt/local/lib/postgresql12 \ --with-pdo-sqlite \ --with-pgsql=/opt/local/lib/postgresql12 \ --with-pic \ --with-sqlite3 \ --with-webp \ --with-xsl \ --with-zip \ --with-zlib