D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/php-swish-0.5.0-14.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Zf6e6E + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf swish-0.5.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/swish-0.5.0.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd swish-0.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' '../package*.xml' '!=' / ']' + mv ../package.xml . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kvnjF8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd swish-0.5.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + phpize Configuring for: PHP Api Version: 20160303 Zend Module Api No: 20160303 Zend Extension Api No: 320160303 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 --with-libdir=lib64 --with-swish=shared,/usr checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -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 checking for PHP extension directory... /usr/lib64/php/extensions checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 1.0.2 (ok) checking for gawk... gawk checking for Swish-e support... yes, shared checking for stemmer constants... no checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 /bin/sh /home/pterjan/rpmbuild/BUILD/swish-0.5.0/libtool --mode=compile cc -I. -I/home/pterjan/rpmbuild/BUILD/swish-0.5.0 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/swish-0.5.0/include -I/home/pterjan/rpmbuild/BUILD/swish-0.5.0/main -I/home/pterjan/rpmbuild/BUILD/swish-0.5.0 -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 -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -c /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c -o swish.lo mkdir .libs cc -I. -I/home/pterjan/rpmbuild/BUILD/swish-0.5.0 -DPHP_ATOM_INC -I/home/pterjan/rpmbuild/BUILD/swish-0.5.0/include -I/home/pterjan/rpmbuild/BUILD/swish-0.5.0/main -I/home/pterjan/rpmbuild/BUILD/swish-0.5.0 -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 -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -c /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c -fPIC -DPIC -o .libs/swish.o /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'php_sw_header_to_zval': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:140:3: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration] MAKE_STD_ZVAL(*retval); ^~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:145:48: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(*retval, (char *)value.string, 1); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:145:4: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'PROP_STRING'? ZVAL_STRING(*retval, (char *)value.string, 1); ^~~~~~~~~~~ PROP_STRING /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:145:4: note: each undeclared identifier is reported only once for each function it appears in /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:164:6: error: too many arguments to function 'add_next_index_string' add_next_index_string(*retval, (char *)(*string_list), 1); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php.h:39:0, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_API.h:437:14: note: declared here ZEND_API int add_next_index_string(zval *arg, const char *str); ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'sw_search_dtor': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:204:2: warning: implicit declaration of function 'zend_objects_store_del_ref'; did you mean 'zend_objects_store_del'? [-Wimplicit-function-declaration] zend_objects_store_del_ref(&s->refhandle TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~ zend_objects_store_del /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: At top level: /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:238:8: error: unknown type name 'zend_object_value' static zend_object_value sw_handle_new(zend_class_entry *ce TSRMLS_DC) /* {{{ */ ^~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'sw_handle_new': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:241:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'? zend_object_value retval; ^~~~~~~~~~~~~~~~~ zend_objects_store /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:246:8: error: request for member 'handle' in something not a structure or union retval.handle = zend_objects_store_put(h, ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:247:5: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_free'? (zend_objects_store_dtor_t)zend_objects_destroy_object, ^~~~~~~~~~~~~~~~~~~~~~~~~ zend_objects_store_free /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:247:31: error: expected ')' before 'zend_objects_destroy_object' (zend_objects_store_dtor_t)zend_objects_destroy_object, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:246:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types] retval.handle = zend_objects_store_put(h, ^ In file included from /usr/include/php/Zend/zend_globals.h:35:0, from /usr/include/php/Zend/zend_compile.h:688, from /usr/include/php/Zend/zend_modules.h:26, from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:39, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_objects_API.h:58:15: note: expected 'zend_object * {aka struct _zend_object *}' but argument is of type 'struct php_sw_handle *' ZEND_API void zend_objects_store_put(zend_object *object); ^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:246:18: error: too many arguments to function 'zend_objects_store_put' retval.handle = zend_objects_store_put(h, ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_globals.h:35:0, from /usr/include/php/Zend/zend_compile.h:688, from /usr/include/php/Zend/zend_modules.h:26, from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:39, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_objects_API.h:58:15: note: declared here ZEND_API void zend_objects_store_put(zend_object *object); ^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:250:8: error: request for member 'handlers' in something not a structure or union retval.handlers = &php_sw_handle_obj_handlers; ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: At top level: /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:255:8: error: unknown type name 'zend_object_value' static zend_object_value sw_search_new(zend_class_entry *ce TSRMLS_DC) /* {{{ */ ^~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'sw_search_new': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:258:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'? zend_object_value retval; ^~~~~~~~~~~~~~~~~ zend_objects_store /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:263:8: error: request for member 'handle' in something not a structure or union retval.handle = zend_objects_store_put(s, ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:264:5: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_free'? (zend_objects_store_dtor_t)zend_objects_destroy_object, ^~~~~~~~~~~~~~~~~~~~~~~~~ zend_objects_store_free /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:264:31: error: expected ')' before 'zend_objects_destroy_object' (zend_objects_store_dtor_t)zend_objects_destroy_object, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:263:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types] retval.handle = zend_objects_store_put(s, ^ In file included from /usr/include/php/Zend/zend_globals.h:35:0, from /usr/include/php/Zend/zend_compile.h:688, from /usr/include/php/Zend/zend_modules.h:26, from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:39, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_objects_API.h:58:15: note: expected 'zend_object * {aka struct _zend_object *}' but argument is of type 'struct php_sw_search *' ZEND_API void zend_objects_store_put(zend_object *object); ^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:263:18: error: too many arguments to function 'zend_objects_store_put' retval.handle = zend_objects_store_put(s, ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_globals.h:35:0, from /usr/include/php/Zend/zend_compile.h:688, from /usr/include/php/Zend/zend_modules.h:26, from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:39, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_objects_API.h:58:15: note: declared here ZEND_API void zend_objects_store_put(zend_object *object); ^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:267:8: error: request for member 'handlers' in something not a structure or union retval.handlers = &cannot_be_cloned; ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: At top level: /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:272:8: error: unknown type name 'zend_object_value' static zend_object_value sw_results_new(zend_class_entry *ce TSRMLS_DC) /* {{{ */ ^~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'sw_results_new': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:275:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'? zend_object_value retval; ^~~~~~~~~~~~~~~~~ zend_objects_store /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:280:8: error: request for member 'handle' in something not a structure or union retval.handle = zend_objects_store_put(r, ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:281:5: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_free'? (zend_objects_store_dtor_t)zend_objects_destroy_object, ^~~~~~~~~~~~~~~~~~~~~~~~~ zend_objects_store_free /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:281:31: error: expected ')' before 'zend_objects_destroy_object' (zend_objects_store_dtor_t)zend_objects_destroy_object, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:280:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types] retval.handle = zend_objects_store_put(r, ^ In file included from /usr/include/php/Zend/zend_globals.h:35:0, from /usr/include/php/Zend/zend_compile.h:688, from /usr/include/php/Zend/zend_modules.h:26, from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:39, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_objects_API.h:58:15: note: expected 'zend_object * {aka struct _zend_object *}' but argument is of type 'struct php_sw_results *' ZEND_API void zend_objects_store_put(zend_object *object); ^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:280:18: error: too many arguments to function 'zend_objects_store_put' retval.handle = zend_objects_store_put(r, ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_globals.h:35:0, from /usr/include/php/Zend/zend_compile.h:688, from /usr/include/php/Zend/zend_modules.h:26, from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:39, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_objects_API.h:58:15: note: declared here ZEND_API void zend_objects_store_put(zend_object *object); ^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:284:8: error: request for member 'handlers' in something not a structure or union retval.handlers = &php_sw_results_obj_handlers; ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: At top level: /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:289:8: error: unknown type name 'zend_object_value' static zend_object_value sw_result_new(zend_class_entry *ce TSRMLS_DC) /* {{{ */ ^~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'sw_result_new': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:292:2: error: unknown type name 'zend_object_value'; did you mean 'zend_objects_store'? zend_object_value retval; ^~~~~~~~~~~~~~~~~ zend_objects_store /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:297:8: error: request for member 'handle' in something not a structure or union retval.handle = zend_objects_store_put(r, ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:298:5: error: 'zend_objects_store_dtor_t' undeclared (first use in this function); did you mean 'zend_objects_store_free'? (zend_objects_store_dtor_t)zend_objects_destroy_object, ^~~~~~~~~~~~~~~~~~~~~~~~~ zend_objects_store_free /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:298:31: error: expected ')' before 'zend_objects_destroy_object' (zend_objects_store_dtor_t)zend_objects_destroy_object, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:297:41: warning: passing argument 1 of 'zend_objects_store_put' from incompatible pointer type [-Wincompatible-pointer-types] retval.handle = zend_objects_store_put(r, ^ In file included from /usr/include/php/Zend/zend_globals.h:35:0, from /usr/include/php/Zend/zend_compile.h:688, from /usr/include/php/Zend/zend_modules.h:26, from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:39, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_objects_API.h:58:15: note: expected 'zend_object * {aka struct _zend_object *}' but argument is of type 'struct php_sw_result *' ZEND_API void zend_objects_store_put(zend_object *object); ^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:297:18: error: too many arguments to function 'zend_objects_store_put' retval.handle = zend_objects_store_put(r, ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_globals.h:35:0, from /usr/include/php/Zend/zend_compile.h:688, from /usr/include/php/Zend/zend_modules.h:26, from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:39, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_objects_API.h:58:15: note: declared here ZEND_API void zend_objects_store_put(zend_object *object); ^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:301:8: error: request for member 'handlers' in something not a structure or union retval.handlers = &php_sw_result_obj_handlers; ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'php_sw_results_indexes_to_array': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:323:46: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(ztmp, (char *)(*index_names), 1); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:323:3: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'PROP_STRING'? ZVAL_STRING(ztmp, (char *)(*index_names), 1); ^~~~~~~~~~~ PROP_STRING /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: At top level: /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:344:87: error: unknown type name 'zend_literal' static zval *php_sw_results_read_property(zval *object, zval *member, int type, const zend_literal *key TSRMLS_DC) /* {{{ */ ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'php_sw_results_read_property': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:354:30: warning: implicit declaration of function 'zend_object_store_get_object'; did you mean 'zend_object_store_set_object'? [-Wimplicit-function-declaration] r = (struct php_sw_results*)zend_object_store_get_object(object TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_object_store_set_object /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:354:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r = (struct php_sw_results*)zend_object_store_get_object(object TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:356:12: error: 'zval {aka struct _zval_struct}' has no member named 'type' if (member->type != IS_STRING) { ^~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:373:57: warning: passing argument 4 of 'std_hnd->read_property' from incompatible pointer type [-Wincompatible-pointer-types] retval = std_hnd->read_property(object, member, type, key TSRMLS_CC); ^~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:373:57: note: expected 'void **' but argument is of type 'const int *' /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:373:12: error: too few arguments to function 'std_hnd->read_property' retval = std_hnd->read_property(object, member, type, key TSRMLS_CC); ^~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'php_sw_results_get_properties': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:392:30: warning: implicit declaration of function 'zend_objects_get_address'; did you mean 'zend_object_release'? [-Wimplicit-function-declaration] r = (struct php_sw_results*)zend_objects_get_address(object TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~ zend_object_release /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:392:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r = (struct php_sw_results*)zend_objects_get_address(object TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:397:96: error: macro "zend_hash_update" passed 6 arguments, but takes just 3 zend_hash_update(r->std.properties, "hits", sizeof("hits"), (void *)&tmp, sizeof(zval *), NULL); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:397:2: error: 'zend_hash_update' undeclared (first use in this function); did you mean '_zend_hash_update'? zend_hash_update(r->std.properties, "hits", sizeof("hits"), (void *)&tmp, sizeof(zval *), NULL); ^~~~~~~~~~~~~~~~ _zend_hash_update /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:400:102: error: macro "zend_hash_update" passed 6 arguments, but takes just 3 zend_hash_update(r->std.properties, "indexes", sizeof("indexes"), (void *)&tmp, sizeof(zval *), NULL); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'php_sw_prop_to_zval': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:417:41: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(*prop, v->value.v_str, 1); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:417:5: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'PROP_STRING'? ZVAL_STRING(*prop, v->value.v_str, 1); ^~~~~~~~~~~ PROP_STRING /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: At top level: /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:441:86: error: unknown type name 'zend_literal' static zval *php_sw_result_read_property(zval *object, zval *member, int type, const zend_literal *key TSRMLS_DC) /* {{{ */ ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'php_sw_result_read_property': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:451:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r = (struct php_sw_result*)zend_object_store_get_object(object TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:453:12: error: 'zval {aka struct _zval_struct}' has no member named 'type' if (member->type != IS_STRING) { ^~ In file included from /usr/include/php/Zend/zend.h:39:0, from /usr/include/php/main/php.h:35, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_variables.h:110:48: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types] #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:464:3: note: in expansion of macro 'zval_ptr_dtor' zval_ptr_dtor(&retval); ^~~~~~~~~~~~~ /usr/include/php/Zend/zend_variables.h:100:15: note: expected 'zval * {aka struct _zval_struct *}' but argument is of type 'zval ** {aka struct _zval_struct **}' ZEND_API void _zval_ptr_dtor(zval *zval_ptr ZEND_FILE_LINE_DC); ^~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:467:57: warning: passing argument 4 of 'std_hnd->read_property' from incompatible pointer type [-Wincompatible-pointer-types] retval = std_hnd->read_property(object, member, type, key TSRMLS_CC); ^~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:467:57: note: expected 'void **' but argument is of type 'const int *' /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:467:12: error: too few arguments to function 'std_hnd->read_property' retval = std_hnd->read_property(object, member, type, key TSRMLS_CC); ^~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'php_sw_result_get_properties': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:489:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r = (struct php_sw_result*)zend_objects_get_address(object TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:496:96: error: macro "zend_hash_update" passed 6 arguments, but takes just 3 zend_hash_update(r->std.properties, name, strlen(name)+1, (void *)&prop, sizeof(zval *), NULL); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:496:3: error: 'zend_hash_update' undeclared (first use in this function); did you mean '_zend_hash_update'? zend_hash_update(r->std.properties, name, strlen(name)+1, (void *)&prop, sizeof(zval *), NULL); ^~~~~~~~~~~~~~~~ _zend_hash_update /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'php_sw_handle_indexes_to_array': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:522:46: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(ztmp, (char *)(*index_names), 1); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:522:3: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'PROP_STRING'? ZVAL_STRING(ztmp, (char *)(*index_names), 1); ^~~~~~~~~~~ PROP_STRING /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: At top level: /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:546:86: error: unknown type name 'zend_literal' static zval *php_sw_handle_read_property(zval *object, zval *member, int type, const zend_literal *key TSRMLS_DC) /* {{{ */ ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'php_sw_handle_read_property': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:556:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (struct php_sw_handle*)zend_object_store_get_object(object TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:558:12: error: 'zval {aka struct _zval_struct}' has no member named 'type' if (member->type != IS_STRING) { ^~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:571:57: warning: passing argument 4 of 'std_hnd->read_property' from incompatible pointer type [-Wincompatible-pointer-types] retval = std_hnd->read_property(object, member, type, key TSRMLS_CC); ^~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:571:57: note: expected 'void **' but argument is of type 'const int *' /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:571:12: error: too few arguments to function 'std_hnd->read_property' retval = std_hnd->read_property(object, member, type, key TSRMLS_CC); ^~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'php_sw_handle_get_properties': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:589:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (struct php_sw_handle*)zend_objects_get_address(object TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:592:108: error: macro "zend_hash_update" passed 6 arguments, but takes just 3 zend_hash_update(h->std.properties, "indexes", sizeof("indexes"), (void *)&z_indexes, sizeof(zval *), NULL); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:592:2: error: 'zend_hash_update' undeclared (first use in this function); did you mean '_zend_hash_update'? zend_hash_update(h->std.properties, "indexes", sizeof("indexes"), (void *)&z_indexes, sizeof(zval *), NULL); ^~~~~~~~~~~~~~~~ _zend_hash_update /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'fill_property_list': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:608:64: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(prop, "Name", (char*)SwishMetaName(*meta), 1); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:608:3: error: 'add_assoc_string' undeclared (first use in this function); did you mean 'add_assoc_string_ex'? add_assoc_string(prop, "Name", (char*)SwishMetaName(*meta), 1); ^~~~~~~~~~~~~~~~ add_assoc_string_ex /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_Swish___construct': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:633:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (struct php_sw_handle*)zend_object_store_get_object(object TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_Swish_prepare': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:662:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (struct php_sw_handle*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:675:2: warning: implicit declaration of function 'Z_SET_ISREF_P'; did you mean 'Z_OPT_ISREF_P'? [-Wimplicit-function-declaration] Z_SET_ISREF_P(return_value); ^~~~~~~~~~~~~ Z_OPT_ISREF_P /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:677:4: warning: assignment makes pointer from integer without a cast [-Wint-conversion] s = zend_object_store_get_object(return_value TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:681:2: warning: implicit declaration of function 'zend_objects_store_add_ref'; did you mean 'zend_objects_store_free'? [-Wimplicit-function-declaration] zend_objects_store_add_ref(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~ zend_objects_store_free /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_Swish_query': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:700:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (struct php_sw_handle*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:714:4: warning: assignment makes pointer from integer without a cast [-Wint-conversion] r = zend_object_store_get_object(return_value TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_Swish_getMetaList': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:736:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (struct php_sw_handle*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_Swish_getPropertyList': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:756:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (struct php_sw_handle*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishSearch_setStructure': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:774:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (struct php_sw_search*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishSearch_setPhraseDelimiter': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:791:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (struct php_sw_search*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishSearch_setSort': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:808:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (struct php_sw_search*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishSearch_setLimit': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:826:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (struct php_sw_search*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishSearch_resetLimit': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:845:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (struct php_sw_search*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishSearch_execute': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:864:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (struct php_sw_search*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:878:4: warning: assignment makes pointer from integer without a cast [-Wint-conversion] r = zend_object_store_get_object(return_value TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishResults_seekResult': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:904:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r = (struct php_sw_results*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishResults_nextResult': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:930:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r = (struct php_sw_results*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:942:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] result = zend_object_store_get_object(return_value TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishResults_getParsedWords': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:964:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r = (struct php_sw_results*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishResults_getRemovedStopwords': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:991:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r = (struct php_sw_results*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishResult_getMetaList': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1016:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r = (struct php_sw_result*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zim_SwishResult_stem': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1039:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r = (struct php_sw_result*)zend_object_store_get_object(getThis() TSRMLS_CC); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1061:43: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(tmp, (char *)(*word_list), 1); ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1061:3: error: 'ZVAL_STRING' undeclared (first use in this function); did you mean 'PROP_STRING'? ZVAL_STRING(tmp, (char *)(*word_list), 1); ^~~~~~~~~~~ PROP_STRING /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c: In function 'zm_startup_swish': /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1128:43: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] php_sw_result_obj_handlers.read_property = php_sw_result_read_property; ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1133:43: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] php_sw_handle_obj_handlers.read_property = php_sw_handle_read_property; ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1138:44: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] php_sw_results_obj_handlers.read_property = php_sw_results_read_property; ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1143:20: error: too many arguments to function 'zend_register_internal_class_ex' ce_sw_exception = zend_register_internal_class_ex(&ce, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php.h:39:0, from /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:26: /usr/include/php/Zend/zend_API.h:292:28: note: declared here ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1148:30: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ce_sw_handle->create_object = sw_handle_new; ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1152:30: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ce_sw_search->create_object = sw_search_new; ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1156:31: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ce_sw_results->create_object = sw_results_new; ^ /home/pterjan/rpmbuild/BUILD/swish-0.5.0/swish.c:1160:30: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] ce_sw_result->create_object = sw_result_new; ^ make: *** [Makefile:198: swish.lo] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kvnjF8 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kvnjF8 (%build) I: [iurt_root_command] ERROR: chroot