[Sugar-devel] Bug 1240354 - SoaS live x86_64 20150706 does not login from live system user

James Cameron quozl at laptop.org
Thu Sep 3 18:43:53 EDT 2015


The errors complain of missing symbols;

- sugar_event_controller_get_state

- acme_volume_alsa_new

Which were both added after 0.98.

On my F18 test systems, the package sugar-toolkit-0.98 brings in a
_sugarext.so file in /usr/lib/python2.7/site-packages/sugar/ which
does not have these symbols.

If this file were being used instead, then the outcome may be as
reported.

Is the package present?

If so, does removing the .so file fix the problem?

Use of the file could also be verified with strace -e open.

On Thu, Sep 03, 2015 at 05:39:19PM -0400, Martin Abente wrote:
> I tried creating another VM with fc23, installed the fc23 sugar
> packages and sugar fails to start [1].  Note that the error is
> slightly different, but the is the same issue.
> [1] http://fpaste.org/263354/31582414/

** (main.py:1818): WARNING **: Failed to load shared library
   'libsugarext.so.0' referenced by the typelib:
   /lib64/libsugarext.so.0: undefined symbol:
   sugar_event_controller_get_state

Compare with previous report
http://paste.fedoraproject.org/260680/69152144/

** (main.py:2637): WARNING **: Failed to load shared library
   'libsugarext.so.0' referenced by the typelib:
   /lib/libsugarext.so.0: undefined symbol:
   sugar_event_controller_get_state

The line number is different.

@All, what is main.py and where are lines 1818 and 2637?

src/jarabe/main.py is much smaller, only 425 lines.

Some other diagnosis methods to suggest:

a.  in a fresh python process, try the relevant imports, e.g.

    from jarabe.view import gesturehandler
    from jarabe.model.sound import sound

b.  verify a symlink is present from /usr/lib/libsugarext.so.0 to
    libsugarext.so.0.0.0 (or equivalent functionality, as this is a
    guess from my experience with F18),

c.  use strings to check libsugarext.so.0, see if
    sugar_event_controller_get_state is present,

    strings /usr/lib/libsugarext.so.0 | \
        grep sugar_event_controller_get_state

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list