Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119707 - OpenOffice.org 2.0.1 fails to buld with sandbox access violation
Summary: OpenOffice.org 2.0.1 fails to buld with sandbox access violation
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 09:46 UTC by ProTech
Modified: 2006-01-23 09:08 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 ProTech 2006-01-20 09:46:51 UTC
The end of the emerge:

QA Notice: the following files contain runtime text relocations
 Text relocations require a lot of extra work to be preformed by the
 dynamic linker which will cause serious performance impact on IA-32
 and might not function properly on other architectures hppa for example.
 If you are a programmer please take a closer look at this package and
 consider writing a patch which addresses this problem.
TEXTREL usr/lib/openoffice/program/libvclplug_gen680li.so


QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
RWX --- --- usr/lib/openoffice/program/libgcc3_uno.so

>>> Completed installing openoffice-2.0.1 into /var/tmp/portage/openoffice-2.0.1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-office_-_openoffice-2.0.1-1841.log"

unlink:    /bin/registry_en-US.zip
unlink:    /bin/registry_hu.zip
--------------------------------------------------------------------------------

Linguas setting:
LINGUAS="hu en"

emerge --info:
Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.fsn.hu/pub/linux/distributions/gentoo/ http://gentoo.inf.elte.hu/ http://gentoo.inode.at http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS="hu en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aalib acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cdr crypt cups curl devmap dga doc dts dv dvb dvd dvdr edl eds emacs emboss encode esd ethereal exif expat fam fbcon ffmpeg firefox flac foomaticdb freetype gd gdbm gif glitz glut gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib ipv6 java jce jpeg junit lcms libcaca libg++ libwww mad matroska mhash mikmod mmx mmxext mng mono motif mozilla mozsvg mozxmlterm mp3 mpeg mysql ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png python quicktime readline real recode rtc samba sdl slang spell sse ssl svg symlink tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis win32codecs xanim xml2 xmms xprint xv xvid zlib linguas_hu linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS

The last entry in the OOo ChangeLog file:
  18 Jan 2006; Andreas Proschofsky <suka@gentoo.org>
  -files/2.0.1/noquickstarter.diff, openoffice-2.0.1.ebuild:
  Update to new ooo-build-2.0.1.1 release, mostly containing bugfixes
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2006-01-20 11:57:46 UTC
The first part of the error message is non-harmful, about the sandbox-violation: Actually there shouldn't be a file "/bin/registry_en-US.zip" or "/bin/registry_hu.zip". Are you sure your harddisc didn't fill up at that moment, this can lead to some "funny" side effects.
Comment 2 ProTech 2006-01-20 12:35:45 UTC
I currently have 800 MB free space in /var plus the 4.2GB openoffice build left from the last emerge:

gaya ~ # cd /var/tmp/portage
gaya portage # du -s openoffice-2.0.1
4205518 openoffice-2.0.1
gaya portage # df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda6              1028092    623856    404236  61% /
/dev/mapper/gentoo-home
                        409580    295456    114124  73% /home
/dev/mapper/gentoo-usr
                       8388348   7475216    913132  90% /usr
/dev/mapper/gentoo-var
                       5033824   4220564    813260  84% /var
/dev/mapper/gentoo-opt
                       1048540    341040    707500  33% /opt
Comment 3 ProTech 2006-01-20 12:49:43 UTC
I searched the portage log file and find theese in the 84831 and 155152 lines of the file:

rm -f ../unxlngi6.pro/bin/registry_en-US.zip ../unxlngi6.pro/bin/registry_hu.ziprm -f /bin/registry_en-US.zip /bin/registry_hu.zip
rm: cannot remove `/bin/registry_en-US.zip': Permission denied
rm: cannot remove `/bin/registry_hu.zip': Permission denied
cd ../unxlngi6.pro/misc/registry/res/en-US && zip -ru ../../../../bin/registry_en-US.zip org/*
        zip warning: ../../../../bin/registry_en-US.zip not found or empty


rm -f ../unxlngi6.pro/bin/registry_en-US.zip ../unxlngi6.pro/bin/registry_hu.ziprm -f /bin/registry_en-US.zip /bin/registry_hu.zip
ACCESS DENIED  unlink:    /bin/registry_en-US.zip
rm: cannot remove `/bin/registry_en-US.zip': Permission denied
ACCESS DENIED  unlink:    /bin/registry_hu.zip
rm: cannot remove `/bin/registry_hu.zip': Permission denied
cd ../unxlngi6.pro/misc/registry/res/en-US && zip -ru ../../../../bin/registry_en-US.zip org/*
        zip warning: ../../../../bin/registry_en-US.zip not found or empty
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2006-01-22 02:59:47 UTC
(In reply to comment #3)
> I searched the portage log file and find theese in the 84831 and 155152 lines
> of the file:

These should be non-harmful, I get the same and it works here.

Still could you please try again with a little bit more hd-space left. Also: Could it be, that you did an emerge sync in the background while building, could be that the ebuild was updated and some paths were trashed by that.
Comment 5 ProTech 2006-01-23 08:03:41 UTC
I recompiled today, and now it's working.

I done a lot of things in the weekend so I don't know witch solved the probem.
- Cleared out my world file, then unmerged about 100 unused packages.
- Unmerged gcc-3.3.6, the OOo was the last program to recompile.
- Updated Gnome to 2.12.2 as it's get stabilized.
- Reemerged tcsh as lib-compat or something get removed during the massive unmerge.

I never sync in the background when building. The only thing I can think of, that I canceled a merge in thursday. I tried Ctrl-C repetedly but it don't responded to that (for an hour) then killed the emerge. In friday morning I don't delete the files in /var/tmp/portage, only done an emerge openoffice. Maybe portage not cleaned out the canceled build correctly, and that was the problem.
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2006-01-23 09:08:00 UTC
Anyway: Let's just be happy, it works now and close this bug in joy ;)