test UITest_writer_tests failed
Hello, While my Jenkins build, UITest_writer_tests failed and it had nothing to do with my patch, when I rebased things turned out to be fine. Regards, Rahul Gurung. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: how to set JAVA_HOME
Im on Ubuntu, and as far as I remeber I installed java from a file download from website. On Wed, 10 Oct 2018 at 11:34, Eduard Ardeleanu < eduardandrei.ardele...@gmail.com> wrote: > For me it's working by having the JAVA_HOME system property set. > What OS do you use? > I've used this article to set JAVA configuration in Ubuntu: > https://thishosting.rocks/install-java-ubuntu/ > > echo $JAVA_HOME >/usr/lib/jvm/java-8-oracle > > ./autogen.sh | grep java >checking for java... /usr/bin/java >checking for javac... /usr/bin/javac >checking for javadoc... /usr/bin/javadoc >checking for JAWT lib... -L/usr/lib/jvm/java-8-oracle/jre/lib/amd64 > -ljawt >configure: WARNING: no suitable nasm (Netwide Assembler) found >checking for JUnit 4... /usr/share/java/junit4.jar >checking for included Hamcrest... Included in /usr/share/java/junit4.jar >config.status: creating config_host/config_java.h > > Hope it helps. > > On Tue, Oct 9, 2018 at 8:51 PM Rahul Gurung > wrote: > >> While doing my new build, I get this error, >> >> >> * WARNING : JAVA_HOME was not explicitly informed with --with-jdk-home. >> the configure script >> * WARNING : attempted to find JAVA_HOME automatically, but apparently it >> failed >> * WARNING : in case JAVA_HOME is incorrectly set, some projects will not >> be built correctly >> >> >> >> tried few solutions from google and added --with-jdk-home=path/to/jdk but >> it further gives me below error >> >> >> checking whether to add custom build version... no >> configure: error: /usr/lib/jvm//bin/java not found, pass --with-jdk-home >> Error running configure at ./autogen.sh line 296. >> >> ___ >> LibreOffice mailing list >> LibreOffice@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/libreoffice >> > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
how to set JAVA_HOME
While doing my new build, I get this error, * WARNING : JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script * WARNING : attempted to find JAVA_HOME automatically, but apparently it failed * WARNING : in case JAVA_HOME is incorrectly set, some projects will not be built correctly tried few solutions from google and added --with-jdk-home=path/to/jdk but it further gives me below error checking whether to add custom build version... no configure: error: /usr/lib/jvm//bin/java not found, pass --with-jdk-home Error running configure at ./autogen.sh line 296. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: weird log while running build
Thanks, :) On Tue, 2 Oct 2018 at 16:28, Tor Lillqvist wrote: > > > On Tue, 2 Oct 2018 at 13:36, Rahul Gurung wrote: > >> Hey, >> >> I just built my LO again and while firing it up it gives me this error >> logs, I was told in IRC to rebuild, but the log still persists, though the >> build looks like running fine, my question is , Is it normal ? >> > > The ones that start with "warn:" are warnings only. The "Trying to re-use > a VirtualDevice but this time using a pre-allocated buffer" ones are > presumably harmless. The warning was introduced by me some week ago in > 988cfbaa92e7ec20e2c29b81ba14fb7e314a4a08: > > Change slightly mysterious comment into a SAL_WARN() > > No memory any more in what circumstances we might end up at this early > return spot in this function. Is it an error or can it be intentional > that the function is called like this, no idea. But now at least we > use a SAL_WARN(). > > But if that warning shows up a lot, presumably it indeed is a quite > intentional and harmless situation, and the warning can be removed. Will > check and remove. > > --tml > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
weird log while running build
Hey, I just built my LO again and while firing it up it gives me this error logs, I was told in IRC to rebuild, but the log still persists, though the build looks like running fine, my question is , Is it normal ? gurungrahul2@gurungrahul2:~/lo$ instdir/program/soffice --calc warn:sfx.view:16106:16106:sfx2/source/view/viewfrm.cxx:3052: SID_SIDEBAR state requested, but no task pane child window exists for this ID! warn:sfx.control:16106:16106:sfx2/source/control/dispatch.cxx:1362: Childwindow slot missing: 25917 warn:sfx.control:16106:16106:sfx2/source/control/dispatch.cxx:1362: Childwindow slot missing: 25917 warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.gdi:16106:16106:vcl/headless/svpgdi.cxx:256: non default depth bitmap, slow convert, upscale the input warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer warn:vcl.virdev:16106:16106:vcl/source/gdi/virdev.cxx:286: Trying to re-use a VirtualDevice but this time using a pre-allocated buffer Thanks. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: can't build libreoffice !
Sorry, I got it, I had actually changed the name of the directory from libreoffice to lo for easy (fast) access, is there a way to configure it, or I have to rename it back to libreoffice? On 19 September 2018 at 16:33, Rahul Gurung wrote: > Hey, > > > I can't build LibreOffice running make build-nocheck gives me this error > > > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/odk/docs/cpp/main.dox' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/include/sal/log-areas.dox' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/sal' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/salhelper' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/rtl' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/osl' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/typelib' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/uno' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/cppu' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/cppuhelper' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/com/sun/star/uno/Any.h' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/com/sun/star/uno/Any.hxx' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/com/sun/star/uno/genfunc.h' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/com/sun/star/uno/genfunc.hxx' does not > exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/com/sun/star/uno/Reference.h' does not > exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/com/sun/star/uno/Reference.hxx' does not > exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/com/sun/star/uno/Sequence.h' does not > exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/com/sun/star/uno/Sequence.hxx' does not > exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/com/sun/star/uno/Type.h' does not exist > warning: tag INPUT: input source `/home/gurungrahul2/ > libreoffice/instdir/sdk/include/com/sun/star/uno/Type.hxx' does not exist > error: tag OUTPUT_DIRECTORY: Output directory `/home/gurungrahul2/ > libreoffice/workdir/CustomTarget/odk/docs/cpp/ref' does not exist and > cannot be created > /home/gurungrahul2/lo/odk/CustomTarget_doxygen.mk:56: recipe for target > '/home/gurungrahul2/lo/workdir/CustomTarget/odk/docs/cpp/doxygen.log' > failed > make[1]: *** > [/home/gurungrahul2/lo/workdir/CustomTarget/odk/docs/cpp/doxygen.log] > Error 1 > make[1]: *** Deleting file '/home/gurungrahul2/lo/ > workdir/CustomTarget/odk/docs/cpp/doxygen.log' > make[1]: *** Waiting for unfinished jobs > Makefile:286: recipe for target 'build' failed > make: *** [build] Error 2 > > > Thanks, > Rahul Gurung. > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
can't build libreoffice !
Hey, I can't build LibreOffice running make build-nocheck gives me this error warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/odk/docs/cpp/main.dox' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/include/sal/log-areas.dox' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/sal' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/salhelper' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/rtl' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/osl' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/typelib' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/uno' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/cppu' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/cppuhelper' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/com/sun/star/uno/Any.h' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/com/sun/star/uno/Any.hxx' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/com/sun/star/uno/genfunc.h' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/com/sun/star/uno/genfunc.hxx' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/com/sun/star/uno/Reference.h' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/com/sun/star/uno/Reference.hxx' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/com/sun/star/uno/Sequence.h' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/com/sun/star/uno/Sequence.hxx' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/com/sun/star/uno/Type.h' does not exist warning: tag INPUT: input source `/home/gurungrahul2/libreoffice/instdir/sdk/include/com/sun/star/uno/Type.hxx' does not exist error: tag OUTPUT_DIRECTORY: Output directory `/home/gurungrahul2/libreoffice/workdir/CustomTarget/odk/docs/cpp/ref' does not exist and cannot be created /home/gurungrahul2/lo/odk/CustomTarget_doxygen.mk:56: recipe for target '/home/gurungrahul2/lo/workdir/CustomTarget/odk/docs/cpp/doxygen.log' failed make[1]: *** [/home/gurungrahul2/lo/workdir/CustomTarget/odk/docs/cpp/doxygen.log] Error 1 make[1]: *** Deleting file '/home/gurungrahul2/lo/workdir/CustomTarget/odk/docs/cpp/doxygen.log' make[1]: *** Waiting for unfinished jobs Makefile:286: recipe for target 'build' failed make: *** [build] Error 2 Thanks, Rahul Gurung. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: git workflow for bugs and new feature !
sorry, I wanted to ask git workflow, sorry for the typo. On 13 September 2018 at 20:21, Tor Lillqvist wrote: > > >> I always have a question in mind, what do you, professional developers >> follow as your GitHub workflow? >> > > LibreOffice development does not use GitHub. You are asking on the wrong > mailing list. > > --tml > > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
git workflow for bugs and new feature !
Hey, I always have a question in mind, what do you, professional developers follow as your GitHub workflow? I am curious about knowing two cases here, bugs and a new feature. *For bugs:* I read from the documentation that we should make a new branch for bug-killing but what after we pushed the code and it has been merged to master, what should we do with the local branch ? is rebase merge over master a good practice? *For new feature:* Should we make all the commits for the new feature over the same new branch? If possible, please tell the commands too, along with the answer. Thanks, Rahul Gurung. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
regarding acknowledgment for contribution !
Hey, I was searching about LibreOffice blogs and came across a post where a guy claimed to have received an acknowledgment digital certificate for his first patch to LibreOffice. I have submitted multiple patches since last month and haven't received any such thing, I think it would be cool to have that and will help me land some good internships. Thanks, Rahul Gurung. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: doubt regarding data type.
Hey, Thanks but can you elaborate a little more about sequence ? What it really is and how is effects the data type or its functions ? On 11 September 2018 at 14:39, Tadeus Prastowo wrote: > On Tue, Sep 11, 2018 at 9:49 AM, Rahul Gurung > wrote: > > Hey, > > > > What is difference between variable declared as > > > > uno::Sequence aRanges; > > aRanges is a variable of an uno::Sequence object. The object is > likely a sequence of a table::CellRangeAddress objects. > > > and a simple one as > > > > table::CellRangeAddress aRanges; > > aRanges is a variable of a single table::CellRangeAddress object. > > > Thanks, > > RG > > -- > Best regards, > Tadeus > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
doubt regarding data type.
Hey, What is difference between variable declared as uno::Sequence<*table::CellRangeAddress*> aRanges; and a simple one as *table::CellRangeAddress aRanges;* Thanks, RG ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: regarding tdf#91367 - replace ApiTokenSequence and UNO formulas in OOXML calc import
sorry, my back. Thanks again. On 5 September 2018 at 23:00, Eike Rathke wrote: > Hi Rahul, > > On Wednesday, 2018-09-05 22:53:41 +0530, Rahul Gurung wrote: > > > There is no other occurrence of > > > > *ScTokenConversion::ConvertToTokenArray()* > > > > in > > > > *sc/source/filter/oox/*.cxx* > > I count 4 > > git grep ScTokenConversion::ConvertToTokenArray sc/source/filter/oox > > sc/source/filter/oox/condformatbuffer.cxx: > ScTokenConversion::ConvertToTokenArray( > rDoc, *pTokenArray2.get(), maModel.maFormulas[ 1 ] ); > sc/source/filter/oox/condformatbuffer.cxx: > ScTokenConversion::ConvertToTokenArray( > rDoc, aTokenArray, maModel.maFormulas[ 0 ] ); > sc/source/filter/oox/workbookhelper.cxx: > (void)ScTokenConversion::ConvertToTokenArray( > rDoc, aTokenArray, rTokens ); > sc/source/filter/oox/worksheethelper.cxx:ScTokenConversion:: > ConvertToTokenArray(rDoc.getDoc(), aTokenArray, rTokens); > > > Eike > > -- > LibreOffice Calc developer. Number formatter stricken i18n > transpositionizer. > GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 > 2D3A > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: regarding tdf#91367 - replace ApiTokenSequence and UNO formulas in OOXML calc import
Hey, There is no other occurrence of *ScTokenConversion::ConvertToTokenArray()* in *sc/source/filter/oox/*.cxx* Can you provide any other hint? Regards, Rahul Gurung. On 3 September 2018 at 14:18, Eike Rathke wrote: > Hi Rahul, > > On Saturday, 2018-09-01 08:22:02 +0530, Rahul Gurung wrote: > > > I found this bug cool and want to work on it, > > Welcome! > > > but the data given on > > comments weren't enough for my level of intelligence ( a beginner ), > thus I > > need more background on this bug and what I really need to do. > > I just added comment 15 there in the bug, > https://bugs.documentfoundation.org/show_bug.cgi?id=91367#c15 > > Eike > > -- > LibreOffice Calc developer. Number formatter stricken i18n > transpositionizer. > GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 > 2D3A > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
make check always fail
Hey, after preparing a patch I want to check if it doesn't break the system in my local computer, but make check always breaks with some other tests. Thanks, Rahul Gurung. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
regarding tdf#91367 - replace ApiTokenSequence and UNO formulas in OOXML calc import
Hey, I found this bug cool and want to work on it, but the data given on comments weren't enough for my level of intelligence ( a beginner ), thus I need more background on this bug and what I really need to do. Thanks in advance, Rahul Gurung. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
how to run single cppunit tests
hey, can you tell me how to run a single and specific cpp test to check if it is working or not? I tried the methods told in the documentation it didn't work for me,(as a whole lot of unrelated tests started running) I think I am doing it wrong somewhere, so I need you to tell the exact command, taking a specific test into consideration is going to be helpful. Thank, Rahul Gurung. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Jenkins CI behaviour
How to do that, because rebasing twice doesn't seems possible? On 28 August 2018 at 21:27, Markus Mohrhard wrote: > Hey, > > On Tue, Aug 28, 2018 at 5:52 PM Rahul Gurung > wrote: > >> What if it hiccups again in rebase ? >> > > > Rebase again. Sadly some of the tests are not as stable as they should be. > Some of the old java tests and some of the platform dependent tests (either > font based, or other platform parts) fail from time to time. > > Just make sure that you are not causing the test failure before rebasing. > > Regards, > Markus > > >> On 27 August 2018 at 19:11, Muhammet Kara >> wrote: >> >>> Hi Rahul, >>> >>> On 08/27/2018 01:58 PM, Rahul Gurung wrote: >>> >>> hey, >>> >>> Why do we get that "junit test JunitTest_framework_complex failed" >>> message when we upload a patch and weird thing is it gets fixed by a >>> rebase? which rebase is recommended, normal or ticking that option we get ? >>> sorry im a newbie. >>> >>> >>> It is not something standard. Our Jenkins sometimes hiccups, which >>> causes such failures; and a rebase usually solves the issue for you by >>> triggering another build (with the latest commits). >>> >>> Thanks, >>> RG >>> >>> >>> ___ >>> LibreOffice mailing >>> listLibreOffice@lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/libreoffice >>> >>> >>> Best, >>> Muhammet >>> >> >> ___ >> LibreOffice mailing list >> LibreOffice@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/libreoffice >> > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Jenkins CI behaviour
What if it hiccups again in rebase ? On 27 August 2018 at 19:11, Muhammet Kara wrote: > Hi Rahul, > > On 08/27/2018 01:58 PM, Rahul Gurung wrote: > > hey, > > Why do we get that "junit test JunitTest_framework_complex failed" > message when we upload a patch and weird thing is it gets fixed by a > rebase? which rebase is recommended, normal or ticking that option we get ? > sorry im a newbie. > > > It is not something standard. Our Jenkins sometimes hiccups, which causes > such failures; and a rebase usually solves the issue for you by triggering > another build (with the latest commits). > > Thanks, > RG > > > ___ > LibreOffice mailing > listLibreOffice@lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/libreoffice > > > Best, > Muhammet > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Jenkins CI behaviour
hey, Why do we get that "junit test JunitTest_framework_complex failed" message when we upload a patch and weird thing is it gets fixed by a rebase? which rebase is recommended, normal or ticking that option we get ? sorry im a newbie. Thanks, RG ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
cpp unittests - give error during building about Junit
Hey, What should I do further in the patch, I have made changes to remove most build errors but at last, after around 17 min building, an error appeared saying the junit test JunitTest_framework_complex failed ( https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/13616/ ), while my tests are in cpp and have nothing to do with JUnit. My patch: https://gerrit.libreoffice.org/#/c/59522/ Thanks, RG. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Error while make test
Hey, I did the push, waiting to get it reviewed. Regards, Gurung On 22 August 2018 at 23:11, Markus Mohrhard wrote: > Hey Rahul, > > can you push your current state to gerrit so that we can discuss the code > more easily? > > Regards, > Markus > > On Wed, Aug 22, 2018 at 7:28 PM Rahul Gurung > wrote: > >> Hey, >> >> I was experimenting with cpp test by making a new test( transfered from >> java tests) and activating it when I run make test it threw this error, >> what can this error possibly mean, I know there can be many cases and this >> question may be unanswerable, but please help if possible. >> >> >> /home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/mtfxmldump.o: >> In function `MetafileXmlDump::dumpAndParse(GDIMetaFile const&, >> rtl::OUString const&)': >> mtfxmldump.cxx:(.text+0x5868): undefined reference to `tools::XmlWriter:: >> startDocument(int)' >> /home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/primitive2dxmldump.o: >> In function >> `Primitive2dXmlDump::dumpAndParse(drawinglayer::primitive2d::Primitive2DContainer >> const&, rtl::OUString const&)': >> primitive2dxmldump.cxx:(.text+0x1608): undefined reference to >> `tools::XmlWriter::startDocument(int)' >> /home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/screenshot_test.o: >> In function `ScreenshotTest::setUp()': >> screenshot_test.cxx:(.text+0x6a2): undefined reference to >> `test::Directories::getURLFromWorkdir(rtl::OUString const&) const' >> /home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/screenshot_test.o: >> In function `ScreenshotTest::implSaveScreenshot(BitmapEx const&, >> rtl::OString const&)': >> screenshot_test.cxx:(.text+0xc68): undefined reference to >> `test::Directories::getURLFromWorkdir(rtl::OUString const&) const' >> /home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/screenshot_test.o: >> In function `ScreenshotTest::processDialogBatchFile(rtl::OUString >> const&)': >> screenshot_test.cxx:(.text+0x2364): undefined reference to >> `test::Directories::getURLFromSrc(rtl::OUString const&) const' >> collect2: error: ld returned 1 exit status >> /home/gurungrahul2/libreoffice/solenv/gbuild/LinkTarget.mk:636: recipe >> for target >> '/home/gurungrahul2/libreoffice/workdir/LinkTarget/Library/libtest.so' >> failed >> make[1]: *** >> [/home/gurungrahul2/libreoffice/workdir/LinkTarget/Library/libtest.so] >> Error 1 >> Makefile:120: recipe for target 'test' failed >> make: *** [test] Error 2 >> >> >> >> >> Thanks. >> ___ >> LibreOffice mailing list >> LibreOffice@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/libreoffice >> > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Error while make test
Hey, I was experimenting with cpp test by making a new test( transfered from java tests) and activating it when I run make test it threw this error, what can this error possibly mean, I know there can be many cases and this question may be unanswerable, but please help if possible. /home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/mtfxmldump.o: In function `MetafileXmlDump::dumpAndParse(GDIMetaFile const&, rtl::OUString const&)': mtfxmldump.cxx:(.text+0x5868): undefined reference to `tools::XmlWriter::startDocument(int)' /home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/primitive2dxmldump.o: In function `Primitive2dXmlDump::dumpAndParse(drawinglayer::primitive2d::Primitive2DContainer const&, rtl::OUString const&)': primitive2dxmldump.cxx:(.text+0x1608): undefined reference to `tools::XmlWriter::startDocument(int)' /home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/screenshot_test.o: In function `ScreenshotTest::setUp()': screenshot_test.cxx:(.text+0x6a2): undefined reference to `test::Directories::getURLFromWorkdir(rtl::OUString const&) const' /home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/screenshot_test.o: In function `ScreenshotTest::implSaveScreenshot(BitmapEx const&, rtl::OString const&)': screenshot_test.cxx:(.text+0xc68): undefined reference to `test::Directories::getURLFromWorkdir(rtl::OUString const&) const' /home/gurungrahul2/libreoffice/workdir/CxxObject/test/source/screenshot_test.o: In function `ScreenshotTest::processDialogBatchFile(rtl::OUString const&)': screenshot_test.cxx:(.text+0x2364): undefined reference to `test::Directories::getURLFromSrc(rtl::OUString const&) const' collect2: error: ld returned 1 exit status /home/gurungrahul2/libreoffice/solenv/gbuild/LinkTarget.mk:636: recipe for target '/home/gurungrahul2/libreoffice/workdir/LinkTarget/Library/libtest.so' failed make[1]: *** [/home/gurungrahul2/libreoffice/workdir/LinkTarget/Library/libtest.so] Error 1 Makefile:120: recipe for target 'test' failed make: *** [test] Error 2 Thanks. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Rahul Gurung - license statement
All of my past & future contributions to LibreOffice may be licensed under the MPLv2/LGPLv3+ dual license. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
converting _XFootnote.java to cpp
Hi, I have almost converted ifc/text/_XFootnote.java into cpp but I am confused with the sc/qa/extra part which file should be changed or created and why? I checked old commits and think it depends on the test but what should it be, in the case of _XFootnote.java? Thanks, R. Gurung ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
about basic header files
Hi, In colleges, we are taught to use header files like iostream.h in cpp to use various functions, but while diving in LO code (specifically java and cpp tests) i found that we don't mention those header files, why so? Thanks in advance, Gurung ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Converting java unit test to cppunit
Hi, I am trying to convert java unit tests to cppunit test and I am currently studying old commits, and came across this line, "UnoRuntime.queryInterface (XArrayFormulaRange.class, new_range);" I checked the documentation but couldn't find what this XArrayFormulaRange.class means, can anyone explain? I am new to Open Source. Thanks. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice