php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70238 make failed on DEBIAN Jessie
Submitted: 2015-08-11 10:46 UTC Modified: 2017-10-24 09:10 UTC
Votes:8
Avg. Score:4.6 ± 0.5
Reproduced:8 of 8 (100.0%)
Same Version:5 (62.5%)
Same OS:4 (50.0%)
From: gfried at mpi-inf dot mpg dot de Assigned:
Status: Suspended Package: perl (PECL)
PHP Version: 5.6Git-2015-08-11 (Git) OS: DEBIAN 8 Jessie
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-08-11 10:46 UTC] gfried at mpi-inf dot mpg dot de
Description:
------------
DEBIAN 8 Jessie 64 Bit (libperl-dev is installed)
Apache/2.4.10 (Debian)
Perl v5.20.2
PHP 5.6.9-0+deb8u1 (cli)
Zend Engine v2.6.0

If I try to compile it (with pecl install perl or with download perl-1.0.1.tgz, configure, make) I get the following error (see actual result).




Test script:
---------------
Just download perl-1.0.1.tgz, configure and make or try it with pecl install perl on a DEBIAN 8 Jessie. 

Actual result:
--------------
downloading perl-1.0.1.tgz ...
Starting to download perl-1.0.1.tgz (25,282 bytes)
.........done: 25,282 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
building in /tmp/pear/temp/pear-build-rooti2XvFo/perl-1.0.1
running: /tmp/pear/temp/perl/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc

[...]

config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-rooti2XvFo/perl-1.0.1/libtool --mode=compile cc  -I. -I/tmp/pear/temp/perl -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rooti2XvFo/perl-1.0.1/include -I/tmp/pear/temp/pear-build-rooti2XvFo/perl-1.0.1/main -I/tmp/pear/temp/perl -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE  -c /tmp/pear/temp/perl/php_perl.c -o php_perl.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/perl -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rooti2XvFo/perl-1.0.1/include -I/tmp/pear/temp/pear-build-rooti2XvFo/perl-1.0.1/main -I/tmp/pear/temp/perl -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE -c /tmp/pear/temp/perl/php_perl.c  -fPIC -DPIC -o .libs/php_perl.o
/tmp/pear/temp/perl/php_perl.c:186:3: warning: initialization from incompatible pointer type
   php_perl_read_property,          /* read_property */
   ^
/tmp/pear/temp/perl/php_perl.c:186:3: warning: (near initialization for 'php_perl_object_handlers.read_property')
/tmp/pear/temp/perl/php_perl.c:187:3: warning: initialization from incompatible pointer type
   php_perl_write_property,         /* write_property */
   ^
/tmp/pear/temp/perl/php_perl.c:187:3: warning: (near initialization for 'php_perl_object_handlers.write_property')
/tmp/pear/temp/perl/php_perl.c:193:3: warning: initialization from incompatible pointer type
   php_perl_has_property,           /* has_property */
   ^
/tmp/pear/temp/perl/php_perl.c:193:3: warning: (near initialization for 'php_perl_object_handlers.has_property')
/tmp/pear/temp/perl/php_perl.c:194:3: warning: initialization from incompatible pointer type
   php_perl_unset_property,         /* unset_property */
   ^
/tmp/pear/temp/perl/php_perl.c:194:3: warning: (near initialization for 'php_perl_object_handlers.unset_property')
/tmp/pear/temp/perl/php_perl.c:198:3: warning: initialization from incompatible pointer type
   php_perl_get_method,             /* get_method */
   ^
/tmp/pear/temp/perl/php_perl.c:198:3: warning: (near initialization for 'php_perl_object_handlers.get_method')
/tmp/pear/temp/perl/php_perl.c:199:3: warning: initialization from incompatible pointer type
   php_perl_call_function_handler,  /* call_method */
   ^
/tmp/pear/temp/perl/php_perl.c:199:3: warning: (near initialization for 'php_perl_object_handlers.call_method')
/tmp/pear/temp/perl/php_perl.c:202:3: warning: initialization from incompatible pointer type
   php_perl_get_class_name,         /* get_class_name */
   ^
/tmp/pear/temp/perl/php_perl.c:202:3: warning: (near initialization for 'php_perl_object_handlers.get_class_name')
/tmp/pear/temp/perl/php_perl.c:213:3: warning: initialization from incompatible pointer type
   php_perl_read_property,          /* read_property */
   ^
