<div dir="ltr">Hello Peter,<div><br></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 4, 2015 at 5:50 AM, Peter Robinson <span dir="ltr"><<a href="mailto:pbrobinson@gmail.com" target="_blank">pbrobinson@gmail.com</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"><span class=""><p dir="ltr"><br>
On 4 Sep 2015 00:22, "Martin Abente" <<a href="mailto:martin.abente.lahaye@gmail.com" target="_blank">martin.abente.lahaye@gmail.com</a>> wrote:<br>
><br>
><br>
><br>
> On Thu, Sep 3, 2015 at 6:43 PM, James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
>><br>
>> 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>
><br>
><br>
> 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.<br>
><br>
> 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.<br>
>  </p>
</span><p dir="ltr">Yes, it's a well advertised feature of F-23, but we're not the first distro to enable it and unless there's dodgy stuff going on in sugar it should cause no issues.</p></blockquote><div><br></div><div>I rebuilt [1] the sugar-toolkit-gtk3 106 packages for fc23, adding "<span style="color:rgb(0,0,0);white-space:pre-wrap">%undefine _hardened_build" [2,3] to the .spec file, and now Sugar works fine on fc23.</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><font color="#000000"><span style="white-space:pre-wrap">I could not figure out why having _hardened_build enable breaks sugar, but it looks like disabling could be an option for now.</span></font></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Refs:</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">1. </span><font color="#000000"><span style="white-space:pre-wrap"><a href="http://people.sugarlabs.org/~tch/tests/fedora23/">http://people.sugarlabs.org/~tch/tests/fedora23/</a></span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">2. <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1214506#c2">https://bugzilla.redhat.com/show_bug.cgi?id=1214506#c2</a></span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">3. <a href="https://fedoraproject.org/wiki/Changes/Harden_All_Packages#Troubleshooting_steps_for_package_maintainers">https://fedoraproject.org/wiki/Changes/Harden_All_Packages#Troubleshooting_steps_for_package_maintainers</a></span></font></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"><p dir="ltr"> </p><span class=""><font color="#888888">
<p dir="ltr">Peter<br>
</p>
</font></span></blockquote></div><br></div></div>