Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255159 - dev-lang/ruby-1.8.6_p287-r1 fails to build
Summary: dev-lang/ruby-1.8.6_p287-r1 fails to build
Status: RESOLVED DUPLICATE of bug 254307
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 12:50 UTC by a_tevelev
Modified: 2009-01-16 13:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,3.70 KB, text/plain)
2009-01-16 12:51 UTC, a_tevelev
Details
/tmp/portage/dev-lang/ruby-1.8.6_p287-r1/temp/environment (build.environment,127.29 KB, text/plain)
2009-01-16 12:52 UTC, a_tevelev
Details
/tmp/portage/dev-lang/ruby-1.8.6_p287-r1/temp/build.log (build.log,34.48 KB, text/plain)
2009-01-16 12:52 UTC, a_tevelev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description a_tevelev 2009-01-16 12:50:45 UTC
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'
Comment 1 a_tevelev 2009-01-16 12:51:23 UTC
Created attachment 178681 [details]
emerge --info
Comment 2 a_tevelev 2009-01-16 12:52:04 UTC
Created attachment 178682 [details]
/tmp/portage/dev-lang/ruby-1.8.6_p287-r1/temp/environment
Comment 3 a_tevelev 2009-01-16 12:52:41 UTC
Created attachment 178683 [details]
/tmp/portage/dev-lang/ruby-1.8.6_p287-r1/temp/build.log
Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-01-16 13:01:56 UTC
Please see bug 254307.

Sync your tree and use ruby-1.8.6_p287-r4. It should be stable on your arch.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-16 13:30:22 UTC

*** This bug has been marked as a duplicate of bug 254307 ***