Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307879 - app-office/openoffice-3.2.0: ERROR: Could not register all components for file services.rdb
Summary: app-office/openoffice-3.2.0: ERROR: Could not register all components for fil...
Status: RESOLVED DUPLICATE of bug 292519
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 12:04 UTC by Attila Tóth
Modified: 2011-07-26 22:50 UTC (History)
5 users (show)

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


Attachments
Last portion of the build log (build14.log,479.27 KB, text/plain)
2010-03-05 12:11 UTC, Attila Tóth
Details
after running ebuild install (log_OOO320_en-US_hu.log,434.85 KB, text/plain)
2010-03-05 12:13 UTC, Attila Tóth
Details
Sandbox violation (sandbox-26879.log,582 bytes, text/plain)
2010-03-05 12:44 UTC, Attila Tóth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2010-03-05 12:04:29 UTC
app-office/openoffice-3.2.0 finishes compiling. The ebuild dies in the install phase. I try to use ebuild to install, the error log contains these lines:
"
SUCCESS: Source for types.rdb: /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/types.rdb
SUCCESS: Source for pyuno_services.rdb: /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/pyuno_services.rdb
Systemcall:  /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/regcomp -register -br /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/types.rdb -br /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/pyuno_services.rdb -r /var/tmp/portage/app-office/openoffice-3.2.0/temp/ooopackaging/i_31711267787796/unxlngi6.pro/OpenOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_hu_inprogress_1/services.rdb -c vnd.openoffice.pymodule:pythonscript -l com.sun.star.loader.Python 2>&1 |
ERROR: create ServiceManager failed!
ERROR description: Couldn't open registry file:///var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/types.rdb for reading
ERROR:  /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/regcomp -register -br /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/types.rdb -br /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/pyuno_services.rdb -r /var/tmp/portage/app-office/openoffice-3.2.0/temp/ooopackaging/i_31711267787796/unxlngi6.pro/OpenOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_hu_inprogress_1/services.rdb -c vnd.openoffice.pymodule:pythonscript -l com.sun.star.loader.Python 2>&1 |
Systemcall:  /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/regcomp -register -br /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/types.rdb -br /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/pyuno_services.rdb -r /var/tmp/portage/app-office/openoffice-3.2.0/temp/ooopackaging/i_31711267787796/unxlngi6.pro/OpenOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_hu_inprogress_1/services.rdb -c vnd.openoffice.pymodule:mailmerge -l com.sun.star.loader.Python 2>&1 |
ERROR: create ServiceManager failed!
ERROR description: Couldn't open registry file:///var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/types.rdb for reading
ERROR:  /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/regcomp -register -br /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/types.rdb -br /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngi6.pro/bin/pyuno_services.rdb -r /var/tmp/portage/app-office/openoffice-3.2.0/temp/ooopackaging/i_31711267787796/unxlngi6.pro/OpenOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_hu_inprogress_1/services.rdb -c vnd.openoffice.pymodule:mailmerge -l com.sun.star.loader.Python 2>&1 |
"
No crashes or segfaults happen while calling regcomp (I'm using Hardened and see all segfaults in the logs).
In fact as it can be seen: types.rdb is actually there at its place. I can open it. What makes me really mad is that if I enter the command manually, it runs fine. I tried to change the owner of the file (types.rdb). I made sure, that all users can access it. I just cannot interpret what is still wrong with it? What prevents it to be read while running in the sandbox (permissions OK), while running fine outside?

There's plenty of space on the HDD. It's not architecture specific, since it happens both on my Pentium-M laptop, and on my Athlon-MP desktop. Exactly the same way.

Please help me, I'm going mad.

Reproducible: Always

Steps to Reproduce:




Portage 2.1.7.17 (hardened/linux/x86/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.31-hardened-r11 i686)
=================================================================
System uname: Linux-2.6.31-hardened-r11-i686-Intel-R-_Pentium-R-_M_processor_1.80GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 04 Mar 2010 09:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5-r1, 1.6.3, 1.7.9-r2, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20-r1
sys-devel/gcc:       4.4.3-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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=i686 -mtune=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests autoaddcvs autoconfig distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ http://gentoo.inode.at/"
LANG="hu_HU.utf8"
LC_ALL="hu_HU.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="hu 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="/usr/local/portage /usr/portage/local/layman/hardened-development /home/atoth/public_html/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip GNU X X509 Xaw3d a52 aac aalib acl acpi aiglx alsa amr amrnb amrwb aotuv apache2 applet ares asf atmo audiofile bash-completion bcmath bdf berkdb bidi binfilter bitmap-fonts bittorrent blas bluetooth boost branding browserplugin bugzilla bzip2 cairo caps cdaudio cdda cddax cddb cdio cdparanoia cdr cdrom chardet checkpath clamdtop cli consolekit context contrib coverage cracklib crypt css cue cups curl cxx dba dbm dbus dcmtk deskbar detex devhelp device-mapper dga dhcp dia dicom dirac discard-path divx divx4linux djbfft djvu dlloader dmi dot dri dts dv dvd dvdnav dvdr dvdread dvi dvi2tty dvipdfm eap-sim eds emerald enca encode epiphany evo exif expat extensions extra extrafilters faac faad fam fame ffmpeg fftw finger firefox flac flash flatfile fltk fontconfig foomaticdb force-cgi-redirect fortran fpx ftdi ftp gadu galago gd gdb gdbm gdl gedit gif gimp gimpprint ginac git glade glibc glitz gmedia gmp gnet gnome gnome-keyring gnome-print gnomecanvas gnomecd gopher gpac gpg gphoto2 gpm graphics graphviz groupwise gs gsl gsm gstreamer gtk gtk2 gtkhtml guile hal hardened html httpd hub i8x0 iconv icu id3tag idea idn imagemagick imap imlib inherit-graph inkjar iplsrc irc irda jabber jadetex java java6 javascript jingle jpeg jpeg2k jrtplib kate kpathsea ladspa lame lapack latex latex3 lcms libass libburn libcaca libffi libnotify libplot libsamplerate libssh2 libv4l2 lm_sensors log4j logitech-mouse lyx lzma lzo lzw m17n-lib mad matroska mbox mcal md5sum meanwhile memlimit mikmod mjpeg mktemp mmap mmx mng mode-owner modules motif mozbranding mozcalendar mp2 mp3 mp4 mpeg mpeg1 mpeg2 mplayer mudflap musepack mysql mysqli nautilus ncurses nemesi network networking nifti nls nntp nopop3d nptl nptlonly nsplugin nss ntfs nut nuv oav odbc odk ofx ogg oggvorbis ogm oil onaccess opencore-amr openct openexr opengl openmp optimisememory otr pam pam_chroot pam_timestamp pango passwdqc paste64 pasteafter pccts pcmcia pcre pcsc-lite pda pdf pear perl php pic plotutils plugins png pnm policykit posix postscript ppds pppd projectm pstricks publishers pvr python qhull qt3support quicktime quotas rar rc5 rcs readline realmedia reflection reiserfs remote remoteosd replytolist rle rtc rtf samba sasl scanner scenarios schroedinger science screen scsi sdl sensord serprog session sftplogging sid sidebar silc skins slang smime smp sms smtp sndfile soap sockets sound soundex soundtouch sourceview sox sparse speex spell spf spl srt sse sse2 ssh ssl startup-notification subtitles subversion svg sysfs syslog sysvipc t1lib taglib tagwriting tcl tcltk tcpd templates tetex tex4ht tga themes theora threads threadsafe tiff tilepath tk tlen tokenizer toolbar tools totem tracker transcode truetype truetype-fonts twolame type1-fonts type3 udev underscores unicode urandom usb userlocales utils v4l v4l2 valgrind vcd vcdinfo vcdx vidix virus-scan vista visualization vlm volpack vorbis vtk wavplay webdav webkit wifi win32codecs wma wmf wmp wps wxwidgets wxwindows x264 x86 xattr xcb xetex xforms xine xmedcon xml xml2 xmlrpc xorg xpm xsl xulrunner xv xvid xvmc yahoo zip zlib zvbi" 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 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse acecad evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon v4l" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Attila Tóth 2010-03-05 12:11:34 UTC
Created attachment 222159 [details]
Last portion of the build log

Note: when the original emerge dies, there's also an sandbox access violation trying to check writeability of /root/.gconf
Comment 2 Attila Tóth 2010-03-05 12:13:44 UTC
Created attachment 222161 [details]
after running ebuild install
Comment 3 Attila Tóth 2010-03-05 12:44:02 UTC
Created attachment 222169 [details]
Sandbox violation
Comment 4 Magnus Granberg gentoo-dev 2010-03-05 21:43:55 UTC
Can you post the use flags on openoffice?
Comment 5 Attila Tóth 2010-03-05 23:39:36 UTC
(In reply to comment #4)
> Can you post the use flags on openoffice?
> 

USE="bash-completion cups dbus eds gnome gstreamer gtk java nsplugin odk opengl pam templates -binfilter -debug -kde -ldap -mono" LINGUAS="en hu"

-binfilter, because it causes runtime generated binary segfaults on my systems - and I don't really care about old staroffice documents
Comment 6 Anthony Basile gentoo-dev 2010-03-06 01:01:17 UTC
I can't seem to reproduce this error.  emerge --info follows:

Portage 2.1.7.17 (hardened/linux/amd64/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.28-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 05 Mar 2010 10:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.20-r1
sys-devel/gcc:       3.4.6-r2, 4.3.4-r2, 4.4.3-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.3.1/pub/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j9"
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/hardened-development /usr/local/portage/layman/mystuff /usr/local/portage/layman/mozilla"
SYNC="rsync://192.168.3.1/portage"
USE="X a52 acl acpi alisp alsa amd64 apm autoipd avahi berkdb bindist bluetooth bookmarks bzip2 cairo cdr chm cli consolekit cracklib crypt cups cxx dbus device-mapper directfb djbfft dri dvd dvdr encode esd exif expat extras fam fbcon ffmpeg flac fortran galago gd gdbm gif gmp gnome gpm gs gstreamer gtk hal hardened iconv ipv6 jpeg jpeg2k justify libnotify loop-aes lzo mad mbox mdnsresponder-compat mmx modules mpeg mudflap multilib ncurses nfs nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python readline reflection samba secure-delete server session spl sse sse2 ssl svg sysfs tcpd theora tiff tracker truetype unicode urandom utils vorbis winbind wmf xcb xml xorg xulrunner xv 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Attila Tóth 2010-04-27 15:21:01 UTC
(In reply to comment #1)
> Created an attachment (id=222159) [details]
> Last portion of the build log
> 
> Note: when the original emerge dies, there's also an sandbox access violation
> trying to check writeability of /root/.gconf
> 

This problem can be fixed adding some addpredict lines to the ebuild. The behavior could be related to gstreamer, as it was shown in case of other ebuilds where gst-inspect gets called.
Comment 8 Attila Tóth 2010-04-27 15:26:08 UTC
I still have tu paxctl -m regcomp in order for thr ebuild to compile. If some addpredict lines gets inserted, the sandbox access violations goes away.
However the error mentioned in the initial post - failing to access types.rdb - still persists.
If I issue the failing command myself, it returns without error messages and the resulting registry file gets created. I tried to chown the full path of the file to root:root, to portage:portage and other combinations - without success.
Any clue on what I can try?
Comment 9 Bartosz Brachaczek 2010-06-22 15:55:40 UTC
Looks like a dupe of Bug #292519.
Comment 10 Attila Tóth 2010-06-25 13:49:30 UTC
(In reply to comment #9)
> Looks like a dupe of Bug #292519.
> 

Looks promising. I give it a try.
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-26 22:50:09 UTC
Yep it for sure is the dup of the above bug. Dupin'

*** This bug has been marked as a duplicate of bug 292519 ***