/tmp/pear/temp/perl/php_perl.c:213:3: warning: (near initialization for 'php_perl_proxy_handlers.read_property')
/tmp/pear/temp/perl/php_perl.c:214:3: warning: initialization from incompatible pointer type
   php_perl_write_property,         /* write_property */
   ^
/tmp/pear/temp/perl/php_perl.c:214:3: warning: (near initialization for 'php_perl_proxy_handlers.write_property')
/tmp/pear/temp/perl/php_perl.c:220:3: warning: initialization from incompatible pointer type
   php_perl_has_property,           /* has_property */
   ^
/tmp/pear/temp/perl/php_perl.c:220:3: warning: (near initialization for 'php_perl_proxy_handlers.has_property')
/tmp/pear/temp/perl/php_perl.c:221:3: warning: initialization from incompatible pointer type
   php_perl_unset_property,         /* unset_property */
   ^
/tmp/pear/temp/perl/php_perl.c:221:3: warning: (near initialization for 'php_perl_proxy_handlers.unset_property')
/tmp/pear/temp/perl/php_perl.c:225:3: warning: initialization from incompatible pointer type
   php_perl_get_method,             /* get_method */
   ^
/tmp/pear/temp/perl/php_perl.c:225:3: warning: (near initialization for 'php_perl_proxy_handlers.get_method')
/tmp/pear/temp/perl/php_perl.c:226:3: warning: initialization from incompatible pointer type
   php_perl_call_function_handler,  /* call_method */
   ^
/tmp/pear/temp/perl/php_perl.c:226:3: warning: (near initialization for 'php_perl_proxy_handlers.call_method')
/tmp/pear/temp/perl/php_perl.c:229:3: warning: initialization from incompatible pointer type
   php_perl_get_class_name,         /* get_class_name */
   ^
/tmp/pear/temp/perl/php_perl.c:229:3: warning: (near initialization for 'php_perl_proxy_handlers.get_class_name')
/tmp/pear/temp/perl/php_perl.c:247:1: warning: excess elements in struct initializer
 };
 ^
/tmp/pear/temp/perl/php_perl.c:247:1: warning: (near initialization for 'php_perl_constructor_function')
In file included from /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:5100:0,
                 from /tmp/pear/temp/perl/php_perl.c:38:
/tmp/pear/temp/perl/php_perl.c: In function 'php_perl_sv_to_zval_noref':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:1673:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
      ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
                                                         ^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/embed.h:558:55: note: in definition of macro 'sv_2pv_flags'
 #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
                                                       ^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:1667:30: note: in expansion of macro 'SvPV_flags'
 #define SvPV(sv, lp)         SvPV_flags(sv, lp, SV_GMAGIC)
                              ^
/tmp/pear/temp/perl/php_perl.c:540:19: note: in expansion of macro 'SvPV'
       char *str = SvPV(sv, len);
                   ^
In file included from /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:5059:0,
                 from /tmp/pear/temp/perl/php_perl.c:38:
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/proto.h:3931:21: note: expected 'STRLEN * const' but argument is of type 'int *'
 PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
                     ^
In file included from /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:5100:0,
                 from /tmp/pear/temp/perl/php_perl.c:38:
/tmp/pear/temp/perl/php_perl.c: In function 'php_perl_call_method':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:1673:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
      ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
                                                         ^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/embed.h:558:55: note: in definition of macro 'sv_2pv_flags'
 #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
                                                       ^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:1667:30: note: in expansion of macro 'SvPV_flags'
 #define SvPV(sv, lp)         SvPV_flags(sv, lp, SV_GMAGIC)
                              ^
/tmp/pear/temp/perl/php_perl.c:680:23: note: in expansion of macro 'SvPV'
           char *key = SvPV(ST(i), key_len);
                       ^
In file included from /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:5059:0,
                 from /tmp/pear/temp/perl/php_perl.c:38:
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/proto.h:3931:21: note: expected 'STRLEN * const' but argument is of type 'int *'
 PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
                     ^
In file included from /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:5100:0,
                 from /tmp/pear/temp/perl/php_perl.c:38:
/tmp/pear/temp/perl/php_perl.c: In function 'php_perl_call':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:1673:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
      ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
                                                         ^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/embed.h:558:55: note: in definition of macro 'sv_2pv_flags'
 #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
                                                       ^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:1667:30: note: in expansion of macro 'SvPV_flags'
 #define SvPV(sv, lp)         SvPV_flags(sv, lp, SV_GMAGIC)
                              ^
