Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453088 - media-sound/amarok-2.7.1: sandbox access violation
Summary: media-sound/amarok-2.7.1: sandbox access violation
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-20 07:11 UTC by François Valenduc
Modified: 2013-11-24 09:39 UTC (History)
8 users (show)

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


Attachments
build.log file for amarok-2.7.0 (build.log,11.81 KB, text/plain)
2013-01-20 07:12 UTC, François Valenduc
Details
complete build output (build_output.txt,13.81 KB, text/plain)
2013-02-25 16:21 UTC, Till Schäfer
Details
build.log for media-sound/amarok-2.7.0 with access violation (build.log,12.72 KB, text/plain)
2013-04-22 10:17 UTC, Felix Leif Keppmann
Details
environment file for media-sound/amarok-2.7.0 with access violation (environment,150.15 KB, text/plain)
2013-04-22 10:56 UTC, Felix Leif Keppmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description François Valenduc 2013-01-20 07:11:31 UTC
Amarok 2.7.0 fails to build because there is a sandbox violation. build.log will follow;

Reproducible: Always
Comment 1 François Valenduc 2013-01-20 07:12:02 UTC
Created attachment 336184 [details]
build.log file for amarok-2.7.0
Comment 2 François Valenduc 2013-01-21 20:28:16 UTC
Can anybody explains what's happening here ?
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2013-01-22 09:32:56 UTC
Hmm weird, thats not happening for me.

Please paste emerge --info and check your sandbox version. Also if you have testing one try to downgrade the sandbox to stable one.
Comment 4 François Valenduc 2013-01-22 17:07:09 UTC
Here is the output of emerge --info:

Portage 2.1.11.31 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.7.1 x86_64)
=================================================================
System uname: Linux-3.7.1-x86_64-Intel-R-_Core-TM-_i3_CPU_M_350_@_2.27GHz-with-gentoo-2.1
Timestamp of tree: Tue, 22 Jan 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE dlj-1.1 AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/genkernel/arch /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /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 /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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_BE.UTF-8"
LC_ALL="fr_BE.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 --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gstreamer gtk iconv ipv6 java jpeg kde kpathsea lcms libnotify lzma mad midi mmx mng modules mp3 mp4 mpeg mudflap multilib musicbrainz ncurses nls nptl nsplugin ogg opengl openmp oss pam pango pcre pdf png policykit ppds qt3support qt4 readline samba scanner sdl semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l2 vim-syntax vorbis wxwidgets xcb xml xosd 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="authn_core authz_core socache_shmcb unixd 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 sheets 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="mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel i915" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 François Valenduc 2013-01-22 17:08:40 UTC
I also use the current stable version of sandbox (2.5).
Comment 6 Christian Merkle 2013-01-29 00:20:05 UTC
Same here

Portage 2.1.11.31 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.4, glibc-2.15-r3, 3.7.1 x86_64)
=================================================================
System uname: Linux-3.7.1-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.1
Timestamp of tree: Mon, 28 Jan 2013 21:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
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 --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache apache2 avx berkdb branding bzip2 cairo calendar cdr cli consolekit cracklib crypt cups curl cxx dbus declarative dhclient dhcp dhcpcd dri dts dvd dvdr ebook emboss encode exif fam firefox flac fortran g3dvl gd gdbm geos gif git gpm gtk iconv icu intl ios ipod iproute2 jpeg kde kipi lcms ldap libnotify lzma mad madwifi mmx mng modules mp3 mp4 mpeg mudflap multilib mysql mysqli ncurses netbeans nls nptl ogg opengl openmp openvpn pam pango panorama passwordsave pcre pdf pdo phonon php plasma png policykit postgis postgres ppds qt3support qt4 readline redeyes samba sdl semantic-desktop session spell sql sqlite sqlite3 sse sse2 sse3 sse4_1 sse4a sse5 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vdpau vhosts vim vim-syntax vorbis webkit wifi wma wps wxwidgets x264 xcb xcomposite xinerama xml xrandr xscreensaver 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="authn_core authz_core socache_shmcb unixd 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 sheets 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport java websvccommon php" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 7 Christian Merkle 2013-01-29 00:21:43 UTC
ebuild     U ~] media-sound/amarok-2.7.0:4 [2.6.0:4] USE="embedded ipod opengl semantic-desktop utils -cdda -daap -debug -lastfm -mp3tunes -mtp -ofa {-test%}" LINGUAS="-bs -ca -ca@valencia% -cs -da -de -el -en_GB -es -et -eu -fi -fr% -ga -gl -hu -it -ja -lt -lv -nb -nl -pa -pl -pt -pt_BR -ru -sl -sr -sr@ijekavian% -sr@ijekavianlatin% -sr@latin -sv -uk -zh_CN% -zh_TW" 0 kB
[ebuild   R    ] sys-apps/sandbox-2.5  USE="(multilib)" 348 kB
Comment 8 Codo 2013-02-04 11:06:30 UTC
Same here, pretty much same emerge --info as others.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-19203.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/.kde4
A: /root/.kde4
R: /root/.kde4
C: /usr/lib64/kde4/libexec/lnusertemp cache 
--------------------------------------------------------------------------------

