Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560662 - dev-ruby/rake-10.4.2 - rdoc: command not found
Summary: dev-ruby/rake-10.4.2 - rdoc: command not found
Status: RESOLVED FIXED
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:
: 563284 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-16 18:28 UTC by Juergen Rose
Modified: 2015-11-08 07:29 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,2.80 KB, text/x-log)
2015-09-16 18:28 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2015-09-16 18:28:54 UTC
Created attachment 412074 [details]
build.log

'emerge -uvDN world' fails with:

>>> Compiling source in /var/tmp/portage/dev-ruby/rake-10.4.2/work ...
 * Running compile phase for all ...
/var/tmp/portage/dev-ruby/rake-10.4.2/temp/environment: line 643: rdoc: command not found
 * ERROR: dev-ruby/rake-10.4.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 4328:  Called ruby-ng_src_compile
 *   environment, line 4019:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  558:  Called all_ruby_compile
 *   environment, line  643:  Called die
 * The specific snippet of code:
 *           rdoc --title "Rake - Ruby Make" --main README.rdoc --out html lib *.rdoc doc/*/*.rdoc || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/rake-10.4.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rake-10.4.2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =rake-10.4.2
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rake-10.4.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rake-10.4.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/rake-10.4.2/work/all/rake-10.4.2'
 * S: '/var/tmp/portage/dev-ruby/rake-10.4.2/work/all/rake-10.4.2'

>>> Failed to emerge dev-ruby/rake-10.4.2, Log file:


And I do not have rdoc at this system, i.e. rdoc is not yet installed. I was requested to add the "-doc" to the USE flags of rake.
Should rake depend on rdoc?



root@lynxvirt:/usr/local/portage/sys-apps/sandbox(456)# emerge --info '=dev-ruby/rake-10.4.2::gentoo'
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/x86/13.0, gcc-4.7.3, glibc-2.21-r1, 3.10.1-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.1-gentoo-i686-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     1924208 total,    545076 free
KiB Swap:    4194300 total,   4178208 free
Timestamp of repository gentoo: Wed, 16 Sep 2015 07:30:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.7::x-portage
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.10.3::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.6.3::gentoo, 4.7.3::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage_lynxvirt
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs 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 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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"
USE="X acl admin alsa apng automount bash-completion berkdb bindist boost bzip2 cairo cli cmake consolekit cracklib crypt cups curl cxx dbus djvu doc dot dri emacs exif extra fftw fontconfig fortran fpx fuse gdbm gif gimp git gnome gnome-keyring gnuplot gnutls graphics graphtft graphviz gstreamer gtk gudev hdri hwdb iconv imagemagick ipv6 ithreads jadetex jbig jpeg jpeg2k latex lcms lensfun libkms lzma lzo mercurial mmx modules motif mp3 mp4 ncurses netpbm nls nptl ntp opencv openexr openmp pam pango pcre pdf perl plotutils png policykit postscript preview-latex python q32 qemu raw readline seccomp session sockets sound sse sse2 ssl subversion svg systemd tcl tcpd tex threads tiff tk truetype udev udisks unicode usb vala valgrind webkit wmf x86 xa xemacs xml xpm yaml zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON





root@lynxvirt:/usr/local/portage/sys-apps/sandbox(4598)# emerge -pqv '=dev-ruby/rake-10.4.2::gentoo'
[ebuild  N    ] dev-ruby/rake-10.4.2  USE="doc {-test}" RUBY_TARGETS="ruby20 ruby21 ruby22 -ruby19" 

 * IMPORTANT: 18 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 1 Juergen Rose 2015-09-16 18:30:40 UTC
'USE=doc emerge -v1 rake' works.
Comment 2 Juergen Rose 2015-09-16 18:33:34 UTC
The next error trying 'emerge -uvDN world' is:
...
root@lynxvirt:/usr/local/portage/sys-apps/sandbox(4598)# emerge -pqv '=dev-ruby/rake-10.4.2::gentoo'
[ebuild  N    ] dev-ruby/rake-10.4.2  USE="doc {-test}" RUBY_TARGETS="ruby20 ruby21 ruby22 -ruby19" 

 * IMPORTANT: 18 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 3 Juergen Rose 2015-09-16 18:38:51 UTC
After manually emerging rdoc 'USE=-doc emerge -v1 rdoc' I could also dev-ruby/json-1.8.3.
Comment 4 Hans de Graaff gentoo-dev Security 2015-10-24 07:01:20 UTC
*** Bug 563284 has been marked as a duplicate of this bug. ***
Comment 5 Hans de Graaff gentoo-dev Security 2015-11-08 07:29:08 UTC
This should be fixed in rdoc 4.2.0:

commit 0b2bfcb111c88ad5c82ebf3ae6d83d08eaaf0a35
Author: Hans de Graaff <graaff@gentoo.org>
Date:   Sat Oct 24 08:52:07 2015 +0200

    dev-ruby/rdoc: make sure rdoc exists, bug 562980
    
    Make sure to (re)eselect ruby when the rdoc symlink
    does not exist (anymore), similar to what we do in
    dev-ruby/rubygems.
    
    Package-Manager: portage-2.2.20.1