/tmp/pear/temp/perl/php_perl.c:743:23: note: in expansion of macro 'SvPV'
           char *key = SvPV(ST(i), key_len);
                       ^
In file included from /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:5059:0,
                 from /tmp/pear/temp/perl/php_perl.c:38:
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/proto.h:3931:21: note: expected 'STRLEN * const' but argument is of type 'int *'
 PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
                     ^
/tmp/pear/temp/perl/php_perl.c: In function 'php_perl_get_method':
/tmp/pear/temp/perl/php_perl.c:1418:24: error: too few arguments to function 'zend_get_std_object_handlers()->get_method'
     zend_function *f = zend_get_std_object_handlers()->get_method(object_ptr, method, method_len TSRMLS_CC);
                        ^
/tmp/pear/temp/perl/php_perl.c: In function 'php_perl_get_properties':
/tmp/pear/temp/perl/php_perl.c:1496:29: error: 'znode_op' has no member named 'op_type'
           active_opline->op1.op_type == IS_CONST &&
                             ^
/tmp/pear/temp/perl/php_perl.c:1497:29: error: 'znode_op' has no member named 'u'
           active_opline->op1.u.constant.type == IS_STRING &&
                             ^
In file included from /usr/include/php5/Zend/zend.h:849:0,
                 from /usr/include/php5/main/php.h:36,
                 from /tmp/pear/temp/perl/php_perl.c:49:
