Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95404 - desklet-sidecandygmail installs junk into /
Summary: desklet-sidecandygmail installs junk into /
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: gDesklets packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-07 18:15 UTC by Stuart Shelton
Modified: 2005-07-05 20:24 UTC (History)
0 users

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 Stuart Shelton 2005-06-07 18:15:09 UTC
I just tried to merge desklet-sidecandygmail-0.4.2, and got the following access violations:

>>> Install desklet-sidecandygmail-0.4.2 into /var/tmp/portage/desklet-sidecandy
gmail-0.4.2/image/ category x11-plugins
 * Installing Display gmail
ACCESS DENIED  mkdir:     /root/.gnome2

(process:18240): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: P
ermission denied
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/gdesklets/utils/__init__.py", line 23, in _pretty_excepthook
    deep_trace = True)
  File "/usr/lib/gdesklets/utils/ErrorFormatter.py", line 77, in format
    if (path and vfs.exists(path)):
AttributeError: 'module' object has no attribute 'exists'

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/gdesklets/gdesklets-control-getid", line 5, in ?
    from plugin.Interface import Interface
  File "/usr/lib/gdesklets/plugin/Interface.py", line 2, in ?
    from main import _
  File "/usr/lib/gdesklets/main/__init__.py", line 6, in ?
    from utils import vfs
  File "/usr/lib/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
    module = _old_imp(name, globs, locls, fromlist)
  File "/usr/lib/gdesklets/utils/vfs.py", line 16, in ?
    import gnome.vfs as gnomevfs
  File "/usr/lib/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
    module = _old_imp(name, globs, locls, fromlist)
RuntimeError: could not initialise gnome.vfs
 * Installing Control 
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
strip: i686-pc-linux-gnu-strip --strip-unneeded
>>> Completed installing desklet-sidecandygmail-0.4.2 into /var/tmp/portage/desk
let-sidecandygmail-0.4.2/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-x11-plugins_-_desklet-sidecandygmail-0.4.2-18052.log"

mkdir:     /root/.gnome2
--------------------------------------------------------------------------------

... which looks suspiciously like the access violation bugs that the rest of gnome hit with scrollkeeper earlier this week.
Comment 1 foser (RETIRED) gentoo-dev 2005-06-07 23:44:09 UTC
It doesn't look at all like it and the gnome2 eclass was never broken, the
ebuilds were sort of. That it sandboxes doesn't mean it's the same thing.
Anyway, weren't you the guy with the other odd gconf sandbox, I'm starting to
suspect your sys more than anything. 

Where is your 'emerge info' btw, you should always provide it.
Comment 2 Stuart Shelton 2005-06-08 04:39:58 UTC
Okay - I misunderstood about the gnome2 problem.

I did have an odd sanbox failure, but that was only once when I tried using the
gnome2.eclass "fix" that someone suggested for the gnome problem - so I guess
this was probably caused by a mixture of the broken gnome ebuilds, and a broken
gnome2.eclass (due to this change).

Everything else gnome-wise is now installed fine.

In addition, I've just rebuilt gdesklets-core itself, and this worked - so I
suspect it's an ebuild/eclass problem...

