Re: Origin/master build fail
Hi Franklin, Am 22.03.23 um 06:02 schrieb Franklin Weng: Hi, Since yesterday when I built from origin/master it always halted with the following messages: I have no issue to build LibreOffice this mornig: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a76ef6e4cb345d6aa70f4808188fce0ceacb CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: gtk3 Locale: de-DE (de_DE.UTF-8); UI: en-US Calc: threaded Regards, Andreas -- ## Free Software Advocate ## Plone add-on developer ## My blog: http://www.amantke.de/blog
Re: Origin/master build fail
Hi, Le 22/03/2023 à 06:02, Franklin Weng a écrit : Hi, Since yesterday when I built from origin/master it always halted with the following messages: No problem for me to build the master this morning. Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 949c73f9c35d640c841f03d505e905aa2e1b7a3f CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Ubuntu_22.04_x86-64 Calc: threaded Best regards JBF [BIN] sc [MOD] sc [BIN] postprocess [GAL] backgrounds [GAL] sounds [MOD] postprocess Aborted (core dumped) terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException' make[1]: *** [/opt/git/libreoffice.core/solenv/gbuild/Gallery.mk:57: /opt/git/libreoffice.core/workdir/Gallery/sounds.done] Error 1 make[1]: *** Waiting for unfinished jobs Aborted (core dumped) terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException' make[1]: *** [/opt/git/libreoffice.core/solenv/gbuild/Gallery.mk:57: /opt/git/libreoffice.core/workdir/Gallery/backgrounds.done] Error 1 make: *** [Makefile:289: build] Error 2 If I checked out tag libreoffice-7.5.1.2 it could build successfully, so I think it should not be caused by my building environment. Does anyone experience the same problem? Thanks, Franklin -- Franklin Weng Member, Certification Committee The Document Foundation, Kurfürstendamm 188, 10707 Berlin, DE Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts Legal details:https://www.documentfoundation.org/imprint -- Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
Origin/master build fail
Hi, Since yesterday when I built from origin/master it always halted with the following messages: [BIN] sc [MOD] sc [BIN] postprocess [GAL] backgrounds [GAL] sounds [MOD] postprocess Aborted (core dumped) terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException' make[1]: *** [/opt/git/libreoffice.core/solenv/gbuild/Gallery.mk:57: /opt/git/libreoffice.core/workdir/Gallery/sounds.done] Error 1 make[1]: *** Waiting for unfinished jobs Aborted (core dumped) terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException' make[1]: *** [/opt/git/libreoffice.core/solenv/gbuild/Gallery.mk:57: /opt/git/libreoffice.core/workdir/Gallery/backgrounds.done] Error 1 make: *** [Makefile:289: build] Error 2 If I checked out tag libreoffice-7.5.1.2 it could build successfully, so I think it should not be caused by my building environment. Does anyone experience the same problem? Thanks, Franklin -- Franklin Weng Member, Certification Committee The Document Foundation, Kurfürstendamm 188, 10707 Berlin, DE Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts Legal details:https://www.documentfoundation.org/imprint OpenPGP_signature Description: OpenPGP digital signature
Re: Master build fail
Hi, Indeed that fixed the build problem. Best regards. JBF Le 16/12/2022 à 16:51, Michael Stahl a écrit : On 16.12.22 08:46, Stephan Bergmann wrote: On 15/12/2022 23:28, Jean-Baptiste Faure wrote: When building the current master, I get the following error message (translated from French): /home/[...]/helpcontent2/CustomTarget_html.mk:49: *** insufficient number of arguments (1) for the function « if ». Stop. make[1]: *** Waiting for unfinished tasks make: *** [Makefile:289 : build] Error 2 That's presumably... commit 5daaa3e440b17505d644273a7305f073d6d5834d Author: Christian Lohmaier Date: Thu Dec 15 16:35:31 2022 +0100 cd to helpcontent2/source/text & drop it from filenames for larger batches guessing it was fixed by: commit 53871c4cf5a7703275a2e425b08a4199e9989c46 Author: Christian Lohmaier AuthorDate: Fri Dec 16 09:31:01 2022 +0100 Commit: Christian Lohmaier CommitDate: Fri Dec 16 09:31:01 2022 +0100 fix missing ) in the if statement. -- Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
Re: Master build fail
On 16.12.22 08:46, Stephan Bergmann wrote: On 15/12/2022 23:28, Jean-Baptiste Faure wrote: When building the current master, I get the following error message (translated from French): /home/[...]/helpcontent2/CustomTarget_html.mk:49: *** insufficient number of arguments (1) for the function « if ». Stop. make[1]: *** Waiting for unfinished tasks make: *** [Makefile:289 : build] Error 2 That's presumably... commit 5daaa3e440b17505d644273a7305f073d6d5834d Author: Christian Lohmaier Date: Thu Dec 15 16:35:31 2022 +0100 cd to helpcontent2/source/text & drop it from filenames for larger batches guessing it was fixed by: commit 53871c4cf5a7703275a2e425b08a4199e9989c46 Author: Christian Lohmaier AuthorDate: Fri Dec 16 09:31:01 2022 +0100 Commit: Christian Lohmaier CommitDate: Fri Dec 16 09:31:01 2022 +0100 fix missing ) in the if statement.
Re: Master build fail
On 15/12/2022 23:28, Jean-Baptiste Faure wrote: When building the current master, I get the following error message (translated from French): /home/[...]/helpcontent2/CustomTarget_html.mk:49: *** insufficient number of arguments (1) for the function « if ». Stop. make[1]: *** Waiting for unfinished tasks make: *** [Makefile:289 : build] Error 2 That's presumably... commit 5daaa3e440b17505d644273a7305f073d6d5834d Author: Christian Lohmaier Date: Thu Dec 15 16:35:31 2022 +0100 cd to helpcontent2/source/text & drop it from filenames for larger batches On the Jenkins Windows builder only 40~45 of the ~2500 helpfiles can be processed at once when not stripping that prefix. With the shortened filenames the build needs less than half of the xsltproc invocations. Also prevent a trailing carriage return to be interpreted as part of the filename on windows and drop the abbreviate_dir wrapper around the command since there's nothing left to shorten anymore. Change-Id: Ifaff26f73f262bd1d7cb4f813bf081782661ba17 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144236 Tested-by: Jenkins Reviewed-by: Christian Lohmaier diff --git a/CustomTarget_html.mk b/CustomTarget_html.mk index 8db68cf8c1..e8fd4b439d 100644 --- a/CustomTarget_html.mk +++ b/CustomTarget_html.mk @@ -38,21 +38,21 @@ $(eval $(call gb_CustomTarget_register_targets,helpcontent2/help3xsl,\ ) \ )) +# trailing space for Windows so that xargs doesn't interpret the final CR (that +# win-make adds as the newline character) as part of the last filename $(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/hid2file.js : \ $(SRCDIR)/helpcontent2/help3xsl/generate_hid2file.xsl \ $(call gb_ExternalExecutable_get_dependencies,xsltproc) \ $(foreach module,$(html_TEXT_MODULES),$(call gb_AllLangHelp_get_helpfiles_target,$(module))) \ $(SRCDIR)/helpcontent2/CustomTarget_html.mk $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),XSL,1) - $(call gb_Helper_abbreviate_dirs,\ - ( \ - RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),$(foreach module,$(html_TEXT_MODULES),$(gb_AllLangHelp_$(module)_HELPFILES))) && \ - echo 'var hid2fileMap = {' \ - && cd $(SRCDIR) && $(call gb_ExternalExecutable_get_command,xsltproc,xargs) $< <$$RESPONSEFILE || { rm $$RESPONSEFILE; exit 1 ; } \ - && rm "$$RESPONSEFILE" \ - && echo '};' \ - ) > $@ \ - ) + ( \ + RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),$(subst helpcontent2/source/text/,,$(foreach module,$(html_TEXT_MODULES),$(gb_AllLangHelp_$(module)_HELPFILES))$(if $(filter WNT,$(OS), ))) && \ ^^^ this part + echo 'var hid2fileMap = {' \ + && cd $(SRCDIR)/helpcontent2/source/text && $(call gb_ExternalExecutable_get_command,xsltproc,xargs) $< <$$RESPONSEFILE || { rm $$RESPONSEFILE; exit 1 ; } \ + && rm "$$RESPONSEFILE" \ + && echo '};' \ + ) > $@ [...]
Master build fail
Hi, When building the current master, I get the following error message (translated from French): /home/[...]/helpcontent2/CustomTarget_html.mk:49: *** insufficient number of arguments (1) for the function « if ». Stop. make[1]: *** Waiting for unfinished tasks make: *** [Makefile:289 : build] Error 2 Best regards. JBF -- Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
Master build fail in Unittest
Hello. I get the following error when building the master Error: a unit test failed, please do one of: make CppunitTest_sc_subsequent_filters_test CPPUNITTRACE="lldb --" # for interactive debugging on OS X make CppunitTest_sc_subsequent_filters_test VALGRIND=memcheck# for memory checking You can limit the execution to just one particular test by: make CppunitTest_sc_subsequent_filters_test CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params... /[...]/LibreOffice_Source/lode/dev/core/solenv/gbuild/CppunitTest.mk:120: recipe for target '/[...]/LibreOffice_Source/lode/dev/core/workdir/CppunitTest/sc_subsequent_filters_test.test' failed make[1]: *** [/[...]/LibreOffice_Source/lode/dev/core/workdir/CppunitTest/sc_subsequent_filters_test.test] Error 1 Makefile:167: recipe for target 'CppunitTest_sc_subsequent_filters_test' failed make: *** [CppunitTest_sc_subsequent_filters_test] Error 2 Best regards. Kalriel -- Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: master build fail
Le 26/06/2018 à 12:56, Caolán McNamara a écrit : On Tue, 2018-06-26 at 11:28 +0200, Jean-Baptiste Faure wrote: Le 26/06/2018 à 10:54, Caolán McNamara a écrit : On Tue, 2018-06-26 at 07:58 +0200, Jean-Baptiste Faure wrote: ‘GdkSeat’ was not declared in this scope https://gerrit.libreoffice.org/56448 will probably solve that Thank you, but I am sorry, it seems not enough, now I get these error messages after a make vcl.clean && make https://gerrit.libreoffice.org/56448 now updated for that extra block Thank you very much, problem solved with commit 043701c56cae1e281e1be90a262caa14ed936867 Best regards. JBF -- Seuls des formats ouverts peuvent assurer la pérennité de vos documents. Disclaimer: my Internet Provider being located in France, each of our exchanges over Internet will be scanned by French spying services. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: master build fail
On Tue, 2018-06-26 at 11:28 +0200, Jean-Baptiste Faure wrote: > Le 26/06/2018 à 10:54, Caolán McNamara a écrit : > > On Tue, 2018-06-26 at 07:58 +0200, Jean-Baptiste Faure wrote: > > > > ‘GdkSeat’ was not declared in this scope > > > > https://gerrit.libreoffice.org/56448 will probably solve that > > Thank you, but I am sorry, it seems not enough, now I get these > error messages after a make vcl.clean && make https://gerrit.libreoffice.org/56448 now updated for that extra block ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: master build fail
Le 26/06/2018 à 10:54, Caolán McNamara a écrit : On Tue, 2018-06-26 at 07:58 +0200, Jean-Baptiste Faure wrote: ‘GdkSeat’ was not declared in this scope https://gerrit.libreoffice.org/56448 will probably solve that Thank you, but I am sorry, it seems not enough, now I get these error messages after a make vcl.clean && make: /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx: In member function ‘void GtkInstanceMenuButton::grab_broken(GdkEventGrabBroken*)’: /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2986:13: error: ‘GdkSeat’ was not declared in this scope GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2986:13: note: suggested alternative: ‘GdkEvent’ GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~ GdkEvent /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2986:22: error: ‘pSeat’ was not declared in this scope GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2986:22: note: suggested alternative: ‘creat’ GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^ creat /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2986:30: error: ‘gdk_display_get_default_seat’ was not declared in this scope GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~~ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2986:30: note: suggested alternative: ‘gdk_display_get_default_screen’ GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~~ gdk_display_get_default_screen /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2988:27: error: ‘GDK_SEAT_CAPABILITY_ALL’ was not declared in this scope GDK_SEAT_CAPABILITY_ALL, true, nullptr, nullptr, nullptr, nullptr); ^~~ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2988:27: note: suggested alternative: ‘GTK_PRINT_CAPABILITY_SCALE’ GDK_SEAT_CAPABILITY_ALL, true, nullptr, nullptr, nullptr, nullptr); ^~~ GTK_PRINT_CAPABILITY_SCALE /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2987:13: error: ‘gdk_seat_grab’ was not declared in this scope gdk_seat_grab(pSeat, gtk_widget_get_window(GTK_WIDGET(m_pMenuHack)), ^ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2987:13: note: suggested alternative: ‘gdk_device_grab’ gdk_seat_grab(pSeat, gtk_widget_get_window(GTK_WIDGET(m_pMenuHack)), ^ gdk_device_grab Best regards. JBF -- Seuls des formats ouverts peuvent assurer la pérennité de vos documents. Disclaimer: my Internet Provider being located in France, each of our exchanges over Internet will be scanned by French spying services. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: master build fail
On Tue, 2018-06-26 at 07:58 +0200, Jean-Baptiste Faure wrote: > > ‘GdkSeat’ was not declared in this scope https://gerrit.libreoffice.org/56448 will probably solve that ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
master build fail
Hi, My master build (up to commit https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=e90b7ebe137c638523923d7d2fe8bb8d8a8d75cc) failed this night with the following error messages: [...] [build CXX] vcl/unx/gtk3/gtk3fpicker.cxx /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx: In member function ‘void GtkInstanceMenuButton::toggle_menu()’: /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2893:13: error: ‘GdkSeat’ was not declared in this scope GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2893:13: note: suggested alternative: ‘GdkEvent’ GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~ GdkEvent /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2893:22: error: ‘pSeat’ was not declared in this scope GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2893:22: note: suggested alternative: ‘creat’ GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^ creat /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2893:30: error: ‘gdk_display_get_default_seat’ was not declared in this scope GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~~ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2893:30: note: suggested alternative: ‘gdk_display_get_default_screen’ GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~~ gdk_display_get_default_screen /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2894:13: error: ‘gdk_seat_ungrab’ was not declared in this scope gdk_seat_ungrab(pSeat); ^~~ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2894:13: note: suggested alternative: ‘gdk_device_ungrab’ gdk_seat_ungrab(pSeat); ^~~ gdk_device_ungrab /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2929:13: error: ‘GdkSeat’ was not declared in this scope GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2929:13: note: suggested alternative: ‘GdkEvent’ GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~ GdkEvent /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2929:22: error: ‘pSeat’ was not declared in this scope GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2929:22: note: suggested alternative: ‘creat’ GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^ creat /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2929:30: error: ‘gdk_display_get_default_seat’ was not declared in this scope GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~~ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2929:30: note: suggested alternative: ‘gdk_display_get_default_screen’ GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~~ gdk_display_get_default_screen /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2931:27: error: ‘GDK_SEAT_CAPABILITY_ALL’ was not declared in this scope GDK_SEAT_CAPABILITY_ALL, true, nullptr, nullptr, nullptr, nullptr); ^~~ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2931:27: note: suggested alternative: ‘GTK_PRINT_CAPABILITY_SCALE’ GDK_SEAT_CAPABILITY_ALL, true, nullptr, nullptr, nullptr, nullptr); ^~~ GTK_PRINT_CAPABILITY_SCALE /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2930:13: error: ‘gdk_seat_grab’ was not declared in this scope gdk_seat_grab(pSeat, gtk_widget_get_window(GTK_WIDGET(m_pMenuHack)), ^ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2930:13: note: suggested alternative: ‘gdk_device_grab’ gdk_seat_grab(pSeat, gtk_widget_get_window(GTK_WIDGET(m_pMenuHack)), ^ gdk_device_grab /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx: In member function ‘void GtkInstanceMenuButton::grab_broken(GdkEventGrabBroken*)’: /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2953:13: error: ‘GdkSeat’ was not declared in this scope GdkSeat* pSeat = gdk_display_get_default_seat(pDisplay); ^~~ /home/libo/master/vcl/unx/gtk3/gtk3gtkinst.cxx:2953:13: note: suggested