Bug #76903 [NEW]: Failures during make - lvalue required as decrement operand
| From: | scott dot mosbrucker at doosan dot com | Date: | Wed, 19 Sep 2018 14:36:34 +0000 |
| Subject: | Bug #76903 [NEW]: Failures during make - lvalue required as decrement operand | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-217137@lists.php.net to get a copy of this message | ||
From: scott dot mosbrucker at doosan dot com
Operating system: RHEL 7.5
PHP version: 7.3.0RC1
Package: OCI8 related
Bug Type: Bug
Bug description:Failures during make - lvalue required as decrement operand
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 bug report at https://bugs.php.net/bug.php?id=76903&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76903&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76903&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76903&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76903&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76903&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76903&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76903&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76903&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76903&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76903&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76903&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76903&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76903&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76903&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76903&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76903&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76903&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76903&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76903&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76903&r=mysqlcfg