FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2019 PLD Team
$Revision: 1.37 $
Powered by synergy.
Your IP: 34.237.76.91

php-pecl-ssh2 92c301a6-59a9-4f55-bccd-56de5fa06099

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/i686/FAIL/php-pecl-ssh2,92c301a6-59a9-4f55-bccd-56de5fa06099.bz2
text/plain URL:View!
rpm -qa of builder:View!
Date:2019/08/13 20:51:29
Runtime:0:00:05.020880

Toc:

  • error 1
  • rpm: error: Failed build dependencies:
  • error 2
  • rpm: error: Failed build dependencies:
  • prep
  • Executing(%prep): /bin/sh -e /tmp/B.0el1W9/BUILD/tmp/rpm-tmp.5147
  • build
  • Executing(%build): /bin/sh -e /tmp/B.0el1W9/BUILD/tmp/rpm-tmp.5147
  • error 3
  • /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:498:50: error: invalid operands to binary - (have 'char *' and 'zend_string *' {aka 'struct _zend_string *'})
  • error 4
  • /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:312:24: error: invalid operands to binary == (have 'zend_string' {aka 'struct _zend_string'} and 'int')
  • error 5
  • /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:326:24: error: invalid operands to binary == (have 'zend_string' {aka 'struct _zend_string'} and 'int')
  • error 6
  • /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1265:42: error: invalid operands to binary == (have 'zend_string' {aka 'struct _zend_string'} and 'int')
  • error 7
  • error: Bad exit status from /tmp/B.0el1W9/BUILD/tmp/rpm-tmp.5147 (%build)
  • error 8
  • RPM build errors:
  • error 9
  • error: No files produced.

Content:

