php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65880 Will not install; will not work post upgrade of php.
Submitted: 2013-10-11 01:22 UTC Modified: 2013-10-14 15:31 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: miles dot t dot prower at gmail dot com Assigned: tony2001 (profile)
Status: Closed Package: rar (PECL)
PHP Version: 5.5.4 OS: Arch Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: miles dot t dot prower at gmail dot com
New email:
PHP Version: OS:

 

 [2013-10-11 01:22 UTC] miles dot t dot prower at gmail dot com
Description:
------------
Will not install; will not work post upgrade of php.

Actual result:
--------------
[root@WEBSTER ~]# pecl install rar
downloading rar-3.0.1.tgz ...
Starting to download rar-3.0.1.tgz (256,638 bytes)
.....................................................done: 256,638 bytes
125 source files, building
running: phpize
Configuring for:
PHP Api Version:         20121113
Zend Module Api No:      20121212
Zend Extension Api No:   220121212
building in /tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1
running: /tmp/pear/temp/rar/configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable rar support... yes, shared
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/libtool --mode=compile cc -DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I/tmp/pear/temp/rar/unrar -I. -I/tmp/pear/temp/rar -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/include -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/main -I/tmp/pear/temp/rar -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/rar/rar.c -o rar.lo
mkdir .libs
 cc -DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I/tmp/pear/temp/rar/unrar -I. -I/tmp/pear/temp/rar -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/include -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/main -I/tmp/pear/temp/rar -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/rar/rar.c  -fPIC -DPIC -o .libs/rar.o
/bin/sh /tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/libtool --mode=compile cc -DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I/tmp/pear/temp/rar/unrar -I. -I/tmp/pear/temp/rar -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/include -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/main -I/tmp/pear/temp/rar -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/rar/rar_error.c -o rar_error.lo
 cc -DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I/tmp/pear/temp/rar/unrar -I. -I/tmp/pear/temp/rar -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/include -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/main -I/tmp/pear/temp/rar -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/rar/rar_error.c  -fPIC -DPIC -o .libs/rar_error.o
/bin/sh /tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/libtool --mode=compile cc -DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I/tmp/pear/temp/rar/unrar -I. -I/tmp/pear/temp/rar -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/include -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/main -I/tmp/pear/temp/rar -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/rar/rararch.c -o rararch.lo
 cc -DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I/tmp/pear/temp/rar/unrar -I. -I/tmp/pear/temp/rar -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/include -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/main -I/tmp/pear/temp/rar -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/rar/rararch.c  -fPIC -DPIC -o .libs/rararch.o
/bin/sh /tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/libtool --mode=compile cc -DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I/tmp/pear/temp/rar/unrar -I. -I/tmp/pear/temp/rar -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/include -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/main -I/tmp/pear/temp/rar -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/rar/rarentry.c -o rarentry.lo
 cc -DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I/tmp/pear/temp/rar/unrar -I. -I/tmp/pear/temp/rar -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/include -I/tmp/pear/temp/pear-build-rootgLYFc4/rar-3.0.1/main -I/tmp/pear/temp/rar -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/rar/rarentry.c  -fPIC -DPIC -o .libs/rarentry.o
/tmp/pear/temp/rar/rarentry.c: In function ‘_rar_entry_get_property’:
/tmp/pear/temp/rar/rarentry.c:183:3: warning: passing argument 3 of ‘entry_obj->value.obj.handlers->get_property_ptr_ptr’ makes integer from pointer without a cast [enabled by default]
   NULL TSRMLS_CC);
   ^
/tmp/pear/temp/rar/rarentry.c:183:3: note: expected ‘int’ but argument is of type ‘void *’
/tmp/pear/temp/rar/rarentry.c:183:3: error: too few arguments to function ‘entry_obj->value.obj.handlers->get_property_ptr_ptr’
/tmp/pear/temp/rar/rarentry.c: At top level:
cc1: warning: unrecognized command line option "-Wno-logical-op-parentheses" [enabled by default]
make: *** [rarentry.lo] Error 1
ERROR: `make' failed


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-14 15:31 UTC] tony2001@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: tony2001
 [2013-10-14 15:31 UTC] tony2001@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

Fixed in v3.0.2
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 04 06:01:26 2024 UTC