Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325327 - www-client/elinks-0.11.7 failed to emerge, "ruby too old"
Summary: www-client/elinks-0.11.7 failed to emerge, "ruby too old"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-24 11:27 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2011-01-06 21:02 UTC (History)
0 users

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


Attachments
build.log (www-client:elinks-0.11.7:20100624-112133.log,12.73 KB, text/plain)
2010-06-24 11:27 UTC, Paweł Hajdan, Jr. (RETIRED)
Details
config.log (config.log,116.00 KB, text/plain)
2011-01-02 20:37 UTC, Paweł Hajdan, Jr. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-24 11:27:25 UTC
checking for Lua... yes
checking lauxlib.h usability... yes
checking lauxlib.h presence... yes
checking for lauxlib.h... yes
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

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/www-client/elinks-0.11.7/work/elinks-0.11.7/config.log
 * ERROR: www-client/elinks-0.11.7 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 3213:  Called econf '--sysconfdir=/etc/elinks' '--enable-leds' '--enable-88-colors' '--enable-256-colors' '--enable-html-highlight' '--with-gpm' '--with-zlib' '--with-bzlib' '--without-x' '--with-lua' '--without-guile' '--without-perl' '--with-ruby' '--with-idn' '--with-spidermonkey' '--enable-bittorrent' '--enable-nls' '--enable-ipv6' '--enable-ftp' '--enable-gopher' '--enable-nntp' '--enable-finger' '--enable-debug' '--with-openssl'
 *     ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 

[ebuild   R   ] dev-lang/ruby-1.8.7_p249  USE="berkdb emacs gdbm ssl -debug* -doc -examples -ipv6* -rubytests -socks5 -threads -tk -xemacs" 0 kB


Portage 2.1.8.3 (default/linux/x86/10.0/developer, gcc-4.4.3, glibc-2.11.1-r0, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 24 Jun 2010 08:25:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA spin-educational AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms splitdebug strict test test-fail-continue unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 berkdb bluetooth bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emacs emboss encode exif fam firefox flac fortran gdbm gif gtk hal iconv jpeg lcms libnotify mad mbox mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nss ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support readline reflection sdl session snmp spell spl sqlite ssl startup-notification subversion svg sysfs tcb tcpd tiff toolkit-scroll-bars truetype unicode usb vorbis x264 x86 xcb xft xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmware vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-24 11:27:57 UTC
Created attachment 236387 [details]
build.log
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2010-07-05 12:33:24 UTC
I can't reproduce it here.  Could you please attach the config.log file?
Comment 3 Francesco Riosa 2010-10-10 11:55:33 UTC
Maybe it's a ruby problem, meet this one during an emerge -e world

I think the error is in this `configure` test:

-----------------------------
ruby -e 'exit((VERSION or RUBY_VERSION) >= "1.6.0")'
                                   
ruby: no such file to load -- auto_gem (LoadError)
-----------------------------

STEPS TO FIX IT:


eselect  ruby list
Available Ruby profiles:
  [1]   ruby18 *

eselect  ruby set 1 
!!! Warning: Could not set gem symlink
It appears you do not have RubyGems installed for this profile.
If you need RubyGems, emerge dev-ruby/rubygems with the appropriate RUBY_TARGETS setting.

Successfully switched to profile:
  ruby18                    

desktop-laptop www-client # emerge -1av dev-ruby/rubygems

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-ruby/rubygems-1.3.7-r4  USE="server -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 0 kB
[ebuild  N    ] virtual/rubygems-0-r4  RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 0 kB
[ebuild  N    ] dev-ruby/builder-2.1.2-r2  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 0 kB

emerge elinks again it should go
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-01-02 20:37:12 UTC
Created attachment 258669 [details]
config.log

This is the config.log from failed build. Emerging rubygems fixes the issue for me, so it seems to be a missing dependency problem.
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2011-01-06 21:02:13 UTC
Added the dependency in CVS.  Francesco, Pawel: thanks for tracking this down.