request from: glen
checking if we should skip the build
started at: Tue Aug 13 20:50:59 2019
killing old processes on a builder
sending signal 9 to pid -1
Killed
cleaning up /tmp
fetching https://srcbuilder.pld-linux.org/th//srpms/92c301a6-59a9-4f55-bccd-56de5fa06099/php74-pecl-ssh2-1.1.2-1.src.rpm
fetched 43526 bytes, 115.1 K/s
installing srpm: php74-pecl-ssh2-1.1.2-1.src.rpm
+ install -d /tmp/B.0el1W9/BUILD /tmp/B.0el1W9/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog php74-pecl-ssh2-1.1.2-1.src.rpm
* Tue Aug 13 2019 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/php-pecl-ssh2.git;a=log;h=master
* Tue Aug 13 2019 Elan Ruusamäe <glen@pld-linux.org> f75baa6
- 1.x versions are for php7 * Tue Aug 13 2019 Elan Ruusamäe <glen@pld-linux.org> 0fcbc98
- use 00 prefix for extname * Tue Aug 13 2019 Elan Ruusamäe <glen@pld-linux.org> 50d4685
- up to 1.1.2 + rpm -Uhv --nodeps --define '_topdir /tmp/B.0el1W9' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --define 'php_suffix 74' php74-pecl-ssh2-1.1.2-1.src.rpm Preparing... ################################################## php74-pecl-ssh2 ################################################## + rm -f php74-pecl-ssh2-1.1.2-1.src.rpm + install -m 700 -d /tmp/B.0el1W9/BUILD/tmp + TMPDIR=/tmp/B.0el1W9/BUILD/tmp + exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.0el1W9' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'php_suffix 74' --define 'prep exit 0' /tmp/B.0el1W9/php-pecl-ssh2.spec Building target platforms: i686-pld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: error: Failed build dependencies: rpm: php74-devel >= 4:7.0.0 is needed by php74-pecl-ssh2-1.1.2-1.src rpm: Building target platforms: i686-pld-linux updating poldek cache... ready is up to date Retrieving th::packages.ndir.md... th is up to date Retrieving th::packages.ndir.md... th is up to date Retrieving th-ready::packages.ndir.md... th-ready is up to date Retrieving th-ready::packages.ndir.md... th-ready is up to date Retrieving th-test::packages.ndir.md... Retrieving th-test::packages.ndir.diff.toc.gz... ..............................done Retrieving diff::packages.ndir.2019.08.13-15.18.01.gz... ..............................done Retrieving diff::packages.ndir.dscr.2019.08.13-15.18.01.gz... Loading [pndir]th-test... Applying packages.ndir.2019.08.13-15.18.01.gz... Writing /root/tmp/poldek-cache-root/[...]/packages.ndir.gz... Retrieving th-test::packages.ndir.md... Retrieving th-test::packages.ndir.diff.toc.gz... Retrieving diff::packages.ndir.2019.08.13-11.32.02.gz... Retrieving diff::packages.ndir.dscr.2019.08.13-11.32.02.gz... Loading [pndir]th-test... Applying packages.ndir.2019.08.13-11.32.02.gz... Writing /root/tmp/poldek-cache-root/[...]/packages.ndir.gz... checking conflicting packages in BRed packages poldek: Loading [pndir]ready... poldek: Loading [pndir]th-test... poldek: Loading [pndir]th-test... poldek: Loading [pndir]th-ready... poldek: Loading [pndir]th-ready... poldek: Loading [pndir]th... poldek: Loading [pndir]th... poldek: 30942 packages read poldek: Removed 3271 duplicate packages from available set poldek: Processing dependencies... poldek: php74-devel-7.4.0-1.beta2.1.i686 marks php74-common-7.4.0-1.beta2.1.i686 (cap /usr/lib/php74) poldek: There are 2 packages to install (1 marked by dependencies): poldek: I php74-devel-7.4.0-1.beta2.1.i686 poldek: D php74-common-7.4.0-1.beta2.1.i686 poldek: This operation will use 9.0MB of disk space. poldek: Need to get 1.9MB of archives. poldek: Executing pm-command.sh --upgrade -vh --test --root / --define _check_dirname_deps 1... poldek: Preparing... ################################################## no conflicts found checking BR rpm: error: Failed build dependencies: rpm: php74-devel >= 4:7.0.0 is needed by php74-pecl-ssh2-1.1.2-1.src rpm: Building target platforms: i686-pld-linux installing BR: php74\-devel + poldek --noask --caplookup -Q -v '--ignore=hhvm-*' '--ignore=php4-*' '--ignore=php52-*' '--ignore=php53-*' '--ignore=php54-*' '--ignore=php55-*' '--ignore=php56-*' '--ignore=php70-*' '--ignore=php71-*' '--ignore=php72-*' '--ignore=php73-*' --upgrade php74-devel Loading [pndir]ready... Loading [pndir]th-test... Loading [pndir]th-test... Loading [pndir]th-ready... Loading [pndir]th-ready... Loading [pndir]th... Loading [pndir]th... 30942 packages read Removed 3271 duplicate packages from available set Processing dependencies... php74-devel-7.4.0-1.beta2.1.i686 marks php74-common-7.4.0-1.beta2.1.i686 (cap /usr/lib/php74) There are 2 packages to install (1 marked by dependencies): I php74-devel-7.4.0-1.beta2.1.i686 D php74-common-7.4.0-1.beta2.1.i686 This operation will use 9.0MB of disk space. Need to get 1.9MB of archives. Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... Preparing... ################################################## php74-common ################################################## php74-devel ################################################## building RPM using: set -ex; : build-id: 92c301a6-59a9-4f55-bccd-56de5fa06099; TMPDIR=/tmp/B.0el1W9/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.0el1W9' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'php_suffix 74' /tmp/B.0el1W9/php-pecl-ssh2.spec + : build-id: 92c301a6-59a9-4f55-bccd-56de5fa06099 + TMPDIR=/tmp/B.0el1W9/BUILD/tmp + exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.0el1W9' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'php_suffix 74' /tmp/B.0el1W9/php-pecl-ssh2.spec Building target platforms: i686-pld-linux Executing(%prep): /bin/sh -e /tmp/B.0el1W9/BUILD/tmp/rpm-tmp.5147 + umask 022 + cd /tmp/B.0el1W9/BUILD + cd /tmp/B.0el1W9/BUILD + rm -rf php74-pecl-ssh2-1.1.2 + /bin/mkdir -p php74-pecl-ssh2-1.1.2 + cd php74-pecl-ssh2-1.1.2 + /usr/bin/gzip -dc /tmp/B.0el1W9/ssh2-1.1.2.tgz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/id -u + '[' 1001 '=' 0 ']' + /bin/id -u + '[' 1001 '=' 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv ssh2-1.1.2/LICENSE ssh2-1.1.2/README.md ssh2-1.1.2/config.m4 ssh2-1.1.2/config.w32 ssh2-1.1.2/php_ssh2.h ssh2-1.1.2/ssh2.c ssh2-1.1.2/ssh2_fopen_wrappers.c ssh2-1.1.2/ssh2_sftp.c ssh2-1.1.2/tests . + exit 0 Executing(%build): /bin/sh -e /tmp/B.0el1W9/BUILD/tmp/rpm-tmp.5147 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/home/users/builder/GNUstep/Tools:/usr/local/bin:/usr/bin:/bin:/home/users/builder/bin TMPDIR=/tmp/B.0el1W9/BUILD/tmp + umask 022 + cd /tmp/B.0el1W9/BUILD + cd php74-pecl-ssh2-1.1.2 + phpize Configuring for: PHP Api Version: 20190529 Zend Module Api No: 20190529 Zend Extension Api No: 320190529 + ./configure 'LDFLAGS=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' 'CFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'CXXFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'FFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'FCFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'CPPFLAGS=' 'CC=i686-pld-linux-gcc' 'CXX=i686-pld-linux-g++' '--host=i686-pld-linux' '--build=i686-pld-linux' '--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' '--x-libraries=/usr/lib' checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for i686-pld-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for i686-pld-linux-cc... i686-pld-linux-gcc 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 i686-pld-linux-gcc accepts -g... yes checking for i686-pld-linux-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... i686-pld-linux-gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pld-linux-gnu checking host system type... i686-pld-linux-gnu checking target system type... i686-pld-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/php74 checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking for ssh2 support... yes, shared checking for ssh2 files in default path... found in /usr checking for libssh2_session_hostkey in -lssh2... yes checking for libssh2_agent_init in -lssh2... yes checking for libssh2_session_set_timeout in -lssh2... yes checking how to print strings... print -r checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i686-pld-linux-gcc... /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 how to convert i686-pld-linux-gnu file names to i686-pld-linux-gnu format... func_convert_file_noop checking how to convert i686-pld-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i686-pld-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-pld-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for i686-pld-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-pld-linux-strip... no checking for strip... strip checking for i686-pld-linux-ranlib... no checking for ranlib... ranlib checking for mawk... (cached) gawk checking command to parse /usr/bin/nm -B output from i686-pld-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i686-pld-linux-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 i686-pld-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pld-linux-gcc option to produce PIC... -fPIC -DPIC checking if i686-pld-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pld-linux-gcc static flag -static works... yes checking if i686-pld-linux-gcc supports -c -o file.o... yes checking if i686-pld-linux-gcc supports -c -o file.o... (cached) yes checking whether the i686-pld-linux-gcc 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: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands + /usr/bin/make -Otarget -j9 /bin/sh /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/include -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/main -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.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 -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c -o ssh2_sftp.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/include -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/main -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.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 -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c -fPIC -DPIC -o .libs/ssh2_sftp.o /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:207:2: warning: initialization of 'ssize_t (*)(php_stream *, const char *, size_t)' {aka 'int (*)(struct _php_stream *, const char *, unsigned int)'} from incompatible pointer type 'size_t (*)(php_stream *, const char *, size_t)' {aka 'unsigned int (*)(struct _php_stream *, const char *, unsigned int)'} [-Wincompatible-pointer-types] 207 | php_ssh2_sftp_stream_write, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:207:2: note: (near initialization for 'php_ssh2_sftp_stream_ops.write') /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:208:2: warning: initialization of 'ssize_t (*)(php_stream *, char *, size_t)' {aka 'int (*)(struct _php_stream *, char *, unsigned int)'} from incompatible pointer type 'size_t (*)(php_stream *, char *, size_t)' {aka 'unsigned int (*)(struct _php_stream *, char *, unsigned int)'} [-Wincompatible-pointer-types] 208 | php_ssh2_sftp_stream_read, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:208:2: note: (near initialization for 'php_ssh2_sftp_stream_ops.read') In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_stream_opener': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:241:43: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 241 | handle = libssh2_sftp_open(sftp, resource->path, flags, perms); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:241:43: warning: passing argument 2 of 'libssh2_sftp_open_ex' from incompatible pointer type [-Wincompatible-pointer-types] 241 | handle = libssh2_sftp_open(sftp, resource->path, flags, perms); | ^ | | | zend_string * {aka struct _zend_string *} /usr/include/libssh2_sftp.h:228:1: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 228 | libssh2_sftp_open_ex(LIBSSH2_SFTP *sftp, | ^~~~~~~~~~~~~~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c: At top level: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:316:2: warning: initialization of 'ssize_t (*)(php_stream *, char *, size_t)' {aka 'int (*)(struct _php_stream *, char *, unsigned int)'} from incompatible pointer type 'size_t (*)(php_stream *, char *, size_t)' {aka 'unsigned int (*)(struct _php_stream *, char *, unsigned int)'} [-Wincompatible-pointer-types] 316 | php_ssh2_sftp_dirstream_read, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:316:2: note: (near initialization for 'php_ssh2_sftp_dirstream_ops.read') In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_dirstream_opener': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:344:46: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 344 | handle = libssh2_sftp_opendir(sftp, resource->path); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:344:46: warning: passing argument 2 of 'libssh2_sftp_open_ex' from incompatible pointer type [-Wincompatible-pointer-types] 344 | handle = libssh2_sftp_opendir(sftp, resource->path); | ^ | | | zend_string * {aka struct _zend_string *} /usr/include/libssh2_sftp.h:228:1: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 228 | libssh2_sftp_open_ex(LIBSSH2_SFTP *sftp, | ^~~~~~~~~~~~~~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_urlstat': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:389:64: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 389 | if (libssh2_sftp_stat_ex(sftp, resource->path, strlen(resource->path), | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:389:41: warning: passing argument 2 of 'libssh2_sftp_stat_ex' from incompatible pointer type [-Wincompatible-pointer-types] 389 | if (libssh2_sftp_stat_ex(sftp, resource->path, strlen(resource->path), | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /usr/include/libssh2_sftp.h:317:50: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 317 | const char *path, | ~~~~~~~~~~~~^~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_unlink': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:423:45: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 423 | result = libssh2_sftp_unlink(sftp, resource->path); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:423:45: warning: passing argument 2 of 'libssh2_sftp_unlink_ex' from incompatible pointer type [-Wincompatible-pointer-types] 423 | result = libssh2_sftp_unlink(sftp, resource->path); | ^ | | | zend_string * {aka struct _zend_string *} /usr/include/libssh2_sftp.h:291:52: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 291 | const char *filename, | ~~~~~~~~~~~~^~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_rename': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:465:45: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 465 | result = libssh2_sftp_rename(sftp, resource->path, resource_to->path); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:465:64: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 465 | result = libssh2_sftp_rename(sftp, resource->path, resource_to->path); | ~~~~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:465:45: warning: passing argument 2 of 'libssh2_sftp_rename_ex' from incompatible pointer type [-Wincompatible-pointer-types] 465 | result = libssh2_sftp_rename(sftp, resource->path, resource_to->path); | ^ | | | zend_string * {aka struct _zend_string *} /usr/include/libssh2_sftp.h:278:52: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 278 | const char *source_filename, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:465:64: warning: passing argument 4 of 'libssh2_sftp_rename_ex' from incompatible pointer type [-Wincompatible-pointer-types] 465 | result = libssh2_sftp_rename(sftp, resource->path, resource_to->path); | ^ | | | zend_string * {aka struct _zend_string *} /usr/include/libssh2_sftp.h:280:52: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 280 | const char *dest_filename, | ~~~~~~~~~~~~^~~~~~~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_mkdir': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:496:13: warning: initialization of 'char *' from incompatible pointer type 'zend_string *' {aka 'struct _zend_string *'} [-Wincompatible-pointer-types] 496 | char *p = resource->path; | ^~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:498:50: error: invalid operands to binary - (have 'char *' and 'zend_string *' {aka 'struct _zend_string *'}) 498 | libssh2_sftp_mkdir_ex(sftp, resource->path, p - resource->path, mode); | ^ ~~~~~~~~~~~~~~ | | | zend_string * {aka struct _zend_string *} /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:498:40: warning: passing argument 2 of 'libssh2_sftp_mkdir_ex' from incompatible pointer type [-Wincompatible-pointer-types] 498 | libssh2_sftp_mkdir_ex(sftp, resource->path, p - resource->path, mode); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /usr/include/libssh2_sftp.h:305:51: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 305 | const char *path, | ~~~~~~~~~~~~^~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:502:44: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 502 | result = libssh2_sftp_mkdir(sftp, resource->path, mode); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:502:44: warning: passing argument 2 of 'libssh2_sftp_mkdir_ex' from incompatible pointer type [-Wincompatible-pointer-types] 502 | result = libssh2_sftp_mkdir(sftp, resource->path, mode); | ^ | | | zend_string * {aka struct _zend_string *} /usr/include/libssh2_sftp.h:305:51: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 305 | const char *path, | ~~~~~~~~~~~~^~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_rmdir': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:530:44: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 530 | result = libssh2_sftp_rmdir(sftp, resource->path); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:25, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:530:44: warning: passing argument 2 of 'libssh2_sftp_rmdir_ex' from incompatible pointer type [-Wincompatible-pointer-types] 530 | result = libssh2_sftp_rmdir(sftp, resource->path); | ^ | | | zend_string * {aka struct _zend_string *} /usr/include/libssh2_sftp.h:311:51: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 311 | const char *path, | ~~~~~~~~~~~~^~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'zif_ssh2_sftp_readlink': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_sftp.c:839:60: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'zend_string *' {aka 'struct _zend_string *'} [-Wformat=] 839 | php_error_docref(NULL, E_WARNING, "Unable to read link '%s'", link); | ~^ ~~~~ | | | | | zend_string * {aka struct _zend_string *} | char * make: *** [Makefile:215: ssh2_sftp.lo] Error 1 make: *** Waiting for unfinished jobs.... /bin/sh /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/include -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/main -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.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 -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c -o ssh2_fopen_wrappers.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/include -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/main -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.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 -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c -fPIC -DPIC -o .libs/ssh2_fopen_wrappers.o /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_channel_stream_write': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:78:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 78 | php_error_docref(NULL, E_WARNING, "Failure '%s' (%ld)", error_msg, writestate); | ~~^ ~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_channel_stream_read': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:120:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'ssize_t' {aka 'int'} [-Wformat=] 120 | php_error_docref(NULL, E_WARNING, "Failure '%s' (%ld)", error_msg, readstate); | ~~^ ~~~~~~~~~ | | | | long int ssize_t {aka int} | %d /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: At top level: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:191:2: warning: initialization of 'ssize_t (*)(php_stream *, const char *, size_t)' {aka 'int (*)(struct _php_stream *, const char *, unsigned int)'} from incompatible pointer type 'size_t (*)(php_stream *, const char *, size_t)' {aka 'unsigned int (*)(struct _php_stream *, const char *, unsigned int)'} [-Wincompatible-pointer-types] 191 | php_ssh2_channel_stream_write, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:191:2: note: (near initialization for 'php_ssh2_channel_stream_ops.write') /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:192:2: warning: initialization of 'ssize_t (*)(php_stream *, char *, size_t)' {aka 'int (*)(struct _php_stream *, char *, unsigned int)'} from incompatible pointer type 'size_t (*)(php_stream *, char *, size_t)' {aka 'unsigned int (*)(struct _php_stream *, char *, unsigned int)'} [-Wincompatible-pointer-types] 192 | php_ssh2_channel_stream_read, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:192:2: note: (near initialization for 'php_ssh2_channel_stream_ops.read') /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wraper_parse_path': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:236:22: warning: passing argument 1 of 'strncmp' from incompatible pointer type [-Wincompatible-pointer-types] 236 | if (strncmp(resource->scheme, "ssh2.", sizeof("ssh2.") - 1)) { | ~~~~~~~~^~~~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:242:48: warning: passing argument 1 of 'strcmp' from incompatible pointer type [-Wincompatible-pointer-types] 242 | if (strcmp(resource->scheme + sizeof("ssh2.") - 1, type)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:256:4: warning: assignment to 'char *' from incompatible pointer type 'zend_string *' {aka 'struct _zend_string *'} [-Wincompatible-pointer-types] 256 | s = resource->path; | ^ In file included from /usr/include/php/Zend/zend.h:30, from /usr/include/php/main/php.h:33, from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:257:48: warning: passing argument 2 of 'strstr' from incompatible pointer type [-Wincompatible-pointer-types] 257 | resource->path = estrdup(strstr(path, resource->path)); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} /usr/include/php/Zend/zend_alloc.h:170:36: note: in definition of macro 'estrdup' 170 | #define estrdup(s) _estrdup((s) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) | ^ In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:257:17: warning: assignment to 'zend_string *' {aka 'struct _zend_string *'} from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 257 | resource->path = estrdup(strstr(path, resource->path)); | ^ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:261:4: warning: assignment to 'char *' from incompatible pointer type 'zend_string *' {aka 'struct _zend_string *'} [-Wincompatible-pointer-types] 261 | s = resource->host; | ^ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:312:24: error: invalid operands to binary == (have 'zend_string' {aka 'struct _zend_string'} and 'int') 312 | if (resource->host[0] == 0 && context && psftp && | ~~~~~~~~~~~~~~~~~ ^~ | | | zend_string {aka struct _zend_string} /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:326:24: error: invalid operands to binary == (have 'zend_string' {aka 'struct _zend_string'} and 'int') 326 | if (resource->host[0] == 0 && context && | ~~~~~~~~~~~~~~~~~ ^~ | | | zend_string {aka struct _zend_string} /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:402:28: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 402 | int len = strlen(resource->user); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:405:13: warning: assignment to 'char *' from incompatible pointer type 'zend_string *' {aka 'struct _zend_string *'} [-Wincompatible-pointer-types] 405 | username = resource->user; | ^ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:411:28: warning: passing argument 1 of 'strlen' from incompatible pointer type [-Wincompatible-pointer-types] 411 | int len = strlen(resource->pass); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /usr/include/php/main/../main/php_config.h:2344, 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 /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:414:13: warning: assignment to 'char *' from incompatible pointer type 'zend_string *' {aka 'struct _zend_string *'} [-Wincompatible-pointer-types] 414 | password = resource->pass; | ^ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:425:45: warning: passing argument 1 of 'php_ssh2_session_connect' from incompatible pointer type [-Wincompatible-pointer-types] 425 | session = php_ssh2_session_connect(resource->host, resource->port, methods, callbacks); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} In file included from /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/php_ssh2.h:151:18: note: expected 'char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 151 | LIBSSH2_SESSION *php_ssh2_session_connect(char *host, int port, zval *methods, zval *callbacks); | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_shell_open': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:530:58: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'zend_string *' {aka 'struct _zend_string *'} [-Wformat=] 530 | php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", key, Z_STRVAL(copyval)); | ~^ ~~~ | | | | char * zend_string * {aka struct _zend_string *} /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wrapper_shell': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:634:4: warning: assignment to 'char *' from incompatible pointer type 'zend_string *' {aka 'struct _zend_string *'} [-Wincompatible-pointer-types] 634 | s = resource->path ? resource->path : NULL; | ^ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_exec_command': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:769:58: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'zend_string *' {aka 'struct _zend_string *'} [-Wformat=] 769 | php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", key, Z_STRVAL(copyval)); | ~^ ~~~ | | | | char * zend_string * {aka struct _zend_string *} /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wrapper_exec': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:881:70: warning: passing argument 3 of 'php_ssh2_exec_command' from incompatible pointer type [-Wincompatible-pointer-types] 881 | stream = php_ssh2_exec_command(session, resource_id, resource->path + 1, terminal, terminal_len, environment, width, height, type); | ~~~~~~~~~~~~~~~^~~ | | | zend_string * {aka struct _zend_string *} /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:737:91: note: expected 'char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 737 | static php_stream *php_ssh2_exec_command(LIBSSH2_SESSION *session, int resource_id, char *command, char *term, int term_len, zval *environment, long width, long height, long type) | ~~~~~~^~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wrapper_scp': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1024:59: warning: passing argument 3 of 'php_ssh2_scp_xfer' from incompatible pointer type [-Wincompatible-pointer-types] 1024 | stream = php_ssh2_scp_xfer(session, resource_id, resource->path); | ~~~~~~~~^~~~~~ | | | zend_string * {aka struct _zend_string *} /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:970:87: note: expected 'char *' but argument is of type 'zend_string *' {aka 'struct _zend_string *'} 970 | static php_stream *php_ssh2_scp_xfer(LIBSSH2_SESSION *session, int resource_id, char *filename) | ~~~~~~^~~~~~~~ /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wrapper_tunnel': /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1265:42: error: invalid operands to binary == (have 'zend_string' {aka 'struct _zend_string'} and 'int') 1265 | if (resource->path && resource->path[0] == '/') { | ~~~~~~~~~~~~~~~~~ ^~ | | | zend_string {aka struct _zend_string} /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1268:8: warning: assignment to 'char *' from incompatible pointer type 'zend_string *' {aka 'struct _zend_string *'} [-Wincompatible-pointer-types] 1268 | host = resource->path + 1; | ^ make: *** [Makefile:213: ssh2_fopen_wrappers.lo] Error 1 /bin/sh /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/include -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/main -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.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 -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2.c -o ssh2.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/include -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/main -I/tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.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 -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.0el1W9/BUILD/php74-pecl-ssh2-1.1.2/ssh2.c -fPIC -DPIC -o .libs/ssh2.o error: Bad exit status from /tmp/B.0el1W9/BUILD/tmp/rpm-tmp.5147 (%build) RPM build errors: Bad exit status from /tmp/B.0el1W9/BUILD/tmp/rpm-tmp.5147 (%build) ended at: Tue Aug 13 20:51:29 2019, done in 0:00:05.020880 error: No files produced. + chmod -R u+rwX /tmp/B.0el1W9/BUILD + rm -rf /tmp/B.0el1W9/tmp /tmp/B.0el1W9/BUILD + rm -rf /tmp/B.0el1W9 Begin-PLD-Builder-Info Build-Time: user:19.06s sys:2.68s real:29.64s (faults io:0 non-io:758598) End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]