Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267119 - media-gfx/dcraw-8.86 sandbox violation
Summary: media-gfx/dcraw-8.86 sandbox violation
Status: RESOLVED DUPLICATE of bug 240648
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-22 16:59 UTC by GNUtoo
Modified: 2010-01-06 18:10 UTC (History)
11 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 GNUtoo 2009-04-22 16:59:33 UTC
>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) media-gfx/dcraw-8.86
>>> Downloading 'http://distfiles.gentoo.org/distfiles/dcraw-8.86.tar.bz2'
--2009-04-22 18:58:15--  http://distfiles.gentoo.org/distfiles/dcraw-8.86.tar.bz2
Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.236.52, 64.50.238.52, ...
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 77003 (75K) [application/x-tar]
Saving to: `/usr/portage/distfiles/dcraw-8.86.tar.bz2'

100%[===================================================================================================================================================================================================>] 77,003      96.9K/s   in 0.8s    

2009-04-22 18:58:16 (96.9 KB/s) - `/usr/portage/distfiles/dcraw-8.86.tar.bz2' saved [77003/77003]

 * dcraw-8.86.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking dcraw-8.86.tar.bz2 to /var/tmp/portage/media-gfx/dcraw-8.86/work
>>> Source unpacked in /var/tmp/portage/media-gfx/dcraw-8.86/work
>>> Compiling source in /var/tmp/portage/media-gfx/dcraw-8.86/work/dcraw-8.86 ...
make -j2 CC=i686-pc-linux-gnu-gcc 
i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -g -Wall -I/usr/include -I/usr/include/lcms  -o dcraw dcraw.c -lm -llcms -ljpeg
i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -g -Wall -I/usr/include -I/usr/include/lcms  -o dcparse parse.c
i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -o rawphoto rawphoto.c  -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   
>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/dcraw-8.86

