Bug #76903 [Ver->Csd]: Failures during make - lvalue required as decrement operand

From: Date: Tue, 11 Dec 2018 00:34:00 +0000
Subject: Bug #76903 [Ver->Csd]: Failures during make - lvalue required as decrement operand
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218386@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76903&edit=1 ID: 76903 Updated by: sixd@php.net Reported by: scott dot mosbrucker at doosan dot com Summary: Failures during make - lvalue required as decrement operand -Status: Verified +Status: Closed Type: Bug Package: OCI8 related Operating System: RHEL 7.5 PHP Version: 7.3.0RC1 Assigned To: sixd Block user comment: N Private report: N New Comment: I just released PECL OCI8 2.2.0 that will install on PHP 7.0 - 7.3. Previous Comments: ------------------------------------------------------------------------ [2018-09-20 08:44:11] cmb@php.net See <https://github.com/php/php-src/blob/php-7.3.0RC1/UPGRADING.INTERNALS#L90-L96>. ------------------------------------------------------------------------ [2018-09-19 14:36:34] scott dot mosbrucker at doosan dot com Description: ------------ While executing - pecl install oci8, the configure completes but errors during the make section. # pecl install oci8 Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] : instantclient,/usr/lib/oracle/11.1/client64/lib ... running: make /bin/sh /tmp/pear/temp/pear-build-rootj6FNIS/oci8-2.1.8/libtool --mode=compile cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootj6FNIS/oci8-2.1.8/include -I/tmp/pear/temp/pear-build-rootj6FNIS/oci8-2.1.8/main -I/tmp/pear/temp/oci8 -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 -I/usr/include/oracle/11.1/client64 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8.c -o oci8.lo mkdir .libs cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootj6FNIS/oci8-2.1.8/include -I/tmp/pear/temp/pear-build-rootj6FNIS/oci8-2.1.8/main -I/tmp/pear/temp/oci8 -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 -I/usr/include/oracle/11.1/client64 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8.c -fPIC -DPIC -o .libs/oci8.o /tmp/pear/temp/oci8/oci8.c: In function ‘php_oci_column_hash_dtor’: /tmp/pear/temp/oci8/oci8.c:1459:31: error: lvalue required as decrement operand GC_REFCOUNT(column->descid)--; ^ /tmp/pear/temp/oci8/oci8.c: In function ‘php_oci_do_connect_ex’: /tmp/pear/temp/oci8/oci8.c:1881:10: error: lvalue required as increment operand ++GC_REFCOUNT(connection->id); ^ /tmp/pear/temp/oci8/oci8.c:1891:10: error: lvalue required as increment operand ++GC_REFCOUNT(connection->id); ^ /tmp/pear/temp/oci8/oci8.c:1902:6: error: lvalue required as increment operand ++GC_REFCOUNT(connection->id); ^ /tmp/pear/temp/oci8/oci8.c:2054:4: error: lvalue required as increment operand ++GC_REFCOUNT(connection->id); ^ /tmp/pear/temp/oci8/oci8.c: In function ‘php_oci_column_to_zval’: /tmp/pear/temp/oci8/oci8.c:2451:3: error: lvalue required as increment operand ++GC_REFCOUNT(column->stmtid); ^ /tmp/pear/temp/oci8/oci8.c:2495:4: error: lvalue required as increment operand ++GC_REFCOUNT(column->descid); ^ make: *** [oci8.lo] Error 1 ERROR: `make' failed # php -v PHP 7.3.0RC1 (cli) (built: Sep 17 2018 09:24:10) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.0RC1, Copyright (c) 1999-2018, by Zend Technologies with Xdebug v2.7.0alpha2-dev, Copyright (c) 2002-2018, by Derick Rethans Expected result: ---------------- make completion without errors. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76903&edit=1

« previous php.bugs (#218386) next »