Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275985 - facter-1.5.6 tries to install with ruby19 if present
Summary: facter-1.5.6 tries to install with ruby19 if present
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ruby19
  Show dependency tree
 
Reported: 2009-06-30 18:30 UTC by RijilV
Modified: 2009-07-21 22:32 UTC (History)
1 user (show)

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 RijilV 2009-06-30 18:30:57 UTC
the new ebuild for facter 1.5.6 will attempt to build with ruby19 if present.  Facter is currently not compatible with ruby 1.9, and thus leads to compilation error.




Solution:


Reproducible: Always

Steps to Reproduce:
1. install ruby19
2. emerge facter

Actual Results:  
 * running dodoc for ruby ;)
 * Using ruby19
 * Unpacking for ruby19
>>> Unpacking facter-1.5.6.tar.gz to /tmp/work/portage/dev-ruby/facter-1.5.6/work
 * Building for ruby19
 * Installing for ruby19
install.rb:38:in `require': no such file to load -- ftools (LoadError)
        from install.rb:38:in `<main>'
 * 
 * ERROR: dev-ruby/facter-1.5.6 failed.
 * Call stack:
 *       misc-functions.sh, line  729:  Called install_qa_check
 *       misc-functions.sh, line   48:  Called prepall
 *             environment, line 2214:  Called src_install
 *             environment, line 2425:  Called ruby_einstall
 *             environment, line 2324:  Called die
 * The specific snippet of code:
 *           ${RUBY} install.rb config --prefix="${D}"/usr "$@" ${RUBY_ECONF} || die "install.rb config failed";
 *  The die message:
 *   install.rb config failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/work/portage/dev-ruby/facter-1.5.6/temp/build.log'.
 * The ebuild environment file is located at '/tmp/work/portage/dev-ruby/facter-1.5.6/temp/environment'.
 * 
!!! post install failed; exiting.

>>> Failed to emerge dev-ruby/facter-1.5.6, Log file:



Expected Results:  
facter 1.5.6 must only use ruby 1.8

--- facter-1.5.6.ebuild 2009-06-14 15:56:37.000000000 -0700
+++ /tmp/facter-1.5.6-r1.ebuild 2009-06-30 11:25:53.000000000 -0700
@@ -13,7 +13,7 @@
 IUSE=""
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
 
-USE_RUBY="ruby18 ruby19"
+USE_RUBY="ruby18"
 
 src_compile() {
        :
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2009-07-21 22:32:09 UTC
Fixed in cvs. thanks.