Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 484278

Summary: dev-ruby/rdoc-4.0.1-r1 - uh-oh! RDoc had a problem: no such file to load -- rdoc/erb_partial
Product: Gentoo Linux Reporter: Mark Purtill <gentoo>
Component: [OLD] DevelopmentAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED DUPLICATE    
Severity: normal CC: esigra, jdasmith
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-ruby:rdoc-4.0.1-r1:20130908-182745.log
The ebuild environment file

Description Mark Purtill 2013-09-08 22:22:45 UTC
dev-ruby/rdoc-4.0.1-r1 failed to emerge.

The key error appears to be:

Parsing sources...
100% [113/113]  lib/rdoc/top_level.rb
Generating Darkfish format into /var/tmp/portage/dev-ruby/rdoc-4.0.1-r1/work/all/rdoc-4.0.1/doc...
uh-oh! RDoc had a problem:
no such file to load -- rdoc/erb_partial

This prevent emerge world from completing:

 * One or more packages are either masked or have missing dependencies:
 * 
 *   >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby20] pulled in by:
 *     (dev-lang/ruby-2.0.0_p247-r1::gentoo, installed)


Reproducible: Always

Steps to Reproduce:
1. emerge rdoc
Actual Results:  
Failure as above

Expected Results:  
Successful emerge

!!! 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=""
and of course, the output of emerge --info =rdoc-4.0.1
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
KiB Mem:     6118604 total,    565356 free
KiB Swap:   34459384 total,  34452500 free
Timestamp of tree: Sun, 08 Sep 2013 05:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2, 3.3.0-r1
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.22-r1, 2.23.1
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo gamerlay ubuntu x11 cj-overlay emacs seden sunrise wirelay local_overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3 AdobeFlash-11.x Intel-SDP NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/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=core2 -ggdb -O2 -pipe"
DISTDIR="/home/jumbo/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://buurin/old-distfiles http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.iawnet.sandia.gov/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l16"
PKGDIR="/home/jumbo/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="/home/jumbo/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/ubuntu /var/lib/layman/x11 /var/lib/layman/cj-overlay /var/lib/layman/emacs /var/lib/layman/seden /usr/local/portage/layman/sunrise /usr/local/portage/layman/wirelay /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="CJK X Xaw3d a52 aac aalib acl acpi alsa amd64 anthy bbdb berkdb blender bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cuda cups cxx dbus doc dri dts dvd dvdr emacs emboss encode exif fam ffmpeg firefox flac fontconfig fortran freewnn gdbm gif gimp gpm graphviz gtk iconv icu imagemagick immqt-bc ipv6 jadetex java java6 joystick jpeg kde kdehiddenvisibility lcms ldap libnotify lm_sensors lua mad maildir matroska mbox midi mmx mng modules mp3 mp4 mpeg mplayer mudflap mule multilib ncurses nls nptl nsplugin nvidia ogg opengl openmp pam pango pcre pdf perl pic png policykit ppds qt3support qt4 quicktime readline ruby scanner sdl semantic-desktop session speex spell sse sse2 ssl startup-notification svg tcmalloc tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vcd vdpau vorbis win32codecs wmf wxwidgets x264 xcb xine xinerama xml xv xvid xvmc zlib" ABI_X86="32 64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="karbon krita" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap 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 wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en ja_JP ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia" 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, USE_PYTHON
Comment 1 Mark Purtill 2013-09-08 22:28:37 UTC
Created attachment 358324 [details]
dev-ruby:rdoc-4.0.1-r1:20130908-182745.log
Comment 2 Mark Purtill 2013-09-08 22:29:38 UTC
Created attachment 358326 [details]
The ebuild environment file

The ebuild environment file, mentioned in the log file
Comment 3 Hans de Graaff gentoo-dev Security 2013-09-10 18:36:34 UTC
I can't reproduce this. What version of ruby do you have eselected?
Comment 4 Jonathan Smith 2013-09-17 00:41:34 UTC
I am seeing a similar if not the same bug on my system:

