Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238406 - media-sound/amarok-1.4.10 ebuild cannot find ruby
Summary: media-sound/amarok-1.4.10 ebuild cannot find ruby
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-22 18:49 UTC by wuos
Modified: 2008-09-24 16:13 UTC (History)
2 users (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 wuos 2008-09-22 18:49:26 UTC
Emerging Amarok on a system without rubygems results in following errors:

checking for ruby… /usr/bin/ruby
/usr/bin/ruby: no such file to load — auto_gem (LoadError)
/usr/bin/ruby: no such file to load — auto_gem (LoadError)
checking ruby.h usability… no
checking ruby.h presence… no
checking for ruby.h… no

and after emerging seems to be ok

>>> media-sound/amarok-1.4.10 merged.

>>> No packages selected for removal by clean

but no executable files are created!

Reproducible: Always

Steps to Reproduce:
1. Unmerge rubygems from your system
2. Try to emerge amarok

Actual Results:  
no executable files are created!

Expected Results:  
Amarok compilation should be invoked?
Comment 1 wuos 2008-09-22 19:05:54 UTC
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.26-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Timestamp of tree: Mon, 22 Sep 2008 15:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amarok amd64 apache2 arts bash-completion berkdb bzip2 cairo cdparanoia cdr cli cracklib crypt cscope divx dri dts dvd dvdr dvdread extramodules ffmpeg firefox fortran ftp gcj gd gdbm gnutls gpm hal iconv imap imlib isdnlog java jikes jpeg kde kdeenablefinal maildir mailwrapper matroska memlimit midi mime mmx mozdevelop mp3 mp4 mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre php pic png pppd python quicktime rar readline realmedia reflection session spell spl sqlite sse sse2 ssl sysfs syslog tcl tcpd threads tiff truetype unicode usb videos vorbis wmp wxwindows xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-22 19:06:54 UTC
Please post the output of `ruby-conf -l' and `ruby-conf -c' too.
Comment 3 wuos 2008-09-22 19:42:38 UTC
(In reply to comment #2)
> Please post the output of `ruby-conf -l' and `ruby-conf -c' too.
> 

ruby-conf
bash: ruby-conf: command not found

ruby-config -l
 * Supported profiles are:
 *      ruby18
 * You can specify one of the profiles listed above.
 * e.g.) ruby-config ruby18

ruby-config -c
 * Your current profile refers to ruby18.


Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2008-09-22 20:25:03 UTC
Please restart your shell or execute `unset RUBYOPT'. That information was by the way also shown when you unmerged rubygems. ;)

If the problem still persists, check that the file /etc/env.d/10rubygems does _not_ exist.
Comment 5 wuos 2008-09-24 16:13:24 UTC
deleting /etc/env.d/10rubygems did the job

but I still think that message

>>> media-sound/amarok-1.4.10 merged.

at the end of the build log is a bit misleading 
when no executable file was created