Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396687 - media-libs/gegl-0.1.8 emerge fails with 'ACCESS VIOLATION'
Summary: media-libs/gegl-0.1.8 emerge fails with 'ACCESS VIOLATION'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-01 16:34 UTC by Mike Callahan
Modified: 2012-01-02 12:00 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge log (media-libs:gegl-0.1.8:20120101-160822.log,40.12 KB, text/plain)
2012-01-01 16:34 UTC, Mike Callahan
Details
Full build log (darkbasic) (build.log,115.14 KB, text/plain)
2012-01-01 20:59 UTC, darkbasic
Details
Move ebuild to gnome2_environment_reset (gegl-0.1.8-ebuild-sandbox.patch,859 bytes, patch)
2012-01-02 01:12 UTC, Sebastian Pipping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Callahan 2012-01-01 16:34:33 UTC
Created attachment 297539 [details]
emerge log

emerge fails with ACCESS VIOLATION...
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-22701.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: /root/.cache
A: /root/.cache
R: /root/.cache
C: /var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/gegl/tmp-introspectguVrqq/.libs/Gegl-0.1 --introspect-dump=/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/gegl/tmp-introspectguVrqq/functions.txt,/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/gegl/tmp-introspectguVrqq/dump.xml
--------------------------------------------------------------------------------



# emerge --info
Portage 2.2.0_alpha84 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r2, 3.1.6-gentoo x86_64)
=================================================================
System uname: Linux-3.1.6-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8400_@_2.66GHz-with-gentoo-2.1
Timestamp of tree: Sun, 01 Jan 2012 15:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo sunrise local
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /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/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-6"
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 /usr/local/portage/local"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions admin alsa amd64 amr apache2 bash-completion berkdb blender-game bluetooth branding bzip2 cairo cdda cdinstall cdr cli clucene consolekit cracklib crypt cscope css cups cxx dbus declarative device-mapper dga dri dts dvd dvdr emboss encode exif extraengine extrafilters fam ffmpeg firefox flac fontconfig fortran fuse gcj gd gdbm gdu geoip gif glib glibc-compat20 glitz gpm gtk highlight history iconv id3 imagemagick imlib inkjar innodb ipv6 ithreads java java6 javamail javascript jce jpeg jpeg2k kde kde4 kipi kvm lame lcms ldap libnotify lm_sensors lvm lzo mad mbox mjpeg mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib multiuser musepack musicbrainz mysql ncurses network nls nptl nptlonly nsplugin ntfs nvidia obex offensive ogg openal openexr opengl openmp pam pango parted pcre pdf perl phonon php plasma png policykit postgres ppds pppd python qt3support qt4 quicktime rdesktop readline rtc ruby samba sdl semantic-desktop session smp sms sndfile sound spell sql sqlite sqlite3 sse sse2 ssl ssse3 startup-notification statistics subversion svg swat sysfs syslog tcpd texteffect theora threads tiff tk truetype udev unicode usb userlocales vcd vdpau vim-pager vim-syntax vorbis webkit wma wmf x264 xanim xcb xcomposite xine xinerama xinetd xml xorg xosd xscreensaver xulrunner xv xvid xvmc yahoo zip zlib" ALSA_CARDS="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 cgi cgid 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 auth_digest authn_dbd dbd ident imagemap proxy proxy_ajp proxy_balancer proxy_connect proxy_http" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="sony_dsct30 sony_dscf1 sony_dscf55" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-4" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Mikko Koskelin 2012-01-01 17:32:03 UTC
I get the same error.
Comment 2 Juergen Rose 2012-01-01 17:52:36 UTC
Me too.
Comment 3 darkbasic 2012-01-01 19:35:36 UTC
Me too.
Comment 4 Jouni Rinne 2012-01-01 19:36:42 UTC
Me three
Comment 5 Sebastian Pipping gentoo-dev 2012-01-01 20:37:42 UTC
So far I have trouble reproducing the problem.

Any hints are very welcome.
Comment 6 darkbasic 2012-01-01 20:59:02 UTC
Created attachment 297575 [details]
Full build log (darkbasic)

While compiling:
ACCESS DENIED  mkdir:        /root/.cache

laptop ~ # emerge -pv gegl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ~] media-libs/gegl-0.1.8 [0.1.6] USE="cairo exif jpeg mmx png sdl sse svg -debug -ffmpeg -graphviz -introspection% -jpeg2k -lensfun% -lua -openexr -raw -umfpack -v4l" 0 kB

emerge --info

