contributing to LibreOffice Online
Aditya Dewan
callmedewan at gmail.com
Sat Mar 11 08:20:48 UTC 2017
Hi,
Sorry to bother you , but i am probably stuck again. Please help.
So the build got completed successfully, it took a lot of time.
After that i followed the readme file. Now when i am trying to start loowsd
it gives an error and shuts down.
I am behind a proxy so whenever i run this i disable proxy.
this is what i ran:
./loolwsd --o:sys_template_path="/media/dewan/Work/gsoc/online/systemplate"
> --o:lo_template_path="/media/dewan/Work/gsoc/core/instdir"
> --o:child_root_path="/media/dewan/Work/gsoc/online/rootforjails"
> --o:ssl.cert_file_path="/media/dewan/Work/gsoc/online/etc/cert.pem"
> --o:ssl.key_file_path="/media/dewan/Work/gsoc/online/etc/key.pem"
> --o:ssl.ca_file_path="/media/dewan/Work/gsoc/online/etc/ca-chain.cert.pem"
the error was:
Full log is available in: /tmp/loolwsd.log
> Launch this in your browser:
>
> https://localhost:9980/loleaflet/4e491f5/loleaflet.html?file_path=file:///media/dewan/Work/gsoc/online/test/data/hello-world.odt
> Failed to fork child processes.
before running ./loolwsd, i ran ./loolwsd-systemplate-setup
./loolwsd-systemplate-setup /media/dewan/Work/gsoc/online/systemplate
> /media/dewan/Work/gsoc/core/instdir
> find: ‘lib/libcap*’: No such file or directory
> find: ‘lib64/libcap*’: No such file or directory
> find: ‘lib/libattr*’: No such file or directory
> find: ‘lib/libnss_*’: No such file or directory
> find: ‘lib64/libnss_*’: No such file or directory
> find: ‘usr/lib/locale/en_US.utf8’: No such file or directory
> find: ‘usr/lib/locale/locale_archive’: No such file or directory
> find: ‘usr/lib/libpng*’: No such file or directory
> find: ‘usr/lib64/libpng*’: No such file or directory
> find: ‘lib/libnss_*’: No such file or directory
> find: ‘lib64/libnss_*’: No such file or directory
> find: ‘lib/libcap*’: No such file or directory
> find: ‘lib64/libcap*’: No such file or directory
> find: ‘lib/libattr*’: No such file or directory
> find: ‘usr/lib/libpng*’: No such file or directory
> find: ‘usr/lib64/libpng*’: No such file or directory
> 164428 blocks
http://pastebin.ca/3778591 this is the content of loolwsd.log .
Thanks,
Should i be asking about such things on the IRC channel?
On Fri, Mar 10, 2017 at 3:47 PM, Aditya Dewan <callmedewan at gmail.com> wrote:
> ohh, i got it.
>
> Currently i am updating my repo. The internet speed is pretty bad here, so
> it'll take some more time, will build 'core' and 'online' after that.
> I will keep you updated about it.
>
> Thanks,
>
> On Fri, Mar 10, 2017 at 2:55 PM, Pranav Kant <pranav913 at gmail.com> wrote:
>
>> More precisely, you seem to be missing this[1]
>>
>>
>> [1] https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=
>> e5b98fd9c29fe427c4babe368c17d8c609b5325e
>>
>> On Fri, Mar 10, 2017 at 2:38 PM, Pranav Kant <pranav913 at gmail.com> wrote:
>>
>>> Hey,
>>>
>>> It seems that master was unstable at some point in the past when you
>>> pulled. Please pull again and compile. See [1] for details
>>>
>>>
>>> [1] http://tinderbox.libreoffice.org/cgi-bin/gunzip.cgi?tree=MAS
>>> TER&brief-log=1489070564.20308
>>>
>>> On Fri, Mar 10, 2017 at 11:10 AM, Aditya Dewan <callmedewan at gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Sorry to bother you again, i am facing some issues while building the
>>>> core( 'autogen.sh' ran fine. It had some dependency issues, but i resolved
>>>> them and it ran fine.).
>>>> The build was taking a lot of time , so i left it running overnight.
>>>> The following error came up and the build failed.
>>>>
>>>>
>>>> [CXX] sfx2/source/appl/appbaslib.cxx
>>>>> [CXX] sfx2/source/appl/appcfg.cxx
>>>>> [CXX] sfx2/source/appl/appchild.cxx
>>>>> [CXX] sfx2/source/appl/appdata.cxx
>>>>> In file included from /media/dewan/Work/gsoc/core/sf
>>>>> x2/source/appl/app.cxx:65:0:
>>>>> /media/dewan/Work/gsoc/core/include/sfx2/bindings.hxx:67:25: error:
>>>>> specialization of ‘template<class T> struct o3tl::typed_flags’ in different
>>>>> namespace [-fpermissive]
>>>>> template<> struct o3tl::typed_flags<SfxCallMode>:
>>>>> ^
>>>>> In file included from /media/dewan/Work/gsoc/core/in
>>>>> clude/vcl/bitmap.hxx:31:0,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/vcl/bitmapex.hxx:24,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/vcl/image.hxx:27,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/sfx2/app.hxx:27,
>>>>> from /media/dewan/Work/gsoc/core/sf
>>>>> x2/source/appl/app.cxx:22:
>>>>> /media/dewan/Work/gsoc/core/include/o3tl/typed_flags_set.hxx:50:29:
>>>>> error: from definition of ‘template<class T> struct o3tl::typed_flags’
>>>>> [-fpermissive]
>>>>> template<typename T> struct typed_flags {};
>>>>> ^
>>>>> In file included from /media/dewan/Work/gsoc/core/in
>>>>> clude/sfx2/dispatch.hxx:26:0,
>>>>> from /media/dewan/Work/gsoc/core/sf
>>>>> x2/source/appl/appbas.cxx:60:
>>>>> /media/dewan/Work/gsoc/core/include/sfx2/bindings.hxx:67:25: error:
>>>>> specialization of ‘template<class T> struct o3tl::typed_flags’ in different
>>>>> namespace [-fpermissive]
>>>>> template<> struct o3tl::typed_flags<SfxCallMode>:
>>>>> ^
>>>>> In file included from /media/dewan/Work/gsoc/core/in
>>>>> clude/basic/sbxdef.hxx:27:0,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/basic/sbxfac.hxx:23,
>>>>> from /media/dewan/Work/gsoc/core/sf
>>>>> x2/source/appl/appbas.cxx:32:
>>>>> /media/dewan/Work/gsoc/core/include/o3tl/typed_flags_set.hxx:50:29:
>>>>> error: from definition of ‘template<class T> struct o3tl::typed_flags’
>>>>> [-fpermissive]
>>>>> template<typename T> struct typed_flags {};
>>>>> ^
>>>>> In file included from /media/dewan/Work/gsoc/core/in
>>>>> clude/sfx2/childwin.hxx:33:0,
>>>>> from /media/dewan/Work/gsoc/core/sf
>>>>> x2/source/inc/workwin.hxx:37,
>>>>> from /media/dewan/Work/gsoc/core/sf
>>>>> x2/source/appl/appchild.cxx:26:
>>>>> /media/dewan/Work/gsoc/core/include/sfx2/bindings.hxx:67:25: error:
>>>>> specialization of ‘template<class T> struct o3tl::typed_flags’ in different
>>>>> namespace [-fpermissive]
>>>>> template<> struct o3tl::typed_flags<SfxCallMode>:
>>>>> ^
>>>>> In file included from /media/dewan/Work/gsoc/core/in
>>>>> clude/tools/errinf.hxx:29:0,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/tools/stream.hxx:26,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/svl/eitem.hxx:25,
>>>>> from /media/dewan/Work/gsoc/core/sf
>>>>> x2/source/appl/appchild.cxx:22:
>>>>> /media/dewan/Work/gsoc/core/include/o3tl/typed_flags_set.hxx:50:29:
>>>>> error: from definition of ‘template<class T> struct o3tl::typed_flags’
>>>>> [-fpermissive]
>>>>> template<typename T> struct typed_flags {};
>>>>> ^
>>>>> /media/dewan/Work/gsoc/core/solenv/gbuild/LinkTarget.mk:288: recipe
>>>>> for target '/media/dewan/Work/gsoc/core/w
>>>>> orkdir/CxxObject/sfx2/source/appl/appbas.o' failed
>>>>> make[1]: *** [/media/dewan/Work/gsoc/core/w
>>>>> orkdir/CxxObject/sfx2/source/appl/appbas.o] Error 1
>>>>> make[1]: *** Waiting for unfinished jobs....
>>>>> In file included from /media/dewan/Work/gsoc/core/in
>>>>> clude/sfx2/dispatch.hxx:26:0,
>>>>> from /media/dewan/Work/gsoc/core/sf
>>>>> x2/source/appl/appcfg.cxx:63:
>>>>> /media/dewan/Work/gsoc/core/include/sfx2/bindings.hxx:67:25: error:
>>>>> specialization of ‘template<class T> struct o3tl::typed_flags’ in different
>>>>> namespace [-fpermissive]
>>>>> template<> struct o3tl::typed_flags<SfxCallMode>:
>>>>> ^
>>>>> In file included from /media/dewan/Work/gsoc/core/in
>>>>> clude/tools/resmgr.hxx:25:0,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/vcl/builder.hxx:16,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/vcl/syswin.hxx:25,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/vcl/dialog.hxx:25,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/vcl/btndlg.hxx:24,
>>>>> from /media/dewan/Work/gsoc/core/in
>>>>> clude/vcl/msgbox.hxx:24,
>>>>> from /media/dewan/Work/gsoc/core/sf
>>>>> x2/source/appl/appcfg.cxx:28:
>>>>> /media/dewan/Work/gsoc/core/include/o3tl/typed_flags_set.hxx:50:29:
>>>>> error: from definition of ‘template<class T> struct o3tl::typed_flags’
>>>>> [-fpermissive]
>>>>> template<typename T> struct typed_flags {};
>>>>> ^
>>>>> /media/dewan/Work/gsoc/core/solenv/gbuild/LinkTarget.mk:288: recipe
>>>>> for target '/media/dewan/Work/gsoc/core/w
>>>>> orkdir/CxxObject/sfx2/source/appl/appchild.o' failed
>>>>> make[1]: *** [/media/dewan/Work/gsoc/core/w
>>>>> orkdir/CxxObject/sfx2/source/appl/appchild.o] Error 1
>>>>> /media/dewan/Work/gsoc/core/solenv/gbuild/LinkTarget.mk:288: recipe
>>>>> for target '/media/dewan/Work/gsoc/core/w
>>>>> orkdir/CxxObject/sfx2/source/appl/app.o' failed
>>>>> make[1]: *** [/media/dewan/Work/gsoc/core/w
>>>>> orkdir/CxxObject/sfx2/source/appl/app.o] Error 1
>>>>> /media/dewan/Work/gsoc/core/solenv/gbuild/LinkTarget.mk:288: recipe
>>>>> for target '/media/dewan/Work/gsoc/core/w
>>>>> orkdir/CxxObject/sfx2/source/appl/appcfg.o' failed
>>>>> make[1]: *** [/media/dewan/Work/gsoc/core/w
>>>>> orkdir/CxxObject/sfx2/source/appl/appcfg.o] Error 1
>>>>> Makefile:264: recipe for target 'build' failed
>>>>> make: *** [build] Error 2
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> On Thu, Mar 9, 2017 at 6:26 PM, Pranav Kant <pranav913 at gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Thu, Mar 9, 2017 at 6:09 PM, Aditya Dewan <callmedewan at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Couldn't really figure out much from the file 'test-suite.log'.
>>>>>> As more information, before running 'make check', I did the following.
>>>>>>
>>>>>> ./autogen-sh
>>>>>>> Installed listed packages
>>>>>>> and self build poco
>>>>>>> ./configure --with-lokit-path='/media/dewa
>>>>>>> n/Work/gsoc/online/bundled/include' --with-poco-includes=/opt/poco/include
>>>>>>> --with-poco-libs=/opt/poco/lib
>>>>>>> output -
>>>>>>> Configuration:
>>>>>>> LOKit path /media/dewan/Work/gsoc/online
>>>>>>> /bundled/include
>>>>>>> LO integration tests no integration tests
>>>>>>> SSL support ssl enabled
>>>>>>> Debug & low security secure mode: product build
>>>>>>> $ make # to compile
>>>>>>
>>>>>>
>>>>> You also need to build libreoffice core first and I think you haven't
>>>>> :) Have you already built that ? If not, please do that first (check wiki
>>>>> for details on how to).
>>>>>
>>>>> After you are done building mention the build using --with-lo-path= .
>>>>> Read wsd/README carefully, its all mentioned there.
>>>>>
>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> I will keep 'libreoffice at lists.freedesktop.org' in CC from now on.
>>>>>>
>>>>>>
>>>>>> On Thu, Mar 9, 2017 at 5:56 PM, Pranav Kant <pranav913 at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Please when replying keep libreoffice-dev@ ML in CC
>>>>>>>
>>>>>>> On Thu, Mar 9, 2017 at 5:44 PM, Aditya Dewan <callmedewan at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Really thanks for replying. As of now, i haven't built it locally.
>>>>>>>> I am working on it and probably stuck also.
>>>>>>>> i have been following the instructions in the readme file, but i am
>>>>>>>> having problems with 'make check'.
>>>>>>>> This is the output that i have been getting.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> Running build-time unit tests. For more thorough testing, please
>>>>>>>>> run 'make check'.
>>>>>>>>> TileQueueTests::testTileQueuePriority. : OK
>>>>>>>>> TileQueueTests::testTileCombinedRendering. : OK
>>>>>>>>> TileQueueTests::testTileRecombining. : OK
>>>>>>>>> TileQueueTests::testViewOrder. : OK
>>>>>>>>> TileQueueTests::testPreviewsDeprioritization. : OK
>>>>>>>>> TileQueueTests::testSenderQueue. : OK
>>>>>>>>> TileQueueTests::testSenderQueueTileDeduplication. : OK
>>>>>>>>> TileQueueTests::testInvalidateViewCursorDeduplication. : OK
>>>>>>>>> TileQueueTests::testCallbackInvalidation. : OK
>>>>>>>>> WhiteBoxTests::testLOOLProtocolFunctions. : OK
>>>>>>>>> WhiteBoxTests::testMessageAbbreviation. : OK
>>>>>>>>> WhiteBoxTests::testTokenizer. : OK
>>>>>>>>> WhiteBoxTests::testRegexListMatcher. : OK
>>>>>>>>> WhiteBoxTests::testRegexListMatcher_Init. : OK
>>>>>>>>> WhiteBoxTests::testEmptyCellCursor. : OK
>>>>>>>>> WhiteBoxTests::testRectanglesIntersect. : OK
>>>>>>>>> make test
>>>>>>>>> make[2]: Entering directory '/media/dewan/Work/gsoc/online/test'
>>>>>>>>> make[2]: 'test' is up to date.
>>>>>>>>> make[2]: Leaving directory '/media/dewan/Work/gsoc/online/test'
>>>>>>>>> make check-TESTS check-local
>>>>>>>>> make[2]: Entering directory '/media/dewan/Work/gsoc/online/test'
>>>>>>>>> make[3]: Entering directory '/media/dewan/Work/gsoc/online/test'
>>>>>>>>> FAIL: ../test/test
>>>>>>>>> ============================================================
>>>>>>>>> ================
>>>>>>>>> Testsuite summary for loolwsd master
>>>>>>>>> ============================================================
>>>>>>>>> ================
>>>>>>>>> # TOTAL: 1
>>>>>>>>> # PASS: 0
>>>>>>>>> # SKIP: 0
>>>>>>>>> # XFAIL: 0
>>>>>>>>> # FAIL: 1
>>>>>>>>> # XPASS: 0
>>>>>>>>> # ERROR: 0
>>>>>>>>> ============================================================
>>>>>>>>> ================
>>>>>>>>> See test/test-suite.log
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> Did you check the contents of test/test-suite.log ? Hopefully, it
>>>>>>> would have some hints on whats wrong. What does it say ?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Please report to libreoffice at lists.freedesktop.org
>>>>>>>>> ============================================================
>>>>>>>>> ================
>>>>>>>>> Makefile:1429: recipe for target 'test-suite.log' failed
>>>>>>>>> make[3]: *** [test-suite.log] Error 1
>>>>>>>>> make[3]: Leaving directory '/media/dewan/Work/gsoc/online/test'
>>>>>>>>> Makefile:1535: recipe for target 'check-TESTS' failed
>>>>>>>>> make[2]: *** [check-TESTS] Error 2
>>>>>>>>> make[2]: Leaving directory '/media/dewan/Work/gsoc/online/test'
>>>>>>>>> Makefile:1609: recipe for target 'check-am' failed
>>>>>>>>> make[1]: *** [check-am] Error 2
>>>>>>>>> make[1]: Leaving directory '/media/dewan/Work/gsoc/online/test'
>>>>>>>>> Makefile:1521: recipe for target 'check-recursive' failed
>>>>>>>>> make: *** [check-recursive] Error 1
>>>>>>>>
>>>>>>>>
>>>>>>>> I would be really thankful for your help.
>>>>>>>>
>>>>>>>> On Thu, Mar 9, 2017 at 4:22 PM, Pranav Kant <pranav913 at gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Aditya,
>>>>>>>>>
>>>>>>>>> On Thu, Mar 9, 2017 at 12:08 PM, Aditya Dewan <
>>>>>>>>> callmedewan at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Pranav,
>>>>>>>>>>
>>>>>>>>>> Myself Aditya Dewan, I am a second year undergraduate student
>>>>>>>>>> pursuing my bachelors in Information technology from Indian institute of
>>>>>>>>>> Information technology, Allahabad, India.
>>>>>>>>>>
>>>>>>>>>> I am proficient in C/C++, python, and javascript.
>>>>>>>>>>
>>>>>>>>>> I would love to contribute to Libreoffice online, hence i would
>>>>>>>>>> be really thankful if you could guide me towards issues that i could
>>>>>>>>>> resolve to get started.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Have you already built LibreOffice online successfully ? If not,
>>>>>>>>> please have a look at README files in LibreOffice Online[1] repository
>>>>>>>>> (wsd/README, loleaflet/README). Feel free to ask if you face any problems
>>>>>>>>> building.
>>>>>>>>>
>>>>>>>>> There are not much easyHacks as of now against LibreOffice Online,
>>>>>>>>> just this one[2] that I just created and requires coding both in C++ and
>>>>>>>>> JavaScript. You can give this one a try. In the mean time, lets see if more
>>>>>>>>> bugs can be turned into easyHacks.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> [1] https://gerrit.libreoffice.org/gitweb?p=online.git
>>>>>>>>> [2] https://bugs.documentfoundation.org/show_bug.cgi?id=106450
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Aditya Dewan
>>>>>>>>>> Github <https://github.com/dewana-dewan>, LinkedIn
>>>>>>>>>> <https://www.linkedin.com/in/aditya-dewan-09584011b/>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Regards,
>>>>>>>>> Pranav Kant
>>>>>>>>> http://pranavk.me
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Regards,
>>>>>>> Pranav Kant
>>>>>>> http://pranavk.me
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Pranav Kant
>>>>> http://pranavk.me
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Pranav Kant
>>> http://pranavk.me
>>>
>>
>>
>>
>> --
>> Regards,
>> Pranav Kant
>> http://pranavk.me
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20170311/c204f8b8/attachment.html>
More information about the LibreOffice
mailing list