>>> Install dcraw-8.86 into /var/tmp/portage/media-gfx/dcraw-8.86/image/ category media-gfx
make -j2 DESTDIR=/var/tmp/portage/media-gfx/dcraw-8.86/image/ install 
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.86/image//usr/bin
/usr/bin/install dcraw /var/tmp/portage/media-gfx/dcraw-8.86/image//usr/bin
/usr/bin/install dcparse /var/tmp/portage/media-gfx/dcraw-8.86/image//usr/bin
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.86/image//usr/share/man/man1
/usr/bin/install dcraw.1 /var/tmp/portage/media-gfx/dcraw-8.86/image//usr/share/man/man1
cp rawphoto /usr/lib/gimp/2.0/plug-ins
ACCESS DENIED  open_wr:   /usr/lib/gimp/2.0/plug-ins/rawphoto
cp: cannot create regular file `/usr/lib/gimp/2.0/plug-ins/rawphoto': Permission denied
>>> Completed installing dcraw-8.86 into /var/tmp/portage/media-gfx/dcraw-8.86/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-28492.log"

open_wr:   /usr/lib/gimp/2.0/plug-ins/rawphoto
--------------------------------------------------------------------------------

>>> Failed to emerge media-gfx/dcraw-8.86

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.



Reproducible: Always
Comment 1 Gordon Malm (RETIRED) gentoo-dev 2009-04-23 03:43:35 UTC
Original bug reporter, please post your emerge --info.

Problem also occurs on =media-gfx/dcraw-8.73.

emerge --info
Portage 2.1.6.7 (hardened/x86, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28-hardened-r7-2009040101 i686)
=================================================================
System uname: Linux-2.6.28-hardened-r7-2009040101-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.1.3
Timestamp of tree: Sun, 19 Apr 2009 19:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -fomit-frame-pointer -fno-ident -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -fomit-frame-pointer -fno-ident -pipe"
DISTDIR="/var/cache/portage/distfiles"
FEATURES="distclean distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1,--hash-style=gnu"
LINGUAS="en en_US en_GB"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress --exclude-from=/etc/portage/rsync_excludes"
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/portage/local/layman/sunrise /usr/local/portage"
SYNC="Can't SYNC, using NFS!"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi adns alsa ao apache2 audiofile audit bash-completion bcmath berkdb bidi blas bluetooth bzip2 cairo calendar canna caps cdb cddb cdinstall cdparanoia cdr cjk clamav cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx dbm dbus dbx dedicated directfb djvu doc dri dts dv dvb dvd dvdr dvdread encode enscript evo exif expat fam fbcon ffmpeg fftw firefox flac flash flatfile fltk fontconfig foomaticdb fortran freetds freewnn ftp gcj gd gdbm geoip ggi gif gimp ginac glut gmp gnome gnuplot gnutls gphoto2 gpm gps graphviz gsl gstreamer gtk gtkhtml guile hal hardened hddtemp hdf5 iconv idn ieee1394 imagemagick imap imlib inifile ipod ipv6 jack java java5 java6 javascript jbig joystick jpeg jpeg2k kde kdeprefix kerberos ladspa lame lapack lash latex lcms ldap libcaca libgda libnotify libsamplerate libwww lirc lm_sensors logrotate lua lzo mad maildir mailwrapper matroska mbox memlimit mhash midi mikmod mime mmap mmx mmxext mng modplug mono motif mp3 mpeg mpi mplayer mtp musepack musicbrainz nas ncurses neXt netboot netcdf nis nls nntp nocd nptl nptlonly nsplugin ocaml ocamlopt offensive ofx ogg openal openexr opengl openmp osc pam pcntl pcre pda pdf perl php pic plotutils png portaudio posix ppds pulseaudio python qdbm qt3 qt4 quicktime radius rdesktop readline recode rss ruby samba sasl scanner sdl seamonkey session sftp sharedext sharedmem shorten simplexml skey slang slp smartcard smp sndfile snmp soap sockets socks5 sox speex spell spl sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion svg svga syslog sysvipc szip taglib tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype unicode urandom usb v4l v4l2 vcd vhosts videos vim-syntax vnc vorbis wavpack wddx wifi win32codecs wma wmf wxwindows x264 x86 xattr xcomposite xface xine xinerama xinetd xml xmlrpc xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc yaz zlib" ALSA_CARDS="ca0106 emu10k1 intel8x0" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB" USERLAND="GNU" VIDEO_CARDS="apm dummy fbdev nv nvidia v4l vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Gordon Malm (RETIRED) gentoo-dev 2009-04-23 03:52:01 UTC
Probably a dupe of bug #240648.
Comment 3 Nico Baggus 2009-06-15 13:14:08 UTC
During a emerge -e world the following happened for which a patch has been proposed in:
 http://bugs.gentoo.org/show_bug.cgi?id=222635
 appearantly there are no correct ebuilds for dcraw available.

Error message:
---8<---
>>> Install dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/ category media-gfx
make DESTDIR=/var/tmp/portage/media-gfx/dcraw-8.73/image/ install
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcraw /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcparse /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
/usr/bin/install dcraw.1 /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
cp rawphoto /usr/lib/gimp/2.0/plug-ins
ACCESS DENIED  open_wr:      /usr/lib/gimp/2.0/plug-ins/rawphoto
cp: cannot create regular file `/usr/lib/gimp/2.0/plug-ins/rawphoto': Permission denied
>>> Completed installing dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-6624.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: open_wr
S: deny
P: /usr/lib/gimp/2.0/plug-ins/rawphoto
A: /usr/lib/gimp/2.0/plug-ins/rawphoto
R: /usr/lib/gimp/2.0/plug-ins/rawphoto
C: cp rawphoto /usr/lib/gimp/2.0/plug-ins
--------------------------------------------------------------------------------
---8<---
Comment 4 Frank Goubert 2009-08-22 13:16:24 UTC
Same sandbox violation here.
Comment 5 Frank Goubert 2009-08-22 20:07:57 UTC
(In reply to comment #2)
> Probably a dupe of bug #240648.
> 

That's possible. Emerge of media-gfx/dcraw-8.86 succeeded with USE="-gimp".
Comment 6 Edward Middleton 2009-09-02 17:13:56 UTC
(In reply to comment #5)
> (In reply to comment #2)
> > Probably a dupe of bug #240648.

I have added a dcraw ebuild fix to bug #240648.

Comment 7 Lebedev Roman 2009-09-17 18:47:51 UTC
Same here.
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2009-12-13 08:55:11 UTC
This is duplicate. Anyway, should be fixed in 8.98.

*** This bug has been marked as a duplicate of bug 240648 ***