-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Couchbase extension compilation is failing because of this PHP change in 8.5
https://github.com/php/php-src/pull/16511/files
Error:
#21 1878.2 e/src/deps/cache/json/5647c041c54a354d6ed0ffcb6d9fcbf11ba1c975/external/PEGTL/include -isystem /tmp/pear/temp/couchbase/src/deps/cache/asio/768c6803bc60664746ad584fc3f2c095659770bd/asio/include -isystem /tmp/pear/temp/couchbase/src/deps/cache/gsl/ecabe1fc2eade0a4fe2bbf2039c65838bdc5e8ac/include -g -O0 -std=c++17 -O2 -g -DNDEBUG -std=gnu++17 -fPIC -fvisibility=hidden -ggdb3 -MD -MT CMakeFiles/couchbase.dir/php_couchbase.cxx.o -MF CMakeFiles/couchbase.dir/php_couchbase.cxx.o.d -o CMakeFiles/couchbase.dir/php_couchbase.cxx.o -c /tmp/pear/temp/couchbase/src/php_couchbase.cxx
#21 1878.4 In file included from /tmp/pear/temp/couchbase/src/wrapper/api_visibility.hxx:19,
#21 1878.4 from /tmp/pear/temp/couchbase/src/wrapper/common.hxx:23,
#21 1878.4 from /tmp/pear/temp/couchbase/src/php_couchbase.cxx:17:
#21 1878.4 /usr/local/include/php/Zend/zend_portability.h:51:3: error: #error "NDEBUG must not be defined when ZEND_DEBUG is enabled"
#21 1878.4 51 | # error "NDEBUG must not be defined when ZEND_DEBUG is enabled"
#21 1878.4 | ^~~~~
#21 1880.8 make[3]: *** [CMakeFiles/couchbase.dir/build.make:76: CMakeFiles/couchbase.dir/php_couchbase.cxx.o] Error 1
#21 1880.8 make[3]: Leaving directory '/tmp/pear/temp/pear-build-defaultuser68pe3qc3om4k6fnLlMm/couchbase-4.3.0/cmake-build'
#21 1880.8 make[2]: *** [CMakeFiles/Makefile2:313: CMakeFiles/couchbase.dir/all] Error 2
#21 1880.8 make[2]: Leaving directory '/tmp/pear/temp/pear-build-defaultuser68pe3qc3om4k6fnLlMm/couchbase-4.3.0/cmake-build'
#21 1880.8 make[1]: *** [Makefile:156: all] Error 2
#21 1880.8 make[1]: Leaving directory '/tmp/pear/temp/pear-build-defaultuser68pe3qc3om4k6fnLlMm/couchbase-4.3.0/cmake-build'
#21 1880.8
#21 1880.8 make: *** [Makefile:222: /tmp/pear/temp/pear-build-defaultuser68pe3qc3om4k6fnLlMm/couchbase-4.3.0/cmake-build/couchbase.so] Error 2