Both ruby-1.8.5_p2-r1 and ruby-1.8.6_p36-r2 fail during install with the error: ./instruby.rb:254:in `read': file too big for single read (IOError) It seems the actual compile process is successful, but does not copy the files correctly. Reproducible: Always Steps to Reproduce: 1. emerge ruby USE="ipv6 threads tk -debug -doc -examples -rubytests -socks5" 2. 3. Actual Results: installing binary commands installing command scripts ./instruby.rb:254:in `read': file too big for single read (IOError) from ./instruby.rb:254 from ./instruby.rb:142:in `open' from ./instruby.rb:142:in `open_for_install' from ./instruby.rb:252 from ./instruby.rb:239:in `each' from ./instruby.rb:239 from ./instruby.rb:348:in `call' from ./instruby.rb:348 from ./instruby.rb:345:in `each' from ./instruby.rb:345 from ./instruby.rb:344:in `each' from ./instruby.rb:344 make: *** [do-install-nodoc] Error 1 !!! ERROR: dev-lang/ruby-1.8.6_p36 failed. Call stack: ebuild.sh, line 1615: Called dyn_install ebuild.sh, line 1061: Called qa_call 'src_install' ebuild.sh, line 44: Called src_install ruby-1.8.6_p36.ebuild, line 120: Called die Expected Results: Installed ruby (copied files to correct locations, read the files?). Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.22-rc4-mm2 i686) ================================================================= System uname: 2.6.22-rc4-mm2 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 18 Jun 2007 02:00:01 +0000 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i486-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -m128bit-long-double -malign-double -maccumulate-outgoing-args" CHOST="i486-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -m128bit-long-double -malign-double -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 Xaw3d acl apache2 bash-completion berkdb bitmap-fonts cjk cli cracklib crypt cups dri emacs fastcgi fortran gdbm gif gpm gs iconv ipv6 isdnlog jbig jpeg leim lesstif libedit libg++ midi motif mudflap mysql ncurses nls nptl nptlonly ntpl odbc openmp pam pcre perl php pppd python readline reflection riff rle ruby session spl sqlite sqlite3 ssl tcl tcpd threads tk truetype-fonts type1-fonts unicode urandom x86 xml xorg xprint zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 122778 [details] Ruby build.log Build log for failed install.
Reopen if you can reproduce with *sane* C[XX]FLAGS; such as CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer", especially without this one: man gcc: -m128bit-long-double ... Warning: if you override the default value for your target ABI, the structures and arrays containing "long double" variables will change their size as well as function calling convention for function taking "long double" will be modified. Hence they will not be binary compatible with arrays or structures in code compiled without that switch.