Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394659 - app-office/libreoffice-3.4.99.1-r1 ACCESS VIOLATION in mkdir /root/.kde4
Summary: app-office/libreoffice-3.4.99.1-r1 ACCESS VIOLATION in mkdir /root/.kde4
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 396481 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-14 10:26 UTC by Johannes Hirte
Modified: 2012-02-26 22:39 UTC (History)
8 users (show)

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


Attachments
Stunning error dialogue (libreoffice issue.png,15.10 KB, image/png)
2011-12-23 18:42 UTC, sulfinu
Details
sandbox-14753.log (sandbox-14753.log,3.06 KB, text/plain)
2011-12-25 13:53 UTC, Alon Bar-Lev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Hirte 2011-12-14 10:26:23 UTC
libreoffice-3.4.99.1-r1 installation results in an access violation:

/var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/work/libreoffice-core-3.4.99.1/bin/distro-install-sdk
/var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/work/libreoffice-core-3.4.99.1/bin/distro-install-file-lists
Generating package file lists for Gentoo Foundation...
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/work/libreoffice-core-3.4.99.1'
>>> Completed installing libreoffice-3.4.99.1-r1 into /var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-4542.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 
--------------------------------------------------------------------------------
 * QA Notice: make jobserver unavailable:
 * 
 *      make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-6  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea6"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge app-office/libreoffice-3.4.99.1-r1, Log file:

>>>  '/var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/temp/build.log'

 * Messages for package app-office/libreoffice-3.4.99.1-r1:

 * If you want the LibreOffice systray quickstarter to work
 * activate the 'gtk' use flag.


emerge --info
Portage 2.2.0_alpha80 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r1, 3.2.0-rc5 x86_64)
=================================================================
System uname: Linux-3.2.0-rc5-x86_64-AMD_Athlon-tm-_II_P320_Dual-Core_Processor-with-gentoo-2.1
Timestamp of tree: Tue, 13 Dec 2011 20:30:01 +0000
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.11.1-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.6-r1, 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-r1
Repositories: gentoo x11 kde eva local
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 googleearth Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -pipe"
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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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="-O2 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/kde /usr/local/portage/layman/eva /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl addressbook alsa amd64 amr apng assistant attica audiofile berkdb bluetooth bzip2 cairo calendar caps caps-ng cdda cddb chm cli consolekit cracklib crypt cups cvs cxx dbus declarative desktopglobe device-mapper dirac djvu dri dts dv dvd ebook eigen embedded encode exif faac faad fam ffmpeg fftw flac fontconfig fortran fpx gdbm gif git gles gles2 gmp gpm graphicsmagick graphviz gs hdri iconv icu id3tag inotify ipv6 jpeg jpeg2k kate kde kipi kpathsea lame latex lcms libffi liblockfile libsamplerate lm_sensors lzma lzo mad midi minizip mjpeg mmap mmx mng modules mp3 mp4 mpeg mudflap multilib musicbrainz mysql ncurses networkmanager nls nptl nptlonly ogg okteta openexr opengl openmp oscar otr pam panorama pcre pdf pdfimport perl plasma png policykit pppd pyqt4 python python3 qt3support qt4 quicktime raw readline redeyes rle samba scanner schroedinger semantic-desktop session sndfile soundtouch spell sqlite sqlite3 sse sse2 sse3 ssl subversion svg sysfs system-sqlite taglib tcpd theora threads tiff truetype twolame udis86 unicode usb v4l vamp vlc vorbis vpx webkit webp wmf x264 xattr xcomposite xetex xine xml xmp xorg xscreensaver xv xvid yaz 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="braindump flow karbon kpresenter krita tables words" 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" LINGUAS="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="net snapscan" USERLAND="GNU" VIDEO_CARDS="r600 radeon" 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


Reproducible: Always
Comment 1 Patrick Lauer gentoo-dev 2011-12-15 07:07:57 UTC
Here's some more context how it happens:

