This is an upstream report for a build issue that we have seen repeatedly in openSUSE as downstreams. In particular, this occurs with x86_64 and ppc64le (very often).
>[ 184s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/libkolab-1.0.2/build' >[ 185s] [ 95%] Built target calendaring >[ 185s] In file included from /home/abuild/rpmbuild/BUILD/libkolab-1.0.2/build/kolabformat/php/php_kolabobject_wrapper.cpp:749:0: >[ 185s] /usr/include/php5/Zend/zend_API.h:116:45: error: 'zm_startup_kolabobject' was not declared in this scope >[ 185s] #define ZEND_MODULE_STARTUP_N(module) zm_startup_##module >[ 185s] ^ >[ 185s] /usr/include/php5/main/php.h:375:20: note: in expansion of macro 'ZEND_MODULE_STARTUP_N' >[ 185s] #define PHP_MINIT ZEND_MODULE_STARTUP_N >[ 185s] ^~~~~~~~~~~~~~~~~~~~~ >[ 185s] /home/abuild/rpmbuild/BUILD/libkolab-1.0.2/build/kolabformat/php/php_kolabobject_wrapper.cpp:5225:5: note: in expansion of macro 'PHP_MINIT' >[ 185s] PHP_MINIT(kolabobject), >[ 185s] ^~~~~~~~~ >[ 185s] /usr/include/php5/Zend/zend_API.h:117:41: error: 'zm_shutdown_kolabobject' was not declared in this scope >[ 185s] #define ZEND_MODULE_SHUTDOWN_N(module) zm_shutdown_##module >[ 185s] ^ >[ 185s] /usr/include/php5/main/php.h:376:23: note: in expansion of macro 'ZEND_MODULE_SHUTDOWN_N' >[ 185s] #define PHP_MSHUTDOWN ZEND_MODULE_SHUTDOWN_N >[ 185s] ^~~~~~~~~~~~~~~~~~~~~~ >[ 185s] /home/abuild/rpmbuild/BUILD/libkolab-1.0.2/build/kolabformat/php/php_kolabobject_wrapper.cpp:5226:5: note: in expansion of macro 'PHP_MSHUTDOWN' >[ 185s] PHP_MSHUTDOWN(kolabobject), >[ 185s] ^~~~~~~~~~~~~ >[ 185s] /usr/include/php5/Zend/zend_API.h:118:41: error: 'zm_activate_kolabobject' was not declared in this scope >[ 185s] #define ZEND_MODULE_ACTIVATE_N(module) zm_activate_##module
Usually we have to retrigger rebuilds 15 or 16 times for the build to get through.