Re: [Libreoffice] build error in tail_build
Cool, thanks! Michael Stahl wrote: > On 20/10/11 09:00, Noel Grandin wrote: >> Hi >> >> Building on Windows using Visual Studio, running into a build error in >> ScriptProviderForJava. >> >> Trimmed build log attached. >> >> Any ideas? >> >> Thanks, Noel Grandin > > have had this problem myself today, the command for compiling java files does > not do the right thing in case of a > partial rebuild. > > fixed on master: > > http://cgit.freedesktop.org/libreoffice/core/commit/?id=81042d7a366ad8d5f52fcd78e4b44183f62ce0e1 > > ___ > LibreOffice mailing list > LibreOffice@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/libreoffice > Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
Here is my build_error.log http://nabble.documentfoundation.org/file/n3450416/build_error.log build_error.log As I already stated, when I remove all mentions of adabasui, I no longer get the adabasuilo.so error, but I still get the sdbtlo.so error. I am not sure if adabasui is the problem, or if the problem is somewhere else, and only showing up here, but since everything from this point on fails the same way, I am thinking the problem is somewhere else, but I have no idea where. Then again, I could be totally wrong. Thanks for the help so far. Any other ideas? -- View this message in context: http://nabble.documentfoundation.org/build-error-in-tail-build-tp3419875p3450416.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
On 20/10/11 09:00, Noel Grandin wrote: Hi Building on Windows using Visual Studio, running into a build error in ScriptProviderForJava. Trimmed build log attached. Any ideas? Thanks, Noel Grandin have had this problem myself today, the command for compiling java files does not do the right thing in case of a partial rebuild. fixed on master: http://cgit.freedesktop.org/libreoffice/core/commit/?id=81042d7a366ad8d5f52fcd78e4b44183f62ce0e1 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
http://nabble.documentfoundation.org/file/n3438727/autogen.lastrun autogen.lastrun Is this what you wanted? If I do have a partial build of some library installed somewhere, I have no idea what it would be. -- View this message in context: http://nabble.documentfoundation.org/build-error-in-tail-build-tp3419875p3438727.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] build error in tail_build
Hi Building on Windows using Visual Studio, running into a build error in ScriptProviderForJava. Trimmed build log attached. Any ideas? Thanks, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html [ build JCS ] Jar/ScriptProviderForBeanShell [ build JCS ] Jar/ScriptProviderForJava Creating library c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/idbaxml.lib and object c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/idbaxml.exp [ build JCS ] Jar/ScriptProviderForJavaScript [ build ZIP ] ScriptsJava c:/libreoffice/libo/scripting/java/com/sun/star/script/framework/provider/java/ScriptProviderForJava.java:50: package com.sun.star.script.framework.container does not exist import com.sun.star.script.framework.container.ScriptMetaData; ^ c:/libreoffice/libo/scripting/java/com/sun/star/script/framework/provider/java/ScriptProviderForJava.java:53: package com.sun.star.script.framework.log does not exist import com.sun.star.script.framework.log.LogUtils; ^ c:/libreoffice/libo/scripting/java/com/sun/star/script/framework/provider/java/ScriptProviderForJava.java:68: cannot find symbol symbol : class ScriptProvider location: class com.sun.star.script.framework.provider.java.ScriptProviderForJava public static class _ScriptProviderForJava extends ScriptProvider ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 34 errors make[1]: *** [/cygdrive/c/libreoffice/libo/workdir/wntmsci12.pro/JavaClassSet/Jar/ScriptProviderForJava/done] Error 1 Creating library c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/irptxml.lib and object c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/irptxml.exp Creating library c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/irptui.lib and object c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/irptui.exp Creating library c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/iscui.lib and object c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/iscui.exp Creating library c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/ivbaobj.lib and object c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/ivbaobj.exp Creating library c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/iscfilt.lib and object c:/libreoffice/libo/workdir/wntmsci12.pro/LinkTarget/Library/iscfilt.exp make[1]: *** wait: No child processes. Stop. dmake: Error code 2, while making 'all' --- Oh dear - something failed during the build - sorry ! For more help with debugging build errors, please see the section in: http://wiki.documentfoundation.org/Development internal build errors: ERROR: error 65280 occurred while making /cygdrive/c/libreoffice/libo/tail_build/prj it seems that the error is inside 'tail_build', please re-run build inside this module to isolate the error and/or test your fix: --- /usr/bin/sh cd C:/libreoffice/libo source ./Env.Host.sh cd tail_build /opt/lo/bin/make clean # optional /opt/lo/bin/make -r when the problem is isolated and fixed exit and re-run 'make' from the top-level make: *** [build] Error 1 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
On Tue, 2011-10-18 at 08:43 -0700, night striker wrote: > Ok, I removed all mentions of adabasui from dbaccess/Module_dbaccess.mk and > from scp2 and I am no longer getting the first error, but I still get Hokay :-) sounds good, I suppose we should remove the code they mention as well, and get a patch to the list (?). > collect2: ld returned 1 exit status > make: *** [[...]/workdir/unxlngx6.pro/LinkTarget/Library/libsdbtlo.so] Error .. > Should I find and remove mentions of sdbt as well, or should that be built? That sounds like a similar problem in a different form I guess. Is it possible you have a partial build of some library installed ? can you give more detail on the actual link error, and the configure flags you used ? Thanks :-) Michael. -- michael.me...@suse.com <><, Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
Ok, I removed all mentions of adabasui from dbaccess/Module_dbaccess.mk and from scp2 and I am no longer getting the first error, but I still get collect2: ld returned 1 exit status make: *** [[...]/workdir/unxlngx6.pro/LinkTarget/Library/libsdbtlo.so] Error 1 Should I find and remove mentions of sdbt as well, or should that be built? -- View this message in context: http://nabble.documentfoundation.org/build-error-in-tail-build-tp3419875p3431606.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
Hi there, On Sun, 2011-10-16 at 17:13 -0700, night striker wrote: > Well, for some reason, it appears that something is looking for it when i > build. Any ideas on how I can stop things from looking for this. Or is > there a way to enable this adabas DB stuff so that it will build? Most odd; it looks like there is still some adabasui code lurking around that (I suspect) we want to kill as well). Why it fails to build, I don't know. If you remove all mentions of adabasui from: dbaccess/Module_dbaccess.mk And then all mentions of it from the 'scp2' module (use git grep), hopefully life will be better, and you'll have your first patch to submit (via git diff) ? :-) Sorry for the build pain [!] annoying that no-one can reproduce it too (often worth specifying your configure parameters by attaching autogen.lastrun or somesuch) which might give a clue. Thanks, Michael. -- michael.me...@suse.com <><, Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
Well, for some reason, it appears that something is looking for it when i build. Any ideas on how I can stop things from looking for this. Or is there a way to enable this adabas DB stuff so that it will build? -- View this message in context: http://nabble.documentfoundation.org/build-error-in-tail-build-tp3419875p3427014.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
Wasnt the adabas DB stuff removed or disabled or so I thought? On 13/10/2011 23:22, night striker wrote: The build fails for me in tail_build with these errors collect2: ld returned 1 exit status make: *** [[...]/workdir/unxlngx6.pro/LinkTarget/Library/libadabasuilo.so] Error 1 collect2: ld returned 1 exit status make: *** [[...]/workdir/unxlngx6.pro/LinkTarget/Library/libsdbtlo.so] Error 1 Any idea why I am getting these errors, and how I can fix this. -- View this message in context: http://nabble.documentfoundation.org/build-error-in-tail-build-tp3419875p3419875.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice Regards Jonathan Aquilina Get a signature like this. CLICK HERE. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] build error in tail_build
The build fails for me in tail_build with these errors collect2: ld returned 1 exit status make: *** [[...]/workdir/unxlngx6.pro/LinkTarget/Library/libadabasuilo.so] Error 1 collect2: ld returned 1 exit status make: *** [[...]/workdir/unxlngx6.pro/LinkTarget/Library/libsdbtlo.so] Error 1 Any idea why I am getting these errors, and how I can fix this. -- View this message in context: http://nabble.documentfoundation.org/build-error-in-tail-build-tp3419875p3419875.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
Norbert Thiebaud wrote (09-08-11 19:43) On Tue, Aug 9, 2011 at 12:25 PM, Cor Nouws wrote: git complains that libo exists and is not empty. that is probably because libo was the name of the bootstrap you already have... you need to chose another name than libo (core ? ) Yes of course that was the reason. Hence my question: any smart way to - get rid of the old master repro + - conserve the (sharing) libreoffice 3-4-0 clone Stupid question I though myself later on. I'm not sure how you are set-up, but no, you cannot 'share' master and libreoffice-3-4 because they live on different repositories (different as completely different, nothing in common) Set up a new repro and with some small barriers, build was successful. Now up to the next... -- - Cor - http://nl.libreoffice.org ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
Norbert Thiebaud wrote (09-08-11 14:36) ohh! I see. No, you were not supposed to run that script :-) That is what I expected, but had the idea to look for some pointers. Anyhow: better ask advise right away the next time. so, all you need to do is git clone git://anongit.freedesktop.org/libreoffice/core git complains that libo exists and is not empty. Hence my question: any smart way to - get rid of the old master repro + - conserve the (sharing) libreoffice 3-4-0 clone ? Thanks, PS: as a reminder this apply only to master and future release branch out of master (3.5 and after). the 3.3.x and 3.4.x maintenance remain on the old repositories, and will remain there. -- - Cor - http://nl.libreoffice.org ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
On Tue, Aug 9, 2011 at 7:24 AM, Cor Nouws wrote: > julien2412 wrote (09-08-11 14:04) >> >> I don't think there's a script for this. Just create your local repo from >> scratch by following this url : >> http://wiki.documentfoundation.org/Development/Native_Build (this page has >> been updated). > > Ah, thanks. I only looked at the 'get your first build' part lately. > > Any thing I need to do to prevent mixing with the current local master, old and new are in completely separate git... you need to get a brand new git repository, by cloning core. this will not 'update' you existing bootstrap setup any work pending you had in the old repository (and that was not committed before last friday, will remain there and will not be in the nre core repository unless you manually apply patches yourself to transfer the work from the old to the new. Norbert ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
On Tue, Aug 9, 2011 at 6:43 AM, Cor Nouws wrote: > Norbert Thiebaud wrote (09-08-11 12:42) > >> So you are still pulling 'master' from last friday... since the master >> you pulled is froozen read-only in bootstrap,artwork,base,calc, >> etc > > Hmm :-( > >> what made you think that 'it was not needed for you' ? > > Combination of various, such as: > - lack of experience > - Only pointer I found on > http://wiki.documentfoundation.org/Development/One_Git_Conversion was the > " onegit.sh, found in contrib/dev-tools " > which I did not have ohh! I see. No, you were not supposed to run that script :-) The page above, describe the process used to convert/consolidate the repositories. the result is that bootstrap is now replaced by core and the only repository left are core, binfilter, help, dictionaries and translations. so, all you need to do is git clone git://anongit.freedesktop.org/libreoffice/core to clone the brand new 'core' repo and then autogen/make as usual in that core repository. make will clone any other repository if needed (it will always clone help, and dictionaries, binfilter and translations will be cloned depending on autogen options) any patch you had pending in your previous repositories, need to be re-applied in the new one. (no, fetch/merge between the two are not possible, since they share no common ancestor) Note that the new repo had all the tab/spaces anomalies cleaned-up, so when re-applying patches you may have issues. git apply has options to mitigate these issues ( --withespace=fix , --ignore-whitespaces I strongly suggest reading man git-apply for theses) Norbert PS: as a reminder this apply only to master and future release branch out of master (3.5 and after). the 3.3.x and 3.4.x maintenance remain on the old repositories, and will remain there. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
julien2412 wrote (09-08-11 14:04) I don't think there's a script for this. Just create your local repo from scratch by following this url : http://wiki.documentfoundation.org/Development/Native_Build (this page has been updated). Ah, thanks. I only looked at the 'get your first build' part lately. Any thing I need to do to prevent mixing with the current local master, or could I just delete that with smthng as ./g -f master -D ? (inspired by the page Development#Using_Git_for_LibreOffice_development) Currently I have both the old master and libreoffice-3-4-0 You could save your autogen.lastrun if you want to preserve the options you usually passed for the compilation. Then after the autogen.sh part, copy the backup in your repo and rerun autogen.sh before running the compilation with "make". Hope I forgot nothing or misunderstood anything :-) Julien. PS : "make" fetches dictionnary and help repositories by default Thanks, -- - Cor - http://nl.libreoffice.org ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
Cor Nouws wrote: > > ... > But hey, better then summing up more reasons: > what command(s) do I use to move to the new master? > ...___ > LibreOffice mailing list > LibreOffice@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/libreoffice > Hello, I don't think there's a script for this. Just create your local repo from scratch by following this url : http://wiki.documentfoundation.org/Development/Native_Build (this page has been updated). You could save your autogen.lastrun if you want to preserve the options you usually passed for the compilation. Then after the autogen.sh part, copy the backup in your repo and rerun autogen.sh before running the compilation with "make". Hope I forgot nothing or misunderstood anything :-) Julien. PS : "make" fetches dictionnary and help repositories by default -- View this message in context: http://nabble.documentfoundation.org/build-error-in-tail-build-tp3238515p3238689.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
Norbert Thiebaud wrote (09-08-11 12:42) So you are still pulling 'master' from last friday... since the master you pulled is froozen read-only in bootstrap,artwork,base,calc, etc Hmm :-( what made you think that 'it was not needed for you' ? Combination of various, such as: - lack of experience - Only pointer I found on http://wiki.documentfoundation.org/Development/One_Git_Conversion was the " onegit.sh, found in contrib/dev-tools " which I did not have - the fact that pull did not give an error - I saw some remark on commit rights in combination with another command - ... But hey, better then summing up more reasons: what command(s) do I use to move to the new master? Thanks, -- - Cor - http://nl.libreoffice.org ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] build error in tail_build
On Tue, Aug 9, 2011 at 5:31 AM, Cor Nouws wrote: > Hi *, > > > Building LibreOffice now and then. > Currently to look at some functions / dig a bit in the code. > Low level experience. > Working on Ubuntu. > > Previous successful build was from July 6 > Yesterday I did a ./g pull -r on the master. > (Didn't do any special action for the one-git transition, since I thought > that is not needed for me). So you are still pulling 'master' from last friday... since the master you pulled is froozen read-only in bootstrap,artwork,base,calc, etc what made you think that 'it was not needed for you' ? Norbert ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] build error in tail_build
Hi *, Building LibreOffice now and then. Currently to look at some functions / dig a bit in the code. Low level experience. Working on Ubuntu. Previous successful build was from July 6 Yesterday I did a ./g pull -r on the master. (Didn't do any special action for the one-git transition, since I thought that is not needed for me). There were a few internal build errors that could be passed by following the typical advise as: rm -Rf /home/cono/src/git/libo/odk/unxlngi6.pro # optional module 'clean' /bin/bash cd /home/cono/src/git/libo source ./Env.Host.sh cd odk build and again make Now I get a build errror in tail_build: [ build LNK ] CppunitTest/libtest_sd_uimpress.so R=/home/cono/src/git && S=$R/libo && O=$S/solver/350/unxlngi6.pro && W=$S/workdir/unxlngi6.pro && mkdir -p $W/LinkTarget/CppunitTest/ && g++ -shared -Wl,-z,noexecstack -Wl,-z,defs -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc -L$S/solenv/unxlngi6/lib -L$O/lib -L$S/solenv/unxlngi6/lib -L/usr/lib/i386-linux-gnu -Wl,--hash-style=gnu -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,-Bsymbolic-functions -Wl,--strip-all $W/CxxObject/sd/qa/unit/uimpress.o `cat $W/LinkTarget/Library/libsdlo.so.objectlist` -Wl,--start-group -Wl,--end-group -lcppunit -lavmedialo -lbasegfxlo -lcanvastoolslo -lcomphelpgcc3 -lcppcanvaslo -luno_cppu -luno_cppuhelpergcc3 -ldrawinglayerlo -leditenglo -li18nisolang1gcc3 -luno_sal -luno_salhelpergcc3 -lsblo -lsfxlo -lsotlo -lsvllo -lsvtlo -lsvxcorelo -lsvxlo -ltklo -ltllo -lucbhelper4gcc3 -lutllo -lvcllo -lxolo -o $W/LinkTarget/CppunitTest/libtest_sd_uimpress.so cat: /home/cono/src/git/libo/workdir/unxlngi6.pro/LinkTarget/Library/libsdlo.so.objectlist: Bestand of map bestaat niet /home/cono/src/git/libo/workdir/unxlngi6.pro/CxxObject/sd/qa/unit/uimpress.o: In function `(anonymous namespace)::Test::setUp()': uimpress.cxx:(.text+0x143): undefined reference to `SdDrawDocument::SdDrawDocument(DocumentType, SfxObjectShell*)' /home/cono/src/git/libo/workdir/unxlngi6.pro/CxxObject/sd/qa/unit/uimpress.o: In function `(anonymous namespace)::Test::testCustomShow()': uimpress.cxx:(.text+0x30e): undefined reference to `SdDrawDocument::GetCustomShowList(unsigned char)' /home/cono/src/git/libo/workdir/unxlngi6.pro/CxxObject/sd/qa/unit/uimpress.o: In function `CppUnit::ConcretTestFixtureFactory<(anonymous namespace)::Test>::makeFixture()': uimpress.cxx:(.text+0xc07): undefined reference to `SdDLL::Init()' collect2: ld returned 1 exit status make: *** [/home/cono/src/git/libo/workdir/unxlngi6.pro/LinkTarget/CppunitTest/libtest_sd_uimpress.so] Fout 1 Advice? Thanks, -- - Cor - http://nl.libreoffice.org ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice