Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230481 - dev-lang/ruby-1.8.6_p230 fails to build due to configure problems
Summary: dev-lang/ruby-1.8.6_p230 fails to build due to configure problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High critical (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 08:14 UTC by Martin Hauser
Modified: 2008-07-08 08:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Hauser 2008-07-02 08:14:32 UTC
If you try to emerge the ruby with the latest patches (dev-lang/ruby-1.8.6_p230), you will get the following error:

 ERROR: dev-lang/ruby-1.8.6_p230 failed:
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:3196: <call econf '--program-suffix=18' '--enable-shared' '--disable-socks' '--disable-install-doc' '--disable-pthread' '--enable-ipv6' '--disable-debug' '--without-dbm' '--without-gdbm' '--with-openssl' '--without-tk' '--with-sitedir=/Users/mh/Library/Gentoo/usr/lib/ruby/site_ruby'>
 *               ebuild.sh: 538:                        die "econf failed"
 

Suprisingly the build log is empty. If i try to redo the configure by hand, I'll get a warning that some options are not supported: 

configure: WARNING: Unrecognized options: --disable-socks, --enable-ipv6, --disable-debug, --without-dbm, --without-gdbm, --with-openssl, --without-tk



Reproducible: Always

Steps to Reproduce:
Comment 1 Fabian Groffen gentoo-dev 2008-07-07 19:43:27 UTC
hmmm,here it configures fine, but fails during make...
Comment 2 Fabian Groffen gentoo-dev 2008-07-07 19:47:50 UTC
ehm, the fail is due to a h0rkened portage I use.
Comment 3 Fabian Groffen gentoo-dev 2008-07-07 19:58:18 UTC
it installed just fine here for me...

>>> dev-lang/ruby-1.8.6_p230 merged.
Comment 4 Martin Hauser 2008-07-08 08:11:25 UTC
It could be the same problem for me. I had problems earlier emerging the newest portage version. Just I'm doing a --sync to see if there's an added portage version to reemerge portage and to see whether the problem is gone then.
Comment 5 Fabian Groffen gentoo-dev 2008-07-08 08:26:48 UTC
what portage version do you have installed?  If it's too new you're bitten by a mistake I made.  Current code in svn is horribly broken, with the only remedy to bootstrap portage again in your prefix.
Comment 6 Martin Hauser 2008-07-08 08:56:21 UTC
Well, current version of portage is portage-2.2.00.10815 which works just fine after doing the following:

ebuild /Volumes/Alesia/Gentoo/usr/portage/sys-apps/portage/portage-2.2.00.10815.ebuild merge
emerge portage

before that it would not move from .10788 to .10815 . After doing the ebuild merge and the reemerge of portage ruby itself builds again as well, still complaining about the unknown switches though.