Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 668840

Summary: dev-php/ming-php-0.4.8: php5.6/ming.c:418:19: error: too few arguments to function ‘zend_list_insert’
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Brian Evans (RETIRED) <grknight>
Status: RESOLVED OBSOLETE    
Severity: normal CC: pacho, php-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2018-10-17 00:05:36 UTC
Created attachment 551628 [details]
build.log

/var/tmp/portage/dev-php/ming-php-0.4.8/work/php5.6/ming.c: In function ‘zim_swftext___construct’:
/var/tmp/portage/dev-php/ming-php-0.4.8/work/php5.6/ming.c:6275:12: error: too few arguments to function ‘zend_list_insert’
  int ret = zend_list_insert(text, le_swftextp);
            ^~~~~~~~~~~~~~~~
In file included from /usr/lib/php5.6/include/php/Zend/zend_API.h:27:0,
                 from /usr/lib/php5.6/include/php/main/php.h:39,
                 from /var/tmp/portage/dev-php/ming-php-0.4.8/work/php5.6/ming.c:30:
/usr/lib/php5.6/include/php/Zend/zend_list.h:73:14: note: declared here
 ZEND_API int zend_list_insert(void *ptr, int type TSRMLS_DC);
              ^~~~~~~~~~~~~~~~
/var/tmp/portage/dev-php/ming-php-0.4.8/work/php5.6/ming.c: In function ‘zim_swftextfield___construct’:
/var/tmp/portage/dev-php/ming-php-0.4.8/work/php5.6/ming.c:6558:12: error: too few arguments to function ‘zend_list_insert’
  int ret = zend_list_insert(field, le_swftextfieldp);
            ^~~~~~~~~~~~~~~~
In file included from /usr/lib/php5.6/include/php/Zend/zend_API.h:27:0,
                 from /usr/lib/php5.6/include/php/main/php.h:39,
                 from /var/tmp/portage/dev-php/ming-php-0.4.8/work/php5.6/ming.c:30:
/usr/lib/php5.6/include/php/Zend/zend_list.h:73:14: note: declared here
 ZEND_API int zend_list_insert(void *ptr, int type TSRMLS_DC);
              ^~~~~~~~~~~~~~~~
make: *** [Makefile:181: ming.lo] Error 1
 * ERROR: dev-php/ming-php-0.4.8::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2018-10-17 00:06:17 UTC
Created attachment 551630 [details]
emerge --info
Comment 2 Marco Clocchiatti 2019-01-25 00:25:50 UTC
it works adding:
dev-php/ming-php PHP_TARGETS: -* php7-2
in /etc/portage/package.use
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-09-06 07:23:28 UTC
Package removed.