Where is "/usr/lib64/kde4/libexec/lnusertemp cache" coming from?
Comment 9 Zorzo Luca 2013-02-06 06:30:23 UTC
Same problem here; if you move/remove the "/root/.kde4" dir and its links sandbox isn't violated.
Comment 10 Codo 2013-02-14 11:48:25 UTC
Seems like updating to KDE-4.10 has resolved the issue for me.

~ $ equery list -p amarok
 * Searching for amarok ...
[-P-] [  ] media-sound/amarok-2.5.0-r4:4
[-P-] [  ] media-sound/amarok-2.6.0:4
[IP-] [  ] media-sound/amarok-2.7.0:4
~ $
Comment 11 Till Schäfer 2013-02-25 16:15:02 UTC
same problem here with kde 4.10 (see previous post) and stable sandbox (2.5). 


--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-15496.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: symlink
S: deny
P: /root/.kde4/cache-granit
A: /root/.kde4/cache-granit
R: /root/.kde4/cache-granit
C: /usr/lib64/kde4/libexec/lnusertemp cache 

F: unlink
S: deny
P: /root/.kde4/cache-granit
A: /root/.kde4/cache-granit
R: /root/.kde4/cache-granit
C: /usr/lib64/kde4/libexec/lnusertemp cache 

F: symlink
S: deny
P: /root/.kde4/cache-granit
A: /root/.kde4/cache-granit
R: /root/.kde4/cache-granit
C: /usr/lib64/kde4/libexec/lnusertemp cache 
--------------------------------------------------------------------------------


# emerge --info
Portage 2.2.0_alpha163 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.7.9-gentoo x86_64)
=================================================================
System uname: Linux-3.7.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.1
KiB Mem:    15990104 total,  12841360 free
KiB Swap:   16801788 total,  16801788 free
Timestamp of tree: Mon, 25 Feb 2013 12:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo local_overlay
Installed sets: @kdeartwork-4.8, @kdebase-4.8, @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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 -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write --jobs --load-average=10.0"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_BZIP2_COMMAND="/usr/bin/pbzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdda cddb cdio cdr cli consolekit cracklib crypt css cups cxx dbus declarative dell dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glib glibc gpm gtk haskell iconv icu id3tag ieee1394 imagemagick inotify ipv4 ipv6 irc java jpeg jpeg2k kde kipi lame latex lcms ldap libnotify libsamplerate lzma mad mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz ncurses nls nptl ntp ogg okteta opengl openmp otr pam pango pcre pdf phonon plasma pm-utils png policykit ppds pulseaudio qemu qt3support qt4 quicktime rar readline rss sdl semantic-desktop session spell spice sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg syslog taglib tcpd threads tiff truetype udev udisks unicode upower usb v41 v412 v4l vaapi vcd vim-syntax visualization vorbis wavpack wifi wma wmf wxwidgets x264 xcb xcomposite xine xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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 sheets 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 12 Till Schäfer 2013-02-25 16:21:08 UTC
Created attachment 340092 [details]
complete build output
Comment 13 Sven Wehner 2013-03-27 14:43:54 UTC
I had similar problem when I tried to emerge amarok-2.7.0, but I had to "fix" it in a different manner:
First, the fix to create /root/.kde* didn't do the job for me. Neither with or without (it didn't exist in the first place) would amarok compile.
But when I tried to emerge from a "su -" environment the problems disappeared. Usually I emerge from a "su" environment (no arguments, hence environment variables are from the user).
I think the problems come from one of these variables KDE_FULL_SESSION, KDE_SESSION_UID or KDE_SESSION_VERSION. Running "unset KDE_FULL_SESSION KDE_SESSION_VERSION KDE_SESSION_UID" within the "su" environment before emerging did the trick.

Can someone verify my "fix"?
And if so, can someone explain to me why these variables make any difference? Shouldn't there be a "clean" environment in the sandbox?
Comment 14 Carsten Böcker 2013-04-11 10:06:57 UTC
Same here:
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: symlink
S: deny
P: /root/.kde4/cache-cb1
A: /root/.kde4/cache-cb1
R: /root/.kde4/cache-cb1
C: /usr/lib64/kde4/libexec/lnusertemp cache 

