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

Martin Abente martin.abente.lahaye at gmail.com
Thu Sep 3 19:22:50 EDT 2015


On Thu, Sep 3, 2015 at 6:43 PM, James Cameron <quozl at laptop.org> wrote:

> 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?
>

No, is not present. Also, that does not explain why the same 106 packages
work perfectly fine on fc23 when are built for fc22, while they fail when
built for fc23.

As you mentioned in a previous reply, the only difference in build time I
also noticed, looking at the logs, is the
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
flag. which is passed to all gir-* (gobject introspection) calls.


>
> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150903/f617acae/attachment-0001.html>


More information about the Sugar-devel mailing list