Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-shout.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-php73-armhfp-de972f4af9eaf46343932554cea02fb67a333da3/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/php-shout.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False sh: line 0: fg: no job control Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/php-shout-0.9.2-16.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-shout.spec"], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/community-php73-armhfp-de972f4af9eaf46343932554cea02fb67a333da3/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-shout.spec"] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ao2iMS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-shout-0.9.2 + /usr/bin/mkdir -p php-shout-0.9.2 + cd php-shout-0.9.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/phpShout-0.9.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd phpShout-0.9.2 + echo 'Patch #0 (php-shout-modernize.patch):' Patch #0 (php-shout-modernize.patch): + /usr/bin/cat /builddir/build/SOURCES/php-shout-modernize.patch + /usr/bin/patch -p1 -b --suffix .modernize --fuzz=0 patching file php_shout.h patching file shout.c + chmod a-x php_shout.h shout.c TODO README INSTALL LICENSE + cd .. + cp -r phpShout-0.9.2 phpShout-zts + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4ukwzL + umask 022 + cd /builddir/build/BUILD + cd php-shout-0.9.2 + cd phpShout-0.9.2 + /usr/bin/phpize Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-php-config=/usr/bin/php-config configure: WARNING: unrecognized options: --disable-dependency-tracking 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 armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no 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... lib checking if compiler supports -R... yes checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-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/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable Shout support... yes, shared checking whether to enable Shout debug output... no checking for pkg-config... /usr/bin/pkg-config checking for shout >= 2.1... yes checking SHOUT_CFLAGS... -pthread checking SHOUT_LIBS... -lshout -lvorbis -lm -ltheora -lspeex -logg checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) 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 configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /bin/sh /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/libtool --mode=compile cc -pthread -Wall -fstack-protector -I. -I/builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/include -I/builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/main -I/builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2 -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/shout -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c -o shout.lo libtool: compile: cc -pthread -Wall -fstack-protector -I. -I/builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2 -DPHP_ATOM_INC -I/builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/include -I/builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/main -I/builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2 -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/shout -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c -fPIC -DPIC -o .libs/shout.o In file included from /usr/include/php/Zend/zend.h:335:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_operators.h: In function 'fast_long_increment_function': /usr/include/php/Zend/zend_operators.h:498:2: warning: implicit declaration of function '__builtin_saddl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_saddl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /usr/include/php/Zend/zend_operators.h: In function 'fast_long_decrement_function': /usr/include/php/Zend/zend_operators.h:548:2: warning: implicit declaration of function '__builtin_ssubl_overflow' [-Wimplicit-function-declaration] if (UNEXPECTED(__builtin_ssubl_overflow(Z_LVAL_P(op1), 1, &lresult))) { ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: At top level: /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:35:3: error: #error This phpShout requires at least PHP 5 # error This phpShout requires at least PHP 5 ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'php_shout_set_default_link': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:172:3: warning: passing argument 1 of 'zend_list_delete' makes pointer from integer without a cast [enabled by default] zend_list_delete(MySG(default_link)); ^ In file included from /usr/include/php/Zend/zend_API.h:26:0, from /usr/include/php/main/php.h:37, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_list.h:57:28: note: expected 'struct zend_resource *' but argument is of type 'long int' ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:175:2: warning: implicit declaration of function 'zend_list_addref' [-Wimplicit-function-declaration] zend_list_addref(id); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: At top level: /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:178:31: error: unknown type name 'zend_rsrc_list_entry' static void _close_shout_link(zend_rsrc_list_entry *rsrc TSRMLS_DC) { ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:190:32: error: unknown type name 'zend_rsrc_list_entry' static void _close_shout_plink(zend_rsrc_list_entry *rsrc TSRMLS_DC) { ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'OnShoutPort': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:205:3: warning: passing argument 1 of 'atoi' from incompatible pointer type [enabled by default] MySG(default_port) = atoi(new_value); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from /usr/include/php/main/../main/php_config.h:2613, from /usr/include/php/Zend/zend_config.h:1, from /usr/include/php/Zend/zend_portability.h:43, from /usr/include/php/Zend/zend_types.h:25, from /usr/include/php/Zend/zend.h:27, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/stdlib.h:278:1: note: expected 'const char *' but argument is of type 'struct zend_string *' __NTH (atoi (const char *__nptr)) ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'zm_startup_shout': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:253:46: error: '_close_shout_link' undeclared (first use in this function) le_link = zend_register_list_destructors_ex(_close_shout_link, NULL, "Shout Link", module_number); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:253:46: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:254:53: error: '_close_shout_plink' undeclared (first use in this function) le_plink = zend_register_list_destructors_ex(NULL, _close_shout_plink, "Shout Link Persistent", module_number); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:255:2: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] Z_TYPE(shout_module_entry) = type; ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'struct zend_module_entry *' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:255:29: error: lvalue required as left operand of assignment Z_TYPE(shout_module_entry) = type; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'php_shout_create': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:461:3: error: unknown type name 'zend_rsrc_list_entry' zend_rsrc_list_entry *le; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:467:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length, (void **) &le)==FAILURE) { /* we don't */ ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:166:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:467:3: error: too many arguments to function 'zend_hash_find' if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length, (void **) &le)==FAILURE) { /* we don't */ ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:467:97: warning: comparison between pointer and integer [enabled by default] if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length, (void **) &le)==FAILURE) { /* we don't */ ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:471:4: error: unknown type name 'zend_rsrc_list_entry' zend_rsrc_list_entry new_le; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:510:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] Z_TYPE(new_le) = le_plink; ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'int *' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:510:19: error: lvalue required as left operand of assignment Z_TYPE(new_le) = le_plink; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:511:10: error: request for member 'ptr' in something not a structure or union new_le.ptr = shout; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:515:111: error: 'zend_rsrc_list_entry' undeclared (first use in this function) if (zend_hash_update(&EG(persistent_list), hashed_details, hashed_details_length, (void *) &new_le, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) { ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:515:4: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] if (zend_hash_update(&EG(persistent_list), hashed_details, hashed_details_length, (void *) &new_le, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:515:4: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] if (zend_hash_update(&EG(persistent_list), hashed_details, hashed_details_length, (void *) &new_le, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:515:4: error: too many arguments to function 'zend_hash_update' if (zend_hash_update(&EG(persistent_list), hashed_details, hashed_details_length, (void *) &new_le, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:515:139: warning: comparison between pointer and integer [enabled by default] if (zend_hash_update(&EG(persistent_list), hashed_details, hashed_details_length, (void *) &new_le, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) { ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:533:4: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type [enabled by default] if (Z_TYPE_P(le) != le_plink) { ^ In file included from /usr/include/php/Zend/zend.h:27:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_types.h:410:38: note: expected 'const struct zval *' but argument is of type 'int *' static zend_always_inline zend_uchar zval_get_type(const zval* pz) { ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:536:33: error: request for member 'ptr' in something not a structure or union shout = (php_shout_conn *) le->ptr; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:538:3: warning: implicit declaration of function 'ZEND_REGISTER_RESOURCE' [-Wimplicit-function-declaration] ZEND_REGISTER_RESOURCE(return_value, shout, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:545:25: error: 'index_ptr' undeclared (first use in this function) zend_rsrc_list_entry *index_ptr, new_index_ptr; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:545:36: error: 'new_index_ptr' undeclared (first use in this function) zend_rsrc_list_entry *index_ptr, new_index_ptr; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:545:34: warning: left-hand operand of comma expression has no effect [-Wunused-value] zend_rsrc_list_entry *index_ptr, new_index_ptr; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:548:3: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [enabled by default] if (zend_hash_find(&EG(regular_list), hashed_details, hashed_details_length+1, (void **) &index_ptr)==SUCCESS) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:166:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:548:3: error: too many arguments to function 'zend_hash_find' if (zend_hash_find(&EG(regular_list), hashed_details, hashed_details_length+1, (void **) &index_ptr)==SUCCESS) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:166:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:557:4: warning: implicit declaration of function 'zend_list_find' [-Wimplicit-function-declaration] ptr = zend_list_find(link, &type); // check if the link is still there ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:557:8: warning: assignment makes pointer from integer without a cast [enabled by default] ptr = zend_list_find(link, &type); // check if the link is still there ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:562:28: error: lvalue required as left operand of assignment Z_TYPE_P(return_value) = IS_RESOURCE; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:567:5: warning: passing argument 2 of 'zend_hash_del' from incompatible pointer type [enabled by default] zend_hash_del(&EG(regular_list), hashed_details, hashed_details_length+1); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:158:28: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:567:5: error: too many arguments to function 'zend_hash_del' zend_hash_del(&EG(regular_list), hashed_details, hashed_details_length+1); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:158:28: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_del(HashTable *ht, zend_string *key); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:608:3: warning: passing argument 2 of 'zend_hash_update' from incompatible pointer type [enabled by default] if (zend_hash_update(&EG(regular_list), hashed_details, hashed_details_length+1,(void *) &new_index_ptr, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zend_string *' but argument is of type 'char *' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:608:3: warning: passing argument 3 of 'zend_hash_update' makes pointer from integer without a cast [enabled by default] if (zend_hash_update(&EG(regular_list), hashed_details, hashed_details_length+1,(void *) &new_index_ptr, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:112:30: note: expected 'struct zval *' but argument is of type 'int' ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:608:3: error: too many arguments to function 'zend_hash_update' if (zend_hash_update(&EG(regular_list), hashed_details, hashed_details_length+1,(void *) &new_index_ptr, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) { ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:112:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_update(HashTable *ht, zend_string *key,zval *pData); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:608:143: warning: comparison between pointer and integer [enabled by default] if (zend_hash_update(&EG(regular_list), hashed_details, hashed_details_length+1,(void *) &new_index_ptr, sizeof(zend_rsrc_list_entry), NULL)==FAILURE) { ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'php_shout_get_default_link': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:626:3: error: 'ht' undeclared (first use in this function) ht = 0; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'php_shout_connect': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:647:2: warning: implicit declaration of function 'ZEND_FETCH_RESOURCE2' [-Wimplicit-function-declaration] ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:647:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:637:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id = -1; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'php_shout_get_string_param': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:677:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:696:45: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(SAFE_STRING((char *)value), 1); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:696:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(SAFE_STRING((char *)value), 1); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:667:14: warning: variable 'value' set but not used [-Wunused-but-set-variable] const char *value = NULL; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:666:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id = -1; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'php_shout_get_int_param': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:712:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:701:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id = -1; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'php_shout_set_string_param': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:744:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:732:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id = -1; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'php_shout_set_int_param': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:780:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:770:6: warning: unused variable 'id' [-Wunused-variable] int id = -1; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'zif_shout_get_all_persistent': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:803:2: error: unknown type name 'zend_rsrc_list_entry' zend_rsrc_list_entry *le; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:815:4: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default] zend_hash_get_current_data_ex(&EG(persistent_list), (void**) &le, &pointer) == SUCCESS; ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:217:30: note: expected 'HashPosition *' but argument is of type 'void **' ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:815:4: error: too many arguments to function 'zend_hash_get_current_data_ex' zend_hash_get_current_data_ex(&EG(persistent_list), (void**) &le, &pointer) == SUCCESS; ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:217:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:818:9: error: request for member 'type' in something not a structure or union if (le->type != le_plink) continue; // isn't a Shout resource ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:822:3: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] keyType = zend_hash_get_current_key_ex(&EG(persistent_list), &key, &key_len, &index, 0, &pointer); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:214:30: note: expected 'struct zend_string **' but argument is of type 'char **' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:822:3: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [enabled by default] keyType = zend_hash_get_current_key_ex(&EG(persistent_list), &key, &key_len, &index, 0, &pointer); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:214:30: note: expected 'HashPosition *' but argument is of type 'long unsigned int *' ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:822:3: error: too many arguments to function 'zend_hash_get_current_key_ex' keyType = zend_hash_get_current_key_ex(&EG(persistent_list), &key, &key_len, &index, 0, &pointer); ^ In file included from /usr/include/php/Zend/zend.h:32:0, from /usr/include/php/main/php.h:33, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_hash.h:214:30: note: declared here ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:843:4: warning: implicit declaration of function 'ALLOC_INIT_ZVAL' [-Wimplicit-function-declaration] ALLOC_INIT_ZVAL(data); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:844:35: error: request for member 'ptr' in something not a structure or union ZEND_REGISTER_RESOURCE(data, le->ptr, le->type); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:844:44: error: request for member 'type' in something not a structure or union ZEND_REGISTER_RESOURCE(data, le->ptr, le->type); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'zif_shout_close': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:879:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:882:3: warning: implicit declaration of function 'Z_RESVAL_P' [-Wimplicit-function-declaration] zend_list_delete(Z_RESVAL_P(shout_link)); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:882:3: warning: passing argument 1 of 'zend_list_delete' makes pointer from integer without a cast [enabled by default] In file included from /usr/include/php/Zend/zend_API.h:26:0, from /usr/include/php/main/php.h:37, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_list.h:57:28: note: expected 'struct zend_resource *' but argument is of type 'int' ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:886:3: warning: passing argument 1 of 'zend_list_delete' makes pointer from integer without a cast [enabled by default] zend_list_delete(MySG(default_link)); ^ In file included from /usr/include/php/Zend/zend_API.h:26:0, from /usr/include/php/main/php.h:37, from /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:28: /usr/include/php/Zend/zend_list.h:57:28: note: expected 'struct zend_resource *' but argument is of type 'long int' ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'zif_shout_send': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:908:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:897:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id = -1; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'zif_shout_sync': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:929:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:919:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id = -1; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'zif_shout_get_audio_info': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1019:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1022:24: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(value, 1); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1022:2: error: 'RETURN_STRING' undeclared (first use in this function) RETURN_STRING(value, 1); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1021:8: warning: unused variable 'value' [-Wunused-variable] char *value = (char *)shout_get_audio_info(shout->conn, name); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1008:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id = -1; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'zif_shout_set_agent': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1078:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1065:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id = -1; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'zif_shout_set_metadata': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1127:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1115:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id = -1; ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c: In function 'zif_shout_set_audio_info': /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1158:30: error: expected expression before 'php_shout_conn' ZEND_FETCH_RESOURCE2(shout, php_shout_conn *, &shout_link, id, "Shout Connection", le_link, le_plink); ^ /builddir/build/BUILD/php-shout-0.9.2/phpShout-0.9.2/shout.c:1147:6: warning: variable 'id' set but not used [-Wunused-but-set-variable] int id = -1; ^ make: *** [shout.lo] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.4ukwzL (%build) Bad exit status from /var/tmp/rpm-tmp.4ukwzL (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/php-shout.spec