Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257648 - sandbox violation on kde-base/libkworkspace-4.2.0
Summary: sandbox violation on kde-base/libkworkspace-4.2.0
Status: RESOLVED DUPLICATE of bug 256589
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-04 18:16 UTC by Stan Sander
Modified: 2009-02-05 13:23 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 Stan Sander 2009-02-04 18:16:57 UTC
When trying to emerge this package a sandbox violation occurs and the ebuild fails.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-4951.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: unlink
S: deny
P: /usr/lib64/python2.5/site-packages/PyKDE4/__init__.pyc
A: /usr/lib64/python2.5/site-packages/PyKDE4/__init__.pyc
R: /usr/lib64/python2.5/site-packages/PyKDE4/__init__.pyc
C: /usr/bin/python /usr/kde/4.2/share/apps/cmake/modules/FindPyKDE4.py
--------------------------------------------------------------------------------

emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1-Stan x86_64)                                                   
=================================================================               
System uname: Linux-2.6.28-gentoo-r1-Stan-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.2.5                                                 
Timestamp of tree: Tue, 03 Feb 2009 15:15:01 +0000                              
app-shells/bash:     3.2_p48                                                    
dev-java/java-config: 1.3.7-r1, 2.1.7                                           
dev-lang/python:     2.5.4-r2                                                   
dev-util/cmake:      2.6.2-r1                                                   
sys-apps/baselayout: 2.0.0                                                      
sys-apps/openrc:     0.4.2                                                      
sys-apps/sandbox:    1.3.3                                                      
sys-devel/autoconf:  2.13, 2.63                                                 
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                  
sys-devel/binutils:  2.19                                                       
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6a                                                     
virtual/os-headers:  2.6.28-r1                                                  
ACCEPT_KEYWORDS="amd64 ~amd64"                                                  
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-march=athlon64 -O2 -pipe"                                              
CHOST="x86_64-pc-linux-gnu"                                                     
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/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/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 /etc/udev/rules.d"                                    
CXXFLAGS="-march=athlon64 -O2 -pipe"                                            
DISTDIR="/usr/portage/distfiles"                                                
EMERGE_DEFAULT_OPTS="--with-bdeps y"                                            
FEATURES="ccache collision-protect distcc distlocks fixpackages nostrip parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"                                                                     
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo  http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"                                                        
LC_ALL="en_US.ISO-8859-1"                                                       
LDFLAGS="-Wl,-O1"                                                               
LINGUAS="en"                                                                    
MAKEOPTS="-j3"                                                                  
PKGDIR="/usr/portage/packages"                                                  
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/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage"                                                   
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"                         
USE="3dnow 3dnowext 64bit X Xaw3d a52 aac aalib abook acl acpi addbookmarks aften afterimage aio akode alias alisp alsa amarok amd amd64 amr amrnb amrwb animgif apache2 archive ares aspell async athena audiofile autoreplace background backtrace bacula-console bash-completion bcmath bdf berkdb big-tables binary-drivers bl bzip2 cairo captury cdaudio cdda cddb cdparanoia cdr cgraph chroot clamav clamd classic cnamefix colordiff compress connectionstatus consolekit contactnotes cracklib cscope css cups cupsddk curl curlwrappers cursors custom-cflags custom-cpuopts cxx dbm dbus designer-plugin dga directfb divx dolby-record-switch dolbyinrec dri dvd dvdr dvdread ecc emovix enca encode etc-proposals exif expat extraengine fame fbcon fbdev fbsplash ffmpeg flac flash fontconfig foomaticdb fpx ftp fusion gcj gd gdbm geoip gif gimp glib glibc-compat20 glibc-omitfp glitz glut glw gmedia gmp gnutls gpg gphoto2 gpm graphviz grub gs gsl gsm gstreamer gtk gtk2-perl hal hardened hddtemp hifieq high-ints highlight htmlhandbook icons id3 id3tag idea ieee1394 image imagemagick imlib imlib2 immqt-bc innodb iodbc ithreads jack jack-tmpfs java java6 javascript jce jfs jpeg jpeg2k kde kdebuild kdecards kdepim kdeprefix kdm kdrive kexi kipi kpathsea ladspa lame largefile largeterminal latex latin1 lcms libcaca libffi libgcrypt libsamplerate libssh2 libwww linuxthreads-tls live lm_sensors logrotate lzo mad max-idx-128 mbox milter mime mmapmmx mmxext mng motif mozilla moznoirc moznopango moznoroaming mozsha1 mp2 mp3 mp3rtp mp4 mp4live mpeg mpeg2 mpi mplayer mplayer-bin multilib multiuser musepackmusicbrainz mysql mysqli nas ncurses nemesi net network network-cron nforce2 nfs nntp nolvm1 normalize normalizemime nosamples nowlistening npp nsplugin nspr nss ntp objc objc++ objc-gc ocrad odbc ofx ogg ogg123 openal openct openexr opengl openssl osc oss pam parport paste64 pcap pdf perl pixmaps plasma player plib pmu png pnm posix postproc postscript povray ppds procmail pth python q32 qt3support qt4 qtdesigner query-browser quicktime readline realmedia replytolist rss rtc samba sdl sdl-image sensord sharedmem sndfile sockets sox speedo spell sql sqlite sqlite3 sse sse2 ssh ssl startup-notification subtitles svg symlink syslog sysvipc taglib tagwriting tcl tesseract threads threadsafe thumbnail tiff tk truetype tunepimp type1 unicode usb utempter vcd vcdx vdr vim vim-pager vim-syntax vorbis wma wmf wmp xanim xattr xcb xcomposite xft xgetdefault xine xinetd xml xorg xpm xrandr xrender xscreensaver xsettings xslt xterm xv xvid xvmc zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop extplugfile hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias authz_host autoindex dir env expires filter headers imagemap include log_config mime mime_magic rewrite setenvif speling vhost_alias substitute unique_id" APACHE2_MPMS="worker" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 larganlg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template topfield toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon r128 ati fbdev"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stan Sander 2009-02-04 18:22:45 UTC
Tried to attach log file but had problems so here it is:

