Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libssh2.spec'], chrootPath='/var/lib/mock/libssh2-1.4.3-12.el7-20181030231212-32274/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1002) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libssh2.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/libssh2-1.4.3-12.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libssh2.spec'], chrootPath='/var/lib/mock/libssh2-1.4.3-12.el7-20181030231212-32274/root'shell=Falseuid=1002env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libssh2.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t49c4v + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libssh2-1.4.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/libssh2-1.4.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libssh2-1.4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/4711/4764/ tests/ssh2.c tests/ssh2.sh + echo 'Patch #0 (libssh2-1.4.2-utf8.patch):' Patch #0 (libssh2-1.4.2-utf8.patch): + /usr/bin/cat /builddir/build/SOURCES/libssh2-1.4.2-utf8.patch + /usr/bin/patch -p1 --fuzz=0 patching file NEWS + echo 'Patch #1 (0001-sftp-seek-Don-t-flush-buffers-on-same-offset.patch):' Patch #1 (0001-sftp-seek-Don-t-flush-buffers-on-same-offset.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-sftp-seek-Don-t-flush-buffers-on-same-offset.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/sftp.c + echo 'Patch #2 (0002-sftp-statvfs-Along-error-path-reset-the-correct-stat.patch):' Patch #2 (0002-sftp-statvfs-Along-error-path-reset-the-correct-stat.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/0002-sftp-statvfs-Along-error-path-reset-the-correct-stat.patch patching file src/sftp.c + echo 'Patch #3 (0003-sftp-Add-support-for-fsync-OpenSSH-extension.patch):' Patch #3 (0003-sftp-Add-support-for-fsync-OpenSSH-extension.patch): + /usr/bin/cat /builddir/build/SOURCES/0003-sftp-Add-support-for-fsync-OpenSSH-extension.patch + /usr/bin/patch -p1 --fuzz=0 patching file docs/Makefile.am patching file docs/libssh2_sftp_fsync.3 patching file include/libssh2_sftp.h patching file src/sftp.c patching file src/sftp.h + echo 'Patch #4 (0004-partially-revert-window_size-explicit-adjustments-on.patch):' Patch #4 (0004-partially-revert-window_size-explicit-adjustments-on.patch): + /usr/bin/cat /builddir/build/SOURCES/0004-partially-revert-window_size-explicit-adjustments-on.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/channel.c + echo 'Patch #5 (0005-channel.c-fix-a-use-after-free.patch):' Patch #5 (0005-channel.c-fix-a-use-after-free.patch): + /usr/bin/cat /builddir/build/SOURCES/0005-channel.c-fix-a-use-after-free.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/channel.c Patch #6 (0006-_libssh2_channel_write-client-spins-on-write-when-wi.patch): + echo 'Patch #6 (0006-_libssh2_channel_write-client-spins-on-write-when-wi.patch):' + /usr/bin/cat /builddir/build/SOURCES/0006-_libssh2_channel_write-client-spins-on-write-when-wi.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/channel.c + echo 'Patch #7 (0007-window_size-redid-window-handling-for-flow-control-r.patch):' Patch #7 (0007-window_size-redid-window-handling-for-flow-control-r.patch): + /usr/bin/cat /builddir/build/SOURCES/0007-window_size-redid-window-handling-for-flow-control-r.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/channel.c patching file src/libssh2_priv.h patching file src/packet.c + echo 'Patch #8 (0008-_libssh2_channel_read-fix-data-drop-when-out-of-wind.patch):' Patch #8 (0008-_libssh2_channel_read-fix-data-drop-when-out-of-wind.patch): + /usr/bin/cat /builddir/build/SOURCES/0008-_libssh2_channel_read-fix-data-drop-when-out-of-wind.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/channel.c + echo 'Patch #9 (0009-_libssh2_channel_read-Honour-window_size_initial.patch):' Patch #9 (0009-_libssh2_channel_read-Honour-window_size_initial.patch): + /usr/bin/cat /builddir/build/SOURCES/0009-_libssh2_channel_read-Honour-window_size_initial.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/channel.c + echo 'Patch #10 (0010-Set-default-window-size-to-2MB.patch):' Patch #10 (0010-Set-default-window-size-to-2MB.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/0010-Set-default-window-size-to-2MB.patch patching file include/libssh2.h + echo 'Patch #11 (0011-channel_receive_window_adjust-store-windows-size-alw.patch):' Patch #11 (0011-channel_receive_window_adjust-store-windows-size-alw.patch): + /usr/bin/cat /builddir/build/SOURCES/0011-channel_receive_window_adjust-store-windows-size-alw.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/channel.c + echo 'Patch #12 (0012-libssh2_agent_init-init-fd-to-LIBSSH2_INVALID_SOCKET.patch):' Patch #12 (0012-libssh2_agent_init-init-fd-to-LIBSSH2_INVALID_SOCKET.patch): + /usr/bin/cat /builddir/build/SOURCES/0012-libssh2_agent_init-init-fd-to-LIBSSH2_INVALID_SOCKET.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/agent.c + echo 'Patch #13 (0013-kex-bail-out-on-rubbish-in-the-incoming-packet.patch):' Patch #13 (0013-kex-bail-out-on-rubbish-in-the-incoming-packet.patch): + /usr/bin/cat /builddir/build/SOURCES/0013-kex-bail-out-on-rubbish-in-the-incoming-packet.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/kex.c + echo 'Patch #101 (0101-libssh2-1.4.3-CVE-2016-0787.patch):' Patch #101 (0101-libssh2-1.4.3-CVE-2016-0787.patch): + /usr/bin/cat /builddir/build/SOURCES/0101-libssh2-1.4.3-CVE-2016-0787.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/kex.c + echo 'Patch #14 (0014-libssh2-1.4.3-scp-remote-exec.patch):' Patch #14 (0014-libssh2-1.4.3-scp-remote-exec.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/0014-libssh2-1.4.3-scp-remote-exec.patch patching file src/scp.c patching file src/scp.c patching file src/scp.c patching file src/scp.c patching file src/scp.c Patch #15 (0015-libssh2-1.4.3-debug-msgs.patch): + echo 'Patch #15 (0015-libssh2-1.4.3-debug-msgs.patch):' + /usr/bin/cat /builddir/build/SOURCES/0015-libssh2-1.4.3-debug-msgs.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/session.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Fg5Szj + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.4.3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == 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=aarch64-redhat-linux-gnu --host=aarch64-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-shared checking whether to enable maintainer-specific portions of Makefiles... no checking for sed... /usr/bin/sed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking libssh2 version... 1.4.3 checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu configure: autobuild project... libssh2 configure: autobuild revision... 1.4.3 ./configure: line 3000: hostname: command not found configure: autobuild timestamp... 20181030-232205 checking for style of include used by make... GNU checking for aarch64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 long long... yes checking if _REENTRANT is already defined... no checking if _REENTRANT is actually needed... no checking if _REENTRANT is onwards defined... no checking for library containing socket... none required checking for library containing inet_addr... none required checking for aarch64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for sshd... /usr/sbin/sshd 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 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 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 aarch64-redhat-linux-gnu file names to aarch64-redhat-linux-gnu format... func_convert_file_noop checking how to convert aarch64-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 aarch64-redhat-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-redhat-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for aarch64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for aarch64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the 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 checking whether byte ordering is bigendian... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for libssl... yes checking how to link with libssl... /usr/lib64/libssl.so /usr/lib64/libcrypto.so checking for EVP_aes_128_ctr... yes checking for libz... yes checking how to link with libz... /usr/lib64/libz.so checking whether to enable pedantic and debug compiler options... no checking whether to enable hidden symbols in the library... no checking whether to build example applications... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking for poll... yes checking for gettimeofday... yes checking for select... yes checking for strtoll... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking non-blocking sockets style... O_NONBLOCK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating example/Makefile config.status: creating docs/Makefile config.status: creating libssh2.pc config.status: creating src/libssh2_config.h config.status: creating example/libssh2_config.h config.status: executing depfiles commands config.status: executing libtool commands configure: summary of build options: version: 1.4.3 Host type: aarch64-redhat-linux-gnu Install prefix: /usr Compiler: gcc Compiler flags: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches Library types: Shared=yes, Static=no Crypto library: openssl: yes (AES-CTR: yes) libgcrypt: no Debug build: no Build examples: yes Path to sshd: /usr/sbin/sshd (only for self-tests) libz compression: yes + make -j8 Making all in src make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/src' make all-am make[2]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o channel.lo channel.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o comp.lo comp.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o crypt.lo crypt.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o hostkey.lo hostkey.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o kex.lo kex.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o mac.lo mac.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o misc.lo misc.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o packet.lo packet.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c hostkey.c -fPIC -DPIC -o .libs/hostkey.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c kex.c -fPIC -DPIC -o .libs/kex.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c mac.c -fPIC -DPIC -o .libs/mac.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c channel.c -fPIC -DPIC -o .libs/channel.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c comp.c -fPIC -DPIC -o .libs/comp.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c misc.c -fPIC -DPIC -o .libs/misc.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c crypt.c -fPIC -DPIC -o .libs/crypt.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c packet.c -fPIC -DPIC -o .libs/packet.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o publickey.lo publickey.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o scp.lo scp.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o session.lo session.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c publickey.c -fPIC -DPIC -o .libs/publickey.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o sftp.lo sftp.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c scp.c -fPIC -DPIC -o .libs/scp.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c session.c -fPIC -DPIC -o .libs/session.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o userauth.lo userauth.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftp.c -fPIC -DPIC -o .libs/sftp.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c userauth.c -fPIC -DPIC -o .libs/userauth.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o transport.lo transport.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c transport.c -fPIC -DPIC -o .libs/transport.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o version.lo version.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o knownhost.lo knownhost.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o agent.lo agent.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o openssl.lo openssl.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o libgcrypt.lo libgcrypt.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o pem.lo pem.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c version.c -fPIC -DPIC -o .libs/version.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c openssl.c -fPIC -DPIC -o .libs/openssl.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c knownhost.c -fPIC -DPIC -o .libs/knownhost.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c libgcrypt.c -fPIC -DPIC -o .libs/libgcrypt.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c pem.c -fPIC -DPIC -o .libs/pem.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c agent.c -fPIC -DPIC -o .libs/agent.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o keepalive.lo keepalive.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c -o global.lo global.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c keepalive.c -fPIC -DPIC -o .libs/keepalive.o libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c global.c -fPIC -DPIC -o .libs/global.o /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -version-info 1:1:0 -no-undefined -export-symbols-regex '^libssh2_.*' -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz -Wl,-z,relro -o libssh2.la -rpath /usr/lib64 channel.lo comp.lo crypt.lo hostkey.lo kex.lo mac.lo misc.lo packet.lo publickey.lo scp.lo session.lo sftp.lo userauth.lo transport.lo version.lo knownhost.lo agent.lo openssl.lo libgcrypt.lo pem.lo keepalive.lo global.lo libtool: link: /usr/bin/nm -B .libs/channel.o .libs/comp.o .libs/crypt.o .libs/hostkey.o .libs/kex.o .libs/mac.o .libs/misc.o .libs/packet.o .libs/publickey.o .libs/scp.o .libs/session.o .libs/sftp.o .libs/userauth.o .libs/transport.o .libs/version.o .libs/knownhost.o .libs/agent.o .libs/openssl.o .libs/libgcrypt.o .libs/pem.o .libs/keepalive.o .libs/global.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libssh2.exp libtool: link: /usr/bin/grep -E -e "^libssh2_.*" ".libs/libssh2.exp" > ".libs/libssh2.expT" libtool: link: mv -f ".libs/libssh2.expT" ".libs/libssh2.exp" libtool: link: echo "{ global:" > .libs/libssh2.ver libtool: link: cat .libs/libssh2.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libssh2.ver libtool: link: echo "local: *; };" >> .libs/libssh2.ver libtool: link: gcc -shared -fPIC -DPIC .libs/channel.o .libs/comp.o .libs/crypt.o .libs/hostkey.o .libs/kex.o .libs/mac.o .libs/misc.o .libs/packet.o .libs/publickey.o .libs/scp.o .libs/session.o .libs/sftp.o .libs/userauth.o .libs/transport.o .libs/version.o .libs/knownhost.o .libs/agent.o .libs/openssl.o .libs/libgcrypt.o .libs/pem.o .libs/keepalive.o .libs/global.o -L/usr/lib64 -lssl -lcrypto -lz -O2 -Wl,-z -Wl,relro -Wl,-soname -Wl,libssh2.so.1 -Wl,-version-script -Wl,.libs/libssh2.ver -o .libs/libssh2.so.1.0.1 libtool: link: (cd ".libs" && rm -f "libssh2.so.1" && ln -s "libssh2.so.1.0.1" "libssh2.so.1") libtool: link: (cd ".libs" && rm -f "libssh2.so" && ln -s "libssh2.so.1.0.1" "libssh2.so") libtool: link: ( cd ".libs" && rm -f "libssh2.la" && ln -s "../libssh2.la" "libssh2.la" ) make[2]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/src' make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/src' Making all in tests make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/tests' gcc -DHAVE_CONFIG_H -I. -I../src -I../example -I../src -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c ssh2.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o ssh2 ssh2.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/ssh2 ssh2.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/tests' Making all in docs make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/docs' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/docs' Making all in example make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/example' make all-am make[2]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/example' gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c direct_tcpip.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c ssh2.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c scp.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c scp_nonblock.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c scp_write.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c scp_write_nonblock.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftp.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftp_nonblock.c scp.c: In function 'main': scp.c:154:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, mem, rc); ^ scp_nonblock.c: In function 'main': scp_nonblock.c:233:22: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, mem, rc); ^ sftp.c: In function 'main': sftp.c:261:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, mem, rc); ^ sftp.c: In function 'kbd_callback': sftp.c:76:14: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), stdin); ^ sftp_nonblock.c: In function 'main': sftp_nonblock.c:246:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, mem, rc); ^ gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftp_write.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftp_write_nonblock.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftp_mkdir.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftp_mkdir_nonblock.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftp_RW_nonblock.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftp_write_sliding.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftpdir.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftpdir_nonblock.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c ssh2_exec.c sftp_RW_nonblock.c: In function 'main': sftp_RW_nonblock.c:236:22: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, mem, rc); ^ sftpdir.c: In function 'main': sftpdir.c:208:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'libssh2_uint64_t' [-Wformat=] printf("%8" PRIu64 " ", attrs.filesize); ^ sftpdir_nonblock.c: In function 'main': sftpdir_nonblock.c:215:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'libssh2_uint64_t' [-Wformat=] printf("%8" PRIu64 " ", attrs.filesize); ^ gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c ssh2_agent.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c ssh2_echo.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c sftp_append.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c subsystem_netconf.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c tcpip-forward.c gcc -DHAVE_CONFIG_H -I../include -I../example -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c x11.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o direct_tcpip direct_tcpip.o ../src/libssh2.la tcpip-forward.c: In function 'main': tcpip-forward.c:175:9: warning: pointer targets in passing argument 4 of 'libssh2_channel_forward_listen_ex' differ in signedness [-Wpointer-sign] remote_wantport, &remote_listenport, 1); ^ In file included from tcpip-forward.c:2:0: ../include/libssh2.h:622:1: note: expected 'int *' but argument is of type 'unsigned int *' libssh2_channel_forward_listen_ex(LIBSSH2_SESSION *session, const char *host, ^ tcpip-forward.c:73:9: warning: unused variable 'sockopt' [-Wunused-variable] int sockopt; ^ tcpip-forward.c:61:18: warning: unused variable 'sport' [-Wunused-variable] unsigned int sport; ^ tcpip-forward.c:60:17: warning: unused variable 'shost' [-Wunused-variable] const char *shost; ^ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o ssh2 ssh2.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o scp scp.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o scp_nonblock scp_nonblock.o ../src/libssh2.la x11.c: In function 'main': x11.c:379:50: warning: 'w_size_bck.ws_col' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((w_size.ws_row != w_size_bck.ws_row) || ^ x11.c:379:12: warning: 'w_size_bck.ws_row' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((w_size.ws_row != w_size_bck.ws_row) || ^ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o scp_write scp_write.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o scp_write_nonblock scp_write_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/direct_tcpip direct_tcpip.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftp sftp.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/ssh2 ssh2.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/scp scp.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/scp_nonblock scp_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftp_nonblock sftp_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/scp_write scp_write.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/scp_write_nonblock scp_write_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftp sftp.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftp_write sftp_write.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftp_write_nonblock sftp_write_nonblock.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftp_mkdir sftp_mkdir.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftp_mkdir_nonblock sftp_mkdir_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftp_nonblock sftp_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftp_RW_nonblock sftp_RW_nonblock.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftp_write_sliding sftp_write_sliding.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftp_write sftp_write.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftpdir sftpdir.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftp_write_nonblock sftp_write_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftp_mkdir sftp_mkdir.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftp_mkdir_nonblock sftp_mkdir_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftp_write_sliding sftp_write_sliding.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftpdir_nonblock sftpdir_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftp_RW_nonblock sftp_RW_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftpdir sftpdir.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o ssh2_exec ssh2_exec.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o ssh2_agent ssh2_agent.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o ssh2_echo ssh2_echo.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o sftp_append sftp_append.o ../src/libssh2.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o subsystem_netconf subsystem_netconf.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftpdir_nonblock sftpdir_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o tcpip-forward tcpip-forward.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/ssh2_exec ssh2_exec.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o x11 x11.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/ssh2_echo ssh2_echo.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/ssh2_agent ssh2_agent.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/sftp_append sftp_append.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/subsystem_netconf subsystem_netconf.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/tcpip-forward tcpip-forward.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/x11 x11.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[2]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/example' make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/example' make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3' + sed -i -e 's|[[:space:]]-Wl,[^[:space:]]*||' libssh2.pc + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.blrrfF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64 ++ dirname /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64 + cd libssh2-1.4.3 + rm -rf /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64 + make install DESTDIR=/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64 'INSTALL=install -p' Making install in src make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/src' make[2]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/lib64' /bin/sh ../libtool --mode=install install -p libssh2.la '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/lib64' libtool: install: install -p .libs/libssh2.so.1.0.1 /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/lib64/libssh2.so.1.0.1 libtool: install: (cd /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/lib64 && { ln -s -f libssh2.so.1.0.1 libssh2.so.1 || { rm -f libssh2.so.1 && ln -s libssh2.so.1.0.1 libssh2.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/lib64 && { ln -s -f libssh2.so.1.0.1 libssh2.so || { rm -f libssh2.so && ln -s libssh2.so.1.0.1 libssh2.so; }; }) libtool: install: install -p .libs/libssh2.lai /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/lib64/libssh2.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/src' make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/src' Making install in tests make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/tests' make[2]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/tests' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/tests' make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/tests' Making install in docs make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/docs' make[2]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/docs' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/man/man3' install -p -m 644 libssh2_agent_connect.3 libssh2_agent_disconnect.3 libssh2_agent_free.3 libssh2_agent_get_identity.3 libssh2_agent_init.3 libssh2_agent_list_identities.3 libssh2_agent_userauth.3 libssh2_banner_set.3 libssh2_base64_decode.3 libssh2_channel_close.3 libssh2_channel_direct_tcpip.3 libssh2_channel_direct_tcpip_ex.3 libssh2_channel_eof.3 libssh2_channel_exec.3 libssh2_channel_flush.3 libssh2_channel_flush_ex.3 libssh2_channel_flush_stderr.3 libssh2_channel_forward_accept.3 libssh2_channel_forward_cancel.3 libssh2_channel_forward_listen.3 libssh2_channel_forward_listen_ex.3 libssh2_channel_free.3 libssh2_channel_get_exit_signal.3 libssh2_channel_get_exit_status.3 libssh2_channel_handle_extended_data.3 libssh2_channel_handle_extended_data2.3 libssh2_channel_ignore_extended_data.3 libssh2_channel_open_ex.3 libssh2_channel_open_session.3 libssh2_channel_process_startup.3 libssh2_channel_read.3 libssh2_channel_read_ex.3 libssh2_channel_read_stderr.3 libssh2_channel_receive_window_adjust.3 libssh2_channel_receive_window_adjust2.3 libssh2_channel_request_pty.3 libssh2_channel_request_pty_ex.3 libssh2_channel_request_pty_size.3 libssh2_channel_request_pty_size_ex.3 libssh2_channel_send_eof.3 '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/man/man3' install -p -m 644 libssh2_channel_set_blocking.3 libssh2_channel_setenv.3 libssh2_channel_setenv_ex.3 libssh2_channel_shell.3 libssh2_channel_subsystem.3 libssh2_channel_wait_closed.3 libssh2_channel_wait_eof.3 libssh2_channel_window_read.3 libssh2_channel_window_read_ex.3 libssh2_channel_window_write.3 libssh2_channel_window_write_ex.3 libssh2_channel_write.3 libssh2_channel_write_ex.3 libssh2_channel_write_stderr.3 libssh2_channel_x11_req.3 libssh2_channel_x11_req_ex.3 libssh2_exit.3 libssh2_free.3 libssh2_hostkey_hash.3 libssh2_init.3 libssh2_keepalive_config.3 libssh2_keepalive_send.3 libssh2_knownhost_add.3 libssh2_knownhost_addc.3 libssh2_knownhost_check.3 libssh2_knownhost_checkp.3 libssh2_knownhost_del.3 libssh2_knownhost_free.3 libssh2_knownhost_get.3 libssh2_knownhost_init.3 libssh2_knownhost_readfile.3 libssh2_knownhost_readline.3 libssh2_knownhost_writefile.3 libssh2_knownhost_writeline.3 libssh2_poll.3 libssh2_poll_channel_read.3 libssh2_publickey_add.3 libssh2_publickey_add_ex.3 libssh2_publickey_init.3 libssh2_publickey_list_fetch.3 '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/man/man3' install -p -m 644 libssh2_publickey_list_free.3 libssh2_publickey_remove.3 libssh2_publickey_remove_ex.3 libssh2_publickey_shutdown.3 libssh2_scp_recv.3 libssh2_scp_send.3 libssh2_scp_send64.3 libssh2_scp_send_ex.3 libssh2_session_abstract.3 libssh2_session_banner_get.3 libssh2_session_banner_set.3 libssh2_session_block_directions.3 libssh2_session_callback_set.3 libssh2_session_disconnect.3 libssh2_session_disconnect_ex.3 libssh2_session_flag.3 libssh2_session_free.3 libssh2_session_get_blocking.3 libssh2_session_get_timeout.3 libssh2_session_hostkey.3 libssh2_session_init.3 libssh2_session_init_ex.3 libssh2_session_last_errno.3 libssh2_session_last_error.3 libssh2_session_method_pref.3 libssh2_session_methods.3 libssh2_session_set_blocking.3 libssh2_session_set_timeout.3 libssh2_session_startup.3 libssh2_session_supported_algs.3 libssh2_sftp_close.3 libssh2_sftp_close_handle.3 libssh2_sftp_closedir.3 libssh2_sftp_fsetstat.3 libssh2_sftp_fstat.3 libssh2_sftp_fstat_ex.3 libssh2_sftp_fstatvfs.3 libssh2_sftp_get_channel.3 libssh2_sftp_init.3 libssh2_sftp_last_error.3 '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/man/man3' install -p -m 644 libssh2_sftp_lstat.3 libssh2_sftp_mkdir.3 libssh2_sftp_mkdir_ex.3 libssh2_sftp_open.3 libssh2_sftp_open_ex.3 libssh2_sftp_opendir.3 libssh2_sftp_read.3 libssh2_sftp_readdir.3 libssh2_sftp_readdir_ex.3 libssh2_sftp_readlink.3 libssh2_sftp_realpath.3 libssh2_sftp_rename.3 libssh2_sftp_rename_ex.3 libssh2_sftp_rewind.3 libssh2_sftp_rmdir.3 libssh2_sftp_rmdir_ex.3 libssh2_sftp_seek.3 libssh2_sftp_seek64.3 libssh2_sftp_setstat.3 libssh2_sftp_shutdown.3 libssh2_sftp_stat.3 libssh2_sftp_stat_ex.3 libssh2_sftp_statvfs.3 libssh2_sftp_symlink.3 libssh2_sftp_symlink_ex.3 libssh2_sftp_tell.3 libssh2_sftp_tell64.3 libssh2_sftp_unlink.3 libssh2_sftp_unlink_ex.3 libssh2_sftp_write.3 libssh2_trace.3 libssh2_trace_sethandler.3 libssh2_userauth_authenticated.3 libssh2_userauth_hostbased_fromfile.3 libssh2_userauth_hostbased_fromfile_ex.3 libssh2_userauth_keyboard_interactive.3 libssh2_userauth_keyboard_interactive_ex.3 libssh2_userauth_list.3 libssh2_userauth_password.3 libssh2_userauth_password_ex.3 '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/man/man3' install -p -m 644 libssh2_userauth_publickey.3 libssh2_userauth_publickey_fromfile.3 libssh2_userauth_publickey_fromfile_ex.3 libssh2_version.3 '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/man/man3' make[2]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/docs' make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/docs' Making install in example make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/example' make[2]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/example' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/example' make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/example' make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3' make[2]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/include' install -p -m 644 include/libssh2.h include/libssh2_publickey.h include/libssh2_sftp.h '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/lib64/pkgconfig' install -p -m 644 libssh2.pc '/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/lib64/pkgconfig' make[2]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3' make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3' + find /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64 -name '*.la' -exec rm -f '{}' ';' + make -C example clean make: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/example' rm -rf .libs _libs rm -f direct_tcpip ssh2 scp scp_nonblock scp_write scp_write_nonblock sftp sftp_nonblock sftp_write sftp_write_nonblock sftp_mkdir sftp_mkdir_nonblock sftp_RW_nonblock sftp_write_sliding sftpdir sftpdir_nonblock ssh2_exec ssh2_agent ssh2_echo sftp_append subsystem_netconf tcpip-forward x11 rm -f *.o rm -f *.lo make: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/example' + rm -rf example/.deps + find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v '{}' ';' removed 'example/Makefile.am' removed 'example/libssh2_config.h.in' removed 'example/Makefile.in' + mv -v example example.aarch64 'example' -> 'example.aarch64' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/libssh2-1.4.3 extracting debug info from /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/lib64/libssh2.so.1.0.1 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libssh2.so.1.0.1.debug to /usr/lib/debug/usr/lib64/libssh2.so.debug symlinked /usr/lib/debug/usr/lib64/libssh2.so.1.0.1.debug to /usr/lib/debug/usr/lib64/libssh2.so.1.debug 1678 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rGYAEK + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.4.3 + '[' '!' -c /dev/tty ']' + make -C tests check make: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/tests' make simple make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/tests' gcc -DHAVE_CONFIG_H -I. -I../src -I../example -I../src -I../include -I../src -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -c simple.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -o simple simple.o ../src/libssh2.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z -Wl,relro -o .libs/simple simple.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/tests' make check-TESTS make[1]: Entering directory `/builddir/build/BUILD/libssh2-1.4.3/tests' PASS: simple ./../docs/libssh2_agent_connect.3 ./../docs/libssh2_agent_disconnect.3 ./../docs/libssh2_agent_free.3 ./../docs/libssh2_agent_get_identity.3 ./../docs/libssh2_agent_init.3 ./../docs/libssh2_agent_list_identities.3 ./../docs/libssh2_agent_userauth.3 ./../docs/libssh2_banner_set.3 ./../docs/libssh2_base64_decode.3 ./../docs/libssh2_channel_close.3 ./../docs/libssh2_channel_direct_tcpip.3 ./../docs/libssh2_channel_direct_tcpip_ex.3 ./../docs/libssh2_channel_eof.3 ./../docs/libssh2_channel_exec.3 ./../docs/libssh2_channel_flush.3 ./../docs/libssh2_channel_flush_ex.3 ./../docs/libssh2_channel_flush_stderr.3 ./../docs/libssh2_channel_forward_accept.3 ./../docs/libssh2_channel_forward_cancel.3 ./../docs/libssh2_channel_forward_listen.3 ./../docs/libssh2_channel_forward_listen_ex.3 ./../docs/libssh2_channel_free.3 ./../docs/libssh2_channel_get_exit_signal.3 ./../docs/libssh2_channel_get_exit_status.3 ./../docs/libssh2_channel_handle_extended_data.3 ./../docs/libssh2_channel_handle_extended_data2.3 ./../docs/libssh2_channel_ignore_extended_data.3 ./../docs/libssh2_channel_open_ex.3 ./../docs/libssh2_channel_open_session.3 ./../docs/libssh2_channel_process_startup.3 ./../docs/libssh2_channel_read.3 ./../docs/libssh2_channel_read_ex.3 ./../docs/libssh2_channel_read_stderr.3 ./../docs/libssh2_channel_receive_window_adjust.3 ./../docs/libssh2_channel_receive_window_adjust2.3 ./../docs/libssh2_channel_request_pty.3 ./../docs/libssh2_channel_request_pty_ex.3 ./../docs/libssh2_channel_request_pty_size.3 ./../docs/libssh2_channel_request_pty_size_ex.3 ./../docs/libssh2_channel_send_eof.3 ./../docs/libssh2_channel_set_blocking.3 ./../docs/libssh2_channel_setenv.3 ./../docs/libssh2_channel_setenv_ex.3 ./../docs/libssh2_channel_shell.3 ./../docs/libssh2_channel_subsystem.3 ./../docs/libssh2_channel_wait_closed.3 ./../docs/libssh2_channel_wait_eof.3 ./../docs/libssh2_channel_window_read.3 ./../docs/libssh2_channel_window_read_ex.3 ./../docs/libssh2_channel_window_write.3 ./../docs/libssh2_channel_window_write_ex.3 ./../docs/libssh2_channel_write.3 ./../docs/libssh2_channel_write_ex.3 ./../docs/libssh2_channel_write_stderr.3 ./../docs/libssh2_channel_x11_req.3 ./../docs/libssh2_channel_x11_req_ex.3 ./../docs/libssh2_exit.3 ./../docs/libssh2_free.3 ./../docs/libssh2_hostkey_hash.3 ./../docs/libssh2_init.3 ./../docs/libssh2_keepalive_config.3 ./../docs/libssh2_keepalive_send.3 ./../docs/libssh2_knownhost_add.3 ./../docs/libssh2_knownhost_addc.3 ./../docs/libssh2_knownhost_check.3 ./../docs/libssh2_knownhost_checkp.3 ./../docs/libssh2_knownhost_del.3 ./../docs/libssh2_knownhost_free.3 ./../docs/libssh2_knownhost_get.3 ./../docs/libssh2_knownhost_init.3 ./../docs/libssh2_knownhost_readfile.3 ./../docs/libssh2_knownhost_readline.3 ./../docs/libssh2_knownhost_writefile.3 ./../docs/libssh2_knownhost_writeline.3 ./../docs/libssh2_poll.3 ./../docs/libssh2_poll_channel_read.3 ./../docs/libssh2_publickey_add.3 ./../docs/libssh2_publickey_add_ex.3 ./../docs/libssh2_publickey_init.3 ./../docs/libssh2_publickey_list_fetch.3 ./../docs/libssh2_publickey_list_free.3 ./../docs/libssh2_publickey_remove.3 ./../docs/libssh2_publickey_remove_ex.3 ./../docs/libssh2_publickey_shutdown.3 ./../docs/libssh2_scp_recv.3 ./../docs/libssh2_scp_send.3 ./../docs/libssh2_scp_send64.3 ./../docs/libssh2_scp_send_ex.3 ./../docs/libssh2_session_abstract.3 ./../docs/libssh2_session_banner_get.3 ./../docs/libssh2_session_banner_set.3 ./../docs/libssh2_session_block_directions.3 ./../docs/libssh2_session_callback_set.3 ./../docs/libssh2_session_disconnect.3 ./../docs/libssh2_session_disconnect_ex.3 ./../docs/libssh2_session_flag.3 ./../docs/libssh2_session_free.3 ./../docs/libssh2_session_get_blocking.3 ./../docs/libssh2_session_get_timeout.3 ./../docs/libssh2_session_hostkey.3 ./../docs/libssh2_session_init.3 ./../docs/libssh2_session_init_ex.3 ./../docs/libssh2_session_last_errno.3 ./../docs/libssh2_session_last_error.3 ./../docs/libssh2_session_method_pref.3 ./../docs/libssh2_session_methods.3 ./../docs/libssh2_session_set_blocking.3 ./../docs/libssh2_session_set_timeout.3 ./../docs/libssh2_session_startup.3 ./../docs/libssh2_session_supported_algs.3 ./../docs/libssh2_sftp_close.3 ./../docs/libssh2_sftp_close_handle.3 ./../docs/libssh2_sftp_closedir.3 ./../docs/libssh2_sftp_fsetstat.3 ./../docs/libssh2_sftp_fstat.3 ./../docs/libssh2_sftp_fstat_ex.3 ./../docs/libssh2_sftp_fstatvfs.3 ./../docs/libssh2_sftp_fsync.3 ./../docs/libssh2_sftp_get_channel.3 ./../docs/libssh2_sftp_init.3 ./../docs/libssh2_sftp_last_error.3 ./../docs/libssh2_sftp_lstat.3 ./../docs/libssh2_sftp_mkdir.3 ./../docs/libssh2_sftp_mkdir_ex.3 ./../docs/libssh2_sftp_open.3 ./../docs/libssh2_sftp_open_ex.3 ./../docs/libssh2_sftp_opendir.3 ./../docs/libssh2_sftp_read.3 ./../docs/libssh2_sftp_readdir.3 ./../docs/libssh2_sftp_readdir_ex.3 ./../docs/libssh2_sftp_readlink.3 ./../docs/libssh2_sftp_realpath.3 ./../docs/libssh2_sftp_rename.3 ./../docs/libssh2_sftp_rename_ex.3 ./../docs/libssh2_sftp_rewind.3 ./../docs/libssh2_sftp_rmdir.3 ./../docs/libssh2_sftp_rmdir_ex.3 ./../docs/libssh2_sftp_seek.3 ./../docs/libssh2_sftp_seek64.3 ./../docs/libssh2_sftp_setstat.3 ./../docs/libssh2_sftp_shutdown.3 ./../docs/libssh2_sftp_stat.3 ./../docs/libssh2_sftp_stat_ex.3 ./../docs/libssh2_sftp_statvfs.3 ./../docs/libssh2_sftp_symlink.3 ./../docs/libssh2_sftp_symlink_ex.3 ./../docs/libssh2_sftp_tell.3 ./../docs/libssh2_sftp_tell64.3 ./../docs/libssh2_sftp_unlink.3 ./../docs/libssh2_sftp_unlink_ex.3 ./../docs/libssh2_sftp_write.3 ./../docs/libssh2_trace.3 ./../docs/libssh2_trace_sethandler.3 ./../docs/libssh2_userauth_authenticated.3 ./../docs/libssh2_userauth_hostbased_fromfile.3 ./../docs/libssh2_userauth_hostbased_fromfile_ex.3 ./../docs/libssh2_userauth_keyboard_interactive.3 ./../docs/libssh2_userauth_keyboard_interactive_ex.3 ./../docs/libssh2_userauth_list.3 ./../docs/libssh2_userauth_password.3 ./../docs/libssh2_userauth_password_ex.3 ./../docs/libssh2_userauth_publickey.3 ./../docs/libssh2_userauth_publickey_fromfile.3 ./../docs/libssh2_userauth_publickey_fromfile_ex.3 ./../docs/libssh2_version.3 PASS: mansyntax.sh Fingerprint: 86 AD B2 21 33 60 65 3D 9A 29 86 DE 22 99 DA 18 CC BA D3 AC Authentication methods: publickey,password,keyboard-interactive Authentication by public key succeeded. PASS: ssh2.sh ================== All 3 tests passed ================== make[1]: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/tests' make: Leaving directory `/builddir/build/BUILD/libssh2-1.4.3/tests' Processing files: libssh2-1.4.3-12.el7.aarch64 + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9aXNex + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.4.3 + DOCDIR=/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-1.4.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-1.4.3 + cp -pr AUTHORS /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-1.4.3 + cp -pr ChangeLog /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-1.4.3 + cp -pr COPYING /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-1.4.3 + cp -pr README /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-1.4.3 + cp -pr NEWS /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-1.4.3 + exit 0 Provides: libssh2 = 1.4.3-12.el7 libssh2(aarch-64) = 1.4.3-12.el7 libssh2.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libssl.so.10()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: libssh2-devel-1.4.3-12.el7.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LaRNDs + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.4.3 + DOCDIR=/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-devel-1.4.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-devel-1.4.3 + cp -pr example.aarch64/ /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-devel-1.4.3 + exit 0 Provides: libssh2-devel = 1.4.3-12.el7 libssh2-devel(aarch-64) = 1.4.3-12.el7 pkgconfig(libssh2) = 1.4.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libssh2.so.1()(64bit) pkgconfig(libcrypto) pkgconfig(libssl) Processing files: libssh2-docs-1.4.3-12.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UMi3ga + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.4.3 + DOCDIR=/builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-docs-1.4.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-docs-1.4.3 + cp -pr HACKING /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64/usr/share/doc/libssh2-docs-1.4.3 + exit 0 Provides: libssh2-docs = 1.4.3-12.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libssh2-debuginfo-1.4.3-12.el7.aarch64 Provides: libssh2-debuginfo = 1.4.3-12.el7 libssh2-debuginfo(aarch-64) = 1.4.3-12.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64 Wrote: /builddir/build/RPMS/libssh2-1.4.3-12.el7.aarch64.rpm Wrote: /builddir/build/RPMS/libssh2-devel-1.4.3-12.el7.aarch64.rpm Wrote: /builddir/build/RPMS/libssh2-docs-1.4.3-12.el7.noarch.rpm Wrote: /builddir/build/RPMS/libssh2-debuginfo-1.4.3-12.el7.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LnYO8Z + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.4.3 + rm -rf /builddir/build/BUILDROOT/libssh2-1.4.3-12.el7.aarch64 + exit 0 Child return code was: 0