Req #81555 [Opn]: Release PHP 8.1 compatible version
| From: | cmb@php.net | Date: | Tue, 30 Nov 2021 12:56:38 +0000 |
| Subject: | Req #81555 [Opn]: Release PHP 8.1 compatible version | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-238059@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=81555&edit=1
ID: 81555
Updated by: cmb@php.net
Reported by: kak dot serpom dot po dot yaitsam at gmail dot com
Summary: Release PHP 8.1 compatible version
Status: Open
Type: Feature/Change Request
-Package: rar
+Package: *General Issues
Operating System: Ubuntu
PHP Version: 8.1.0RC4
Block user comment: N
Private report: N
New Comment:
I suggest to file an issue in the ext/rar bugtracker[1] for better
visibility.
[1] <https://github.com/cataphract/php-rar/issues>
Previous Comments:
------------------------------------------------------------------------
[2021-10-26 03:54:54] kak dot serpom dot po dot yaitsam at gmail dot com
Oh, I see it's already been updated: https://github.com/cataphract/php-rar/commit/ab26d285759e4c917879967b09976a44829ed570
------------------------------------------------------------------------
[2021-10-26 03:17:29] kak dot serpom dot po dot yaitsam at gmail dot com
Description:
------------
Please update pecl/rar for 8.1
/usr/src/php/ext/rar/rar_stream.c: In function '_rar_get_archive_and_fragment':
/usr/src/php/ext/rar/rar_stream.c:787:45: warning: passing argument 1 of
'zend_resolve_path' from incompatible pointer type [-Wincompatible-pointer-types]
787 | zend_string *arc_str = zend_resolve_path(tmp_archive, tmp_arch_len);
| ^~~~~~~~~~~
| |
| char *
/usr/src/php/ext/rar/rar_stream.c:787:45: note: expected 'zend_string *' {aka 'struct
_zend_string *'} but argument is of type 'char *'
/usr/src/php/ext/rar/rar_stream.c:787:27: error: too many arguments to function
'zend_resolve_path'
787 | zend_string *arc_str = zend_resolve_path(tmp_archive, tmp_arch_len);
| ^~~~~~~~~~~~~~~~~
/usr/src/php/ext/rar/unrar/headers.cpp: In member function 'FileHeader&
FileHeader::operator=(FileHeader&)':
/usr/src/php/ext/rar/unrar/headers.cpp:43:32: warning: 'void* memcpy(void*, const void*,
size_t)' writing to an object of type 'struct FileHeader' with no trivial
copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
43 | memcpy(this,&hd,sizeof(*this));
| ^
In file included from /usr/src/php/ext/rar/unrar/rar.hpp:28,
from /usr/src/php/ext/rar/unrar/headers.cpp:1:
/usr/src/php/ext/rar/unrar/headers.hpp:173:8: note: 'struct FileHeader' declared here
173 | struct FileHeader:BlockHeader
| ^~~~~~~~~~
make: *** [Makefile:221: rar_stream.lo] Error 1
make: *** Waiting for unfinished jobs....
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81555&edit=1