Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303141 - dev-ruby/rubygems-1.3.1-r2: old ebuild might cause sandbox violations
Summary: dev-ruby/rubygems-1.3.1-r2: old ebuild might cause sandbox violations
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
: 303337 303955 304423 304849 305135 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-01 19:52 UTC by Paulo J. Matos
Modified: 2010-02-20 19:21 UTC (History)
4 users (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 Paulo J. Matos 2010-02-01 19:52:22 UTC
racc breaks sandbox during build with ACCESS DENIED warnings.
>>> Emerging (6 of 43) dev-ruby/racc-1.4.6
 * racc-1.4.6.gem RMD160 SHA1 SHA256 size ;-) ...                                                                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                       [ ok ]
 * CPV:  dev-ruby/racc-1.4.6
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib ruby_targets_ruby18 userland_GNU
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file... ...                                                                                                                                                 [ ok ]
 * Unpacking data.tar.gz ...                                                                                                                                                  [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/racc-1.4.6/work
>>> Preparing source in /var/tmp/portage/dev-ruby/racc-1.4.6/work ...
 * Running prepare phase for all ...
 * Applying racc-1.4.6-test-unit.patch ...                                                                                                                                    [ ok ]
 * Running source copy phase for ruby18 ...
 * Running prepare phase for ruby18 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/racc-1.4.6/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/racc-1.4.6/work ...
 * Running compile phase for ruby18 ...
ACCESS DENIED  mkdir:        /usr/lib64/ruby/gems/1.8/doc
ACCESS DENIED  mkdir:        /usr/lib64/ruby/gems/1.8/doc
ACCESS DENIED  mkdir:        /usr/lib64/ruby/gems/1.8/doc
ACCESS DENIED  mkdir:        /usr/lib64/ruby/gems/1.8/doc
(in /var/tmp/portage/dev-ruby/racc-1.4.6/work/ruby18/racc-1.4.6)
fatal: Not a git repository (or any of the parent directories): .git
/usr/bin/ruby18 extconf.rb
ACCESS DENIED  mkdir:        /usr/lib64/ruby/gems/1.8/doc
ACCESS DENIED  mkdir:        /usr/lib64/ruby/gems/1.8/doc
ACCESS DENIED  mkdir:        /usr/lib64/ruby/gems/1.8/doc
ACCESS DENIED  mkdir:        /usr/lib64/ruby/gems/1.8/doc
creating Makefile
make
x86_64-pc-linux-gnu-gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux -I.   -fPIC -march=native -O2 -pipe -fno-strict-aliasing  -fPIC   -c cparse.c
x86_64-pc-linux-gnu-gcc -shared -o cparse.so cparse.o -L. -L/usr/lib64 -Wl,-R/usr/lib64 -L. -Wl,-O1 -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18  -lrt -ldl -lcrypt -lm   -lc
 * Running compile phase for all ...
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-30683.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /usr/lib64/ruby/gems/1.8/doc
A: /usr/lib64/ruby/gems/1.8/doc
R: /usr/lib64/ruby/gems/1.8/doc
C: /usr/bin/ruby18 -S rake build 

F: mkdir
S: deny
P: /usr/lib64/ruby/gems/1.8/doc
A: /usr/lib64/ruby/gems/1.8/doc
R: /usr/lib64/ruby/gems/1.8/doc
C: /usr/bin/ruby18 -S rake build 

F: mkdir
S: deny
P: /usr/lib64/ruby/gems/1.8/doc
A: /usr/lib64/ruby/gems/1.8/doc
R: /usr/lib64/ruby/gems/1.8/doc
C: /usr/bin/ruby18 -S rake build 

F: mkdir
S: deny
P: /usr/lib64/ruby/gems/1.8/doc
A: /usr/lib64/ruby/gems/1.8/doc
R: /usr/lib64/ruby/gems/1.8/doc
C: /usr/bin/ruby18 -S rake build 

F: mkdir
S: deny
P: /usr/lib64/ruby/gems/1.8/doc
A: /usr/lib64/ruby/gems/1.8/doc
R: /usr/lib64/ruby/gems/1.8/doc
C: /usr/bin/ruby18 extconf.rb 

F: mkdir
S: deny
P: /usr/lib64/ruby/gems/1.8/doc
A: /usr/lib64/ruby/gems/1.8/doc
R: /usr/lib64/ruby/gems/1.8/doc
C: /usr/bin/ruby18 extconf.rb 

F: mkdir
S: deny
P: /usr/lib64/ruby/gems/1.8/doc
A: /usr/lib64/ruby/gems/1.8/doc
R: /usr/lib64/ruby/gems/1.8/doc
C: /usr/bin/ruby18 extconf.rb 

F: mkdir
S: deny
P: /usr/lib64/ruby/gems/1.8/doc
A: /usr/lib64/ruby/gems/1.8/doc
R: /usr/lib64/ruby/gems/1.8/doc
C: /usr/bin/ruby18 extconf.rb 
--------------------------------------------------------------------------------

Reproducible: Always




Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.11-r1, 2.6.32-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r2-x86_64-Intel-R-_Pentium-R-_D_CPU_3.40GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 01 Feb 2010 17:15:03 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/X11/xkb /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo "
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en pt de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib acl acpi addressbook alsa amd64 applet auctex autoipd autotrace avahi bash-completion berkdb bluetooth branding bugzilla bzip2 cairo capi caps cdda cddb cdparanoia cdr cdrom chipcard cleartype cli consolekit context cracklib crypt css csv cups cupsddk curl cxx daap dbus deskbar detex disk-partition djvu dri dts dv dvb dvd dvdr dvi dvi2tty dvipdfm ebook ecsteve ecsteve2 eds elf elisp emacs emacs22icons emboss encode evo exchange exif expat extra extra-algorithms extras extratools faac faad fam fat fax ffmpeg fftw firefox firefox3 flac flash flickr fltk fontconfig fontforge foomatic foomaticdb fortran fping fts3 fuse games gconf gdbm ggi gif gimp gmp gnome gnutls gpg gpm graphics graphviz gs gsf gstreamer gtk guile h323 hal hbci humanities iconv id3 imagemagick int64 ipv6 jadetex java java6 javascript jpeg jpeg2k karma kdrive kerberos kpathsea lame latex latex3 ldap libextractor libffi libnotify libssh2 lightning llvm-gcc lua lzo mad md5sum mdnsresponder-compat mikmod mjpeg mmx mng modules mono mozdom mp3 mp4 mpeg mpi mplayer mtp mudflap multilib music mysql nautilus ncurses networking networkmanager nls nntp normalize nptl nptlonly nsplugin ntfs nuv odk ofx ogg omega openal opengl openmp pam pango pcre pdf perl plotutils png policykit postproc ppds pppd preview-latex pstricks publishers python qt3 qt3support qt4 quicktime quotes readline reflection reiser4 reiserfs replaygain replytolist samba scanner schroedinger science sdl server session sip smp sourceview speex spell spl sqlite sqlite3 srtp sse sse2 ssl startup-notification stats subtitles subversion svg swig sysfs t1lib taglib tcl tcpd templates tex tex4ht theora thunar tiff tk toolkit-scroll-bars tracker truetype type3 unicode usb v4l v4l2 vcd vorbis wav webkit wifi wmf wxwidgets x264 xattr xcomposite xft xine xml xmp xorg xulrunner xv xvid zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt de" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa nvidia fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-02-02 01:41:17 UTC
This was a problem with a dev-ruby/rubygems ebuild that was in tree for about two hours, please try re-installing that, it should then work fine :/
Comment 2 Paulo J. Matos 2010-02-02 22:35:31 UTC
I confirm it is ok now. Thanks!
Comment 3 Paulo J. Matos 2010-02-03 09:45:50 UTC
Just a clarification. Was I, the tester, supposed to do the status change of the bug to VERIFIED or should I always leave those changes for gentoo devs?
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-02-09 01:05:58 UTC
*** Bug 303337 has been marked as a duplicate of this bug. ***
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2010-02-14 23:37:27 UTC
*** Bug 303955 has been marked as a duplicate of this bug. ***
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2010-02-14 23:37:51 UTC
*** Bug 304423 has been marked as a duplicate of this bug. ***
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-02-15 14:38:01 UTC
*** Bug 305135 has been marked as a duplicate of this bug. ***
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-02-20 19:21:16 UTC
*** Bug 304849 has been marked as a duplicate of this bug. ***