php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76903 Failures during make - lvalue required as decrement operand
Submitted: 2018-09-19 14:36 UTC Modified: 2018-10-30 15:10 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:1 (33.3%)
From: scott dot mosbrucker at doosan dot com Assigned: sixd (profile)
Status: Verified Package: OCI8 related
PHP Version: 7.3.0RC1 OS: RHEL 7.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: scott dot mosbrucker at doosan dot com
New email:
PHP Version: OS:

 

 [2018-09-19 14:36 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-09-20 08:44 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2018-10-30 15:10 UTC] sixd@php.net
-Assigned To: +Assigned To: sixd
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sat Nov 17 02:01:25 2018 UTC