[ build CUT ] writerfilter_rtftok
/bin/sh: line 1:  3067 Aborted                 LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite DBGSV_ERROR_OUT=shell STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_hwpfilter_test_hwpfilter.so --protector unoexceptionprotector.so unoexceptionprotector "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry" "-env:UNO_TYPES= file://$O/bin/udkapi.rdb  file://$O/bin/types.rdb" "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb  file://$W/ComponentTarget/hwpfilter/source/hwp.component  file://$O/xml/configmgr.component  file://$O/xml/ucb1.component  file://$O/xml/ucpfile1.component" -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib > $W/CppunitTest/hwpfilter_test_hwpfilter.test.log 2>&1
/bin/sh: line 1:  3106 Aborted                 LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite DBGSV_ERROR_OUT=shell STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_writerfilter_rtftok.so --protector unoexceptionprotector.so unoexceptionprotector "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry" "-env:UNO_TYPES= file://$O/bin/udkapi.rdb  file://$O/bin/types.rdb" "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb  file://$W/ComponentTarget/writerfilter/util/writerfilter.component  file://$O/xml/configmgr.component  file://$O/xml/ucb1.component  file://$O/xml/ucpfile1.component" -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib > $W/CppunitTest/writerfilter_rtftok.test.log 2>&1
I18N: Operating system doesn't support locale "en_US"
ACCESS DENIED  mkdir:        /root/.kde4
mkdir failed: : Permission denied
Comment 2 Piotr 2011-12-17 01:16:06 UTC
Same here.
Comment 3 Patrick Holthaus 2011-12-21 08:34:16 UTC
Not only affects amd64. I can confirm it for x86.
Comment 4 sulfinu 2011-12-23 09:41:37 UTC
The same happens to me on this machine:

Portage 2.1.10.41 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r1, 3.1.5-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.5-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-2.1
Timestamp of tree: Thu, 22 Dec 2011 14: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.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.11.1-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r1
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-r1

But I do not understand why other users didn't notice something else: during LibreOffice emerge a dialog window shows up and says that some file in /var/tmp/portage/app-office/libreoffice-... could not be found. Why a graphical notification??
If you acknowlegde the message, the installing process goes on and at the end produces a sandbox violation related to /root/.kde4 symlinks (??).
This bug could be triggered by the "kde" use flag. Does this ebuild try to alter the KDE settings of the current user (root) ?!

I also want to add that 3.4.99.2 gives the same pitiful result, just like 3.4.99.1 did.
Comment 5 sulfinu 2011-12-23 18:42:00 UTC
Created attachment 296773 [details]
Stunning error dialogue

I've manage to compile and successfully install LibreOffice 3.4.99.2 by doing
something like:
MAKEOPTS="-j1" emerge libreoffice

The error dialogue complaining about missing files from a hypothetical ~/.kde4
folder still shows up.
Comment 6 Alon Bar-Lev 2011-12-25 13:53:10 UTC
Much more sandbox violations for me.
I use app-office/libreoffice-3.4.99.2.

Also the dialog box of attachment#296773 [details] is still presented...
Comment 7 Alon Bar-Lev 2011-12-25 13:53:43 UTC
Created attachment 296921 [details]
sandbox-14753.log
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-30 03:50:21 UTC
*** Bug 396481 has been marked as a duplicate of this bug. ***
Comment 9 Tolga Dalman 2011-12-30 13:37:28 UTC
I suspect this error only occurs when USE=kde is set. The error does not occur on my machines (built yesterday, both with USE='-kde').
Comment 10 Silvio 2011-12-31 08:14:52 UTC
(In reply to comment #9)
> I suspect this error only occurs when USE=kde is set. The error does not occur
> on my machines (built yesterday, both with USE='-kde').

Ii is not necessary to change USE to -kde.

For me it was enaugh to compile libreoffice switching off kde and kdm and compile libreoffice in shell command.

1. logoff in kde

2. CRTL+ALT+F1

3. login as root

4. /etc/init-d/xdm stop

5. emerge libreoffice

6. /etc/init-d/xdm start

7. login in kde
Comment 11 David 2012-02-09 03:39:53 UTC
libreoffice-3.4.99.1-r1 is no longer in the Portage tree.   Can this bug be closed?
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2012-02-26 22:39:30 UTC
(In reply to comment #11)
> libreoffice-3.4.99.1-r1 is no longer in the Portage tree.   Can this bug be
> closed?

Yes.