Ruby-build: Build of 2.3.x failing for me on latest debian testing

Created on 25 Jan 2017  Â·  4Comments  Â·  Source: rbenv/ruby-build

Having a build failure on debian testing that appears openssl related. Any tips on fixing this? It is blocking work so I may need to download a precompiled binary from somewhere for now.

/tmp/ruby-build.20170125094258.103498 ~

01/25 09:42:58 [NOTICE] Downloading 1 item(s)
[#2cf38c 640KiB/13MiB(4%) CN:1 DL:1.7MiB ETA:7s]
[#2cf38c 3.8MiB/13MiB(27%) CN:1 DL:2.8MiB ETA:3s]
[#2cf38c 6.7MiB/13MiB(48%) CN:1 DL:2.8MiB ETA:2s]
[#2cf38c 8.0MiB/13MiB(58%) CN:1 DL:2.4MiB ETA:2s]
[#2cf38c 10MiB/13MiB(76%) CN:1 DL:2.4MiB ETA:1s]
[#2cf38c 12MiB/13MiB(87%) CN:1 DL:2.2MiB]

01/25 09:43:05 [NOTICE] Download complete: /tmp/ruby-build.20170125094258.103498/ruby-2.3.2.tar.bz2

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
2cf38c|OK  |   2.1MiB/s|/tmp/ruby-build.20170125094258.103498/ruby-2.3.2.tar.bz2

Status Legend:
(OK):download completed.
/tmp/ruby-build.20170125094258.103498/ruby-2.3.2 /tmp/ruby-build.20170125094258.103498 ~
checking for ruby... /home/lcarpenter/.rbenv/shims/ruby
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for ld... ld
checking whether the linker is GNU ld... yes
checking whether gcc -E accepts -o... yes
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking for objdump... objdump
checking for objcopy... objcopy
checking for nm... nm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for dtrace... no
checking for dot... no
checking for doxygen... no
checking for pkg-config... pkg-config
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cd using physical directory... cd -P
checking whether CFLAGS is valid... yes
checking whether LDFLAGS is valid... yes
checking whether -Wno-unused-parameter is accepted as CFLAGS... yes
checking whether -Wno-parentheses is accepted as CFLAGS... yes
checking whether -Wno-long-long is accepted as CFLAGS... yes
checking whether -diag-disable=2259 is accepted as CFLAGS... no
checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes
checking whether -Wunused-variable is accepted as CFLAGS... yes
checking whether -Wpointer-arith is accepted as CFLAGS... yes
checking whether -Wwrite-strings is accepted as CFLAGS... yes
checking whether -Wdeclaration-after-statement is accepted as CFLAGS... yes
checking whether -Wshorten-64-to-32 is accepted as CFLAGS... no
checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes
checking whether -Wdivision-by-zero is accepted as CFLAGS... no
checking whether -Wdeprecated-declarations is accepted as CFLAGS... yes
checking whether -Wno-packed-bitfield-compat is accepted as CFLAGS... yes
checking whether -Wextra-tokens is accepted as CFLAGS... no
checking whether -Wall -Wextra is accepted as CFLAGS... yes
checking whether -Qunused-arguments is accepted as CFLAGS... no
checking whether INFINITY is available without C99 option... yes
checking whether NAN is available without C99 option... yes
checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes
checking whether -fstack-protector is accepted as CFLAGS... yes
checking whether -fstack-protector is accepted as LDFLAGS... yes
checking whether -std=iso9899:1999 is accepted as CFLAGS... yes
checking whether -fno-strict-overflow is accepted as CFLAGS... yes
checking whether -ggdb3 is accepted as CFLAGS... yes
checking whether -fvisibility=hidden is accepted as CFLAGS... yes
checking whether -fno-fast-math is accepted as CFLAGS... yes
checking whether -fp-model precise is accepted as CFLAGS... no
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for shutdown in -lsocket... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking a.out.h usability... yes
checking a.out.h presence... yes
checking for a.out.h... yes
checking atomic.h usability... no
checking atomic.h presence... no
checking for atomic.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking malloc_np.h usability... no
checking malloc_np.h presence... no
checking for malloc_np.h... no
checking net/socket.h usability... no
checking net/socket.h presence... no
checking for net/socket.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking setjmpex.h usability... no
checking setjmpex.h presence... no
checking for setjmpex.h... no
checking sys/attr.h usability... no
checking sys/attr.h presence... no
checking for sys/attr.h... no
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/id.h usability... no
checking sys/id.h presence... no
checking for sys/id.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmpz_init in -lgmp... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking whether char is unsigned... no
checking for inline... inline
checking for working volatile... yes
checking for typeof syntax and keyword spelling... __typeof__
checking for long long... yes
checking for off_t... yes
checking char bit... 8
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking size of off_t... 8
checking size of void*... 8
checking size of float... 4
checking size of double... 8
checking size of time_t... 8
checking size of clock_t... 8
checking packed struct attribute... x __attribute__((packed))
checking for printf prefix for long long... ll
checking for pid_t... yes
checking for convertible type of pid_t... INT
checking for uid_t... yes
checking for convertible type of uid_t... UINT
checking for gid_t... yes
checking for convertible type of gid_t... UINT
checking for time_t... yes
checking for convertible type of time_t... LONG
checking for dev_t... yes
checking for convertible type of dev_t... ULONG
checking for mode_t... yes
checking for convertible type of mode_t... UINT
checking for rlim_t... yes
checking for convertible type of rlim_t... ULONG
checking for off_t... (cached) yes
checking for convertible type of off_t... LONG
checking for clockid_t... yes
checking for convertible type of clockid_t... INT
checking for prototypes... yes
checking token paste string... ansi
checking stringization... #expr
checking string literal concatenation... yes
checking for variable length prototypes and stdarg.h... yes
checking for variable length macro... yes
checking for NORETURN function attribute... __attribute__ ((noreturn)) x
checking for DEPRECATED function attribute... __attribute__ ((deprecated)) x
checking for DEPRECATED_BY function attribute... __attribute__ ((deprecated("by "#n))) x
checking for DEPRECATED_TYPE type attribute... __attribute__ ((deprecated mesg)) x
checking for NOINLINE function attribute... __attribute__ ((noinline)) x
checking for WEAK function attribute... __attribute__ ((weak)) x
checking for stdcall function attribute... x
checking for cdecl function attribute... x
checking for fastcall function attribute... x
checking for FUNC_UNOPTIMIZED function attribute... __attribute__ ((optimize("O0"))) x
checking for FUNC_MINIMIZED function attribute... __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
checking for function alias... alias
checking for __atomic builtins... yes
checking for __sync builtins... yes
checking for __builtin_unreachable... yes
checking for exported function attribute... __attribute__ ((visibility("default")))
checking for function name string predefined identifier... __func__
checking if enum over int is allowed... yes
checking whether sys_nerr is declared... yes
checking whether getenv is declared... yes
checking for size_t... yes
checking size of size_t... 8
checking size of ptrdiff_t... 8
checking for printf prefix for size_t... z
checking for printf prefix for ptrdiff_t... t
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking size of struct stat.st_size... SIZEOF_OFF_T
checking size of struct stat.st_blocks... SIZEOF_OFF_T
checking size of struct stat.st_ino... SIZEOF_LONG
checking for struct stat.st_atim... yes
checking for struct stat.st_atimespec... no
checking for struct stat.st_atimensec... no
checking for struct stat.st_mtim... yes
checking for struct stat.st_mtimespec... no
checking for struct stat.st_mtimensec... no
checking for struct stat.st_ctim... yes
checking for struct stat.st_ctimespec... no
checking for struct stat.st_ctimensec... no
checking for struct stat.st_birthtimespec... no
checking for struct timeval... yes
checking size of struct timeval.tv_sec... SIZEOF_TIME_T
checking for struct timespec... yes
checking for struct timezone... yes
checking for clockid_t... (cached) yes
checking for fd_mask... yes
checking for int8_t... yes
checking size of int8_t... 1
checking for uint8_t... yes
checking size of uint8_t... 1
checking for int16_t... yes
checking size of int16_t... 2
checking for uint16_t... yes
checking size of uint16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for uint32_t... yes
checking size of uint32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for uint64_t... yes
checking size of uint64_t... 8
checking for intptr_t... yes
checking size of intptr_t... 8
checking for uintptr_t... yes
checking size of uintptr_t... 8
checking for ssize_t... yes
checking size of ssize_t... 8
checking for stack end address... __libc_stack_end
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking for working alloca.h... yes
checking for alloca... yes
checking for dynamic size alloca... ok
checking for working memcmp... yes
checking for broken erfc of glibc-2.3.6 on IA64... no
checking for acosh... yes
checking for cbrt... yes
checking for crypt... yes
checking for dup2... yes
checking for erf... yes
checking for explicit_bzero... no
checking for ffs... yes
checking for finite... yes
checking for flock... yes
checking for hypot... yes
checking for isinf... yes
checking for isnan... yes
checking for lgamma_r... yes
checking for memmove... yes
checking for nextafter... yes
checking for setproctitle... no
checking for strchr... yes
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for strstr... yes
checking for tgamma... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for signbit... yes
checking for broken memmem... no
checking for pid_t... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for __syscall... no
checking for _longjmp... yes
checking for _setjmp... yes
checking for _setjmpex... no
checking for atan2l... yes
checking for atan2f... yes
checking for chroot... yes
checking for chsize... no
checking for clock_gettime... yes
checking for cosh... yes
checking for daemon... (cached) no
checking for dirfd... yes
checking for dl_iterate_phdr... yes
checking for dlopen... yes
checking for dladdr... yes
checking for dup... yes
checking for dup3... yes
checking for eaccess... yes
checking for endgrent... yes
checking for fchmod... yes
checking for fchown... yes
checking for fcntl... yes
checking for fdatasync... yes
checking for fgetattrlist... no
checking for fmod... yes
checking for fsync... yes
checking for ftruncate... yes
checking for ftruncate64... yes
checking for getattrlist... no
checking for getcwd... yes
checking for getgidx... no
checking for getgrnam... yes
checking for getgrnam_r... yes
checking for getgroups... yes
checking for getpgid... yes
checking for getpgrp... yes
checking for getpriority... yes
checking for getpwnam_r... yes
checking for getresgid... yes
checking for getresuid... yes
checking for getrlimit... yes
checking for getsid... yes
checking for gettimeofday... yes
checking for getuidx... no
checking for gmtime_r... yes
checking for initgroups... yes
checking for ioctl... yes
checking for isfinite... no
checking for issetugid... no
checking for killpg... yes
checking for lchmod... no
checking for lchown... yes
checking for link... yes
checking for llabs... yes
checking for lockf... yes
checking for log2... yes
checking for lstat... yes
checking for malloc_usable_size... yes
checking for malloc_size... no
checking for mblen... yes
checking for memalign... yes
checking for memset_s... no
checking for writev... yes
checking for memrchr... yes
checking for memmem... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mktime... yes
checking for pipe2... yes
checking for poll... yes
checking for posix_fadvise... yes
checking for posix_memalign... yes
checking for ppoll... yes
checking for pread... yes
checking for qsort_r... yes
checking for readlink... yes
checking for round... yes
checking for sched_getaffinity... yes
checking for seekdir... yes
checking for select_large_fdset... no
checking for sendfile... yes
checking for setegid... yes
checking for setenv... yes
checking for seteuid... yes
checking for setgid... yes
checking for setgroups... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setregid... yes
checking for setresgid... yes
checking for setresuid... yes
checking for setreuid... yes
checking for setrgid... no
checking for setrlimit... yes
checking for setruid... no
checking for setsid... yes
checking for setuid... yes
checking for shutdown... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigprocmask... yes
checking for sinh... yes
checking for spawnv... no
checking for symlink... yes
checking for syscall... yes
checking for sysconf... yes
checking for tanh... yes
checking for telldir... yes
checking for timegm... yes
checking for times... yes
checking for truncate... yes
checking for truncate64... yes
checking for unsetenv... yes
checking for utimensat... yes
checking for utimes... yes
checking for wait4... yes
checking for waitpid... yes
checking if getcwd allocates buffer if NULL is given... yes
checking for __builtin_bswap16... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_clz... yes
checking for __builtin_clzl... yes
checking for __builtin_clzll... yes
checking for __builtin_choose_expr... yes
checking for __builtin_choose_expr_constant_p... yes
checking for __builtin_types_compatible_p... yes
checking whether qsort_r is GNU version... yes
checking whether qsort_r is BSD version... no
checking whether atan2 handles Inf as C99... yes
checking whether lgamma_r handles -0.0... yes
checking for clock_getres... yes
checking for unsetenv returns a value... yes
checking for sigsetjmp as a macro or function... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for external int daylight... yes
checking for external timezone... long
checking for external altzone... no
checking for timezone... yes
checking whether timezone requires zero arguments... yes
checking for negative time_t for gmtime(3)... yes
checking for localtime(3) overflow correctly... yes
checking whether right shift preserve sign bit... yes
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction on x86_64... -1
checking for pthread_kill in -lthr... no
checking for pthread_kill in -lpthread... yes
checking for pthread_np.h... no
checking whether pthread_t is scalar type... yes
checking for sched_yield... yes
checking for pthread_attr_setinheritsched... yes
checking for pthread_attr_get_np... no
checking for pthread_attr_getstack... yes
checking for pthread_get_stackaddr_np... no
checking for pthread_get_stacksize_np... no
checking for thr_stksegment... no
checking for pthread_stackseg_np... no
checking for pthread_getthrds_np... no
checking for pthread_cond_init... yes
checking for pthread_condattr_setclock... yes
checking for pthread_condattr_init... yes
checking for pthread_sigmask... yes
checking for pthread_setname_np... yes
checking for pthread_set_name_np... no
checking for pthread_getattr_np... yes
checking for pthread_attr_init... yes
checking arguments of pthread_setname_np... (pthread_self(), name)
checking if mcontext_t is a pointer... no
checking for getcontext... yes
checking for setcontext... yes
checking if fork works with pthread... yes
checking whether ELF binaries are produced... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking elf_abi.h usability... no
checking elf_abi.h presence... no
checking for elf_abi.h... no
checking whether OS depend dynamic link works... yes
checking whether -Wl,-R. is accepted as LDFLAGS... yes
checking for backtrace... yes
checking for broken backtrace... no
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for strip... strip
checking whether -fPIE is accepted as CFLAGS... yes
checking whether -pie is accepted as LDFLAGS... yes
checking whether wrapper for LD_LIBRARY_PATH is needed... no
checking for __builtin_setjmp... yes with cast ()
checking for setjmp type... __builtin_setjmp
checking for prefix of external symbols... NONE
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking if make is GNU make... yes
checking for nroff... /usr/bin/nroff
.ext/include/x86_64-linux/ruby/config.h updated
configure: ruby library version = 2.3.0
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating Makefile
config.status: creating ruby-2.3.pc
    CC = gcc
    LD = ld
    LDSHARED = gcc -shared
    CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -std=iso9899:1999 
    XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
    CPPFLAGS = -I/home/lcarpenter/.rbenv/versions/2.3.2/include    -I. -I.ext/include/x86_64-linux -I./include -I.
    DLDFLAGS = -fstack-protector -pie  
    SOLIBS = -lgmp 
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.2.1-5' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.2.1 20161124 (Debian 6.2.1-5) 
copying dummy probes.h
compiling main.c
compiling miniinit.c
compiling dmyext.c
compiling dmydln.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling process.c
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
compiling string.c
compiling struct.c
compiling symbol.c
compiling time.c
compiling transcode.c
compiling util.c
compiling variable.c
compiling version.c
compiling compile.c
compiling debug.c
compiling iseq.c
compiling vm.c
compiling vm_dump.c
compiling vm_backtrace.c
compiling vm_trace.c
compiling thread.c
compiling cont.c
compiling ./missing/explicit_bzero.c
compiling ./missing/setproctitle.c
compiling ./missing/strlcat.c
compiling ./missing/strlcpy.c
compiling addr2line.c
compiling dmyenc.c
compiling dln.c
compiling localeinit.c
compiling prelude.c
In file included from ./include/ruby/ruby.h:36:0,
                 from eval_intern.h:4,
                 from thread.c:60:
thread.c: In function ‘rb_thread_fd_select’:
./include/ruby/defines.h:113:15: warning: ‘orig_except.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define xfree ruby_xfree
               ^~~~~~~~~~
In file included from method.h:14:0,
                 from vm_core.h:62,
                 from eval_intern.h:5,
                 from thread.c:60:
thread.c:3541:34: note: ‘orig_except.fdset’ was declared here
     rb_fdset_t UNINITIALIZED_VAR(orig_except);
                                  ^
internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
 #define UNINITIALIZED_VAR(x) x __attribute__((unused))
                              ^
In file included from ./include/ruby/ruby.h:36:0,
                 from eval_intern.h:4,
                 from thread.c:60:
./include/ruby/defines.h:113:15: warning: ‘orig_write.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define xfree ruby_xfree
               ^~~~~~~~~~
In file included from method.h:14:0,
                 from vm_core.h:62,
                 from eval_intern.h:5,
                 from thread.c:60:
thread.c:3540:34: note: ‘orig_write.fdset’ was declared here
     rb_fdset_t UNINITIALIZED_VAR(orig_write);
                                  ^
internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
 #define UNINITIALIZED_VAR(x) x __attribute__((unused))
                              ^
In file included from ./include/ruby/ruby.h:36:0,
                 from eval_intern.h:4,
                 from thread.c:60:
./include/ruby/defines.h:113:15: warning: ‘orig_read.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define xfree ruby_xfree
               ^~~~~~~~~~
In file included from method.h:14:0,
                 from vm_core.h:62,
                 from eval_intern.h:5,
                 from thread.c:60:
thread.c:3539:34: note: ‘orig_read.fdset’ was declared here
     rb_fdset_t UNINITIALIZED_VAR(orig_read);
                                  ^
internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
 #define UNINITIALIZED_VAR(x) x __attribute__((unused))
                              ^
compiling enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
linking miniruby
generating encdb.h
rbconfig.rb updated
generating enc.mk
creating verconf.h
encdb.h updated
verconf.h updated
compiling loadpath.c
making srcs under enc
make[1]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2'
generating transdb.h
linking static-library libruby-static.a
ar: `u' modifier ignored since `D' is the default (see `U')
transdb.h updated
verifying static-library libruby-static.a
generating makefile exts.mk
making enc
making trans
make[1]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2'
make[1]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2'
compiling ./enc/encdb.c
compiling ./enc/trans/transdb.c
compiling ./enc/big5.c
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/debug
configuring -test-/dln/empty
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
compiling ./enc/trans/big5.c
compiling ./enc/cp949.c
compiling ./enc/emacs_mule.c
compiling ./enc/euc_jp.c
compiling ./enc/euc_kr.c
compiling ./enc/euc_tw.c
compiling ./enc/gb2312.c
compiling ./enc/gb18030.c
compiling ./enc/gbk.c
compiling ./enc/iso_8859_1.c
compiling ./enc/trans/chinese.c
compiling ./enc/iso_8859_2.c
compiling ./enc/iso_8859_3.c
compiling ./enc/iso_8859_4.c
configuring -test-/float
configuring -test-/funcall
configuring -test-/gvl/call_without_gvl
configuring -test-/hash
configuring -test-/iseq_load
configuring -test-/iter
configuring -test-/load/dot.dot
configuring -test-/marshal/compat
configuring -test-/marshal/internal_ivar
configuring -test-/marshal/usr
configuring -test-/method
compiling ./enc/iso_8859_5.c
configuring -test-/notimplement
configuring -test-/num2int
configuring -test-/path_to_class
configuring -test-/popen_deadlock
configuring -test-/postponed_job
configuring -test-/printf
configuring -test-/proc
configuring -test-/rational
configuring -test-/recursion
configuring -test-/st/foreach
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
compiling ./enc/iso_8859_6.c
compiling ./enc/iso_8859_7.c
compiling ./enc/iso_8859_8.c
compiling ./enc/iso_8859_9.c
configuring -test-/time
configuring -test-/tracepoint
configuring -test-/typeddata
configuring -test-/vm
configuring -test-/wait_for_single_fd
configuring bigdecimal
compiling ./enc/iso_8859_10.c
compiling ./enc/iso_8859_11.c
compiling ./enc/iso_8859_13.c
compiling ./enc/trans/ebcdic.c
compiling ./enc/iso_8859_14.c
compiling ./enc/trans/emoji.c
compiling ./enc/iso_8859_15.c
compiling ./enc/iso_8859_16.c
compiling ./enc/trans/emoji_iso2022_kddi.c
compiling ./enc/koi8_r.c
compiling ./enc/koi8_u.c
compiling ./enc/shift_jis.c
compiling ./enc/utf_16be.c
compiling ./enc/utf_16le.c
compiling ./enc/utf_32be.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/utf_32le.c
compiling ./enc/windows_31j.c
compiling ./enc/windows_1250.c
compiling ./enc/windows_1251.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/trans/escape.c
configuring cgi/escape
configuring continuation
configuring coverage
configuring date
configuring dbm
compiling ./enc/windows_1252.c
compiling ./enc/trans/gb18030.c
linking encoding encdb.so
linking encoding big5.so
linking encoding cp949.so
linking encoding emacs_mule.so
linking encoding euc_jp.so
linking encoding euc_kr.so
linking encoding euc_tw.so
linking encoding gb2312.so
linking encoding gb18030.so
linking encoding gbk.so
linking encoding iso_8859_1.so
linking encoding iso_8859_2.so
compiling ./enc/trans/gbk.c
linking encoding iso_8859_3.so
linking encoding iso_8859_4.so
linking encoding iso_8859_5.so
linking encoding iso_8859_6.so
linking encoding iso_8859_7.so
linking encoding iso_8859_8.so
linking encoding iso_8859_9.so
linking encoding iso_8859_10.so
linking encoding iso_8859_11.so
compiling ./enc/trans/iso2022.c
linking encoding iso_8859_13.so
linking encoding iso_8859_14.so
linking encoding iso_8859_15.so
linking encoding iso_8859_16.so
linking encoding koi8_r.so
linking encoding koi8_u.so
linking encoding shift_jis.so
compiling ./enc/trans/japanese.c
linking encoding utf_16be.so
linking encoding utf_16le.so
linking encoding utf_32be.so
compiling ./enc/trans/japanese_euc.c
linking encoding utf_32le.so
linking encoding windows_31j.so
linking encoding windows_1250.so
linking encoding windows_1251.so
linking encoding windows_1252.so
make[1]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2'
compiling ./enc/trans/japanese_sjis.c
compiling ./enc/trans/korean.c
Failed to configure dbm. It will not be installed.
configuring digest
compiling ./enc/trans/single_byte.c
configuring digest/bubblebabble
configuring digest/md5
compiling ./enc/trans/utf8_mac.c
compiling ./enc/trans/utf_16_32.c
linking transcoder transdb.so
linking transcoder big5.so
linking transcoder chinese.so
linking transcoder ebcdic.so
linking transcoder emoji.so
configuring digest/rmd160
linking transcoder emoji_iso2022_kddi.so
linking transcoder emoji_sjis_docomo.so
linking transcoder emoji_sjis_kddi.so
linking transcoder emoji_sjis_softbank.so
linking transcoder escape.so
linking transcoder gb18030.so
linking transcoder gbk.so
linking transcoder iso2022.so
linking transcoder japanese.so
linking transcoder japanese_euc.so
linking transcoder japanese_sjis.so
linking transcoder single_byte.so
linking transcoder korean.so
linking transcoder utf_16_32.so
configuring digest/sha1
linking transcoder utf8_mac.so
make[1]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2'
making encs
make[1]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2'
make[1]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2'
configuring digest/sha2
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring gdbm
Failed to configure gdbm. It will not be installed.
configuring io/console
configuring io/nonblock
configuring io/wait
configuring json
configuring json/generator
configuring json/parser
configuring mathn/complex
configuring mathn/rational
configuring nkf
configuring objspace
configuring openssl
configuring pathname
configuring psych
configuring pty
configuring racc/cparse
configuring rbconfig/sizeof
configuring readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring thread
configuring tk
............
check struct members..
check libraries....
Use ActiveTcl libraries (if available).
Search tclConfig.sh and tkConfig.sh...............................
Fail to find [tclConfig.sh, tkConfig.sh]
Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).

Search tcl.h..
Search tk.h..Search Tcl library...........
Search Tcl library...........
Warning:: cannot find Tcl library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options.

Can't find proper Tcl/Tk libraries. So, can't make tcltklib.so which is required by Ruby/Tk.
If you have Tcl/Tk libraries on your environment, you may be able to use them with configure options (see ext/tk/README.tcltklib).
At present, Tcl/Tk8.6 is not supported. Although you can try to use Tcl/Tk8.6 with configure options, it will not work correctly. I recommend you to use Tcl/Tk8.5 or 8.4.
Failed to configure tk. It will not be installed.
Failed to configure tk/tkutil. It will not be installed.
configuring zlib
make[1]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/array/resize'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/bug-3571'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/bignum'
compiling resize.c
compiling intpack.c
compiling bug.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/bug-5832'
compiling bug.c
linking shared-object -test-/bug-3571/bug.so
linking shared-object -test-/array/resize.so
linking shared-object -test-/bug-5832/bug.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/bug-3571'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/bug_reporter'
compiling bug_reporter.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/array/resize'
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/bug-5832'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/class'
compiling init.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/debug'
compiling init.c
compiling init.c
linking shared-object -test-/bug_reporter/bug_reporter.so
compiling class2name.c
compiling inspector.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/bug_reporter'
compiling profile_frames.c
compiling str2big.c
linking shared-object -test-/class.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/class'
compiling big2str.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/dln/empty'
compiling empty.c
linking shared-object -test-/debug.so
linking shared-object -test-/dln/empty.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/debug'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/exception'
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/dln/empty'
compiling dataerror.c
compiling bigzero.c
compiling enc_raise.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/fatal'
compiling rb_fatal.c
compiling init.c
compiling mul.c
compiling ensured.c
compiling div.c
linking shared-object -test-/fatal/rb_fatal.so
linking shared-object -test-/exception.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/fatal'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/file'
compiling init.c
compiling stat.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/exception'
compiling fs.c
linking shared-object -test-/bignum.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/bignum'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/float'
compiling init.c
compiling nextafter.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/funcall'
compiling passing_block.c
linking shared-object -test-/file.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/file'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/hash'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/gvl/call_without_gvl'
compiling init.c
compiling call_without_gvl.c
linking shared-object -test-/float.so
compiling delete.c
linking shared-object -test-/funcall/funcall.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/float'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/iseq_load'
compiling iseq_load.c
linking shared-object -test-/gvl/call_without_gvl.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/funcall'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/iter'
compiling init.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/gvl/call_without_gvl'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/load/dot.dot'
compiling dot.dot.c
linking shared-object -test-/hash.so
linking shared-object -test-/load/dot.dot/dot.dot.so
linking shared-object -test-/iseq_load/iseq_load.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/hash'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/marshal/compat'
compiling usrcompat.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/load/dot.dot'
compiling yield.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/iseq_load'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/marshal/internal_ivar'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/marshal/usr'
compiling internal_ivar.c
compiling usrmarshal.c
compiling break.c
linking shared-object -test-/marshal/compat.so
linking shared-object -test-/marshal/internal_ivar.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/marshal/compat'
linking shared-object -test-/marshal/usr.so
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/method'
compiling arity.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/marshal/internal_ivar'
compiling init.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/marshal/usr'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/notimplement'
compiling bug.c
linking shared-object -test-/iter.so
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/num2int'
compiling num2int.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/iter'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/path_to_class'
compiling path_to_class.c
linking shared-object -test-/method.so
linking shared-object -test-/notimplement.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/method'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/popen_deadlock'
compiling infinite_loop_dlsym.c
linking shared-object -test-/path_to_class/path_to_class.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/notimplement'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/postponed_job'
compiling postponed_job.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/path_to_class'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/printf'
compiling printf.c
linking shared-object -test-/popen_deadlock/infinite_loop_dlsym.so
linking shared-object -test-/num2int/num2int.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/popen_deadlock'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/proc'
compiling init.c
linking shared-object -test-/postponed_job.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/postponed_job'
compiling receiver.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/num2int'
compiling super.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/rational'
compiling rat.c
linking shared-object -test-/printf.so
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/recursion'
compiling recursion.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/printf'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/st/foreach'
compiling foreach.c
linking shared-object -test-/proc.so
linking shared-object -test-/recursion.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/proc'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/st/numhash'
compiling numhash.c
linking shared-object -test-/rational.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/recursion'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/st/update'
compiling update.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/rational'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/string'
compiling enc_associate.c
linking shared-object -test-/st/foreach.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/st/foreach'
compiling normalize.c
linking shared-object -test-/st/update.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/st/update'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/struct'
compiling duplicate.c
linking shared-object -test-/st/numhash.so
compiling init.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/st/numhash'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/symbol'
compiling init.c
compiling cstr.c
compiling init.c
compiling member.c
compiling type.c
compiling modify.c
linking shared-object -test-/struct.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/struct'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/time'
compiling init.c
linking shared-object -test-/symbol.so
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/tracepoint'
compiling gc_hook.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/symbol'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/typeddata'
compiling typeddata.c
compiling ellipsize.c
compiling new.c
compiling tracepoint.c
linking shared-object -test-/typeddata/typeddata.so
compiling fstring.c
linking shared-object -test-/time.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/typeddata'
compiling coderange.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/time'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/vm'
compiling at_exit.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/wait_for_single_fd'
compiling wait_for_single_fd.c
linking shared-object -test-/tracepoint.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/tracepoint'
linking shared-object -test-/vm/at_exit.so
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/bigdecimal'
compiling bigdecimal.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/vm'
compiling qsort.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/cgi/escape'
compiling escape.c
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/wait_for_single_fd'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/continuation'
compiling continuation.c
compiling set_len.c
linking shared-object continuation.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/continuation'
linking shared-object cgi/escape.so
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/coverage'
compiling coverage.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/cgi/escape'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/date'
compiling date_strftime.c
compiling enc_str_buf_cat.c
compiling nofree.c
linking shared-object coverage.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/coverage'
installing default bigdecimal libraries
compiling date_parse.c
linking shared-object -test-/string.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/-test-/string'
compiling date_core.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/dbm'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/dbm'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest'
compiling digest.c
linking shared-object digest.so
installing digest libraries
installing default digest libraries
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest/bubblebabble'
compiling bubblebabble.c
linking shared-object digest/bubblebabble.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest/bubblebabble'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest/md5'
compiling md5init.c
linking shared-object digest/md5.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest/md5'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest/rmd160'
compiling rmd160init.c
linking shared-object digest/rmd160.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest/rmd160'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest/sha1'
compiling sha1init.c
linking shared-object digest/sha1.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest/sha1'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest/sha2'
compiling sha2init.c
linking shared-object digest/sha2.so
installing default sha2 libraries
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/digest/sha2'
compiling date_strptime.c
installing default date_core libraries
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/etc'
generating constant definitions
compiling etc.c
linking shared-object bigdecimal.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/bigdecimal'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/fcntl'
compiling fcntl.c
linking shared-object fcntl.so
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/fiber'
compiling fiber.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/fcntl'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/fiddle'
compiling handle.c
linking shared-object fiber.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/fiber'
compiling pointer.c
linking shared-object etc.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/etc'
compiling function.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/gdbm'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/gdbm'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/io/console'
compiling console.c
compiling conversions.c
compiling fiddle.c
compiling closure.c
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/io/nonblock'
compiling nonblock.c
linking shared-object io/console.so
installing default console libraries
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/io/console'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/io/wait'
compiling wait.c
linking shared-object fiddle.so
linking shared-object io/nonblock.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/io/nonblock'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/json'
installing default fiddle libraries
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/fiddle'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/json/generator'
compiling generator.c
linking shared-object io/wait.so
installing default libraries
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/json'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/json/parser'
compiling parser.c
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/io/wait'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/mathn/complex'
compiling complex.c
linking shared-object mathn/complex.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/mathn/complex'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/mathn/rational'
compiling rational.c
linking shared-object mathn/rational.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/mathn/rational'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/nkf'
compiling nkf.c
linking shared-object date_core.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/date'
installing default nkf libraries
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/objspace'
compiling objspace.c
In file included from nkf.c:62:0:
nkf-utf8/nkf.c: In function ‘module_connection’:
nkf-utf8/nkf.c:5710:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (nkf_enc_unicode_p(output_encoding))
     ^~
nkf-utf8/nkf.c:5713:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  if (x0201_f == NKF_UNSPECIFIED) {
  ^~
linking shared-object json/ext/parser.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/json/parser'
make[2]: Entering directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/openssl'
compiling ossl_config.c
In file included from ossl.h:57:0,
                 from ossl_config.c:10:
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
 #error "This file is obsolete; please update your software."
  ^~~~~
In file included from ossl.h:222:0,
                 from ossl_config.c:10:
openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
 EVP_MD_CTX *EVP_MD_CTX_create(void);
                                   ^
In file included from /usr/include/openssl/x509.h:23:0,
                 from /usr/include/openssl/x509v3.h:14,
                 from ossl.h:58,
                 from ossl_config.c:10:
openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
 void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
      ^
openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
 void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
      ^
Makefile:301: recipe for target 'ossl_config.o' failed
make[2]: *** [ossl_config.o] Error 1
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/openssl'
exts.mk:209: recipe for target 'ext/openssl/all' failed
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling objspace_dump.c
compiling object_tracing.c
linking shared-object json/ext/generator.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/json/generator'
linking shared-object objspace.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/objspace'
linking shared-object nkf.so
make[2]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2/ext/nkf'
make[1]: Leaving directory '/tmp/ruby-build.20170125094258.103498/ruby-2.3.2'
uncommon.mk:203: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2

Most helpful comment

This works with apt-get install libssl1.0-dev (which removes libssl-dev).

Not sure if some kind of patch should be developed and added to the wiki? Or just a wiki entry saying to do the above? Leaving open for discussion/visibility.

All 4 comments

This works with apt-get install libssl1.0-dev (which removes libssl-dev).

Not sure if some kind of patch should be developed and added to the wiki? Or just a wiki entry saying to do the above? Leaving open for discussion/visibility.

On Debian 9 stable (stretch), rbenv install 2.3.4 fails unless ghost's suggestion is applied. apt-get install libssl1.0-dev is still required on the latest stretch release.

It was filed at our wiki: https://github.com/rbenv/ruby-build/wiki#openssl-usrincludeopensslasn1_mach102-error-error-this-file-is-obsolete-please-update-your-software

This issue persits in 18.04.1-Ubuntu, fix is shared above as: apt-get install libssl1.0-dev

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eddroid picture eddroid  Â·  4Comments

arpitchauhan picture arpitchauhan  Â·  4Comments

fguillen picture fguillen  Â·  5Comments

edap picture edap  Â·  3Comments

xargr picture xargr  Â·  6Comments