[Sugar-devel] shugar doesn't run on gentoo

GNUtoo at no-log.org GNUtoo
Sun Nov 30 15:21:24 EST 2008


hello, I've built sugar on gentoo using the overlay:
so I did a
emerge sugar fructose
but it stopped at some point so I also:
* re-emerged re-emerge xulrunner gnome-vfs
* used FEATURES="-sandbox"
because otherwise I get:
>>> Completed installing sugar-0.83.3 into
/var/tmp/portage/sugar-base/sugar-0.83.3/image/

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE = "/var/log/sandbox/sandbox-597.log"

open_wr:   /etc/gconf/gconf.xml.defaults/.testing.writeability
unlink:    /etc/gconf/gconf.xml.defaults/.testing.writeability
--------------------------------------------------------------------------------

After the installation:
I've put exec sugar in .xinitrc and launched X from ssh
$ startx
xauth:  creating new authority file /home/gentux/.serverauth.7206

X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27_sempron_2500 i686
Current Operating System: Linux sempron 2.6.27_sempron_2500 #3 Sat Nov 22
16:08:33 CET 2008 i686
Build Date: 30 November 2008  08:07:41PM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 30 23:16:16 2008
(==) Using config file: "/etc/X11/xorg.conf"

NTSC PAL
finished output detect: 0
finished output detect: 1
finished all detect
before xf86InitialConfiguration
in RADEONProbeOutputModes
after xf86InitialConfiguration
Entering TV Save
Save TV timing tables
saveTimingTables: reading timing tables
TV Save done
init memmap
init common
init crtc1
init pll1
freq: 106500000
best_freq: 106500000
best_feedback_div: 71
best_ref_div: 6
best_post_div: 3
restore memmap
restore common
restore crtc1
restore pll1
finished PLL1
restore dac
FATAL: Module evdev not found.
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
        No such file or directory.
Error opening /dev/input/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
        No such file or directory.
Error opening /dev/input/wacom : No such file or directory
(EE) xf86OpenSerial: Cannot open device /dev/input/wacom
        No such file or directory.
Error opening /dev/input/wacom : No such file or directory
expected keysym, got XF86Info: line 914 of inet
xinit:  Resource temporarily unavailable (errno 11):  Cannot register with
ConsoleKit: org.freedesktop.CkConnector.Error: Unable to open session: The
name org.freedesktop.ConsoleKit was not provided by any .service files
matchbox-window-manager: Failed to connect to session manager
Traceback (most recent call last):
  File "/usr/bin/sugar-session", line 41, in <module>
    from jarabe.desktop.homewindow import HomeWindow
  File "/usr/lib/python2.5/site-packages/jarabe/desktop/homewindow.py",
line 24, in <module>
    from jarabe.desktop.meshbox import MeshBox
  File "/usr/lib/python2.5/site-packages/jarabe/desktop/meshbox.py", line
31, in <module>
    from sugar.graphics import palette
  File "/usr/lib/python2.5/site-packages/sugar/graphics/palette.py", line
941, in <module>
    class WidgetInvoker(Invoker):
  File "/usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py",
line 40, in __init__
    cls._install_properties()
  File "/usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py",
line 68, in _install_properties
    " or getter. This is not allowed" % (cls,))
TypeError: GObject subclass <class 'sugar.graphics.palette.WidgetInvoker'>
defines do_get/set_property and it also uses a property which a custom
setter or getter. This is not allowed

waiting for X server to shut down
Backtrace:
0: X(xf86SigHandler+0x6f) [0x80be61f]
1: [0xb7f14400]
2: /usr/lib/xorg/modules/input//wacom_drv.so [0xb7989726]
3: X(DeleteInputDeviceRequest+0x4f) [0x80d4d3f]
4: X(CloseDownDevices+0x5c) [0x8083afc]
5: X(main+0x4cc) [0x80718bc]
6: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7ab2fdc]
7: X(FontFileCompleteXLFD+0x205) [0x8070c91]

Fatal server error:
Caught signal 11.  Server aborting

X always crashes when it exits(but that's another problem)...the only
solution is starting a new X from ssh because switching to a tty doesn't
work when X has crashed(and...kdm doesn't work)

for the first error(matchbox-window-manager: Failed to connect to session
manager)
/usr/bin/sugar executes matchbox-window-manager -use_titlebar no -theme
sugar -kbdconfig /usr/share/sugar/data/kbdconfig  who produces this error
message.
and session support was compiled  in matchbox:
$ matchbox-window-manager --help
usage: matchbox-window-manager [options ...]
        -display          <string>
        -theme            <string>
        -use_titlebar     <yes|no>
        -use_cursor       <yes|no>
        -use_lowlight     <yes|no>
        -use_dialog_mode  <free|static|const-horiz>
        -use_desktop_mode <decorated|plain>
        -use_super_modal  <yes|no>
        -force_dialogs    <comma seperated list of window titles>
        -kbdconfig        <path to option key shortcuts config file>
        --sm-client-id    <session id>

Compile time features;
        debug build                      no
        XFT support                      no
        Startup Notification support     no
        Expat support                    yes
        XSettings support                no
        PNG support                      yes
        JPG support                      yes
        pango support                    yes
        Theme support                    yes
        gconf support                    no
        composite support                no
        ping protocol support            yes
        XRM support                      yes
        Session support                  yes

matchbox-window-manager 1.2
Copyright (C) 2005 Matthew Allum, OpenedHand Ltd.
This is free software; see the source for copying conditions.
Visit http://projects.o-hand.com/matchbox for more info.


by the way I had all the services started...that is to say:
*hald
*avahi-daemon
*dbus
Once I tried with NetworkManager started(i can't do this all the time
because of the Xorg issue mentioned above) and it didn't work either





More information about the Sugar-devel mailing list