* Package: dev-lang/ruby-1.8.7_p352 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: amd64 berkdb elibc_glibc gdbm ipv6 kernel_linux multilib ncurses readline ssl userland_GNU * FEATURES: sandbox >>> Unpacking source... >>> Unpacking ruby-1.8.7-p352.tar.bz2 to /var/tmp/portage/dev-lang/ruby-1.8.7_p352/work >>> Unpacking ruby-patches-1.8.7_p352.tar.bz2 to /var/tmp/portage/dev-lang/ruby-1.8.7_p352/work >>> Source unpacked in /var/tmp/portage/dev-lang/ruby-1.8.7_p352/work >>> Preparing source in /var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352 ... * Applying various patches (bugfixes/updates) ... * 001_memory_leak.patch ... [ ok ] * 002_mkconfig.patch ... [ ok ] * 003_mkmf-parallel-install.patch ... [ ok ] * 004_berkdb-5.0.patch ... [ ok ] * 007_no-undefined-ext.patch ... [ ok ] * 008_ppc64.patch ... [ ok ] * 013_CVE-2011-0188.patch ... [ ok ] * Done with patching * Running eautoreconf in '/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352 ... * Using readline to provide readline extension * econf: updating ruby-1.8.7-p352/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ruby-1.8.7-p352/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --program-suffix=18 --enable-shared --disable-socks --disable-install-doc --disable-pthread --enable-ipv6 --disable-debug --with-dbm --with-gdbm --with-openssl --without-tk --with-curses --with-readline --with-sitedir=/usr/lib64/ruby/site_ruby --enable-option-checking=no 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 x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking whether the linker is GNU ld... yes checking whether x86_64-pc-linux-gnu-gcc -E accepts -o... yes checking for bison... bison -y checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-as... x86_64-pc-linux-gnu-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 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 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 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 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... yes checking for crypt in -lcrypt... yes checking for dlopen in -ldl... yes checking for shl_load in -ldld... no checking for clock_gettime in -lrt... yes 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... yes checking a.out.h presence... yes checking for a.out.h... yes 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 time.h usability... yes checking time.h presence... yes checking for time.h... 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 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 int128_t... no checking for uint128_t... no checking for struct timezone... 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 broken erfc of glibc-2.3.6 on IA64... no 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... yes checking for finite... yes checking for isinf... yes 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... no checking for pause... yes checking for lchown... yes checking for lchmod... no 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... yes checking for dlopen... yes checking for sigprocmask... yes checking for sigaction... yes checking for sigsetjmp... no 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... _IO_read_ptr checking read buffer end field in FILE structures... _IO_read_end checking whether need to seek between R/W... no 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... /usr/bin/nroff creating config.h configure: creating ./config.status config.status: creating Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352 ... make -j5 'EXTLDFLAGS=-Wl,-O1 -Wl,--as-needed' x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c array.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c bignum.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c class.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c compar.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dir.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dln.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c enum.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c enumerator.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c error.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c eval.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c file.c eval.c: In function 'rb_eval_string_wrap': eval.c:1754:5: warning: assignment discards qualifiers from pointer target type eval.c: In function 'rb_eval_cmd': eval.c:1895:5: warning: assignment discards qualifiers from pointer target type eval.c: In function 'call_trace_func': eval.c:2746:5: warning: assignment discards qualifiers from pointer target type eval.c: In function 'rb_raise_jump': eval.c:4780:2: warning: assignment discards qualifiers from pointer target type eval.c: In function 'method_missing': eval.c:5746:2: warning: assignment discards qualifiers from pointer target type eval.c: In function 'rb_call0': eval.c:5904:5: warning: assignment discards qualifiers from pointer target type eval.c: In function 'rb_f_eval': eval.c:6706:2: warning: assignment discards qualifiers from pointer target type eval.c: In function 'exec_under': eval.c:6730:5: warning: assignment discards qualifiers from pointer target type eval.c: In function 'rb_load': eval.c:7046:5: warning: assignment discards qualifiers from pointer target type eval.c: In function 'call_end_proc': eval.c:8081:5: warning: assignment discards qualifiers from pointer target type eval.c: In function 'rb_f_END': eval.c:8094:5: warning: assignment discards qualifiers from pointer target type eval.c: In function 'mproc': eval.c:9870:5: warning: assignment discards qualifiers from pointer target type x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c gc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c hash.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c inits.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c io.c io.c: In function 'next_argv': io.c:4616:10: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result io.c: In function 'appendline': io.c:1574:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c marshal.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c math.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c numeric.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c object.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c pack.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c parse.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c process.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c prec.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c random.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c range.c random.c: In function 'random_seed': random.c:288:17: warning: ignoring return value of 'read', declared with attribute warn_unused_result x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c re.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c regex.c regex.c: In function 'ruby_re_compile_pattern': regex.c:1369:4: warning: format '%d' expects type 'int', but argument 5 has type 'long int' regex.c:1369:4: warning: format '%d' expects type 'int', but argument 5 has type 'long int' regex.c:2033:4: warning: format '%d' expects type 'int', but argument 4 has type 'long int' regex.c:2033:4: warning: format '%d' expects type 'int', but argument 4 has type 'long int' x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c ruby.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c signal.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c sprintf.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c st.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c string.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c struct.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c time.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c util.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c variable.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c version.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dmyext.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c main.c x86_64-pc-linux-gnu-ar rcu libruby18-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 dmyext.o x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed main.o libruby18-static.a -lrt -ldl -lcrypt -lm -o miniruby x86_64-pc-linux-gnu-gcc -shared -Wl,-soname,libruby18.so.1.8 -Wl,-O1 -Wl,--as-needed 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 dmyext.o -lrt -ldl -lcrypt -lm -o libruby18.so.1.8.7 rbconfig.rb updated compiling Win32API compiling bigdecimal make[1]: Entering directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/bigdecimal' mkdir -p ../../.ext/x86_64-linux x86_64-pc-linux-gnu-gcc -I. -I../.. -I../../. -I../.././ext/bigdecimal -DBASE=1000000000UL -DBASE_FIG=9 -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -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/ludcmp.rb ../../.ext/common/bigdecimal cp ../.././ext/bigdecimal/lib/bigdecimal/util.rb ../../.ext/common/bigdecimal x86_64-pc-linux-gnu-gcc -shared -o ../../.ext/x86_64-linux/bigdecimal.so bigdecimal.o -L. -L../.. -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lrt -ldl -lcrypt -lm -lc make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/bigdecimal' compiling curses make[1]: Entering directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/curses' x86_64-pc-linux-gnu-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 -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c curses.c x86_64-pc-linux-gnu-gcc -shared -o ../../.ext/x86_64-linux/curses.so curses.o -L. -L../.. -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lncurses -lrt -ldl -lcrypt -lm -lc make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/curses' compiling dbm make[1]: Entering directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/dbm' x86_64-pc-linux-gnu-gcc -I. -I../.. -I../../. -I../.././ext/dbm -DHAVE_TYPE_DBM -DHAVE___DB_NDBM_CLEARERR -DDB_DBM_HSEARCH -DHAVE_DBM -DDBM_HDR="" -DHAVE_SYS_CDEFS_H -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c dbm.c x86_64-pc-linux-gnu-gcc -shared -o ../../.ext/x86_64-linux/dbm.so dbm.o -L. -L../.. -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -ldb -lrt -ldl -lcrypt -lm -lc make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/dbm' compiling digest make[1]: Entering directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest' x86_64-pc-linux-gnu-gcc -I. -I../.. -I../../. -I../.././ext/digest -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c digest.c cp ../.././ext/digest/lib/sha1.rb ../../.ext/common cp ../.././ext/digest/lib/md5.rb ../../.ext/common cp ../.././ext/digest/lib/digest.rb ../../.ext/common cp ../.././ext/digest/digest.h ../../.ext/x86_64-linux digest.c: In function 'rb_digest_instance_inspect': digest.c:280:11: warning: assignment discards qualifiers from pointer target type x86_64-pc-linux-gnu-gcc -shared -o ../../.ext/x86_64-linux/digest.so digest.o -L. -L../.. -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lrt -ldl -lcrypt -lm -lc make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest' compiling digest/bubblebabble make[1]: Entering directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest/bubblebabble' mkdir -p ../../../.ext/x86_64-linux/digest x86_64-pc-linux-gnu-gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/bubblebabble -I../../.././ext/digest/bubblebabble/.. -DHAVE_CONFIG_H -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c bubblebabble.c x86_64-pc-linux-gnu-gcc -shared -o ../../../.ext/x86_64-linux/digest/bubblebabble.so bubblebabble.o -L. -L../../.. -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lrt -ldl -lcrypt -lm -lc make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest/bubblebabble' compiling digest/md5 make[1]: Entering directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest/md5' x86_64-pc-linux-gnu-gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c md5init.c x86_64-pc-linux-gnu-gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c md5ossl.c x86_64-pc-linux-gnu-gcc -shared -o ../../../.ext/x86_64-linux/digest/md5.so md5init.o md5ossl.o -L. -L../../.. -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lcrypto -lrt -ldl -lcrypt -lm -lc make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest/md5' compiling digest/rmd160 make[1]: Entering directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest/rmd160' x86_64-pc-linux-gnu-gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c rmd160init.c x86_64-pc-linux-gnu-gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c rmd160ossl.c x86_64-pc-linux-gnu-gcc -shared -o ../../../.ext/x86_64-linux/digest/rmd160.so rmd160init.o rmd160ossl.o -L. -L../../.. -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lcrypto -lrt -ldl -lcrypt -lm -lc make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest/rmd160' compiling digest/sha1 make[1]: Entering directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest/sha1' x86_64-pc-linux-gnu-gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c sha1init.c x86_64-pc-linux-gnu-gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c sha1ossl.c x86_64-pc-linux-gnu-gcc -shared -o ../../../.ext/x86_64-linux/digest/sha1.so sha1init.o sha1ossl.o -L. -L../../.. -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lcrypto -lrt -ldl -lcrypt -lm -lc make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest/sha1' compiling digest/sha2 make[1]: Entering directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest/sha2' x86_64-pc-linux-gnu-gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c sha2.c x86_64-pc-linux-gnu-gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -c sha2init.c mkdir -p ../../../.ext/common/digest cp ../../.././ext/digest/sha2/lib/sha2.rb ../../../.ext/common/digest x86_64-pc-linux-gnu-gcc -shared -o ../../../.ext/x86_64-linux/digest/sha2.so sha2.o sha2init.o -L. -L../../.. -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lrt -ldl -lcrypt -lm -lc make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/digest/sha2' compiling dl make[1]: Entering directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/dl' x86_64-pc-linux-gnu-gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -fno-defer-pop -fno-omit-frame-pointer -c ptr.c x86_64-pc-linux-gnu-gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -fno-defer-pop -fno-omit-frame-pointer -c handle.c Generating call.func Generating callback.func Generating cbtable.func void char short int long float double mkdir -p ../../.ext/common/dl cp dlconfig.h ../../.ext/x86_64-linux cp ../.././ext/dl/dl.h ../../.ext/x86_64-linux ptr.c: In function 'rb_dlptr_inspect': ptr.c:466:5: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'struct ptr_data *' ptr.c:466:5: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'void *' ptr.c:466:5: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'struct ptr_data *' ptr.c:466:5: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'void *' x86_64-pc-linux-gnu-gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -fno-defer-pop -fno-omit-frame-pointer -c sym.c cp ../.././ext/dl/lib/dl/import.rb ../../.ext/common/dl cp ../.././ext/dl/lib/dl/types.rb ../../.ext/common/dl cp ../.././ext/dl/lib/dl/struct.rb ../../.ext/common/dl cp ../.././ext/dl/lib/dl/win32.rb ../../.ext/common/dl x86_64-pc-linux-gnu-gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -O2 -pipe -fno-strict-aliasing -fPIC -fno-defer-pop -fno-omit-frame-pointer -c dl.c sym.c: In function 'rb_dlsym_inspect': sym.c:275:21: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'struct sym_data *' sym.c:275:21: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'void *' sym.c:275:21: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'struct sym_data *' sym.c:275:21: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'void *' In file included from dl.c:104:0: callback.func:1:1: warning: data definition has no type or storage class callback.func:1:7: error: expected identifier or '(' before 'long' In file included from dl.c:104:0: callback.func:78:33: error: expected ')' before '(' token callback.func:79:3: warning: data definition has no type or storage class callback.func:79:24: error: 'proc' undeclared here (not in a function) callback.func:79:39: error: 'argc' undeclared here (not in a function) callback.func:79:45: error: 'argv' undeclared here (not in a function) callback.func:82:1: error: expected identifier or '(' before '}' token dl.c:106:1: error: expected ';', ',' or ')' before 'static' make[1]: *** [dl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352/ext/dl' make: *** [all] Error 1 emake failed * ERROR: dev-lang/ruby-1.8.7_p352 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 84: Called src_compile * environment, line 3355: Called die * The specific snippet of code: * emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-lang/ruby-1.8.7_p352', * the complete build log and the output of 'emerge -pqv =dev-lang/ruby-1.8.7_p352'. * The complete build log is located at '/var/tmp/portage/dev-lang/ruby-1.8.7_p352/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-1.8.7_p352/temp/environment'. * S: '/var/tmp/portage/dev-lang/ruby-1.8.7_p352/work/ruby-1.8.7-p352'