Portage 2.2.0_alpha84 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.2.0-rc6+ x86_64)
=================================================================
System uname: Linux-3.2.0-rc6+-x86_64-Intel-R-_Core-TM-2_Duo_CPU_U9400_@_1.40GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 01 Jan 2012 18:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo kde x11 proaudio gamerlay-stable sunrise darkbasic FireBurn
Installed sets: @kdeadmin-4.7, @kdeartwork-4.7, @kdebase-4.7, @kdegraphics-4.7, @kdemultimedia-4.7, @kdenetwork-4.7, @kdepim-4.7, @kdeutils-4.7
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 PUEL google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
CXXFLAGS="-march=core2 -O2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j2"
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="/var/lib/layman/kde /var/lib/layman/x11 /var/lib/layman/pro-audio /var/lib/layman/gamerlay /var/lib/layman/sunrise /usr/local/portage /usr/local/mesa32"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm graphite gtk iconv ipv6 jack jpeg kde kipi lcms ldap libnotify lv2 mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd pulseaudio qt3support qt4 readline sdl semantic-desktop session spell sse sse2 sse3 sse4.1 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype udev unicode usb vaapi vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Attached full build log.
Comment 7 BillWho 2012-01-01 21:31:12 UTC
me four

>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-9006.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: /root/.cache/gegl-0.1
A: /root/.cache/gegl-0.1
R: /root/.cache/gegl-0.1
C: /var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/gegl/tmp-introspectrfFwiL/.libs/Gegl-0.1 --introspect-dump=/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/gegl/tmp-introspectrfFwiL/functions.txt,/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/gegl/tmp-introspectrfFwiL/dump.xml 
--------------------------------------------------------------------------------

>>> Failed to emerge media-libs/gegl-0.1.8, Log file:

>>>  '/var/tmp/portage/media-libs/gegl-0.1.8/temp/build.log'
gentoo-gateway init.d # cat /var/log/sandbox/sandbox-9006.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: /root/.cache/gegl-0.1
A: /root/.cache/gegl-0.1
R: /root/.cache/gegl-0.1
C: /var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/gegl/tmp-introspectrfFwiL/.libs/Gegl-0.1 --introspect-dump=/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/gegl/tmp-introspectrfFwiL/functions.txt,/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/gegl/tmp-introspectrfFwiL/dump.xml 


gentoo-gateway gegl # emerge --info
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.1.6-gentoo x86_64)
=================================================================
System uname: Linux-3.1.6-gentoo-x86_64-AMD_Phenom-tm-_9150e_Quad-Core_Processor-with-gentoo-2.1
Timestamp of tree: Sun, 01 Jan 2012 18:15:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo x11
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64-sse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-O2 -march=athlon64-sse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://www.cyberuse.com/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ rsync://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.llarian.net/ ftp://gentoo.mirrors.tds.net/gentoo rsync://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.lug.udel.edu/pub/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ ftp://mirror.its.uidaho.edu/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="/var/lib/layman/x11"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apng automount branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dirac doc dri dts dvd dvdr emboss encode exif extras facc fadd fam firefox flac fontconfig fortran gd gdbm gdu gif gnome gpm gtk hddtemp iconv introspection iostats ipv6 java jpeg kdrive lcms ldap libnotify live lm_sensors lock lua lua-cairo lua-imlib lxde mad math mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses network nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio python qt-bundled qt3support qt4 readline rss scanner sdl session sound sox spell sqlite sse sse2 ssl startup-notification static-libs svg sysfs tcpd tiff truetype udev unicode usb utp vorbis x264 xcb xml xorg xulrunner xv xvid xvmc 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Sebastian Pipping gentoo-dev 2012-01-01 22:03:30 UTC
It looks like the issue is the cache of g-ir-scanner.

Related files of dev-libs/gobject-introspection are
- /usr/lib64/gobject-introspection/giscanner/dumper.py
- /usr/lib64/gobject-introspection/giscanner/cachestore.py

Latter checks for an environment variable GI_SCANNER_DISABLE_CACHE.
So I have added this src_compile function to the ebuild now:

  src_compile() {
      # Sandbox workaround (bug #396687)
      GI_SCANNER_DISABLE_CACHE=yes_please default
  }

Please verify that the sync gave you the updated ebuild by running

  # fgrep src_compile /usr/portage/media-libs/gegl/gegl-0.1.8.ebuild

then re-emerge and report back if it's working.  Thanks!