cat /var/log/portage/kde-base:libkworkspace-4.2.0:20090204-180838.log                                                                         
>>> Unpacking source...                                                         
 * Unpacking parts of kdebase-workspace-4.2.0.tar.bz2 to /var/tmp/portage/kde-base/libkworkspace-4.2.0/work ...                                           [ ok ]
>>> Source unpacked in /var/tmp/portage/kde-base/libkworkspace-4.2.0/work       
 * Saving library dependendencies in libkworkspace:4.2 ...                [ ok ]
>>> Configuring source in /var/tmp/portage/kde-base/libkworkspace-4.2.0/work/libkworkspace-4.2.0 ...                                                            
loading initial cache file /var/tmp/portage/kde-base/libkworkspace-4.2.0/temp/gentoo_common_config.cmake                                                        
-- The C compiler identification is GNU                                         
-- The CXX compiler identification is GNU                                       
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc               
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works      
-- Detecting C compiler ABI info                                                
-- Detecting C compiler ABI info - done                                         
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++             
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works    
-- Detecting CXX compiler ABI info                                              
-- Detecting CXX compiler ABI info - done                                       
-- Looking for Q_WS_X11                                                         
-- Looking for Q_WS_X11 - found                                                 
-- Looking for Q_WS_WIN                                                         
-- Looking for Q_WS_WIN - not found.                                            
-- Looking for Q_WS_QWS                                                         
-- Looking for Q_WS_QWS - not found.                                            
-- Looking for Q_WS_MAC                                                         
-- Looking for Q_WS_MAC - not found.                                            
-- Found Qt-Version 4.4.2 (using /usr/bin/qmake)                                
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so 
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found                                                                         
-- Looking for gethostbyname                                                    
-- Looking for gethostbyname - found                                            
-- Looking for connect                                                          
-- Looking for connect - found                                                  
-- Looking for remove                                                           
-- Looking for remove - found                                                   
-- Looking for shmat                                                            
-- Looking for shmat - found                                                    
-- Looking for IceConnectionNumber in ICE                                       
-- Looking for IceConnectionNumber in ICE - found                               
-- Found X11: /usr/lib64/libX11.so                                              
-- Looking for include files CMAKE_HAVE_PTHREAD_H                               
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found                       
-- Looking for pthread_create in pthreads                                       
-- Looking for pthread_create in pthreads - not found                           
-- Looking for pthread_create in pthread                                        
-- Looking for pthread_create in pthread - found                                
-- Found Threads: TRUE                                                          
-- Found Automoc4: /usr/bin/automoc4                                            
-- Found Perl: /usr/bin/perl                                                    
-- Performing Test _OFFT_IS_64BIT                                               
-- Performing Test _OFFT_IS_64BIT - Success                                     
-- Performing Test HAVE_FPIE_SUPPORT                                            
-- Performing Test HAVE_FPIE_SUPPORT - Success                                  
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL                              
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success                    
-- Performing Test __KDE_HAVE_GCC_VISIBILITY                                    
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success                          
-- Phonon Version: 4.3.0                                                        
-- Found Phonon: /usr/lib64/libphonon.so                                        
-- Found Phonon Includes: /usr/include/KDE;/usr/include                         
-- Found KDE 4.2 include dir: /usr/kde/4.2/include                              
-- Found KDE 4.2 library dir: /usr/kde/4.2/lib64                                
-- Found the KDE4 kconfig_compiler preprocessor: /usr/kde/4.2/bin/kconfig_compiler                                                                              
-- Found automoc4: /usr/bin/automoc4                                            
-- Strigi API needs 'signed char'                                               
-- Found Strigi: /usr/lib64/libstreams.so                                       
-- checking for module 'qimageblitz'                                            
--   found qimageblitz, version 4.0.0                                           
-- Found QImageBlitz: /usr/include/qimageblitz                                  
-- Found ZLIB: /lib64/libz.so                                                   
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig      
-- Found GLIB2: /usr/lib64/libglib-2.0.so                                       
-- checking for module 'fontconfig'                                             
--   found fontconfig, version 2.6.0                                            
-- Found Fontconfig: /usr/lib64/libfontconfig.so                                
-- checking for modules 'libggadget-1.0>=0.10.5;libggadget-qt-1.0>=0.10.5'      
--   package 'libggadget-1.0>=0.10.5' not found                                 
--   package 'libggadget-qt-1.0>=0.10.5' not found                              
-- Could NOT find Googlegadgets  (missing:  GOOGLEGADGETS_LIBRARIES GOOGLEGADGETS_INCLUDE_DIRS)                                                                 
-- checking for modules 'eet;qzion>=0.3.0;qedje>=0.3.0'                         
--   package 'eet' not found                                                    
--   package 'qzion>=0.3.0' not found                                           
--   package 'qedje>=0.3.0' not found                                           
-- Could not find QZion and/or QEdje and/or eet. Please download them here (http://dev.openbossa.org/trac/qedje).                                               
-- Could NOT find QEdje  (missing:  QEDJE_LIBRARIES QEDJE_INCLUDE_DIRS)         
-- Found PythonInterp: /usr/bin/python                                          
-- Found Python executable: /usr/bin/python                                     
-- Found Python version: 2.5.4                                                  
-- Found Python library: /usr/lib64/libpython2.5.so                             
-- Found SIP version: 4.7.9                                                     
-- Found PyQt4 version: 4.4.4                                                   
ACCESS DENIED  unlink:    /usr/lib64/python2.5/site-packages/PyKDE4/__init__.pyc
sandbox memory corruption free(0x0000000001dfe640): Invalid argument            
/usr/lib/libsandbox.so[0x7fe80d297a43]                                          
/usr/lib/libsandbox.so[0x7fe80d29671a]                                          
/usr/lib/libsandbox.so[0x7fe80d2976dd]                                          
/usr/lib/libsandbox.so(unlink+0x99)[0x7fe80d29a439]                             
/usr/lib/libpython2.5.so.1.0[0x7fe80cffaa60]                                    
/usr/lib/libpython2.5.so.1.0[0x7fe80cffb725]                                    
/usr/lib/libpython2.5.so.1.0[0x7fe80cffbdfa]                                    
/usr/lib/libpython2.5.so.1.0[0x7fe80cffc081]                                    
/usr/lib/libpython2.5.so.1.0[0x7fe80cffc6ba]                                    
/usr/lib/libpython2.5.so.1.0(PyImport_ImportModuleLevel+0x45)[0x7fe80cffca25]   
/usr/lib/libpython2.5.so.1.0[0x7fe80cfe238d]                                    
/usr/lib/libpython2.5.so.1.0(PyObject_Call+0x67)[0x7fe80cf6ed37]                
/usr/lib/libpython2.5.so.1.0(PyEval_CallObjectWithKeywords+0x71)[0x7fe80cfe2941]
/usr/lib/libpython2.5.so.1.0(PyEval_EvalFrameEx+0x248b)[0x7fe80cfe596b]         
/usr/lib/libpython2.5.so.1.0(PyEval_EvalCodeEx+0x6b5)[0x7fe80cfe9915]           
/usr/lib/libpython2.5.so.1.0(PyEval_EvalCode+0x32)[0x7fe80cfe9af2]              
/usr/lib/libpython2.5.so.1.0[0x7fe80d003c31]                                    
/usr/lib/libpython2.5.so.1.0(PyRun_FileExFlags+0x96)[0x7fe80d003d06]            
/usr/lib/libpython2.5.so.1.0(PyRun_SimpleFileExFlags+0x1c5)[0x7fe80d005275]     
/usr/lib/libpython2.5.so.1.0(Py_Main+0xaca)[0x7fe80d00e71a]                     
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fe80c3325c6]                          
/usr/bin/python[0x400789]                                                       
-- Could not find Soprano includes.                                             
-- Could not find Soprano library.                                              
-- Performing Test PAM_MESSAGE_CONST                                            
-- Performing Test PAM_MESSAGE_CONST - Success                                  
-- Found PAM: /lib64/libpam.so;/usr/lib64/libdl.so                              
-- Looking for getspnam                                                         
-- Looking for getspnam - found                                                 
-- Looking for crypt in crypt                                                   
-- Looking for crypt in crypt - found                                           
-- Looking for include files HAVE_CRYPT_H                                       
-- Looking for include files HAVE_CRYPT_H - found                               
-- Looking for XkbLockModifiers in X11                                          
-- Looking for XkbLockModifiers in X11 - found                                  
-- Looking for getpassphrase                                                    
-- Looking for getpassphrase - not found                                        
-- Looking for vsyslog                                                          
-- Looking for vsyslog - found                                                  
-- Looking for statvfs                                                          
-- Looking for statvfs - found                                                  
-- Looking for include files HAVE_LIMITS_H                                      
-- Looking for include files HAVE_LIMITS_H - found                              
-- Looking for include files HAVE_SYS_TIME_H                                    
-- Looking for include files HAVE_SYS_TIME_H - found                            
-- Looking for include files HAVE_STDINT_H                                      
-- Looking for include files HAVE_STDINT_H - found                              
-- Looking for include files HAVE_SYS_VFS_H                                     
-- Looking for include files HAVE_SYS_VFS_H - found                             
-- Looking for include files HAVE_SYS_STATVFS_H                                 
-- Looking for include files HAVE_SYS_STATVFS_H - found                         
-- Looking for include files HAVE_SYS_PARAM_H                                   
-- Looking for include files HAVE_SYS_PARAM_H - found                           
-- Looking for include files HAVE_SYS_MOUNT_H                                   
-- Looking for include files HAVE_SYS_MOUNT_H - found                           
-- Looking for include files HAVE_SYS_STATFS_H                                  
-- Looking for include files HAVE_SYS_STATFS_H - found                          
-- Looking for statfs                                                           
-- Looking for statfs - found                                                   
-- Looking for sys/types.h                                                      
-- Looking for sys/types.h - found                                              
-- Looking for stddef.h                                                         
-- Looking for stddef.h - found                                                 
-- Check size of struct ucred                                                   
-- Check size of struct ucred - failed                                          
-- Looking for getpeereid                                                       
-- Looking for getpeereid - not found                                           
-- checking for module 'xrandr>=1.2'                                            
--   found xrandr, version 1.2.3                                                
--                                                                              
-----------------------------------------------------------------------------   
-- The following external packages were located on your system.                 
-- This installation will have the extra features provided by these packages.   
+ glib2                                                                         
+ libxss                                                                        
+ libxext                                                                       
-----------------------------------------------------------------------------   
-- The following OPTIONAL packages could NOT be located on your system.         
-- Consider installing them to enable more features from this software.         
+ GoogleGadgets: Google Gadgets library <http://code.google.com/p/google-gadgets-for-linux/>                                                                    
Needed to build plasma scriptengine for google gadgets
+ QEdje: QEdje library <http://dev.openbossa.org/trac/qedje/>
Needed to build plasma scriptengine for edje files
+ Python: KDE Python support <http://techbase.kde.org/Development/Languages/Python>
Needed to build plasma scriptengine for Python
+ Soprano: Semantic Desktop Storing <>
Soprano is needed for Nepomuk
+ Nepomuk: Nepomuk Libraries <kdelibs>
Required to build Nepomuk features.
-----------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-base/libkworkspace-4.2.0/work/libkworkspace_build
>>> Source configured.
Comment 2 Ed Catmur 2009-02-05 00:24:29 UTC
Duplicate of bug 256589.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-05 13:23:36 UTC

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