View Issue Details

IDProjectCategoryView StatusLast Update
0001684XdebugInstallationpublic2019-07-17 00:07
Reporterojrask Assigned Toderick  
PriorityhighSeveritymajorReproducibilityhave not tried
Status resolvedResolutionno change required 
PlatformPHP 7.4 alpha 3 OSUbuntuOS Version18.04
Product Version2.8.0alpha1 
Summary0001684: ZEND_ASSIGN_ADD and similar undeclared during build
Description

When I install PHP 7.4 alpha 3, and then run pecl install xdebug-2.8.0alpha1, I get loads of errors similar to the following:

/tmp/pear/temp/xdebug/xdebug.c:1055:32: error: ‘ZEND_ASSIGN_ADD’ undeclared (first use in this function); did you mean ‘ZEND_ASSIGN_OP’?
zend_set_user_opcode_handler(ZEND_ASSIGN_ADD, NULL);
^~~~~~~
ZEND_ASSIGN_OP

I have made sure I'm running the matching versions of php, php-config, and phpize (7.4 alpha 3).

Steps To Reproduce

Not certain, I installed PHP 7.4 alpha from sources so that might make it more difficult to repro.

Additional Information

Please ask for more information, not certain what might be of use. Here is the configure params for my PHP build:

'./configure' '--prefix=/opt/php/7.4alpha3' '--enable-fpm' '--with-fpm-systemd' '--with-config-file-scan-dir=/opt/php/7.4alpha3/conf.d' '--with-openssl' '--with-zlib' '--enable-bcmath' '--with-bz2' '--with-curl' '--
with-ffi' '--enable-ftp' '--enable-gd' '--with-webp' '--with-jpeg' '--enable-intl' '--enable-mbstring' '--with-mysqli' '--with-mysql-sock' '--enable-pcntl' '--with-pdo-mysql' '--with-pdo-pgsql' '--with-pgsql' '--with-readline' '--enable-s
oap' '--enable-sockets' '--with-sodium' '--with-password-argon2' '--with-xsl' '--with-zip' '--enable-mysqlnd'

Installation happened via make -j10 && make TEST_PHP_ARGS=-j10 test && make install.

I have default config apart from enabling opcache extension in an ini file.

Tagspecl
Operating SystemUbuntu
PHP Version7.4alpha

Activities

ojrask

2019-07-15 21:41

reporter   ~0005062

Oh no, there was an issue for this that I saw too late: 0001683. I presume this is being worked on then.

derick

2019-07-17 00:07

administrator   ~0005064

Yeah, this is fixed in GitHub (feel free to checkout the master branch!), but I haven't made a new Xdebug release yet. I am waiting for PHP 7.4.0beta1 to come out next week to do so— you know, in case the PHP team breaks other things :-)

I'm closing this report, as no changes have to be made.

Issue History

Date Modified Username Field Change
2019-07-15 21:37 ojrask New Issue
2019-07-15 21:37 ojrask Tag Attached: pecl
2019-07-15 21:41 ojrask Note Added: 0005062
2019-07-17 00:07 derick Assigned To => derick
2019-07-17 00:07 derick Status new => resolved
2019-07-17 00:07 derick Resolution open => no change required
2019-07-17 00:07 derick Note Added: 0005064