public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73
@ 2010-02-21 22:52 John H. Moe
  2010-02-22 16:30 ` Arttu V.
  0 siblings, 1 reply; 3+ messages in thread
From: John H. Moe @ 2010-02-21 22:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2289 bytes --]

When trying to emerge the Thunar thumbnailer plugin, it pulls in dcraw. 
However, after successfully compiling dcraw, I get the following error
when make gets to the install phase:

**************************************************

>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/dcraw-8.73

>>> Install dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/
category media-gfx
make -j5 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-9890.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
--------------------------------------------------------------------------------

>>> Failed to emerge media-gfx/dcraw-8.73, Log file:

>>>  '/var/tmp/portage/media-gfx/dcraw-8.73/temp/build.log'

**************************************************

From the looks of things, it's trying to install a file directly to the
filesystem outside the /var/tmp sandbox.  I believe this is a bug that
needs reporting, but before I did that, I thought I'd check to be sure
it wasn't something I was doing wrong.  Can can someone more
knowledgeable than me advise?

I've attached emerge --info and the full build log file for reference.

John Moe

[-- Attachment #2: emerge-info --]
[-- Type: text/plain, Size: 3893 bytes --]

Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 21 Feb 2010 20:15:02 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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/udev/rules.d"
CXXFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://jhb5970 ftp://ftp.swin.edu.au/gentoo ftp://ftp.planetmirror.com/pub/gentoo"
LANG="en_AU"
LC_ALL="en_AU"
LDFLAGS="-Wl,-O1"
LINGUAS="en_AU en en_GB en_US"
MAKEOPTS="-j5"
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/layman/sunrise"
SYNC="rsync://jhb5970/gentoo-portage"
USE="X a52 aac acl acpi aim alsa apache2 bash-completion berkdb branding bzip2 cdda cddb cdinstall cdr cli cracklib crypt css cups cxx dbus dri dvd dvdr encode exif ffmpeg firefox flac fortran ftp gdbm gif gimp gpm gtk gzip hal hddtemp iconv icq imap jbig joystick jpeg jpeg2k kde libnotify lm_sensors lzo matroska mng modules mp3 mp4 mpeg mplayer msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin offensive ogg openexr opengl openmp oscar pam pcre pdf perl php plasma png pppd python qt3support qt4 quicktime raw rdesktop readline reflection samba semantic-desktop session spl sql ssl startup-notification svg sysfs szip taglib tcpd theora tiff truetype unicode usb v4l v4l2 vcd vnc vorbis wavpack win32codecs wmf x264 x86 xine xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="intel-hda" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en en_GB en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


[-- Attachment #3: build.log --]
[-- Type: text/plain, Size: 13561 bytes --]

 ^[[32;01m*^[[0m CPV:  media-gfx/dcraw-8.73
 ^[[32;01m*^[[0m REPO: gentoo
 ^[[32;01m*^[[0m USE:  elibc_glibc gimp kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking dcraw-8.73.tar.bz2 to /var/tmp/portage/media-gfx/dcraw-8.73/work
>>> Source unpacked in /var/tmp/portage/media-gfx/dcraw-8.73/work
>>> Compiling source in /var/tmp/portage/media-gfx/dcraw-8.73/work/dcraw-8.73 ...
make -j5 CC=i686-pc-linux-gnu-gcc 
i686-pc-linux-gnu-gcc -march=native -fomit-frame-pointer -O2 -pipe -g -Wall -I/usr/include -I/usr/include/lcms -lm -ljpeg -llcms -o dcraw dcraw.c
i686-pc-linux-gnu-gcc -march=native -fomit-frame-pointer -O2 -pipe -g -Wall -I/usr/include -I/usr/include/lcms -o dcparse parse.c
parse.c: In function 'get2':
parse.c:54: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'get4':
parse.c:70: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_makernote':
parse.c:214: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:258: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:260: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:262: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_tiff_ifd':
parse.c:339: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
parse.c:342: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
parse.c:345: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
parse.c:392: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:396: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
parse.c: In function 'parse_ciff':
parse.c:517: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_riff':
parse.c:551: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:560: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:566: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_mos':
parse.c:586: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:599: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_rollei':
parse.c:617: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
parse.c: In function 'parse_foveon':
parse.c:699: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_phase_one':
parse.c:843: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:887: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'identify':
parse.c:948: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'get2':
dcraw.c:275: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'get4':
dcraw.c:291: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'canon_has_lowbits':
dcraw.c:704: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'ljpeg_start':
dcraw.c:809: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:812: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:816: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'nikon_is_compressed':
dcraw.c:1100: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'nikon_e2100':
dcraw.c:1134: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'nikon_3700':
dcraw.c:1156: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'minolta_z2':
dcraw.c:1174: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'nikon_e2100_load_raw':
dcraw.c:1209: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'ppm_thumb':
dcraw.c:1263: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:1264: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c: In function 'layer_thumb':
dcraw.c:1279: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'casio_qv5700_load_raw':
dcraw.c:1853: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'sony_load_raw':
dcraw.c:2355: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'foveon_thumb':
dcraw.c:2585: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:2586: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c: In function 'foveon_load_camf':
dcraw.c:2616: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'subtract':
dcraw.c:3272: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'parse_makernote':
dcraw.c:4238: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4298: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4314: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4360: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'get_timestamp':
dcraw.c:4461: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'parse_mos':
dcraw.c:4531: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4543: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4549: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4553: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4555: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4558: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4562: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4566: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c: In function 'parse_tiff_ifd':
dcraw.c:4675: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4678: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
dcraw.c:4681: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
dcraw.c:4708: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
dcraw.c:4720: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4752: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
dcraw.c:4757: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4779: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4783: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4856: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4879: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4960: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4964: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c: In function 'parse_ciff':
dcraw.c:5223: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:5225: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:5227: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'parse_rollei':
dcraw.c:5316: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
dcraw.c: In function 'parse_sinar_ia':
dcraw.c:5357: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:5363: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'parse_phase_one':
dcraw.c:5428: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'parse_riff':
dcraw.c:5508: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:5516: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'guess_byte_order':
dcraw.c:6023: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:6025: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'identify':
dcraw.c:6135: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'apply_profile':
dcraw.c:7162: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:7171: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:7175: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'jpeg_thumb':
dcraw.c:7520: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:7526: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c:7528: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c:7530: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c: In function 'write_ppm_tiff':
dcraw.c:7549: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c:7551: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c:7571: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
i686-pc-linux-gnu-gcc -march=native -fomit-frame-pointer -O2 -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 -Wl,-O1 -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 -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   
rawphoto.c: In function 'load_image':
rawphoto.c:244: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/dcraw-8.73

>>> Install dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/ category media-gfx
make -j5 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
^[[31;01mACCESS DENIED^[[0m  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/

^[[31;01m--------------------------- ACCESS VIOLATION SUMMARY ---------------------------^[[0m
^[[31;01mLOG FILE^[[0m "/var/log/sandbox/sandbox-9890.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 
^[[31;01m--------------------------------------------------------------------------------^[[0m
\a\a\a

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-22 21:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-21 22:52 [gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73 John H. Moe
2010-02-22 16:30 ` Arttu V.
2010-02-22 20:54   ` John H. Moe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox