Bug 33558 - dev-ruby/rdtools 0.6.14 still depends on dev-ruby/amstd
Bug#: 33558 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: ruby@gentoo.org Reported By: kurt.hindenburg@gmail.com
Component: Ebuilds
URL: 
Summary: dev-ruby/rdtools 0.6.14 still depends on dev-ruby/amstd
Keywords:  
Status Whiteboard: 
Opened: 2003-11-15 08:22 0000
Description:   Opened: 2003-11-15 08:22 0000
The 0.6.14 (testing) ebuild removes the depend for amstd.  Not sure why... The
0.6.11* ebuild have the depend.


Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge rdtool
2.
3.

Actual Results:  
 * running econf for ruby ;)
extconf.rb:7:in `require': No such file to load -- amstd/rbparams (LoadError)
        from extconf.rb:7

!!! ERROR: dev-ruby/rdtool-0.6.14 failed.
!!! Function erubyconf, Line 76, Exitcode 1
!!! extconf.rb failed



Expected Results:  



Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache userpriv notitles"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.noved.org/
http://gentoo.seren.com/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ libwww mad mikmod
mpeg ncurses pdflib png quicktime spell xml2 xmms xv zlib gdbm berkdb slang arts
svga sdl gpm tcpd pam perl python esd imlib qt kde opengl mozilla X alsa ssl
truetype gtk2 -gtk mmx 3dnow cups maildir oggvorbis ruby readline -nls -java
-motif cdr -gnome stroke noxpm nls doc ruby18"

[ebuild   R   ] dev-lang/ruby-1.8.0-r1  -socks5 -tcltk +ruby18

------- Comment #1 From Kurt Hindenburg 2003-11-15 08:29:41 0000 -------
Adding "dev-ruby/amstd" to the DEPEND gives me a sandbox violation on rdtool. 
Something not correct here.

Adding >=dev-ruby/racc-1.3 to the DEPEND as well (as in 0.6.11 ebuild) causes
the same sandbox violation.


%ls -l /dev/kmsg
crw-r--r--    1 root     root       1,  11 1969-12-31 19:00 /dev/kmsg

% cat /tmp/sandbox-rdtool-0.6.14-8533.log
open_wr:   /dev/kmsg
open_wr:   /dev/kmsg

------- Comment #2 From Mamoru KOMACHI (RETIRED) 2003-11-16 14:18:51 0000 -------
Thanks for reporting. I added amstd to DEPEND list (racc is now part
of ruby 1.8.0, so you don't need to add it).

It seems you enable userpriv on one hand and sandbox on the other hand,
but from the manpage of make.conf you need to enable usersandbox for
that purpose. Could be userpriv issue?

------- Comment #3 From Kurt Hindenburg 2003-11-16 15:49:23 0000 -------
FEATURES="ccache notitles"
It works fine.

FEATURES="sandbox ccache userpriv usersandbox notitles"
Works fine also.

Maybe something was amiss with my system when I had those sandbox errors...

------- Comment #4 From Mamoru KOMACHI (RETIRED) 2003-11-16 16:07:40 0000 -------
It's good to know that. If you still have any problem with it, please
reopen the bug.