emerge info:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r6,dev-lang/python-2.3.5 [2.3.5 (#1,
Apr 27 2005, 16:16:35)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r6, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.6.3, 1.5, 1.7.9-r1, 1.8.5-r3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10, 2.15.92.0.2-r1
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/xkb /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms
strict userpriv usersandbox"
GENTOO_MIRRORS="        http://distfiles.gentoo.org    
http://www.ibiblio.org/pub/Linux/distributions/gentoo  
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo   
http://ftp.heanet.ie/pub/gentoo   http://gentoo.osuosl.org       
http://gentoo.oregonstate.edu "
MAKEOPTS="-j2"
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 X Xaw3d a52 aac aalib accessibility acl acpi adns alsa arts audiofile
avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 caps cdr crypt
cscope cups curl dbus dedicated dga directfb divx4linux dts dv dvd dvdread eds
emboss encode esd ethereal evo expat fam fastcgi fbcon ffmpeg fftw firebird flac
flash font-server foomaticdb fortran freetds freetype gb gcj gd gdbm ggi gif
glut gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl
icc-pgo ieee1394 imagemagick imap imlib informix innodb ipv6 jack java javamail
javascript jms jmx joystick jpeg junit kde kdeenablefinal kerberos krb4 ladcca
lcms ldap libcaca libg++ libgda libwww lua lzo mad maildir mailwrapper matroska
mbox mcal memlimit mikmod milter mmap mmx mng mono motif mozilla mp3 mpeg mpi
mssql multislot mysql nas ncurses net netboot network nls nntp nptl oci8 odbc
ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl pic plotutils png
pnp portaudio postgres ppds prelude python qdbm qt quicktime readline real samba
sasl scanner sdl skey slang slp smartcard sndfile snmp socks5 speex spell sqlite
sse sse2 ssl svg svga tcltk tcpd test theora threads tiff truetype
truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vidix vorbis win32codecs wmf
wxwindows xanim xface xim xine xinerama xml xml2 xmms xosd xprint xv xvid zeo
zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Joe Sapp (RETIRED) gentoo-dev 2005-06-08 14:32:00 UTC
So let me try to get this straight: You changed your gnome2.eclass back to what
it should be, recompiled gdesklets-core, and then everything started to work again?
Comment 4 Stuart Shelton 2005-06-08 14:51:02 UTC
No - once I heard that the gnome apps were fixed, I deleted the modified
gnome2.eclass and resynced.

I can build gdesklets-core without problems (my point was that this build does
work, so I suspect a problem with gdesklets.eclass)

I've now successfully merged desklet-sidecandygmail (perhaps rebuilding
gdesklets-core did fix it!) - but I noticed the following:

>>> Merging x11-plugins/desklet-sidecandygmail-0.4.2 to /
>>> /means,/
>>> /DISPLAY/
>>> /X/
--- /usr/
--- /usr/lib/
--- /usr/lib/gdesklets/

...

>>> /usr/share/doc/desklet-sidecandygmail-0.4.2/html/icons-readme/Readme.htm
>>> /usually/
>>> /isn't/
>>> /that/
>>> /running!/
>>> /variable/
>>> /set,/
>>> /is/
>>> /which/
>>> /NOT/
>>> Regenerating /etc/ld.so.cache...

... and my root directory now looks like this:

# ls /
DISPLAY  boot     home   lost+found  opt       sbin   that     var
NOT      dev      is     means,      proc      set,   tmp      variable
X        etc      isn't  media       root      space  usr      which
bin      exports  lib    mnt         running!  sys    usually
Comment 5 Stuart Shelton 2005-06-08 15:06:51 UTC
More on this:

>>> Install desklet-sidecandygmail-0.4.2 into
/var/tmp/portage/desklet-sidecandygmail-0.4.2/image/ category x11-plugins
 * Installing Display gmail
 * Installing Control The DISPLAY variable is NOT set, which usually means, that
X isn't running!

...  but if I rebuild with DISPLAY set, I get:

>>> Install desklet-sidecandygmail-0.4.2 into
/var/tmp/portage/desklet-sidecandygmail-0.4.2/image/ category x11-plugins
 * Installing Display gmail
 * Installing Control IGmail_2ix3a2yfiiunm4skqlf1nmpom-2

... is this Control name right?!
Comment 6 Joe Sapp (RETIRED) gentoo-dev 2005-06-08 15:43:17 UTC
The Control name is correct.  That second output is the desired output...this
seems like it's a python issue I need to look into.  Thanks - this sheds some
light on another bug.
Comment 7 Joe Sapp (RETIRED) gentoo-dev 2005-06-11 10:20:26 UTC
It seems that this is an issue with gDesklets - one of the main files it imports
checks for DISPLAY and aborts if it's not set.  It seems by prepending
DISPLAY="${DISPLAY}" to the `emerge` command fixes this issue for me (only after
I unset DISPLAY) - can you verify this?
Comment 8 Joe Sapp (RETIRED) gentoo-dev 2005-06-17 18:09:29 UTC
Please resync and try emerging the package again.  Is the result the same?
Comment 9 Joe Sapp (RETIRED) gentoo-dev 2005-07-05 20:24:41 UTC
I'm assuming it was fixed.