/tmp/pear/temp/perl/php_perl.c:1498:38: error: 'znode_op' has no member named 'u'
           (ZSTRCMP(active_opline->op1.u.constant, "each") ||
                                      ^
/usr/include/php5/Zend/zend_operators.h:444:27: note: in definition of macro 'Z_STRVAL'
 #define Z_STRVAL(zval)   (zval).value.str.val
                           ^
/tmp/pear/temp/perl/php_perl.c:1498:12: note: in expansion of macro 'ZSTRCMP'
           (ZSTRCMP(active_opline->op1.u.constant, "each") ||
            ^
/tmp/pear/temp/perl/php_perl.c:1498:38: error: 'znode_op' has no member named 'u'
           (ZSTRCMP(active_opline->op1.u.constant, "each") ||
                                      ^
/usr/include/php5/Zend/zend_operators.h:445:27: note: in definition of macro 'Z_STRLEN'
 #define Z_STRLEN(zval)   (zval).value.str.len
                           ^
/tmp/pear/temp/perl/php_perl.c:1498:12: note: in expansion of macro 'ZSTRCMP'
           (ZSTRCMP(active_opline->op1.u.constant, "each") ||
            ^
/tmp/pear/temp/perl/php_perl.c:1499:38: error: 'znode_op' has no member named 'u'
            ZSTRCMP(active_opline->op1.u.constant, "next") ||
                                      ^
/usr/include/php5/Zend/zend_operators.h:444:27: note: in definition of macro 'Z_STRVAL'
 #define Z_STRVAL(zval)   (zval).value.str.val
                           ^
/tmp/pear/temp/perl/php_perl.c:1499:12: note: in expansion of macro 'ZSTRCMP'
            ZSTRCMP(active_opline->op1.u.constant, "next") ||
            ^
/tmp/pear/temp/perl/php_perl.c:1499:38: error: 'znode_op' has no member named 'u'
            ZSTRCMP(active_opline->op1.u.constant, "next") ||
                                      ^
/usr/include/php5/Zend/zend_operators.h:445:27: note: in definition of macro 'Z_STRLEN'
 #define Z_STRLEN(zval)   (zval).value.str.len
                           ^
/tmp/pear/temp/perl/php_perl.c:1499:12: note: in expansion of macro 'ZSTRCMP'
            ZSTRCMP(active_opline->op1.u.constant, "next") ||
            ^
/tmp/pear/temp/perl/php_perl.c:1500:38: error: 'znode_op' has no member named 'u'
            ZSTRCMP(active_opline->op1.u.constant, "prev") ||
                                      ^
/usr/include/php5/Zend/zend_operators.h:444:27: note: in definition of macro 'Z_STRVAL'
 #define Z_STRVAL(zval)   (zval).value.str.val
                           ^
/tmp/pear/temp/perl/php_perl.c:1500:12: note: in expansion of macro 'ZSTRCMP'
            ZSTRCMP(active_opline->op1.u.constant, "prev") ||
            ^
/tmp/pear/temp/perl/php_perl.c:1500:38: error: 'znode_op' has no member named 'u'
            ZSTRCMP(active_opline->op1.u.constant, "prev") ||
                                      ^
/usr/include/php5/Zend/zend_operators.h:445:27: note: in definition of macro 'Z_STRLEN'
 #define Z_STRLEN(zval)   (zval).value.str.len
                           ^
/tmp/pear/temp/perl/php_perl.c:1500:12: note: in expansion of macro 'ZSTRCMP'
            ZSTRCMP(active_opline->op1.u.constant, "prev") ||
            ^
/tmp/pear/temp/perl/php_perl.c:1501:38: error: 'znode_op' has no member named 'u'
            ZSTRCMP(active_opline->op1.u.constant, "key")  ||
                                      ^
/usr/include/php5/Zend/zend_operators.h:444:27: note: in definition of macro 'Z_STRVAL'
 #define Z_STRVAL(zval)   (zval).value.str.val
                           ^
/tmp/pear/temp/perl/php_perl.c:1501:12: note: in expansion of macro 'ZSTRCMP'
            ZSTRCMP(active_opline->op1.u.constant, "key")  ||
            ^
/tmp/pear/temp/perl/php_perl.c:1501:38: error: 'znode_op' has no member named 'u'
            ZSTRCMP(active_opline->op1.u.constant, "key")  ||
                                      ^
/usr/include/php5/Zend/zend_operators.h:445:27: note: in definition of macro 'Z_STRLEN'
 #define Z_STRLEN(zval)   (zval).value.str.len
                           ^
/tmp/pear/temp/perl/php_perl.c:1501:12: note: in expansion of macro 'ZSTRCMP'
            ZSTRCMP(active_opline->op1.u.constant, "key")  ||
            ^
/tmp/pear/temp/perl/php_perl.c:1502:38: error: 'znode_op' has no member named 'u'
            ZSTRCMP(active_opline->op1.u.constant, "current"))) {
                                      ^
/usr/include/php5/Zend/zend_operators.h:444:27: note: in definition of macro 'Z_STRVAL'
 #define Z_STRVAL(zval)   (zval).value.str.val
                           ^
/tmp/pear/temp/perl/php_perl.c:1502:12: note: in expansion of macro 'ZSTRCMP'
            ZSTRCMP(active_opline->op1.u.constant, "current"))) {
            ^
/tmp/pear/temp/perl/php_perl.c:1502:38: error: 'znode_op' has no member named 'u'
            ZSTRCMP(active_opline->op1.u.constant, "current"))) {
                                      ^
/usr/include/php5/Zend/zend_operators.h:445:27: note: in definition of macro 'Z_STRLEN'
 #define Z_STRLEN(zval)   (zval).value.str.len
                           ^
/tmp/pear/temp/perl/php_perl.c:1502:12: note: in expansion of macro 'ZSTRCMP'
            ZSTRCMP(active_opline->op1.u.constant, "current"))) {
            ^
/tmp/pear/temp/perl/php_perl.c: At top level:
/tmp/pear/temp/perl/php_perl.c:1718:3: warning: initialization from incompatible pointer type
   php_perl_iterator_current_key,
   ^
/tmp/pear/temp/perl/php_perl.c:1718:3: warning: (near initialization for 'php_perl_iterator_funcs.get_current_key')
In file included from /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:5100:0,
                 from /tmp/pear/temp/perl/php_perl.c:38:
/tmp/pear/temp/perl/php_perl.c: In function 'zim_Perl_eval':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:1673:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type
      ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
                                                         ^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/embed.h:558:55: note: in definition of macro 'sv_2pv_flags'
 #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
                                                       ^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:1667:30: note: in expansion of macro 'SvPV_flags'
 #define SvPV(sv, lp)         SvPV_flags(sv, lp, SV_GMAGIC)
                              ^
/tmp/pear/temp/perl/php_perl.c:1905:25: note: in expansion of macro 'SvPV'
             char *key = SvPV(ST(i), key_len);
                         ^
In file included from /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:5059:0,
                 from /tmp/pear/temp/perl/php_perl.c:38:
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/proto.h:3931:21: note: expected 'STRLEN * const' but argument is of type 'int *'
 PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags)
                     ^
Makefile:182: recipe for target 'php_perl.lo' failed
make: *** [php_perl.lo] Error 1
ERROR: `make' failed



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 09:10 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 09:10 UTC] kalle@php.net
The perl package has had no activity for at least 4 years, so I'm gonna consider it dead. If a new maintainer decides to pick this back up, he/she can re-open the report
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Jan 29 11:01:24 2020 UTC