Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60545 - glabels-2.0.0 ebuild fails with sandbox violation
Summary: glabels-2.0.0 ebuild fails with sandbox violation
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Low minor (vote)
Assignee: Leonardo Boshell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-16 05:24 UTC by Dead Schorsch
Modified: 2005-10-06 08:37 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 Dead Schorsch 2004-08-16 05:24:35 UTC
glabels ebuild fails while updating the mime database.

Reproducible: Always
Steps to Reproduce:
1. emerge -u glabels
2.
3.

Actual Results:  
***
* Updating MIME database in /var/tmp/portage/glabels-2.0.0/image//usr/share/mime ...
***

Note that '/var/tmp/portage/glabels-2.0.0/image//usr/share' is not in the search
 path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:

- /root/.local/share
- /usr/local/share/
- /usr/share/

/usr/bin/update-desktop-database
ACCESS DENIED  open_wr:   /usr/local/share/applications/.mimeinfo.cache.l
ACCESS DENIED  open_wr:   /usr/share/applications/.mimeinfo.cache.R
No directories in update-desktop-database search path could processed and update d.
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/var/tmp/portage/glabels-2.0.0/work/glabels-2.0.0/da
ta/mime'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/glabels-2.0.0/work/glabels-2.0.0/da
ta/mime'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/glabels-2.0.0/work/glabels-2.0.0/da
ta/mime'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glabels-2.0.0/work/glabels-2.0.0/da ta'
make: *** [install-recursive] Error 1

!!! ERROR: app-office/glabels-2.0.0 failed.
!!! Function einstall, Line 385, Exitcode 2
!!! einstall failed

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-office_-_glabels-2.0.0-1176.log"

open_wr:   /usr/local/share/applications/.mimeinfo.cache.l
open_wr:   /usr/share/applications/.mimeinfo.cache.R
--------------------------------------------------------------------------------


Expected Results:  
Make my day

root@DLD8-FBLK31J ~ # emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.5.2
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi acpi4linux aim alsa antlr apache2 apm audiofile avi berkdb bluetooth
bonobo cddb cdr chroot crypt cups devfs26 doc dvd encode esd ethereal evo fam
foomaticdb gda gdbm gif gimp gimpprint glade gnome gpm gtk gtk2 gtkhtml guile
ieee1394 imagemagick imlib irda java jpeg ldap libg++ libwww mad mbox mikmod mmx
motif mozilla mpeg mpeg4 msn ncurses nls odbc oggvorbis opengl pam pcmcia pda
pdflib perl png postgres ppds python quicktime readline samba scanner sdl slang
sox spell sse ssl svga tcltk tcpd truetype usb vanilla x86 xinerama xml2 xmms xv
zlib"
Comment 1 Joseph Booker 2004-08-16 12:22:40 UTC
happens here also

Portage 2.0.51_pre17 (default-linux/x86/2004.2/gcc34, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-rc4-nitro2 i686 Celeron (Coppermine))
=================================================================
System uname: 2.6.8-rc4-nitro2 i686 Celeron (Coppermine)
Gentoo Base System version 1.5.2
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mfpmath=sse,387 -msse -mmmx -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mfpmath=sse,387 -msse -mmmx -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs loadpolicy sandbox userpriv"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/bmg-gnome /usr/local/trunk /usr/local/gentoo.de"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aalib aavm alsa apache2 apm arts autofs avi berkdb cdr cdrw cgi clamav clisp crypt cups curl dga dillo directfb distribution dnd doc dvd emacs encode escreen esd etwin evo evolution ext-png ext-zlib faad fbcon flash foomaticdb gb gcl gd gd-external gdbm gif ginac glut gmttria gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml i8x0 imap imlib imlib2 java javascript jikes jpeg junit kde ladcca lcms ldap leim libdsk libg++ libgda libssl libwww lufsusermount mad mailwrapper mdb mikmod mmx mozcalendar mozilla mozinterfaceinfo moznocompose moznomail mozp3p mozsvg mozxmlterm mpeg msn mysql ncurses nls nocd nptl oav odbc offensive oggvorbis opengl oss pam pda pdflib perl pgn php png postgres ppds python qt quicktime readline regexp rplay samba sdl slang spell sse ssl stroke svga tcltk tcpd tiff truetype unicode usb videos vim-with-x wmf wxwin wxwindows x86 xchattext xface xml xml2 xmms xosd xv zlib"
Comment 2 foser (RETIRED) gentoo-dev 2004-08-16 13:36:44 UTC
it's not up to the ebuild to run that, it needs to be disabled/patched out

quick fix : emerge -C desktop-file-utils
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2004-09-03 02:08:11 UTC
Agreed, things like update-desktop-database shouldn't be run from the ebuild (nor should be included in the package's configure script, for that matter).

Version 2.0.1 is now in portage, including a fix for this. Thanks for your report.
Comment 4 Dead Schorsch 2005-10-06 08:37:44 UTC
Closed.