Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 400709 - dev-ruby/builder-3.0.0-r1 - Command failed with status (127): [xctags -e lib/blankslate.rb lib/builder/bl...]
Summary: dev-ruby/builder-3.0.0-r1 - Command failed with status (127): [xctags -e lib/...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-25 09:50 UTC by Juergen Rose
Modified: 2015-07-05 18:19 UTC (History)
0 users

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


Attachments
/var/tmp/portage/dev-ruby/builder-3.0.0-r1/temp/build.log (build.log,3.16 KB, text/plain)
2012-04-20 12:31 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2012-01-25 09:50:10 UTC
'emerge builder' fails with:
...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/builder-3.0.0-r1/work ...
 * Running compile phase for all ...
WARNING: 'require 'rake/rdoctask'' is deprecated.  Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
    at /usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
rake/gempackagetask is deprecated.  Use rubygems/package_task instead
Makings TAGS
rake aborted!
Command failed with status (127): [xctags -e lib/blankslate.rb lib/builder/bl...]

Tasks: TOP => rdoc => html/index.html => TAGS
(See full trace by running task with --trace)
 * ERROR: dev-ruby/builder-3.0.0-r1 failed (compile phase):
 *   failed to (re)build documentation
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4422:  Called ruby-ng_src_compile
 *   environment, line 4078:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  546:  Called all_ruby_compile
 *   environment, line  620:  Called all_fakegem_compile
 *   environment, line  588:  Called die
 * The specific snippet of code:
 *           rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to (re)build documentation";
 * 
 * If you need support, post the output of 'emerge --info =dev-ruby/builder-3.0.0-r1',
 * the complete build log and the output of 'emerge -pqv =dev-ruby/builder-3.0.0-r1'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""


Reproducible: Always




>>>  '/var/tmp/portage/dev-ruby/builder-3.0.0-r1/temp/build.log'
root@cheetah:/usr/src/linux(88)# emerge --info =dev-ruby/builder-3.0.0-r1
Portage 2.1.10.44 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.1.6 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.6-i686-AMD_Athlon-tm-_XP_1800+-with-gentoo-2.1
Timestamp of tree: Wed, 25 Jan 2012 03:00:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.2-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo x11 science sunrise java-overlay local x-cpan x-g-octave
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1 cadsoft Oracle-BCLA-JavaSE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de fr"
MAKEOPTS="-j1"
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="/var/lib/layman/x11 /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/java-overlay /usr/local/portage /var/lib/cpan /var/lib/g-octave"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext R X Xaw3d a52 aac acl acpi admin afs alsa ao apache2 applet archive arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth boo boost branding bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib crypt css cups curl cxx daap db dbase dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpx fts3 fuse galago garmin gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp ginac git glade glib glpk gml gmp gmtsuppl gnome gnome-keyring gnome-print gnuplot gnutls gphoto2 gpm grammar graphics graphtft graphviz grass gs gsl gsm gstreamer gtk gudev guile harness hddtemp hdf hdf5 hdri http httpd hwdb iconv icq icu id3 ide imagemagick imap innodb inotify ipod ipv6 irda ithreads jabber jadetex java java6 jbig john jpeg jpeg2k kdrive kerberos kpathsea ladspa lame lapack latex latex3 lcms ldap lensfun libffi libgda libnotify libsamplerate lm_sensors lua lzo mad mail maildir mapnik math matroska matrox mkl mmx mmxext mng modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ogdi ogg ole openexr opengl openmp overview pae pam pango pcre pda pdf perl plotutils plugins png podcast policykit portaudio posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 quicktime readline reiserfs reports rle romio rpc rrdcgi rrdtool samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session sip slang slp smbclient sms sndfile snmp soup sox speex spell sql sqlite sse ssl startup-notification stlport subtitles subversion suexec svg svm swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs tgif theora threads thunderbird tidy tiff tk tools truetype udev unicode usb userlocales utempter vaapi video virtualbox vorbis wav webdav webdav-serf webkit wmf wxwidgets x264 x86 xattr xcb xemacs xext xft xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc yaml zlib zvbi" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="tda10045 tda10046lifeview" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mga matrox vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



root@cheetah:/usr/src/linux(90)# emerge -pqv =dev-ruby/builder-3.0.0-r1
[ebuild     U ] dev-ruby/builder-3.0.0-r1 [3.0.0] USE="doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 -ruby19"
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-01-25 15:29:17 UTC
CNR but easy fix (xctags should be exuberant-ctags... I just wish I can find why it gets called there and not here afaict)
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-01-25 15:52:22 UTC
Okay I can't reproduce it out of portage, but I can _in_ portage, dep added and command fixed, thanks!
Comment 3 Juergen Rose 2012-04-20 12:25:51 UTC
I have almost the same error emerging dev-ruby/builder-3.0.0-r1:

>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/builder-3.0.0-r1/work ...
 * Running compile phase for all ...
WARNING: 'require 'rake/rdoctask'' is deprecated.  Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
    at /usr/lib64/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
rake/gempackagetask is deprecated.  Use rubygems/package_task instead
rm -r html
rake aborted!
cannot load such file -- rdoc/rdoc

Tasks: TOP => rdoc => html/index.html


Is there any fix?
Comment 4 Juergen Rose 2012-04-20 12:27:20 UTC
root@leopard:/root(24)# emerge --info =dev-ruby/builder-3.0.0-r1
Portage 2.1.10.56 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.3.0-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.3.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Fri, 20 Apr 2012 00:45:01 +0000
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3, 3.2.2-r1
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo lisp science x-portage x-cpan x-g-octave
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.3 cadsoft Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de fr"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/lisp /var/lib/layman/science /usr/local/portage /var/lib/cpan /var/lib/g-octave"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 ao apache2 applet archive arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boo boost bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli consolekit cracklib crypt css cuda cups curl cxx daap db dbase dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpx fts3 fuse g3dvl gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp ginac git glade glib glpk gml gmp gmtsuppl gnome gnome-keyring gnome-print gnuplot gnutls gphoto2 gpm grammar graphics graphtft graphviz grass gs gsl gstreamer gtk gudev guile harness hddtemp hdf hdf5 hdri http httpd hvm hwdb iconv icq icu id3 ide imagemagick imap innodb inotify ipod ipv6 irda ithreads jabber jadetex java java6 jbig john jpeg jpeg2k kate kdrive kerberos kpathsea kqemu kvm ladspa lame lapack latex latex3 lcms ldap lensfun libffi libgda libnotify libsamplerate live lm_sensors lua lzo mad madwifi mail maildir mapnik math matroska matrox media-library mkl mmx mmxext mng modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numpy nvidia obex objc ocaml ocr octave odbc ogdi ogg ole openexr opengl openmp overview pam pcre pda pdf perl plotutils plugins png podcast policykit portaudio posix postgres postscript ppds pppd preview-latex proj projectm projectx pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt4 quicktime readline reiserfs reports rle romio rpc rrdcgi rrdtool samba sasl schroedinger science sdk sdl secure-delete server session shout sip slang slp smbclient smp sms sndfile snmp soup sox speex spell sql sqlite sse sse2 sse4 ssl subtitles subversion suexec svg svm swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs tgif theora threads thunderbird tidy tiff tk tools truetype udev unicode usb userlocales utempter vaapi video virtualbox vorbis wav webdav webdav-serf webkit wmf wxwidgets x264 xattr xcb xemacs xetex xext xft xine xml xmlreader xmlrpc xorg xpm xv xvid xvmc yaml 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps lvm mdraid syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



root@leopard:/root(25)# emerge -pqv =dev-ruby/builder-3.0.0-r1
[ebuild  N    ] dev-ruby/builder-3.0.0-r1  USE="doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 -ruby19"
Comment 5 Juergen Rose 2012-04-20 12:31:53 UTC
Created attachment 309615 [details]
/var/tmp/portage/dev-ruby/builder-3.0.0-r1/temp/build.log
Comment 6 Juergen Rose 2012-04-20 12:33:47 UTC
If I remove the doc USE flag I can emerge dev-ruby/builder-3.0.0-r1.
Comment 7 Hans de Graaff gentoo-dev Security 2012-04-21 09:45:44 UTC
(In reply to comment #3)
> I have almost the same error emerging dev-ruby/builder-3.0.0-r1:

> cannot load such file -- rdoc/rdoc

Do you have dev-ruby/rdoc installed?
Comment 8 Juergen Rose 2012-04-21 10:26:41 UTC
(In reply to comment #7)
> (In reply to comment #3)
> > I have almost the same error emerging dev-ruby/builder-3.0.0-r1:
> 
> > cannot load such file -- rdoc/rdoc
> 
> Do you have dev-ruby/rdoc installed?

I don't really know. All my ruby packages are installed as dependencies of other packages (texlive mayby?). At the last attempt on leopard, where I tried a complete new gentoo installation, I had to remove the doc USE flags from several ruby packages, then I emerged these packages. So the situation was probably, that I already installed the rdoc without the doc flag and tried to install builder with the doc flag.
After the installation of all ruby packages fineshed, I removed again the "-doc" flag from these packages and the next 'emerge -uvDN world' reinstalled them with the doc flag.
Comment 9 Juergen Rose 2012-05-06 10:17:43 UTC
(In reply to comment #3)
> I have almost the same error emerging dev-ruby/builder-3.0.0-r1:
> 
> >>> Source configured.
> >>> Compiling source in /var/tmp/portage/dev-ruby/builder-3.0.0-r1/work ...
>  * Running compile phase for all ...
> WARNING: 'require 'rake/rdoctask'' is deprecated.  Please use 'require
> 'rdoc/task' (in RDoc 2.4.2+)' instead.
>     at /usr/lib64/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
> rake/gempackagetask is deprecated.  Use rubygems/package_task instead
> rm -r html
> rake aborted!
> cannot load such file -- rdoc/rdoc
> 
> Tasks: TOP => rdoc => html/index.html
> 
> 
> Is there any fix?

I hit the error on the next system.
Comment 10 Juergen Rose 2012-05-06 11:33:12 UTC
After removing the doc flag from builder, 'emerge dev-ruby/json' fails with:

rdoc -o doc -t 'JSON Implementation for Ruby' -m README.rdoc README.rdoc lib/json.rb lib/json/add/date.rb lib/json/add/core.rb lib/json/add/struct.rb lib/json/add/symbol.rb lib/json/add/complex.rb lib/json/add/rational.rb lib/json/add/ostruct.rb lib/json/add/bigdecimal.rb lib/json/add/time.rb lib/json/add/range.rb lib/json/add/exception.rb lib/json/add/date_time.rb lib/json/add/regexp.rb lib/json/pure/parser.rb lib/json/pure/generator.rb lib/json/pure.rb lib/json/common.rb lib/json/ext.rb lib/json/version.rb ext/json/ext/parser/parser.c ext/json/ext/generator/generator.c
sh: rdoc: command not found
rake aborted!
Command failed with status (127): [rdoc -o doc -t 'JSON Implementation for Ru...]

Tasks: TOP => doc



rdoc is not yet installed. But why it is not installed as dependency of emerge dev-ruby/json, if the doc flag is set?
Comment 11 Hans de Graaff gentoo-dev Security 2012-05-06 18:09:51 UTC
(In reply to comment #9)

> > >>> Compiling source in /var/tmp/portage/dev-ruby/builder-3.0.0-r1/work ...
> >  * Running compile phase for all ...
> > WARNING: 'require 'rake/rdoctask'' is deprecated.  Please use 'require
> > 'rdoc/task' (in RDoc 2.4.2+)' instead.
> >     at /usr/lib64/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
> > rake/gempackagetask is deprecated.  Use rubygems/package_task instead
> > rm -r html
> > rake aborted!
> > cannot load such file -- rdoc/rdoc

Aha, this is a missing dependency in builder on the rdoc gem (since the rake rdoctask requires that). Now fixed.
Comment 12 Hans de Graaff gentoo-dev Security 2012-05-06 18:10:52 UTC
(In reply to comment #10)
> After removing the doc flag from builder, 'emerge dev-ruby/json' fails with:
> 
> rdoc -o doc -t 'JSON Implementation for Ruby' -m README.rdoc README.rdoc
> lib/json.rb lib/json/add/date.rb lib/json/add/core.rb lib/json/add/struct.rb
> lib/json/add/symbol.rb lib/json/add/complex.rb lib/json/add/rational.rb
> lib/json/add/ostruct.rb lib/json/add/bigdecimal.rb lib/json/add/time.rb
> lib/json/add/range.rb lib/json/add/exception.rb lib/json/add/date_time.rb
> lib/json/add/regexp.rb lib/json/pure/parser.rb lib/json/pure/generator.rb
> lib/json/pure.rb lib/json/common.rb lib/json/ext.rb lib/json/version.rb
> ext/json/ext/parser/parser.c ext/json/ext/generator/generator.c
> sh: rdoc: command not found

The rdoc command should be installed as part of dev-lang/ruby (as a symlink to /usr/bin/rdoc18).
Comment 13 Hans de Graaff gentoo-dev Security 2015-07-05 18:19:12 UTC
I'm going to close this bug since it is old and about ruby versions that are no longer in the tree.