Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97891 - the library path of the stable version of ruby is wrong on a hardened system
Summary: the library path of the stable version of ruby is wrong on a hardened system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-04 04:26 UTC by Petteri Räty (RETIRED)
Modified: 2005-09-22 18:58 UTC (History)
1 user (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 Petteri Räty (RETIRED) gentoo-dev 2005-07-04 04:26:38 UTC
aria shorewall # ruby -e "puts $:"
/lib/ruby/site_ruby/1.8
/lib/ruby/site_ruby/1.8/i686-linux
/lib/ruby/site_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/i686-linux
.

On a normal system:
pena betelgeuse # ruby -e "puts $:"
/usr/lib/ruby/site_ruby/1.8
/usr/lib/ruby/site_ruby/1.8/i686-linux
/usr/lib/ruby/site_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/i686-linux
.

This problem makes for example emerge activesupport to fail. activesupport is
required for rails. 

Reproducible: Always
Steps to Reproduce:
1.ruby -e "puts $:"



aria shorewall # emerge info
Portage 2.0.51.19 (hardened/x86/2.6, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-hardened-r15 i686)
=================================================================
System uname: 2.6.11-hardened-r15 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jul  1 2005, 01:04:40)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/home/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo
http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex acl acpi apache2 bash-completion berkdb bzlib cdr crypt cups
curl dlloader foomaticdb gd gdbm gpm hardened libwww makecheck mmx ncurses nls
nptl pam pic png ppds readline ruby samba sse ssl tcpd tiff unicode usb
userlocales vhosts x86 xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-07-04 04:45:55 UTC
I updated to dev-lang/ruby-1.8.3_pre1 and the problem seems to be fixed. Please,
make a version with these fixes stable as soon as possible. 
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2005-07-10 18:24:46 UTC
I don't know what to fix.  Do you have a suggestion?
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-09-22 18:58:34 UTC
fixed in 1.8.3, will propagate once it goes stable.