Created attachment 396922 [details] sandbox.log Libreoffice fails to build with sandbox access violation. Env: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" Relevant part of log: (null)*(null) --------------------------- ACCESS VIOLATION SUMMARY --------------------------- (null)*(null) LOG FILE: "/var/log/sandbox/sandbox-7620.log" (null)*(null) 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: /dev/dri/card0 A: /dev/dri/card0 R: /dev/dri/card0 C: /var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/instdir/program/gengal.bin -env:BRAND_BASE_DIR=file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/instdir -env:CONFIGURATION_LAYERS=xcsxcu:file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/instdir/share/registry -env:UNO_SERVICES=file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/Rdb/ure/services.rdb file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/comphelper/util/comphelp.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/configmgr/source/configmgr.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/drawinglayer/drawinglayer.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/framework/util/fwk.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/i18npool/util/i18npool.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/package/source/xstor/xstor.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/package/util/package2.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/sax/source/expatwrap/expwrap.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/sfx2/util/sfx.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/svgio/svgio.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/svx/util/svx.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/svx/util/svxcore.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/ucb/source/core/ucb1.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/ucb/source/ucp/file/ucpfile1.component file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/ComponentTarget/unoxml/source/service/unoxml.component -env:UNO_TYPES= file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/instdir/program/types/offapi.rdb file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/instdir/ure/share/misc/types.rdb -env:URE_INTERNAL_LIB_DIR=file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/instdir/ure/lib -env:LO_LIB_DIR=file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/instdir/program --build-tree --destdir file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/extras/source/gallery --name arrows --path /var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3/workdir/Gallery/arrows --filenames file:///var/tmp/portage/portage/app-office/libreoffice-4.4.0.3/temp/gbuild.6XUVl9 Full log attached.
Created attachment 396924 [details] emerge --info =libreoffice-4.4.0.3
Seems to be the same as bug 501508 Workaround that worked for me: ebuild /usr/portage/app-office/libreoffice/libreoffice-4.4.0.3.ebuild install ebuild /usr/portage/app-office/libreoffice/libreoffice-4.4.0.3.ebuild qmerge
(In reply to arve.barsnes@gmail.com from comment #2) > Seems to be the same as bug 501508 > > Workaround that worked for me: > > ebuild /usr/portage/app-office/libreoffice/libreoffice-4.4.0.3.ebuild install > ebuild /usr/portage/app-office/libreoffice/libreoffice-4.4.0.3.ebuild qmerge Thanks, the workaround did it for me.
I can confirm this bug. # emerge --info =libreoffice-4.4.0.3 Portage 2.2.17 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r2, 3.19.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.19.0-gentoo-x86_64-AMD_Athlon-tm-_II_X4_640_Processor-with-gentoo-2.2 KiB Mem: 8178336 total, 162052 free KiB Swap: 2097148 total, 2096800 free Timestamp of repository gentoo: Sat, 21 Feb 2015 18:30:01 +0000 sh bash 4.3_p33-r1 ld GNU ld (Gentoo 2.25 p1.0) 2.25 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.3_p33-r1::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r2::gentoo, 3.3.5-r1::gentoo dev-util/cmake: 3.1.0::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.11::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.15::gentoo sys-devel/binutils: 2.25::gentoo sys-devel/gcc: 4.8.4::gentoo, 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 crossdev location: /usr/crossdev masters: gentoo priority: 0 lilrc location: /home/kalle/lilrc-overlay masters: gentoo priority: 1 proaudio location: /home/kalle/proaudio masters: gentoo priority: 2 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=amdfam10" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=amdfam10" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --binpkg-changed-deps=y --binpkg-respect-use=y --with-bdeps=y --usepkg-exclude app-emulation/virtualbox-modules --usepkg-exclude sys-fs/vhba --getbinpkg=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/gentoo" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac alloca alsa amd64 aspell bindist cairo caps cd cdda cddb cdr consolekit cracklib crypt cups curl dri drm dssi dvd dvdr exif ffmpeg fftw flac fltk gallium gif gimp glib gmp gnuplot gnutls gstreamer gtk gtk2 gtkstyle gudev hwdb imap inotify jack javascript jit jpeg keymap ladspa lame libkms libnotify libsamplerate mad mp3 mpeg netifrc nptl ogg opengl openmp openrc orc pam pdf png policykit qt3support qt4 readline spell ssl startup-notification subversion svg svn theora threads thunar tiff truetype udev udisks unicode usb v4l vlc vorbis webgl x264 xcb xcomposite xinerama xorg xscreensaver zlib" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3 sse4_1" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en en_GB" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="nouveau" XFCE_PLUGINS="trash" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
GENTOO_VM=icedtea-7 CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea7" JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="" I get the same sandbox violations, so I omit those logs.
I can confirm that the workaround works.
fix added in 4.4.0 and later