expected outcome: successful emerge

actual outcome: 
...
Parsing sources...
100% [113/113]  lib/rdoc/top_level.rb                                                                                                                      

Generating Darkfish format into /var/tmp/portage/dev-ruby/rdoc-4.0.1-r1/work/all/rdoc-4.0.1/doc...
uh-oh! RDoc had a problem:
no such file to load -- rdoc/erb_partial

I cannot get past here when emerge -uvD world. It has been irritating me for a week or so now.


# emerge --info =rdoc-4.0.1
!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
!!! Repository 'pentoo' is missing masters attribute in '/var/lib/layman/pentoo/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Portage 2.2.1 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.10.7-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.10.7-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:     8184864 total,   1305480 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of tree: Mon, 16 Sep 2013 14:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc[3016] (dcc_trace_version) distcc 3.1 x86_64-pc-linux-gnu; built Mar  9 2013 22:01:16 [disabled]
ccache version 2.4 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.6.6-r2, 2.7.5-r2, 3.2.5-r2
dev-util/ccache:          2.4-r7
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.4.4-r2, 4.4.5, 4.5.2, 4.5.3-r2, 4.5.4, 4.6.2, 4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo pentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm skype-eula AdobeFlash-10.3 AdobeFlash-10 PUEL Oracle-BCLA-JavaSE AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /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/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.ovh.net/gentoo-distfiles/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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/pentoo /usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 apm arts asf avi berkdb bitmap-fonts bluetooth bzip2 cdparanoia cdr cli consolekit cracklib crypt ctype cuda cups cxx dbus directfb doc dri dvd dvdr emul-linux-x86 encode esd fbcondecor ffmpeg firefox flac fortran gaim gdbm gif gnome gphoto2 gtk gtk+ gtk2 iconv imagemagick imap ipv6 jack java javascript jpeg kde kerberos kpathsea lcms ldap libclamav lirc lisa lm_sensors logrotate mad mbox midi mmx mng mod_php modules mono motif mozilla mp3 mpeg mplayer msn mudflap multilib mysql nas ncurses nls nntp nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pda perl png povray python qt qt3support readline real samba sasl scanner sdl session speex spell spl sql sse sse2 ssl subversion svg symlink tcltk tcpd tetex theora threads tiff timidity timidity++ tk truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vcd vdr vorbis wifi win32codecs xine xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="emu10k1 via82xx usb-audio hda-intel" 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 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="dibusb-usb1 dibusb-usb2 usb-dib0700 cx8800" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev fglrx" 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, USE_PYTHON
Comment 5 Jonathan Smith 2013-09-17 00:47:01 UTC
Seems to be resolved by eselecting the latest ruby. I had 18, 19 and 20 on my system.
# eselect ruby list
Available Ruby profiles:
  [1]   ruby18 (with Rubygems) *
  [2]   ruby19 (with Rubygems)
  [3]   ruby20 (with Rubygems)
# eselect ruby set 3
Successfully switched to profile:
  ruby20                    

Then successful merge. Perhaps time to wipe ruby 18 from my system.
Comment 6 Mark Purtill 2013-09-17 05:00:51 UTC
(In reply to Hans de Graaff from comment #3)
> I can't reproduce this. What version of ruby do you have eselected?

It was ruby18.  Changing it to ruby19 allows rdoc to emerge.  I guess only a bug if ruby18 is still supported.
Comment 7 Jonas Stein gentoo-dev 2013-09-28 08:01:06 UTC
same here. 
after 
# eselect ruby set 3 
Successfully switched to profile:
  ruby20    

it worked fine. 
ruby18 was eselected here before.
Comment 8 Hans de Graaff gentoo-dev Security 2013-10-06 06:25:56 UTC
Unfortunately we can't handle dependencies on the specific eselected version of ruby because that is dynamic information. Perhaps we should use a preinst phase to check for this.
Comment 9 Hans de Graaff gentoo-dev Security 2015-07-07 09:09:24 UTC

*** This bug has been marked as a duplicate of bug 551432 ***