Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147074 - require 'rdoc/usage' fails in dev-lang/ruby-1.8.5
Summary: require 'rdoc/usage' fails in dev-lang/ruby-1.8.5
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-10 08:51 UTC by Javier Segura
Modified: 2007-02-04 03:56 UTC (History)
0 users

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


Attachments
ruby-1.8.5-rdoc-fix-gentoo.patch (ruby-1.8.5-rdoc-fix-gentoo.patch,295 bytes, patch)
2006-10-27 15:04 UTC, Russo Luca
Details | Diff
ruby-1.8.5-r3.ebuild (ruby-1.8.5-r3.ebuild,3.79 KB, text/plain)
2006-10-27 15:06 UTC, Russo Luca
Details
ruby-1.8.5-r3.ebuild (ruby-1.8.5-r3.ebuild,3.70 KB, text/plain)
2006-10-27 15:56 UTC, Russo Luca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Segura 2006-09-10 08:51:28 UTC
I have a fail with ruby running this test..
% cat test.rb
#!/usr/bin/ruby -w
require 'rdoc/usage'


% ruby test.rb 

/usr/lib/ruby/1.8/rdoc/ri/ri_options.rb:53: uninitialized constant RI::Paths (NameError)
	from /usr/lib/ruby/1.8/rdoc/usage.rb:72:in `require'
	from /usr/lib/ruby/1.8/rdoc/usage.rb:72
	from test.rb:2:in `require'
	from test.rb:2

The bug is always reproducible and doesn't affect on my x86 machines.



Portage 2.1.1 (default-linux/ppc/ppc32/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 ppc)
=================================================================
System uname: 2.6.17-gentoo-r7 ppc 7447A, altivec supported
Gentoo Base System version 1.12.1
Last Sync: Sun, 10 Sep 2006 11:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE=""
ARCH="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CCACHE_SIZE="512M"
CFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CLEAN_DELAY="3"
COLORFGBG="0;default;15"
COLORTERM="rxvt-xpm"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CROSSCOMPILE_OPTS=""
CVS_RSH="ssh"
CXXFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
DVB_CARDS=""
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose"
EMERGE_WARNING_DELAY="10"
FCDSL_CARDS=""
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
FOO2ZJS_DEVICES=""
FRITZCAPI_CARDS=""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HOME="/root"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/binutils-data/powerpc-unknown-linux-gnu/2.16.1/info:/usr/share/gcc-data/powerpc-unknown-linux-gnu/4.1.1/info"
INPUT_DEVICES="mouse keyboard"
KERNEL="linux"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS=""
LIRC_DEVICES=""
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/powerpc-unknown-linux-gnu/2.16.1/man:/usr/share/gcc-data/powerpc-unknown-linux-gnu/4.1.1/man"
MISDN_CARDS=""
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CALLER="emerge"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/home/jsegura/tmp"
PYTHONPATH="/usr/lib/portage/pym"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/powerpc-unknown-linux-gnu/gcc-bin/4.1.1"
RPMDIR="/usr/portage/rpm"
SHELL="/bin/bash"
SHLVL="5"
STAGE1_USE="unicode nptl nptlonly"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="rxvt-unicode"
USE="ppc X arts bash-completion berkdb bitmap-fonts bonobo cdr cli crypt cups dlloader dri dvd eds elibc_glibc emboss encode esd firefox fortran gif gmail gmailtimestamps gpm imap input_devices_keyboard input_devices_mouse jpeg kernel_linux maildir mikmod mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib png pop pppd python quicktime readline reflection ruby sasl savedconfig sdl session smtp spell spl ssl symlink tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon video_cards_vesa vorbis xml xorg xv zlib"
USER="root"
USERLAND="GNU"
USE_EXPAND="CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults"
VIDEO_CARDS="radeon vesa"
WINDOWID="8388613"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthLFJ1hh"
_="/usr/bin/emerge"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-09-10 09:11:03 UTC
can you file this at the upstream ruby bugs site?  Maybe the core ruby people need to know about this one.
Comment 2 Javier Segura 2006-09-11 13:18:38 UTC
Reported in rubyforge.org.

http://rubyforge.org/tracker/?func=detail&aid=5712&group_id=426&atid=1698
Comment 3 Russo Luca 2006-10-27 15:04:34 UTC
Created attachment 100616 [details, diff]
ruby-1.8.5-rdoc-fix-gentoo.patch

Here a patch to fix the problem
Comment 4 Russo Luca 2006-10-27 15:06:51 UTC
Created attachment 100617 [details]
ruby-1.8.5-r3.ebuild

added ruby-1.8.5-r3.ebuild with ruby-1.8.5-rdoc-fix-gentoo patch
Comment 5 Russo Luca 2006-10-27 15:56:17 UTC
Created attachment 100623 [details]
ruby-1.8.5-r3.ebuild

Sorry.. I have uploaded a wrong ebuild
Here the new one
Comment 6 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2006-12-30 19:50:36 UTC
This bug has been fixed in 1.8.5_p12 with a similiar patch. Is it worth making another revision for 1.8.5_p2?
Comment 7 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2007-02-04 03:56:48 UTC
(In reply to comment #6)
> This bug has been fixed in 1.8.5_p12 with a similiar patch. Is it worth making
> another revision for 1.8.5_p2?
> 

I take no reply to this as "it's not". Marked as WONTFIX