F: unlink
S: deny
P: /root/.kde4/cache-cb1
A: /root/.kde4/cache-cb1
R: /root/.kde4/cache-cb1
C: /usr/lib64/kde4/libexec/lnusertemp cache 

F: symlink
S: deny
P: /root/.kde4/cache-cb1
A: /root/.kde4/cache-cb1
R: /root/.kde4/cache-cb1
C: /usr/lib64/kde4/libexec/lnusertemp cache 

su-environment in kde 4.10 konsole
After
unset KDE_FULL_SESSION KDE_SESSION_VERSION KDE_SESSION_UID

emerge completed without any error
Comment 15 Andreas N 2013-04-17 17:33:37 UTC
The same for me.
This is the output if i log in as root with just "su":
...
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/media-sound/amarok-2.7.0/work/amarok-2.7.0_build
>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-25095.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: symlink
S: deny
P: /root/.kde4/cache-nubina
A: /root/.kde4/cache-nubina
R: /root/.kde4/cache-nubina
C: /usr/lib64/kde4/libexec/lnusertemp cache 

F: unlink
S: deny
P: /root/.kde4/cache-nubina
A: /root/.kde4/cache-nubina
R: /root/.kde4/cache-nubina
C: /usr/lib64/kde4/libexec/lnusertemp cache 

F: symlink
S: deny
P: /root/.kde4/cache-nubina
A: /root/.kde4/cache-nubina
R: /root/.kde4/cache-nubina
C: /usr/lib64/kde4/libexec/lnusertemp cache 
--------------------------------------------------------------------------------

>>> Failed to emerge media-sound/amarok-2.7.0, Log file:

>>>  '/var/tmp/portage/media-sound/amarok-2.7.0/temp/build.log'
If I log in with "su -" everything goes through independently of the terminal "gnome-terminal/konsole"
Comment 16 Felix Leif Keppmann 2013-04-22 10:14:13 UTC
Same here, new Gentoo installation and KDE 4.10.1 before. I have no .kde folder and/or symlinks in /root/. Emerge was called in Konsole after su. Sandbox is stable 2.5. Build log snippet and emerge info below. Build log attached. Directory /var/tmp is a 12G tmpfs.




-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/media-sound/amarok-2.7.0/work/amarok-2.7.0_build
>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-11023.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/.kde4
A: /root/.kde4
R: /root/.kde4
C: /usr/lib64/kde4/libexec/lnusertemp cache 
--------------------------------------------------------------------------------

>>> Failed to emerge media-sound/amarok-2.7.0, Log file:

>>>  '/var/tmp/portage/media-sound/amarok-2.7.0/temp/build.log'







# emerge --info
Portage 2.2.0_alpha173 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.8.7-gentoo-fekepp x86_64)
=================================================================
System uname: Linux-3.8.7-gentoo-fekepp-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.1
KiB Mem:    16172300 total,  12499228 free
KiB Swap:   25163772 total,  25163772 free
Timestamp of tree: Mon, 22 Apr 2013 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo kde java-overlay
Installed sets: @kde-baseapps, @kdeaccessibility, @kdeadmin, @kdeartwork, @kdebase, @kdebase-runtime, @kdebase-workspace, @kdebindings, @kdeedu, @kdegames, @kdegraphics, @kdelibs, @kdemultimedia, @kdenetwork, @kdeoptional, @kdepim, @kdesdk, @kdetoys, @kdeutils, @kdewebdev
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x googleearth Oracle-BCLA-JavaSE skype-4.0.0.7-copyright TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mneisen.org/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/java-overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apache2 avahi bluetooth bzip2 cairo calendar cdr cjk cli cracklib crypt cups cxx dbus djvu dri dvd encode exif ffmpeg flac fontconfig fortran gd gdbm gphoto2 gpm gps gtk iconv icu ipod ipv6 java jpeg kde latex lzma mad mmap mmx mng modules mp3 mpeg mudflap multilib mysql mysqli ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pcre pdf perl php plasma png policykit postscript python qt4 rdesktop readline samba scanner semantic-desktop session spell sqlite sse sse2 ssl subversion svg taglib tcpd tiff truetype udev unicode vhosts vnc vorbis webkit wifi wmf wxwidgets x264 xinerama xml zlib" ABI_X86="64" ALSA_CARDS="usb-audio" 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="authn_core authz_core socache_shmcb unixd 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 sheets 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, USE_PYTHON
Comment 17 Felix Leif Keppmann 2013-04-22 10:17:33 UTC
Created attachment 346268 [details]
build.log for media-sound/amarok-2.7.0 with access violation
Comment 18 Michael Palimaka (kensington) gentoo-dev 2013-04-22 10:20:51 UTC
Can someone please attach their environment file too? (same directory as build log)
Comment 19 Felix Leif Keppmann 2013-04-22 10:56:37 UTC
Created attachment 346270 [details]
environment file for media-sound/amarok-2.7.0 with access violation

Attached the environment file from same failed build
Comment 20 Michael Palimaka (kensington) gentoo-dev 2013-04-22 11:31:29 UTC
Note that this affects stable.
Comment 21 bender 2013-05-06 05:29:22 UTC
This bug is caused by "utils" use flag. Amarok compiles fine without it.
Comment 22 白川間瀬流 2013-05-12 09:35:44 UTC
(In reply to comment #21)
> This bug is caused by "utils" use flag. Amarok compiles fine without it.

Then this use-flag should be masked until this issue is fixed, such crashes should be prevented as much as possible in a stable system.

Maybe an -r1 ebuild with ~ Keyword where utils is not masked for testing purposes or whatever
Comment 23 Felix Leif Keppmann 2013-05-17 10:06:59 UTC
2.7.1 (keyword) also fails.

If I compile Amarok without "utils" use flag I get an error: "The version of the 'amarokcollectionscanner' tool does not match your Amarok version. Please not that Collection Scanning may not work correctly." Collection scanning does not work at all and I guess its not complied in because of the missing "utils" use flag? Should this be the case then Amarok 2.7.0 should get a keyword too and people downgrade to 2.6.0 because you actually cannot build a media library of your local files but only drag & drop local media files directly in the playlist.

Bug 455446 may be also related, test fail on flameeyes's tinderbox.
Comment 24 白川間瀬流 2013-05-19 07:21:39 UTC
I can confirm this, Amarillo seems to be unusable without this use-flag, everything far from stable and it looks like this ebuild was not tested once bevor getting into the tree as stable
Comment 25 白川間瀬流 2013-05-19 07:22:44 UTC
(In reply to comment #24)
> I can confirm this, Amarillo seems to be unusable without this use-flag,
> everything far from stable and it looks like this ebuild was not tested once
> bevor getting into the tree as stable

Amarok, not Amarillo, stupid auto-correct, sorry
Comment 26 Nick 2013-05-23 15:51:21 UTC
(In reply to comment #13)
> I had similar problem when I tried to emerge amarok-2.7.0, but I had to
> "fix" it in a different manner:
> First, the fix to create /root/.kde* didn't do the job for me. Neither with
> or without (it didn't exist in the first place) would amarok compile.
> But when I tried to emerge from a "su -" environment the problems
> disappeared. Usually I emerge from a "su" environment (no arguments, hence
> environment variables are from the user).
> I think the problems come from one of these variables KDE_FULL_SESSION,
> KDE_SESSION_UID or KDE_SESSION_VERSION. Running "unset KDE_FULL_SESSION
> KDE_SESSION_VERSION KDE_SESSION_UID" within the "su" environment before
> emerging did the trick.
> 
> Can someone verify my "fix"?
> And if so, can someone explain to me why these variables make any
> difference? Shouldn't there be a "clean" environment in the sandbox?

KDE_SESSION_VERSION="" emerge amarok    does the trick for me. But I don't know if this workaround is really good!?
Comment 27 Felix Leif Keppmann 2013-05-24 07:11:36 UTC
KDE_SESSION_VERSION="" emerge amarok

worked for me.
Comment 28 rainer 2013-06-01 08:18:02 UTC
amarok-2.7.1 has the same problem.
Comment 29 Andreas Sturmlechner gentoo-dev 2013-06-01 18:08:38 UTC
Same here on a fresh (and 99% stable) system.

Amarok fails right after configure when trying to build it from inside a KDE session. From inside the fbcon, no problem. Not reproducible on my other system, with the notable difference of sandbox-2.6-r1 instead of 2.5
Comment 30 Johannes Huber (RETIRED) gentoo-dev 2013-11-23 20:26:51 UTC
sys-apps/sandbox-2.6-r1 is stabilized in the meantime. Is this still valid? What about amarok-2.8 which will be stabilized with kde 4.11.2?
Comment 31 Andreas Sturmlechner gentoo-dev 2013-11-24 09:23:01 UTC
No trouble since sandbox-2.6-r1 got stable.
Comment 32 Johannes Huber (RETIRED) gentoo-dev 2013-11-24 09:39:36 UTC
(In reply to Andreas Sturmlechner from comment #31)
> No trouble since sandbox-2.6-r1 got stable.

Thanks.