[Sugar-devel] Write Activity on XO-4, spell check isn't working

Gonzalo Odiard godiard at sugarlabs.org
Fri Jun 27 08:02:11 EDT 2014


I don't remember see that error.
As this looks related to the gl library, you can:
* try in a xo-4
* try in another image (I used the images here
https://wiki.sugarlabs.org/go/0.100/Testing)

Gonzalo


On Fri, Jun 27, 2014 at 8:42 AM, Gustavo Duarte <gus.duarte at gmail.com>
wrote:

> Gonzalo,
>
> I tried compile abiword and an error was arised:
>
> ===============================================
> /lib/libGL.so.1: undefined reference to `_glapi_tls_Dispatch'
> collect2: error: ld returned 1 exit status
> linking of temporary binary failed: Command '['/bin/sh', '../libtool',
> '--mode=link', '--tag=CC', 'gcc', '-o',
> '/home/olpc/rpmbuild/BUILD/abiword-20121011/src/tmp-introspectvc_75D/Abi-2.9',
> '-export-dynamic', '-O2', '-g', '-pipe', '-Wall',
> '-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '-fstack-protector',
> '--param=ssp-buffer-size=4', '-march=armv7-a', '-mfpu=vfpv3-d16',
> '-mfloat-abi=hard', '-Wl,-z,relro',
> '/home/olpc/rpmbuild/BUILD/abiword-20121011/src/tmp-introspectvc_75D/Abi-2.9.o',
> '-L.', 'libabiword-2.9.la', '-Wl,--export-dynamic', '-pthread',
> '-lgio-2.0', '-lgmodule-2.0', '-lrt', '-lgsf-1', '-lgobject-2.0', '-lxml2',
> '-lglib-2.0']' returned non-zero exit status 1
> make[3]: *** [Abi-2.9.gir] Error 1
> make[3]: Leaving directory `/home/olpc/rpmbuild/BUILD/abiword-20121011/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/olpc/rpmbuild/BUILD/abiword-20121011/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/olpc/rpmbuild/BUILD/abiword-20121011'
> make: *** [all] Error 2
> error: Estado de salida erróneo de /var/tmp/rpm-tmp.0FH9IJ (%build)
> ===================================================
>
> Have you seen this type of error before ?
>
> I did that on a XO 1.75 with an Dextrose image, I'm guessing that could be
> the reason. What image are you using for compile ?
>
> Thanks.
>
> Gustavo.
>
>
> On Wed, Jun 25, 2014 at 12:32 PM, Gonzalo Odiard <godiard at sugarlabs.org>
> wrote:
>
>>
>>> Some question  about. compilation on ARM, what XO image are you using to
>>> make compilation process ?
>>> You are using an XO 1.75 or XO4 for compile ?
>>>
>>>
>> I use XO-4, but is he same on XO-1.75.
>> Just remember set *--target=armv7hl*
>>
>>
>>
>>>
>>> Because if I use current Ceibal image to compile, lot of rpms must be
>>> downloaded to resolve dependences and some of these rpms  broke the UI
>>> graphic interface. After install these dependences I can't use the XO on
>>> graphic mode, only in text mode.
>>>
>>>
>> Maybe you can try use mock?
>>
>>
>>>
>>> Regards.
>>>
>>> Gustavo
>>>
>>>
>>>
>>>
>>>
>>> On Tue, Jun 24, 2014 at 12:23 PM, Gonzalo Odiard <godiard at sugarlabs.org>
>>> wrote:
>>>
>>>> First of all, are you sure the only change is the rpm?
>>>>
>>>> What version of Fedora and Sugar are you using on the image?
>>>>
>>>> More comments below:
>>>>
>>>>
>>>> On Tue, Jun 24, 2014 at 9:13 AM, Gustavo Duarte <gus.duarte at gmail.com>
>>>> wrote:
>>>>
>>>>> Gonzalo,
>>>>>
>>>>> Ceibal, did more intense test and found following issues:
>>>>>
>>>>> Blind accessibility (Boca):
>>>>> ===================
>>>>> After click on play button, the activity is gone and to back to
>>>>> activity a reboot is needed.
>>>>>
>>>>>
>>>> Note: This is only "text to speech", not blind accessibility.
>>>>
>>>> Can be related to http://bugs.sugarlabs.org/ticket/3694 ?
>>>>
>>>>
>>>>
>>>>>
>>>>> Pre determinate formats:
>>>>> ==================
>>>>> No modification is showed after modify the header.
>>>>>
>>>>>
>>>> I don't understand this. Can you provide more information?
>>>>
>>>>
>>>>>
>>>>> File Export
>>>>> =========
>>>>> Error when you try save as pdf, html, txt or rtf, The activity will
>>>>> close and a reboot is needed to go back
>>>>>
>>>>>
>>>> This happen with the last version of Write?
>>>>
>>>>
>>>>>
>>>>>
>>>>> So, I think these rpm aren't the right one, i'm not sure what changes
>>>>> have these rpms and who compiled it.
>>>>>
>>>>> One way, iMHO, could be re-compile the currently rpms (
>>>>> abiword-2.9.3-1.git20121011.fc18.olpc.armv7hl.rpm) with check
>>>>> spelling enabled, and try again.
>>>>>
>>>>>
>>>> If is useful for you, the src rpm is here
>>>>
>>>>
>>>> http://harvest.one-education.org/public/au1b-updates/SRPMS/abiword-2.9.3-1.git20121011.fc18.olpc12.src.rpm
>>>>
>>>> Gonzalo
>>>>
>>>>
>>>>
>>>>> It currently abiword rpm, we know that works fine, the only issue is
>>>>> the check-spelling.
>>>>>
>>>>>
>>>>> I was trying the compilation procedure, but I had a lot of dependence
>>>>> problem.
>>>>>
>>>>>
>>>>> Regards.
>>>>>
>>>>> Gustavo.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Jun 21, 2014 at 9:56 PM, Gonzalo Odiard <godiard at sugarlabs.org
>>>>> > wrote:
>>>>>
>>>>>> Thanks, will test here, and do a new release.
>>>>>>
>>>>>> Gonzalo
>>>>>>
>>>>>>
>>>>>> On Fri, Jun 20, 2014 at 11:18 AM, Gustavo Duarte <
>>>>>> gus.duarte at gmail.com> wrote:
>>>>>>
>>>>>>> Sorry for the delay.
>>>>>>>
>>>>>>> The changes were:
>>>>>>>
>>>>>>> 1) Uninstall the the currently abiword rpms
>>>>>>>
>>>>>>> 2) Install (downloaded from
>>>>>>> http://xs-dev.laptop.org/~dsd/repos/f18/)
>>>>>>>         - abiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm
>>>>>>>         - libabiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm.
>>>>>>>
>>>>>>> 3) To enable the suggestion menu, edit the file, keybindings.xml
>>>>>>> from Write.Activivity folder, and comment contextMisspellingText line lke:
>>>>>>>
>>>>>>> <!-- unbind-mappings handler="contextMisspellText" /-->
>>>>>>>
>>>>>>> Regards.
>>>>>>>
>>>>>>> Gustavo.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 16, 2014 at 11:51 AM, Gonzalo Odiard <
>>>>>>> godiard at sugarlabs.org> wrote:
>>>>>>>
>>>>>>>> Can you share the change you did?
>>>>>>>>
>>>>>>>> Gonzalo
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jun 16, 2014 at 11:47 AM, Gustavo Duarte <
>>>>>>>> gus.duarte at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Yeap, I did that, also.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Jun 16, 2014 at 11:27 AM, Gonzalo Odiard <
>>>>>>>>> godiard at sugarlabs.org> wrote:
>>>>>>>>>
>>>>>>>>>> Thanks Gustavo. Maybe the slowness was related to other issue?
>>>>>>>>>> Did you enabled the suggestions menu?
>>>>>>>>>>
>>>>>>>>>> Gonzalo
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 16, 2014 at 11:12 AM, Gustavo Duarte <
>>>>>>>>>> gus.duarte at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> These rpms were compiled with check-spelling enabled.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 16, 2014 at 11:11 AM, Gustavo Duarte <
>>>>>>>>>>> gus.duarte at gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Just to update you, about how we resolve this issue.
>>>>>>>>>>>>
>>>>>>>>>>>> We change abiword rpms,
>>>>>>>>>>>> by abiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm
>>>>>>>>>>>> libabiword-2.9.3-1.git20121011.fc18.olpc2.armv7hl.rpm.
>>>>>>>>>>>>
>>>>>>>>>>>> These rpms were found on:
>>>>>>>>>>>> http://xs-dev.laptop.org/~dsd/repos/f18/
>>>>>>>>>>>>
>>>>>>>>>>>> We made several tests, and didn't perceive slowness.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Jun 3, 2014 at 7:29 PM, Gustavo Duarte <
>>>>>>>>>>>> gus.duarte at gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Many Thanks Gonzalo, I'm going to do some test with spell
>>>>>>>>>>>>> check enabled and let you know the results.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regards.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tue, Jun 3, 2014 at 12:36 PM, Gonzalo Odiard <
>>>>>>>>>>>>> godiard at sugarlabs.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Gustavo,
>>>>>>>>>>>>>> We disabled spell checking in abiword rpms, because made
>>>>>>>>>>>>>> Write activity very slow [1]
>>>>>>>>>>>>>> You can compile rpms with the spell enabled using the specs
>>>>>>>>>>>>>> and patches located here [2]
>>>>>>>>>>>>>> The ideal solution would be find the slowness reason.
>>>>>>>>>>>>>> Surely will need work on the abiword sources.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Gonzalo
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> [1] http://bugs.sugarlabs.org/ticket/4124
>>>>>>>>>>>>>> [2] https://git.sugarlabs.org/olpc-abiword-rpm
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tue, Jun 3, 2014 at 10:56 AM, Gustavo Duarte <
>>>>>>>>>>>>>> gus.duarte at gmail.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi guys,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The spell check, on write activity of my XO-4 touch, I mean
>>>>>>>>>>>>>>> when I write a word misspelled, it isn't red underlined.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I'm using Write Activity 94 version downloaded from
>>>>>>>>>>>>>>> SugarLabs Activities page.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Also I verified that the following packages are installed
>>>>>>>>>>>>>>> already:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> - enchant-aspell-1.6.0-5.fc18.armv7hl
>>>>>>>>>>>>>>> - aspell-0.60.6.1-5.fc18.armv7hl
>>>>>>>>>>>>>>> - aspell-es-1.11-4.fc18.armv7hl
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thought about what it's happening here ?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks in advance.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Gustavo.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Sugar-devel mailing list
>>>>>>>>>>>>>>> Sugar-devel at lists.sugarlabs.org
>>>>>>>>>>>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Gonzalo Odiard
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> SugarLabs - Software for children learning
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Gonzalo Odiard
>>>>>>>>>>
>>>>>>>>>> SugarLabs - Software for children learning
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Gonzalo Odiard
>>>>>>>>
>>>>>>>> SugarLabs - Software for children learning
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Gonzalo Odiard
>>>>>>
>>>>>> SugarLabs - Software for children learning
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Gonzalo Odiard
>>>>
>>>> SugarLabs - Software for children learning
>>>>
>>>
>>>
>>
>>
>> --
>> Gonzalo Odiard
>>
>> SugarLabs - Software for children learning
>>
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Gonzalo Odiard

SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140627/c2e8cec0/attachment-0001.html>


More information about the Sugar-devel mailing list