Skip to content

Instantly share code, notes, and snippets.

@nkhine
Created January 28, 2019 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nkhine/0b7f5c162313946ddd2f8d7feb57144a to your computer and use it in GitHub Desktop.
Save nkhine/0b7f5c162313946ddd2f8d7feb57144a to your computer and use it in GitHub Desktop.
ruby-build -v 1.8.7 /usr/local
bash-4.4# ruby-build -v 1.8.7 /usr/local
Downloading ruby-1.8.7.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7.tar.bz2
/tmp/ruby-build.20190128170412.7047 /tmp/ruby-build
Installing ruby-1.8.7...
WARNING: ruby-1.8.7 is past its end of life and is now unsupported.
It no longer receives bug fixes or critical security updates.
/tmp/ruby-build.20190128170412.7047/ruby-1.8.7 /tmp/ruby-build.20190128170412.7047 /tmp/ruby-build
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... /usr/bin/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether /usr/bin/gcc needs -traditional... no
checking whether the linker is GNU ld... yes
checking whether /usr/bin/gcc -E accepts -o... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... 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 long long... yes
checking for off_t... yes
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 8
checking for long long... (cached) yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking for off_t... (cached) yes
checking size of off_t... 8
checking for void*... yes
checking size of void*... 8
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for time_t... yes
checking size of time_t... 8
checking for pid_t... yes
checking for gid_t... yes
checking for uid_t... yes
checking for prototypes... yes
checking token paste string... ansi
checking for variable length prototypes and stdarg.h... yes
checking for noreturn function attribute... __attribute__ ((noreturn)) x
checking for noinline function attribute... __attribute__ ((noinline)) x
checking for RUBY_EXTERN... no
checking whether sys_nerr is declared... no
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.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/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking a.out.h usability... no
checking a.out.h presence... no
checking for a.out.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for memory.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.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 pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking for rlim_t... yes
checking size of rlim_t... 8
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
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 working memcmp... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for dup2... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strerror... yes
checking for strftime... yes
checking for strchr... yes
checking for strstr... yes
checking for strtoul... yes
checking for crypt... yes
checking for flock... yes
checking for vsnprintf... yes
checking for isnan... no
checking for finite... yes
checking for isinf... no
checking for hypot... yes
checking for acosh... yes
checking for erf... yes
checking for fmod... yes
checking for killpg... yes
checking for wait4... yes
checking for waitpid... yes
checking for syscall... yes
checking for chroot... yes
checking for fsync... yes
checking for getcwd... yes
checking for eaccess... yes
checking for truncate... yes
checking for ftruncate... yes
checking for chsize... no
checking for times... yes
checking for utimes... yes
checking for fcntl... yes
checking for lockf... yes
checking for lstat... yes
checking for symlink... yes
checking for link... yes
checking for readlink... yes
checking for setitimer... yes
checking for setruid... no
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for setproctitle... no
checking for setrgid... no
checking for setegid... yes
checking for setregid... yes
checking for setresgid... yes
checking for issetugid... yes
checking for pause... yes
checking for lchown... yes
checking for lchmod... yes
checking for getpgrp... yes
checking for setpgrp... yes
checking for getpgid... yes
checking for setpgid... yes
checking for initgroups... yes
checking for getgroups... yes
checking for setgroups... yes
checking for getpriority... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for sysconf... yes
checking for group_member... no
checking for dlopen... yes
checking for sigprocmask... yes
checking for sigaction... yes
checking for sigsetjmp... yes
checking for _setjmp... yes
checking for _longjmp... yes
checking for setsid... yes
checking for telldir... yes
checking for seekdir... yes
checking for fchmod... yes
checking for mktime... yes
checking for timegm... yes
checking for gettimeofday... yes
checking for cosh... yes
checking for sinh... yes
checking for tanh... yes
checking for round... yes
checking for setuid... yes
checking for setgid... yes
checking for setenv... yes
checking for unsetenv... yes
checking for __builtin_setjmp... no
checking for setjmp type... _setjmp
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 negative time_t for gmtime(3)... yes
checking whether getpgrp requires zero arguments... yes
checking whether setpgrp takes no argument... yes
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 whether right shift preserve sign bit... yes
checking read count field in FILE structures... not found(OK if using GNU libc)
checking read buffer ptr field in FILE structures... not found
checking whether need to seek between R/W... yes
checking whether st_ino is huge... no
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction... -1
checking whether ELF binaries are produced... yes
checking whether OS depend dynamic link works... yes
checking for nroff... no
checking for awf... no
creating config.h
configure: creating ./config.status
config.status: creating Makefile
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c array.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c bignum.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c class.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c compar.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c dir.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c dln.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c enum.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c enumerator.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c error.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c eval.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c file.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c gc.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c hash.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c inits.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c io.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c marshal.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c math.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c numeric.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c object.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c pack.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c parse.c
In file included from parse.y:3427:0:
lex.c:125:26: warning: 'hash' is static but used in inline function 'rb_reserved_word' which is not static
register int key = hash (str, len);
^~~~
lex.c:76:25: warning: 'wordlist' is static but declared in inline function 'rb_reserved_word' which is not static
static struct kwtable wordlist[] =
^~~~~~~~
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c process.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c prec.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c random.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c range.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c re.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c regex.c
regex.c: In function 'ruby_re_compile_pattern':
regex.c:1349:105: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
"invalid regular expression; there's no previous pattern, to which '%c' would define cardinality at %d",
^
regex.c:2013:104: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
"invalid regular expression; there's no previous pattern, to which '{' would define cardinality at %d",
^
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c ruby.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c signal.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c sprintf.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c st.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c string.c
string.c: In function 'get_arg_pat':
string.c:1976:1: warning: type of 'quote' defaults to 'int' [-Wimplicit-int]
get_arg_pat(pat, quote)
^~~~~~~~~~~
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c struct.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c time.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c util.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c variable.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c version.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c ./missing/isnan.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c ./missing/isinf.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c dmyext.c
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -I/usr/local/include -c main.c
ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o isnan.o isinf.o dmyext.o
ar: `u' modifier ignored since `D' is the default (see `U')
/usr/bin/gcc -g -O2 -DRUBY_EXPORT -D_GNU_SOURCE=1 -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic main.o libruby-static.a -ldl -lcrypt -lm -o miniruby
rbconfig.rb updated
compiling Win32API
compiling bigdecimal
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/bigdecimal'
mkdir -p ../../.ext/x86_64-linux
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/bigdecimal -DBASE=1000000000UL -DBASE_FIG=9 -I/usr/local/include -fPIC -g -O2 -c bigdecimal.c
mkdir -p ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/newton.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/math.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/jacobian.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/util.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/ludcmp.rb ../../.ext/common/bigdecimal
/usr/bin/gcc -shared -o ../../.ext/x86_64-linux/bigdecimal.so bigdecimal.o -L. -L../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/bigdecimal'
compiling curses
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/curses'
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/curses -DHAVE_NCURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_RESIZETERM -DHAVE_SCRL -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGDSET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WRESIZE -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RESET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -DHAVE_WCOLOR_SET -D_XOPEN_SOURCE_EXTENDED -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c curses.c
/usr/bin/gcc -shared -o ../../.ext/x86_64-linux/curses.so curses.o -L. -L../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -lncurses -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/curses'
compiling dbm
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/dbm'
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/dbm -DHAVE_TYPE_DBM -DDBM_HDR="<ndbm.h>" -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c dbm.c
/usr/bin/gcc -shared -o ../../.ext/x86_64-linux/dbm.so dbm.o -L. -L../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -lgdbm_compat -lgdbm -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/dbm'
compiling digest
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest'
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/digest -I/usr/local/include -fPIC -g -O2 -c digest.c
cp ../.././ext/digest/lib/digest.rb ../../.ext/common
cp ../.././ext/digest/lib/sha1.rb ../../.ext/common
cp ../.././ext/digest/lib/md5.rb ../../.ext/common
cp ../.././ext/digest/digest.h ../../.ext/x86_64-linux
digest.c: In function 'rb_digest_instance_inspect':
digest.c:271:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
cname = rb_obj_classname(self);
^
/usr/bin/gcc -shared -o ../../.ext/x86_64-linux/digest.so digest.o -L. -L../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest'
compiling digest/bubblebabble
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest/bubblebabble'
mkdir -p ../../../.ext/x86_64-linux/digest
/usr/bin/gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/bubblebabble -I../../.././ext/digest/bubblebabble/.. -DHAVE_CONFIG_H -I/usr/local/include -fPIC -g -O2 -c
bubblebabble.c
/usr/bin/gcc -shared -o ../../../.ext/x86_64-linux/digest/bubblebabble.so bubblebabble.o -L. -L../../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -ldl -lcrypt -lm
-lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest/bubblebabble'
compiling digest/md5
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest/md5'
/usr/bin/gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c md5init.c
/usr/bin/gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c md5ossl.c
/usr/bin/gcc -shared -o ../../../.ext/x86_64-linux/digest/md5.so md5init.o md5ossl.o -L. -L../../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -lcrypto -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest/md5'
compiling digest/rmd160
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest/rmd160'
/usr/bin/gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c rmd160init.c
/usr/bin/gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c rmd160ossl.c
/usr/bin/gcc -shared -o ../../../.ext/x86_64-linux/digest/rmd160.so rmd160init.o rmd160ossl.o -L. -L../../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -lcrypto -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest/rmd160'
compiling digest/sha1
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest/sha1'
/usr/bin/gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c sha1init.c
/usr/bin/gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c sha1ossl.c
/usr/bin/gcc -shared -o ../../../.ext/x86_64-linux/digest/sha1.so sha1init.o sha1ossl.o -L. -L../../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -lcrypto -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest/sha1'
compiling digest/sha2
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest/sha2'
/usr/bin/gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -I/usr/local/include -fPIC -g -O2 -c sha2.c
/usr/bin/gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -I/usr/local/include -fPIC -g -O2 -c sha2init.c
mkdir -p ../../../.ext/common/digest
cp ../../.././ext/digest/sha2/lib/sha2.rb ../../../.ext/common/digest
/usr/bin/gcc -shared -o ../../../.ext/x86_64-linux/digest/sha2.so sha2.o sha2init.o -L. -L../../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -ldl -lcrypt -lm -lcmake[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/digest/sha2'
compiling dl
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/dl'
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I/usr/local/include -I/usr/local/include -I. -fPIC -g -O2 -fno-defer-pop -fno-omit-frame-pointer -c handle.c
Generating call.func
void
char
short
int
long
float
double
Generating callback.func
Generating cbtable.func
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I/usr/local/include -I/usr/local/include -I. -fPIC -g -O2 -fno-defer-pop -fno-omit-frame-pointer -c ptr.c
ptr.c: In function 'rb_dlptr_inspect':
ptr.c:461:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'struct ptr_data *' [-Wformat=]
snprintf(str, 1023, "#<%s:0x%lx ptr=0x%lx size=%ld free=0x%lx>",
^
ptr.c:461:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'void *' [-Wformat=]
snprintf(str, 1023, "#<%s:0x%lx ptr=0x%lx size=%ld free=0x%lx>",
^
mkdir -p ../../.ext/common/dl
cp dlconfig.h ../../.ext/x86_64-linux
cp ../.././ext/dl/dl.h ../../.ext/x86_64-linux
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I/usr/local/include -I/usr/local/include -I. -fPIC -g -O2 -fno-defer-pop -fno-omit-frame-pointer -c sym.c
sym.c: In function 'rb_dlsym_inspect':
sym.c:271:29: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'struct sym_data *' [-Wformat=]
"#<DL::Symbol:0x%lx func=0x%lx '%s'>",
^
sym.c:271:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'void *' [-Wformat=]
"#<DL::Symbol:0x%lx func=0x%lx '%s'>",
^
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I/usr/local/include -I/usr/local/include -I. -fPIC -g -O2 -fno-defer-pop -fno-omit-frame-pointer -c dl.c
cp ../.././ext/dl/lib/dl/struct.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/win32.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/types.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/import.rb ../../.ext/common/dl
/usr/bin/gcc -shared -o ../../.ext/x86_64-linux/dl.so sym.o handle.o dl.o ptr.o -L. -L../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -ldl -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/dl'
compiling etc
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/etc'
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/etc -DHAVE_GETLOGIN -DHAVE_GETPWENT -DHAVE_GETGRENT -DHAVE_ST_PW_GECOS -DHAVE_ST_PW_PASSWD -DHAVE_ST_GR_PASSWD -DHAVE_TYPE_UID_T -DPW_UID2VAL=UINT2NUM -DPW_VAL2UID=NUM2UINT -DHAVE_TYPE_GID_T -DPW_GID2VAL=UINT2NUM -DPW_VAL2GID=NUM2UINT -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c etc.c/usr/bin/gcc -shared -o ../../.ext/x86_64-linux/etc.so etc.o -L. -L../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/etc'
compiling fcntl
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/fcntl'
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/fcntl -I/usr/local/include -fPIC -g -O2 -c fcntl.c
/usr/bin/gcc -shared -o ../../.ext/x86_64-linux/fcntl.so fcntl.o -L. -L../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/fcntl'
compiling gdbm
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/gdbm'
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/gdbm -DHAVE_GDBM_H -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c gdbm.c
/usr/bin/gcc -shared -o ../../.ext/x86_64-linux/gdbm.so gdbm.o -L. -L../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -lgdbm -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/gdbm'
compiling iconv
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/iconv'
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/iconv -DHAVE_ICONV -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c iconv.c
iconv.c: In function 'iconv_failure_inspect':
iconv.c:831:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
char *cname = rb_class2name(CLASS_OF(self));
^~~~~~~~~~~~~
/usr/bin/gcc -shared -o ../../.ext/x86_64-linux/iconv.so iconv.o -L. -L../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/iconv'
compiling io/wait
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/io/wait'
mkdir -p ../../../.ext/x86_64-linux/io
/usr/bin/gcc -I. -I../../.. -I../../../. -I../../.././ext/io/wait -DFIONREAD_HEADER="<sys/ioctl.h>" -I/usr/local/include -fPIC -g -O2 -c wait.c
mkdir -p ../../../.ext/common/io
cp ../../.././ext/io/wait/lib/nonblock.rb ../../../.ext/common/io
/usr/bin/gcc -shared -o ../../../.ext/x86_64-linux/io/wait.so wait.o -L. -L../../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/io/wait'
compiling nkf
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/nkf'
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/nkf -I/usr/local/include -fPIC -g -O2 -c nkf.c
cp ../.././ext/nkf/lib/kconv.rb ../../.ext/common
/usr/bin/gcc -shared -o ../../.ext/x86_64-linux/nkf.so nkf.o -L. -L../.. -L. -L/usr/local/lib -rdynamic -Wl,-export-dynamic -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/nkf'
compiling openssl
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/openssl'
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c ossl_hmac.c
/usr/bin/gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/local/include -I/usr/local/include -fPIC -g -O2 -c ossl_pkey_dsa.c
BUILD FAILED (Alpine Linux 3.8.2 using ruby-build 20181225)
Inspect or clean up the working tree at /tmp/ruby-build.20190128170412.7047
Results logged to /tmp/ruby-build.20190128170412.7047.log
Last 10 log lines:
return ossl_x509crl_sk2ary(pkcs7_get_certs_or_crls(self, 0));
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ossl_pkcs7.c:11:0:
ossl.h:118:7: note: expected 'struct stack_st_X509_CRL *' but argument is of type 'int *'
VALUE ossl_x509crl_sk2ary(STACK_OF(X509_CRL) *crl);
^~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:188: ossl_pkcs7.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/ruby-build.20190128170412.7047/ruby-1.8.7/ext/openssl'
make: *** [Makefile:285: all] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment