dev-lang/ruby-1.8.6_p287-r1 fails to build: # emerge -puvN1 dev-lang/ruby These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/ruby-1.8.6_p287-r1 USE="berkdb ssl threads -debug -doc -emacs -examples -gdbm -ipv6 -rubytests -socks5 -tk -xemacs" 0 kB ... make[1]: Entering directory `/tmp/portage/dev-lang/ruby-1.8.6_p287-r1/work/ruby-1.8.6-p287/ext/openssl' x86_64-pc-linux-gnu-gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -march=nocona -O2 -pipe -fno-strict-aliasing -fPIC -c openssl_missing.c In file included from openssl_missing.c:22: openssl_missing.h:123: error: conflicting types for ‘BN_rand_range’ /usr/include/openssl/bn.h:411: error: previous declaration of ‘BN_rand_range’ was here openssl_missing.h:124: error: conflicting types for ‘BN_pseudo_rand_range’ /usr/include/openssl/bn.h:412: error: previous declaration of ‘BN_pseudo_rand_range’ was here make[1]: *** [openssl_missing.o] Error 1 make[1]: Leaving directory `/tmp/portage/dev-lang/ruby-1.8.6_p287-r1/work/ruby-1.8.6-p287/ext/openssl' make: *** [all] Error 1 * * ERROR: dev-lang/ruby-1.8.6_p287-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3203: Called die * The specific snippet of code: * emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/tmp/portage/dev-lang/ruby-1.8.6_p287-r1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-lang/ruby-1.8.6_p287-r1/temp/environment'. * >>> Failed to emerge dev-lang/ruby-1.8.6_p287-r1, Log file: >>> '/tmp/portage/dev-lang/ruby-1.8.6_p287-r1/temp/build.log'
Created attachment 178681 [details] emerge --info
Created attachment 178682 [details] /tmp/portage/dev-lang/ruby-1.8.6_p287-r1/temp/environment
Created attachment 178683 [details] /tmp/portage/dev-lang/ruby-1.8.6_p287-r1/temp/build.log
Please see bug 254307. Sync your tree and use ruby-1.8.6_p287-r4. It should be stable on your arch.
*** This bug has been marked as a duplicate of bug 254307 ***