>>> libssh 0.8.6 Downloading --2019-01-30 20:59:26-- https://www.libssh.org/files/0.8/libssh-0.8.6.tar.xz Resolving www.libssh.org (www.libssh.org)... 94.23.99.222, 87.98.168.187 Connecting to www.libssh.org (www.libssh.org)|94.23.99.222|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 433680 (424K) [application/x-tar] Saving to: '/home/buildroot/autobuild/run/instance-1/output/build/.libssh-0.8.6.tar.xz.2KVBUs/output' 0K .......... .......... .......... .......... .......... 11% 11.2M 0s 50K .......... .......... .......... .......... .......... 23% 9.31M 0s 100K .......... .......... .......... .......... .......... 35% 23.4M 0s 150K .......... .......... .......... .......... .......... 47% 11.3M 0s 200K .......... .......... .......... .......... .......... 59% 20.8M 0s 250K .......... .......... .......... .......... .......... 70% 20.2M 0s 300K .......... .......... .......... .......... .......... 82% 17.6M 0s 350K .......... .......... .......... .......... .......... 94% 20.1M 0s 400K .......... .......... ... 100% 9.18M=0.03s 2019-01-30 20:59:27 (14.5 MB/s) - '/home/buildroot/autobuild/run/instance-1/output/build/.libssh-0.8.6.tar.xz.2KVBUs/output' saved [433680/433680] libssh-0.8.6.tar.xz: OK (sha256: 1046b95632a07fc00b1ea70ee683072d0c8a23f544f4535440b727812002fd01) >>> libssh 0.8.6 Extracting xzcat /home/buildroot/autobuild/run/instance-1/dl/libssh/libssh-0.8.6.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6 -xf - >>> libssh 0.8.6 Patching Applying 0001-buffer-Fix-size-comparison-with-count.patch using patch: patching file src/buffer.c Applying 0002-buffer-Use-size_t-for-argc-argument-in-ssh_buffer_-u.patch using patch: patching file include/libssh/buffer.h patching file src/buffer.c Applying 0003-more-strict-overflow-fixes.patch using patch: patching file include/libssh/buffer.h patching file src/buffer.c Applying 0004-connect-Fix-size-type-for-i-an-j-in-ssh_select.patch using patch: patching file src/connect.c >>> libssh 0.8.6 Configuring (mkdir -p /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6//buildroot-build && cd /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6//buildroot-build && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/run/instance-1/output/host/bin:/home/buildroot/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin" /home/buildroot/autobuild/run/instance-1/output/host/bin/cmake /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/run/instance-1/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DWITH_STACK_PROTECTOR=OFF -DWITH_SERVER=OFF -DWITH_EXAMPLES=OFF -DTHREADS_PTHREAD_ARG=OFF -DWITH_ZLIB=ON -DWITH_GCRYPT=ON ) -- The C compiler identification is GNU 4.8.2 -- Check for working C compiler: /home/buildroot/autobuild/run/instance-1/output/host/bin/x86_64-ctng_locales-linux-gnu-gcc -- Check for working C compiler: /home/buildroot/autobuild/run/instance-1/output/host/bin/x86_64-ctng_locales-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test REQUIRED_FLAGS_WERROR -- Performing Test REQUIRED_FLAGS_WERROR - Success -- Performing Test WITH_STD_GNU99_FLAG -- Performing Test WITH_STD_GNU99_FLAG - Success -- Performing Test WITH_WPEDANTIC_FLAG -- Performing Test WITH_WPEDANTIC_FLAG - Success -- Performing Test WITH_WALL_FLAG -- Performing Test WITH_WALL_FLAG - Success -- Performing Test WITH_WSHADOW_FLAG -- Performing Test WITH_WSHADOW_FLAG - Success -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG - Success -- Performing Test WITH_WCAST_ALIGN_FLAG -- Performing Test WITH_WCAST_ALIGN_FLAG - Success -- Performing Test WITH_WERROR_ADDRESS_FLAG -- Performing Test WITH_WERROR_ADDRESS_FLAG - Success -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WWRITE_STRINGS_FLAG -- Performing Test WITH_WWRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG - Success -- Performing Test WITH_WPOINTER_ARITH_FLAG -- Performing Test WITH_WPOINTER_ARITH_FLAG - Success -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG - Success -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WRETURN_TYPE_FLAG -- Performing Test WITH_WRETURN_TYPE_FLAG - Success -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG - Success -- Performing Test WITH_WUNINITIALIZED_FLAG -- Performing Test WITH_WUNINITIALIZED_FLAG - Success -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG - Success -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG - Failed -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG - Success -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG - Success -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG - Success -- Performing Test REQUIRED_FLAGS_WFORMAT -- Performing Test REQUIRED_FLAGS_WFORMAT - Success -- Performing Test WITH_WFORMAT_SECURITY_FLAG -- Performing Test WITH_WFORMAT_SECURITY_FLAG - Success -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG - Success -- Performing Test WITH_WNO_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG -- Performing Test WITH_WNO_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success -- Performing Test WITH_FNO_COMMON_FLAG -- Performing Test WITH_FNO_COMMON_FLAG - Success -- Performing Test WITH_STACK_PROTECTOR_STRONG -- Performing Test WITH_STACK_PROTECTOR_STRONG - Failed -- Performing Test WITH_STACK_CLASH_PROTECTION -- Performing Test WITH_STACK_CLASH_PROTECTION - Failed -- Found ZLIB: /home/buildroot/autobuild/run/instance-1/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libz.so (found version "1.2.11") -- Found GCrypt: /home/buildroot/autobuild/run/instance-1/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include (found suitable version "1.8.4", minimum required is "1.5.0") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - no -- Found Threads: TRUE -- Found PkgConfig: /home/buildroot/autobuild/run/instance-1/output/host/bin/pkg-config (found version "1.5.3") -- Checking for module 'heimdal-gssapi' -- Package 'heimdal-gssapi', required by 'virtual:world', not found -- Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES GSSAPI_INCLUDE_DIR) -- Could NOT find NaCl (missing: NACL_LIBRARIES NACL_INCLUDE_DIRS) -- Found PythonInterp: /home/buildroot/autobuild/run/instance-1/output/host/bin/python (found version "3.7.2") -- Could not find `abimap` in PATH. It can be found in PyPI as `abimap` (try `pip install abimap`) -- Could NOT find ABIMap (missing: ABIMAP_EXECUTABLE) (Required is at least version "0.3.1") -- Performing Test WITH_VISIBILITY_HIDDEN -- Performing Test WITH_VISIBILITY_HIDDEN - Success -- Looking for argp.h -- Looking for argp.h - found -- Looking for pty.h -- Looking for pty.h - found -- Looking for utmp.h -- Looking for utmp.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for util.h -- Looking for util.h - not found -- Looking for libutil.h -- Looking for libutil.h - not found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/utime.h -- Looking for sys/utime.h - not found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for byteswap.h -- Looking for byteswap.h - found -- Looking for glob.h -- Looking for glob.h - found -- Looking for isblank -- Looking for isblank - found -- Looking for strncpy -- Looking for strncpy - found -- Looking for strndup -- Looking for strndup - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for explicit_bzero -- Looking for explicit_bzero - not found -- Looking for memset_s -- Looking for memset_s - not found -- Performing Test HAVE_GLOB_GL_FLAGS_MEMBER -- Performing Test HAVE_GLOB_GL_FLAGS_MEMBER - Success -- Looking for glob -- Looking for glob - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for poll -- Looking for poll - found -- Looking for select -- Looking for select - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for ntohll -- Looking for ntohll - not found -- Looking for htonll -- Looking for htonll - not found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for forkpty in util -- Looking for forkpty in util - found -- Looking for cfmakeraw -- Looking for cfmakeraw - found -- Looking for __strtoull -- Looking for __strtoull - not found -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE - Success -- Performing Test HAVE_MSC_THREAD_LOCAL_STORAGE -- Performing Test HAVE_MSC_THREAD_LOCAL_STORAGE - Failed -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE - Success -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE - Success -- Performing Test HAVE_FALLTHROUGH_ATTRIBUTE -- Performing Test HAVE_FALLTHROUGH_ATTRIBUTE - Failed -- Performing Test HAVE_GCC_VOLATILE_MEMORY_PROTECTION -- Performing Test HAVE_GCC_VOLATILE_MEMORY_PROTECTION - Success -- Performing Test HAVE_GCC_NARG_MACRO -- Performing Test HAVE_GCC_NARG_MACRO - Success -- Performing Test HAVE_COMPILER__FUNC__ -- Performing Test HAVE_COMPILER__FUNC__ - Success -- Performing Test HAVE_COMPILER__FUNCTION__ -- Performing Test HAVE_COMPILER__FUNCTION__ - Success -- Performing Test HAVE_GCC_BOUNDED_ATTRIBUTE -- Performing Test HAVE_GCC_BOUNDED_ATTRIBUTE - Failed -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Success -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Threads_FOUND=TRUE -- ******************************************** -- ********** libssh build options : ********** -- zlib support: ON -- libgcrypt support: ON -- libmbedTLS support: OFF -- libnacl support: OFF -- SFTP support: ON -- Server support : OFF -- GSSAPI support : 0 -- Pcap debugging support : ON -- With static library: OFF -- Unit testing: OFF -- Client code testing: OFF -- Server code testing: OFF -- Public API documentation generation -- Benchmarks: OFF -- Symbol versioning: ON -- Allow ABI break: OFF -- Release is final: -- ******************************************** -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/buildroot-build >>> libssh 0.8.6 Building PATH="/home/buildroot/autobuild/run/instance-1/output/host/bin:/home/buildroot/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6//buildroot-build make[1]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/buildroot-build' make[2]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/buildroot-build' Scanning dependencies of target ssh_shared make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/buildroot-build' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/buildroot-build' [ 1%] Building C object src/CMakeFiles/ssh_shared.dir/agent.c.o [ 3%] Building C object src/CMakeFiles/ssh_shared.dir/bignum.c.o [ 5%] Building C object src/CMakeFiles/ssh_shared.dir/auth.c.o [ 6%] Building C object src/CMakeFiles/ssh_shared.dir/base64.c.o [ 8%] Building C object src/CMakeFiles/ssh_shared.dir/buffer.c.o [ 10%] Building C object src/CMakeFiles/ssh_shared.dir/callbacks.c.o [ 11%] Building C object src/CMakeFiles/ssh_shared.dir/channels.c.o [ 13%] Building C object src/CMakeFiles/ssh_shared.dir/client.c.o [ 15%] Building C object src/CMakeFiles/ssh_shared.dir/config.c.o [ 16%] Building C object src/CMakeFiles/ssh_shared.dir/connect.c.o [ 18%] Building C object src/CMakeFiles/ssh_shared.dir/connector.c.o [ 20%] Building C object src/CMakeFiles/ssh_shared.dir/curve25519.c.o [ 21%] Building C object src/CMakeFiles/ssh_shared.dir/dh.c.o [ 23%] Building C object src/CMakeFiles/ssh_shared.dir/ecdh.c.o [ 25%] Building C object src/CMakeFiles/ssh_shared.dir/error.c.o [ 26%] Building C object src/CMakeFiles/ssh_shared.dir/getpass.c.o [ 28%] Building C object src/CMakeFiles/ssh_shared.dir/init.c.o [ 30%] Building C object src/CMakeFiles/ssh_shared.dir/kex.c.o [ 31%] Building C object src/CMakeFiles/ssh_shared.dir/known_hosts.c.o [ 33%] Building C object src/CMakeFiles/ssh_shared.dir/knownhosts.c.o [ 35%] Building C object src/CMakeFiles/ssh_shared.dir/legacy.c.o [ 36%] Building C object src/CMakeFiles/ssh_shared.dir/log.c.o [ 38%] Building C object src/CMakeFiles/ssh_shared.dir/match.c.o [ 40%] Building C object src/CMakeFiles/ssh_shared.dir/messages.c.o [ 41%] Building C object src/CMakeFiles/ssh_shared.dir/misc.c.o [ 43%] Building C object src/CMakeFiles/ssh_shared.dir/options.c.o [ 45%] Building C object src/CMakeFiles/ssh_shared.dir/packet.c.o [ 46%] Building C object src/CMakeFiles/ssh_shared.dir/packet_cb.c.o [ 48%] Building C object src/CMakeFiles/ssh_shared.dir/packet_crypt.c.o [ 50%] Building C object src/CMakeFiles/ssh_shared.dir/pcap.c.o [ 51%] Building C object src/CMakeFiles/ssh_shared.dir/pki.c.o [ 53%] Building C object src/CMakeFiles/ssh_shared.dir/pki_container_openssh.c.o [ 55%] Building C object src/CMakeFiles/ssh_shared.dir/pki_ed25519.c.o [ 56%] Building C object src/CMakeFiles/ssh_shared.dir/poll.c.o [ 58%] Building C object src/CMakeFiles/ssh_shared.dir/session.c.o [ 60%] Building C object src/CMakeFiles/ssh_shared.dir/scp.c.o [ 61%] Building C object src/CMakeFiles/ssh_shared.dir/socket.c.o [ 63%] Building C object src/CMakeFiles/ssh_shared.dir/string.c.o [ 65%] Building C object src/CMakeFiles/ssh_shared.dir/threads.c.o [ 66%] Building C object src/CMakeFiles/ssh_shared.dir/wrapper.c.o [ 68%] Building C object src/CMakeFiles/ssh_shared.dir/external/bcrypt_pbkdf.c.o [ 70%] Building C object src/CMakeFiles/ssh_shared.dir/external/blowfish.c.o [ 71%] Building C object src/CMakeFiles/ssh_shared.dir/external/chacha.c.o [ 73%] Building C object src/CMakeFiles/ssh_shared.dir/external/ed25519.c.o [ 75%] Building C object src/CMakeFiles/ssh_shared.dir/external/fe25519.c.o [ 76%] Building C object src/CMakeFiles/ssh_shared.dir/external/ge25519.c.o [ 78%] Building C object src/CMakeFiles/ssh_shared.dir/external/poly1305.c.o [ 80%] Building C object src/CMakeFiles/ssh_shared.dir/external/sc25519.c.o [ 81%] Building C object src/CMakeFiles/ssh_shared.dir/chachapoly.c.o [ 83%] Building C object src/CMakeFiles/ssh_shared.dir/threads/noop.c.o [ 85%] Building C object src/CMakeFiles/ssh_shared.dir/threads/pthread.c.o [ 86%] Building C object src/CMakeFiles/ssh_shared.dir/threads/libgcrypt.c.o [ 88%] Building C object src/CMakeFiles/ssh_shared.dir/libgcrypt.c.o [ 90%] Building C object src/CMakeFiles/ssh_shared.dir/gcrypt_missing.c.o [ 91%] Building C object src/CMakeFiles/ssh_shared.dir/pki_gcrypt.c.o [ 93%] Building C object src/CMakeFiles/ssh_shared.dir/ecdh_gcrypt.c.o [ 95%] Building C object src/CMakeFiles/ssh_shared.dir/sftp.c.o [ 96%] Building C object src/CMakeFiles/ssh_shared.dir/gzip.c.o [ 98%] Building C object src/CMakeFiles/ssh_shared.dir/external/curve25519_ref.c.o /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/src/pki_gcrypt.c: In function 'privatekey_string_to_buffer': /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/src/pki_gcrypt.c:485:10: error: assuming signed overflow does not occur when simplifying conditional to constant [-Werror=strict-overflow] while(len > 0 && strncmp(p, header_end, header_end_size) != 0) { ^ /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/src/pki_gcrypt.c:485:10: error: assuming signed overflow does not occur when simplifying conditional to constant [-Werror=strict-overflow] /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/src/pki_gcrypt.c: At top level: cc1: warning: unrecognized command line option "-Wno-gnu-zero-variadic-macro-arguments" [enabled by default] cc1: some warnings being treated as errors src/CMakeFiles/ssh_shared.dir/build.make:1358: recipe for target 'src/CMakeFiles/ssh_shared.dir/pki_gcrypt.c.o' failed make[3]: *** [src/CMakeFiles/ssh_shared.dir/pki_gcrypt.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/buildroot-build' CMakeFiles/Makefile2:171: recipe for target 'src/CMakeFiles/ssh_shared.dir/all' failed make[2]: *** [src/CMakeFiles/ssh_shared.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/buildroot-build' Makefile:151: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/buildroot-build' package/pkg-generic.mk:230: recipe for target '/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.6/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-1/buildroot'