Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649948 - www-client/elinks-0.13_pre_pre20180225 - configure:11018: result: too old; need Ruby version 1.6.0 or later
Summary: www-client/elinks-0.13_pre_pre20180225 - configure:11018: result: too old; ne...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Felix Janda
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-03-08 19:54 UTC by Francesco Turco
Modified: 2018-03-26 18:07 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,14.74 KB, text/plain)
2018-03-08 19:54 UTC, Francesco Turco
Details
config.log (config.log,140.82 KB, text/plain)
2018-03-08 19:54 UTC, Francesco Turco
Details
emerge --info (info.txt,5.42 KB, text/plain)
2018-03-08 19:55 UTC, Francesco Turco
Details
Proposed fix (ruby.patch,6.90 KB, patch)
2018-03-09 00:25 UTC, Felix Janda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Turco 2018-03-08 19:54:07 UTC
I cannot build www-client/elinks-0.13_pre_pre20180225 due to the following error message:

> checking for Ruby... yes
> checking for ruby... /usr/bin/ruby
> checking Ruby version... too old; need Ruby version 1.6.0 or later
> configure: error: Ruby not found

$ equery list ruby
 * Searching for ruby ...
[IP-] [  ] dev-lang/ruby-2.5.0-r2:2.5

$ eselect ruby list
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *

I can successfully build previous versions (www-client/elinks-0.12_pre6-r4).

I can also successfully build the current version with the -ruby USE flag.
Comment 1 Francesco Turco 2018-03-08 19:54:45 UTC
Created attachment 523022 [details]
build.log
Comment 2 Francesco Turco 2018-03-08 19:54:59 UTC
Created attachment 523024 [details]
config.log
Comment 3 Francesco Turco 2018-03-08 19:55:13 UTC
Created attachment 523026 [details]
emerge --info
Comment 4 Francesco Turco 2018-03-08 19:57:12 UTC
See also: https://bugs.gentoo.org/424789
Comment 5 Felix Janda 2018-03-09 00:25:17 UTC
Created attachment 523070 [details, diff]
Proposed fix

Thanks for the report!

Does this patch work for you?
Comment 6 Francesco Turco 2018-03-09 13:09:28 UTC
@FelixJanda: Your patch works, thank you! Now I correctly obtain:

> checking for Ruby... yes
> checking for ruby... /usr/bin/ruby
> checking Ruby version... 2.5.0
> checking for Ruby header files... /usr/include/ruby-2.5.0
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-26 18:07:07 UTC
(In reply to Felix Janda from comment #5)
> Created attachment 523070 [details, diff] [details, diff]

Committed.