Edit report at https://bugs.php.net/bug.php?id=81555&edit=1
ID: 81555 Updated by: c...@php.net Reported by: kak dot serpom dot po dot yaitsam at gmail dot com Summary: Release PHP 8.1 compatible version -Status: Open +Status: Duplicate Type: Feature/Change Request -Package: *General Issues +Package: PECL Operating System: Ubuntu PHP Version: 8.1.0RC4 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Thank you! I'm closing this ticket as duplicate of <https://github.com/cataphract/php-rar/issues/12>. Previous Comments: ------------------------------------------------------------------------ [2021-11-30 13:34:46] kak dot serpom dot po dot yaitsam at gmail dot com v ------------------------------------------------------------------------ [2021-11-30 12:56:38] c...@php.net I suggest to file an issue in the ext/rar bugtracker[1] for better visibility. [1] <https://github.com/cataphract/php-rar/issues> ------------------------------------------------------------------------ [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 -- PECL development discussion Mailing List (https://pecl.php.net/) To unsubscribe, visit: https://www.php.net/unsub.php