<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 3, 2015 at 6:43 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">The errors complain of missing symbols;<br>
<br>
- sugar_event_controller_get_state<br>
<br>
- acme_volume_alsa_new<br>
<br>
Which were both added after 0.98.<br>
<br>
On my F18 test systems, the package sugar-toolkit-0.98 brings in a<br>
_sugarext.so file in /usr/lib/python2.7/site-packages/sugar/ which<br>
does not have these symbols.<br>
<br>
If this file were being used instead, then the outcome may be as<br>
reported.<br>
<br>
Is the package present?<br></blockquote><div><br></div><div>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.</div><div><br></div><div>As you mentioned in a previous reply, the only difference in build time I also noticed, looking at the logs, is the <span style="color:rgb(80,0,80);font-size:12.8000001907349px">-specs=/usr/lib/rpm/redhat/</span><span style="color:rgb(80,0,80);font-size:12.8000001907349px">redhat-hardened-ld' flag. which is passed to all gir-* (gobject introspection) calls.</span></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
If so, does removing the .so file fix the problem?<br>
<br>
Use of the file could also be verified with strace -e open.<br>
<span><br>
On Thu, Sep 03, 2015 at 05:39:19PM -0400, Martin Abente wrote:<br>
> I tried creating another VM with fc23, installed the fc23 sugar<br>
> packages and sugar fails to start [1]. Note that the error is<br>
> slightly different, but the is the same issue.<br>
</span>> [1] <a href="http://fpaste.org/263354/31582414/" rel="noreferrer" target="_blank">http://fpaste.org/263354/31582414/</a><br>
<br>
** (main.py:1818): WARNING **: Failed to load shared library<br>
<span> 'libsugarext.so.0' referenced by the typelib:<br>
</span> /lib64/libsugarext.so.0: undefined symbol:<br>
sugar_event_controller_get_state<br>
<br>
Compare with previous report<br>
<a href="http://paste.fedoraproject.org/260680/69152144/" rel="noreferrer" target="_blank">http://paste.fedoraproject.org/260680/69152144/</a><br>
<br>
** (main.py:2637): WARNING **: Failed to load shared library<br>
<span> 'libsugarext.so.0' referenced by the typelib:<br>
</span> /lib/libsugarext.so.0: undefined symbol:<br>
sugar_event_controller_get_state<br>
<br>
The line number is different.<br>
<br>
@All, what is main.py and where are lines 1818 and 2637?<br>
<br>
src/jarabe/main.py is much smaller, only 425 lines.<br>
<br>
Some other diagnosis methods to suggest:<br>
<br>
a. in a fresh python process, try the relevant imports, e.g.<br>
<br>
from jarabe.view import gesturehandler<br>
from jarabe.model.sound import sound<br>
<br>
b. verify a symlink is present from /usr/lib/libsugarext.so.0 to<br>
libsugarext.so.0.0.0 (or equivalent functionality, as this is a<br>
guess from my experience with F18),<br>
<br>
c. use strings to check libsugarext.so.0, see if<br>
sugar_event_controller_get_state is present,<br>
<br>
strings /usr/lib/libsugarext.so.0 | \<br>
grep sugar_event_controller_get_state<br>
<div><div><br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" rel="noreferrer" target="_blank">http://quozl.linux.org.au/</a><br>
</div></div></blockquote></div><br></div></div>