+  01 Jan 2012; Sebastian Pipping <sping@gentoo.org> gegl-0.1.8.ebuild:
+  Hopefully fix sandbox violation (bug #396687)
+
Comment 9 Martijn Schmidt 2012-01-01 22:22:49 UTC
(In reply to comment #8)
> So I have added this src_compile function to the ebuild now:
> 
>   src_compile() {
>       # Sandbox workaround (bug #396687)
>       GI_SCANNER_DISABLE_CACHE=yes_please default
>   }
> 
> Please verify that the sync gave you the updated ebuild by running
> 
>   # fgrep src_compile /usr/portage/media-libs/gegl/gegl-0.1.8.ebuild
> 
> then re-emerge and report back if it's working.  Thanks!

This isn't in the portage tree yet, I even deleted gegl-0.1.8.ebuild and resynced to make sure I have the latest.
Comment 10 Mikko Koskelin 2012-01-01 22:41:16 UTC
(In reply to comment #8)
> It looks like the issue is the cache of g-ir-scanner.
> 
> Related files of dev-libs/gobject-introspection are
> - /usr/lib64/gobject-introspection/giscanner/dumper.py
> - /usr/lib64/gobject-introspection/giscanner/cachestore.py
> 
> Latter checks for an environment variable GI_SCANNER_DISABLE_CACHE.
> So I have added this src_compile function to the ebuild now:
> 
>   src_compile() {
>       # Sandbox workaround (bug #396687)
>       GI_SCANNER_DISABLE_CACHE=yes_please default
>   }
> 
> Please verify that the sync gave you the updated ebuild by running
> 
>   # fgrep src_compile /usr/portage/media-libs/gegl/gegl-0.1.8.ebuild
> 
> then re-emerge and report back if it's working.  Thanks!
> 
> 
> 
> +  01 Jan 2012; Sebastian Pipping <sping@gentoo.org> gegl-0.1.8.ebuild:
> +  Hopefully fix sandbox violation (bug #396687)
> +

Worked for me. Thanks! Synced portage and got the new ebuild.
Comment 11 Mike Callahan 2012-01-01 22:55:19 UTC
(In reply to comment #8)

> Please verify that the sync gave you the updated ebuild by running
> 
>   # fgrep src_compile /usr/portage/media-libs/gegl/gegl-0.1.8.ebuild
> 
> then re-emerge and report back if it's working.  Thanks!
> 

new ebuild compiles and installs fine with "introspection" use flag disabled, but get same access violation occurs (mkdir /root/.cache) when "introspection" is enabled.

This solves the problem for me as introspection isn't in my USE, but others may have trouble.
Comment 12 Sebastian Pipping gentoo-dev 2012-01-01 23:19:48 UTC
(In reply to comment #11)
> new ebuild compiles and installs fine with "introspection" use flag disabled,
> but get same access violation occurs (mkdir /root/.cache) when "introspection"
> is enabled.

Is it the same stage (i.e. compilation) or a different one?


> This solves the problem for me as introspection isn't in my USE, but others may
> have trouble.

In the end I was testing with introspection enabled here already.  Something is happening on your machine that doesn't happen on mine.
Comment 13 Mike Callahan 2012-01-01 23:41:47 UTC
> Is it the same stage (i.e. compilation) or a different one?

Happens in the same place each time (same as original build log).

> In the end I was testing with introspection enabled here already.  Something is
> happening on your machine that doesn't happen on mine.

Does the directory /root/.cache/gegl-0.1/swap exist on your machine?  If I create this directory tree, the ebuild builds just fine with or without introspection enabled.
Comment 14 Sebastian Pipping gentoo-dev 2012-01-01 23:50:18 UTC
(In reply to comment #13)
> Does the directory /root/.cache/gegl-0.1/swap exist on your machine?  If I
> create this directory tree, the ebuild builds just fine with or without
> introspection enabled.

I do not even have folder /root/.cache here.
Comment 15 Martijn Schmidt 2012-01-01 23:59:39 UTC
(In reply to comment #9)
> This isn't in the portage tree yet, I even deleted gegl-0.1.8.ebuild and
> resynced to make sure I have the latest.

It works now, thank you Sebastian!
Comment 16 Mike Callahan 2012-01-02 00:04:00 UTC
> > Does the directory /root/.cache/gegl-0.1/swap exist on your machine?  If I
> > create this directory tree, the ebuild builds just fine with or without
> > introspection enabled.
> 
> I do not even have folder /root/.cache here.

Then I have no idea why it works for you and not me.  I'm willing to do whatever experimentation you would like to suggest, but as I said, the problem is solved for me since introspection is off (and I have a work around if I needed to turn it on for some reason).

Thank you for the fix, and your efforts.
Comment 17 BillWho 2012-01-02 00:09:49 UTC
(In reply to comment #13)
> > Is it the same stage (i.e. compilation) or a different one?
> 
> Happens in the same place each time (same as original build log).
> 
> > In the end I was testing with introspection enabled here already.  Something is
> > happening on your machine that doesn't happen on mine.
> 
> Does the directory /root/.cache/gegl-0.1/swap exist on your machine?  If I
> create this directory tree, the ebuild builds just fine with or without
> introspection enabled.

Just as an FYI I don't know what adding the gegl-0.1/swap directory ultimately  did, but gegl compiled. I had a `/root/.cache' and added 'gegl-0.1/swap' re-synced and all went well.

gentoo-gateway .cache # mkdir -p /root/.cache/gegl-0.1/swap
mkdir: created directory `/root/.cache/gegl-0.1'
mkdir: created directory `/root/.cache/gegl-0.1/swap'

gentoo-gateway .cache # fgrep src_compile /usr/portage/media-libs/gegl/gegl-0.1.8.ebuild
src_compile() {
(In reply to comment #13)
> > Is it the same stage (i.e. compilation) or a different one?
> 
> Happens in the same place each time (same as original build log).
> 
> > In the end I was testing with introspection enabled here already.  Something is
> > happening on your machine that doesn't happen on mine.
> 
> Does the directory /root/.cache/gegl-0.1/swap exist on your machine?  If I
> create this directory tree, the ebuild builds just fine with or without
> introspection enabled.

Just as an FYI I don't know what adding the gegl-0.1/swap directory ultimately 
did, but gegl compiled. I had a `/root/.cache' and added 'gegl-0.1/swap'
re-synced and all went well.

gentoo-gateway .cache # mkdir -p /root/.cache/gegl-0.1/swap
mkdir: created directory `/root/.cache/gegl-0.1'
mkdir: created directory `/root/.cache/gegl-0.1/swap'

gentoo-gateway .cache # fgrep src_compile
/usr/portage/media-libs/gegl/gegl-0.1.8.ebuild
src_compile() {
Comment 18 Sebastian Pipping gentoo-dev 2012-01-02 01:12:16 UTC
Created attachment 297591 [details, diff]
Move ebuild to gnome2_environment_reset

(In reply to comment #16)
> Then I have no idea why it works for you and not me.  I'm willing to do
> whatever experimentation you would like to suggest, but as I said, the problem
> is solved for me since introspection is off (and I have a work around if I
> needed to turn it on for some reason).

There is a function gnome2_environment_reset in the gnome2-utils eclass that I have been pointed to.  The attached patch makes use of that function.  If you can check and report back on that edition, that would be helpful.  If it fails and you don't mind yet another round, try adding "export GI_SCANNER_DISABLE_CACHE=yes_please" to the mix to have both approaches combined.
Comment 19 Mike Callahan 2012-01-02 05:08:20 UTC
> There is a function gnome2_environment_reset in the gnome2-utils eclass that I
> have been pointed to.  The attached patch makes use of that function.  If you
> can check and report back on that edition, that would be helpful.  If it fails
> and you don't mind yet another round, try adding "export
> GI_SCANNER_DISABLE_CACHE=yes_please" to the mix to have both approaches
> combined.

The patch works --the patched ebuild builds and installs fine with and without introspection enabled.  I did not need add the GI_SCANNER_DISABLE_CACHE=yes_please, so that is apparently unnecessary.

Also, in case you were wondering; yes I did remove the /root/.cache/... tree before testing.

Thank you again for your efforts.
Comment 20 Sebastian Pipping gentoo-dev 2012-01-02 12:00:24 UTC
(In reply to comment #19)
> The patch works --the patched ebuild builds and installs fine with and without
> introspection enabled.  I did not need add the
> GI_SCANNER_DISABLE_CACHE=yes_please, so that is apparently unnecessary.
> 
> Also, in case you were wondering; yes I did remove the /root/.cache/... tree
> before testing.

Awesome, thanks for that!


+  02 Jan 2012; Sebastian Pipping <sping@gentoo.org> gegl-0.1.8.ebuild:
+  Fix remaining sandbox issues using gnome2_environment_reset of the
+  gnome2-utils eclass. Idea by Alexandre Rostovtsev (tetromino), testing by
+  Mike Callahan and others. (bug #396687)
+

Closing.