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/
sfx2/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/
include/vcl/bitmap.hxx:31:0,
from /media/dewan/Work/gsoc/core/
include/vcl/bitmapex.hxx:24,
from /media/dewan/Work/gsoc/core/
include/vcl/image.hxx:27,
from /media/dewan/Work/gsoc/core/
include/sfx2/app.hxx:27,
from /media/dewan/Work/gsoc/core/
sfx2/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/
include/sfx2/dispatch.hxx:26:0,
from /media/dewan/Work/gsoc/core/
sfx2/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/
include/basic/sbxdef.hxx:27:0,
from /media/dewan/Work/gsoc/core/
include/basic/sbxfac.hxx:23,
from /media/dewan/Work/gsoc/core/
sfx2/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/
include/sfx2/childwin.hxx:33:0,
from /media/dewan/Work/gsoc/core/
sfx2/source/inc/workwin.hxx:37,
from /media/dewan/Work/gsoc/core/
sfx2/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/
include/tools/errinf.hxx:29:0,
from /media/dewan/Work/gsoc/core/
include/tools/stream.hxx:26,
from /media/dewan/Work/gsoc/core/
include/svl/eitem.hxx:25,
from /media/dewan/Work/gsoc/core/
sfx2/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/workdir/CxxObject/sfx2/source/appl/appbas.o'
failed
make[1]: *** [/media/dewan/Work/gsoc/core/workdir/CxxObject/sfx2/source/appl/appbas.o]
Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /media/dewan/Work/gsoc/core/
include/sfx2/dispatch.hxx:26:0,
from /media/dewan/Work/gsoc/core/
sfx2/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/
include/tools/resmgr.hxx:25:0,
from /media/dewan/Work/gsoc/core/
include/vcl/builder.hxx:16,
from /media/dewan/Work/gsoc/core/
include/vcl/syswin.hxx:25,
from /media/dewan/Work/gsoc/core/
include/vcl/dialog.hxx:25,
from /media/dewan/Work/gsoc/core/
include/vcl/btndlg.hxx:24,
from /media/dewan/Work/gsoc/core/
include/vcl/msgbox.hxx:24,
from /media/dewan/Work/gsoc/core/
sfx2/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/workdir/CxxObject/sfx2/source/appl/appchild.o'
failed
make[1]: *** [/media/dewan/Work/gsoc/core/workdir/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/workdir/CxxObject/sfx2/source/appl/app.o'
failed
make[1]: *** [/media/dewan/Work/gsoc/core/workdir/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/workdir/CxxObject/sfx2/source/appl/appcfg.o'
failed
make[1]: *** [/media/dewan/Work/gsoc/core/workdir/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@gmail.com> wrote:
On Thu, Mar 9, 2017 at 6:09 PM, Aditya Dewan <callmedewan@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@lists.freedesktop.org' in CC from now on.
On Thu, Mar 9, 2017 at 5:56 PM, Pranav Kant <pranav913@gmail.com> wrote:
Please when replying keep libreoffice-dev@ ML in CC
On Thu, Mar 9, 2017 at 5:44 PM, Aditya Dewan <callmedewan@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@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@gmail.com>
wrote:
Hi Aditya,
On Thu, Mar 9, 2017 at 12:08 PM, Aditya Dewan <callmedewan@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
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.