<div dir="ltr"><div>Thanks for you help. the 'make build-nocheck' did the trick of passing the unit test, and it finishes successfully :-)<br></div><div><br></div><div>Now I'm on the stage of trying to build distributable deb files. As suggested before, I added the following lines to autogen.input</div><div><br>--with-distro=LibreOfficeLinux<br>--enable-release-build<br>--with-package-format=deb<br>--disable-dependency-tracking</div><div><br></div><div>Next I added export QT5DIR="/usr/lib/i386-linux-gnu/qt5" because in my system is not enough to have the qt5-make and qr5-make-bin packages installed.</div><div><br></div><div>Then I Installed a bunch of packages that seems to be necessary. As they seem to be KF5/QT5 related, I installed the suggested ones for kdenlive development: <a href="https://community.kde.org/Kdenlive/Development/KF5">https://community.kde.org/Kdenlive/Development/KF5</a>, maybe some were not necessary, but would be hard to know which ones.<br></div><div><br></div><div><pre>sudo apt-get install build-essential pkg-config \
libavformat-dev libavdevice-dev frei0r-plugins-dev frei0r-plugins libgtk2.0-dev libexif-dev \
libsdl2-dev libsox-dev libxml2-dev \
ladspa-sdk libcairo2-dev libswscale-dev qtscript5-dev libqt5svg5-dev \
libqt5opengl5-dev libepoxy-dev libeigen3-dev libfftw3-dev \
git yasm libtool automake autoconf libtool-bin libtheora-bin libtheora-dev \
intltool swig libmp3lame-dev libgavl-dev libsamplerate0-dev libjack-dev libsoup2.4-dev \
python-dev libkf5crash-dev libkf5filemetadata-dev<br><br></pre></div><div>After that, I also had to install<br><pre><code>libqt5x11extras5-dev</code></pre></div><div>However, something is still missing, because make build-nocheck now throws the following error:</div><div><br></div><div>/home/linux/libreoffice/libreoffice/configmgr/source/components.cxx:287: error: undefined reference to 'configmgr::dconf::writeModifications(configmgr::Components&, configmgr::Data&)'<br>/home/linux/libreoffice/libreoffice/configmgr/source/components.cxx:531: error: undefined reference to 'configmgr::dconf::readLayer(configmgr::Data&, int)'<br>/home/linux/libreoffice/libreoffice/configmgr/source/components.cxx:533: error: undefined reference to 'configmgr::dconf::readLayer(configmgr::Data&, int)'<br>collect2: error: ld returned 1 exit status<br>/home/linux/libreoffice/libreoffice/Library_merged.mk:11: recipe for target '/home/linux/libreoffice/libreoffice/instdir/program/libmergedlo.so' failed<br>make[1]: *** [/home/linux/libreoffice/libreoffice/instdir/program/libmergedlo.so] Error 1<br>make[1]: *** Waiting for unfinished jobs....<br>Makefile:282: recipe for target 'build' failed<br>make: *** [build] Error 2<br></div><div> <br></div><div>Any idea what could be missing to successfully build the .deb files?</div><div><br></div><div>Thanks again for all your help.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié., 7 ago. 2019 a las 14:44, Michael Weghorn (<<a href="mailto:m.weghorn@posteo.de">m.weghorn@posteo.de</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is there more output for the failing unit test that indicates what might<br>
be going wrong? You can e.g. also paste larger output at<br>
<a href="http://paste.debian.net/" rel="noreferrer" target="_blank">http://paste.debian.net/</a> or some similar service.<br>
<br>
As a workaround, you can also try building LibreOffice without running<br>
the unit tests for now, by using 'make build-nocheck' instead of the<br>
plain 'make' command.<br>
<br>
On 07/08/2019 00.12, <a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a> wrote:<br>
> Well, I did a third compile try, but it failed again.<br>
> <br>
> This time first I did a clean up:<br>
> <br>
> -------<br>
> make clean<br>
> ------<br>
> <br>
> Then I did a ./configure, passing CFLAGS and CFLAGSXX as:<br>
> <br>
> -------<br>
> ./configure CFLAGS='-mfpmath=sse -msse2' CFLAGSCXX='-mfpmath=sse -msse2'<br>
> --with-jdk-home=/usr/lib/jvm/default-java<br>
> -------<br>
> <br>
> ./configure is in fact reading those flags, as can be seen on the<br>
> relevant part of its output:<br>
> <br>
> -----------------------<br>
> checking whether to use link-time optimization... no<br>
> checking for explicit AFLAGS... no<br>
> checking for explicit CFLAGS... -mfpmath=sse -msse2<br>
> checking for explicit CXXFLAGS... -mfpmath=sse -msse2<br>
> checking for explicit OBJCFLAGS... no<br>
> checking for explicit OBJCXXFLAGS... no<br>
> checking for explicit LDFLAGS... no<br>
> -------------------------<br>
> <br>
> Then I did a make, again passing the CFLAGS(XX) as parameters:<br>
> <br>
> ----------------<br>
> make CLAGS='-mfpmath=sse -msse2' CFLAGSCXX='-mfpmath=sse -msse2'<br>
> ----------------<br>
> <br>
> But it failed again at the CpuunitTest stuff, although the error message<br>
> is a bit different from the previous ones:<br>
> <br>
> -------------------------<br>
> Failures !!!<br>
> Run: 52 Failure total: 1 Failures: 1 Errors: 0<br>
> <br>
> Error: a unit test failed, please do one of:<br>
> <br>
> make CppunitTest_sw_layoutwriter CPPUNITTRACE="gdb --args"<br>
> # for interactive debugging on Linux<br>
> make CppunitTest_sw_layoutwriter VALGRIND=memcheck<br>
> # for memory checking<br>
> make CppunitTest_sw_layoutwriter DEBUGCPPUNIT=TRUE<br>
> # for exception catching<br>
> <br>
> You can limit the execution to just one particular test by:<br>
> <br>
> make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...<br>
> <br>
> /home/linux/libreoffice/libreoffice/solenv/gbuild/CppunitTest.mk:113:<br>
> recipe for target<br>
> '/home/linux/libreoffice/libreoffice/workdir/CppunitTest/sw_layoutwriter.test'<br>
> failed<br>
> make[1]: ***<br>
> [/home/linux/libreoffice/libreoffice/workdir/CppunitTest/sw_layoutwriter.test]<br>
> Error 1<br>
> make[1]: *** Waiting for unfinished jobs....<br>
> Makefile:282: recipe for target 'build' failed<br>
> make: *** [build] Error 2<br>
> -----------------------------<br>
> <br>
> So... what else could be done to reach the goal of building LIbreOffice<br>
> 32-bit?<br>
> <br>
> Thanks again in advance.<br>
> <br>
> El lun., 5 ago. 2019 a las 16:40, <a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a><br>
> <mailto:<a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a>> (<<a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a><br>
> <mailto:<a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a>>>) escribió:<br>
> <br>
> <br>
> Well, based on the info that Stephan kindly passed, I tried 'make'<br>
> with the following parameters:<br>
> <br>
> make ENVCFLAGS="-mfpmath=sse -msse2" ENVCFLAGSCXX="-mfpmath=sse -msse2"<br>
> <br>
> However, it threw the same error as before.<br>
> <br>
> I intentionally did not type 'make clean' beforehand because:<br>
> <br>
> 1) I'm assumming that those additional flags would be applied in the<br>
> code that fails to compile. I *think* that if it didn't not work<br>
> again, that would mean that the issue is something else?<br>
> 2) I'm willing to do a 'make clean' if my above assumption is<br>
> incorrect, even if that means another 7 hours of hard work for my<br>
> poor computer. However, as I stated before, for this scenario I'm<br>
> following the instructions from<br>
> <br>
> <a href="https://blog.documentfoundation.org/blog/2019/06/12/start-developing-libreoffice-download-the-source-code-and-build-on-linux/" rel="noreferrer" target="_blank">https://blog.documentfoundation.org/blog/2019/06/12/start-developing-libreoffice-download-the-source-code-and-build-on-linux/</a><br>
> <br>
> But I have no idea which version of LibreOffice I'm compiling. To be<br>
> worth all the extra efforts that a 'make clean' represents, I'd like<br>
> to be sure that I'm trying to compile LibreOffice 6.3.<br>
> <br>
> Is there a way to prove or instruct that LibreOffice 6.3 is the<br>
> selected one to compile?<br>
> <br>
> Best Regards and Thanks in advance.<br>
> <br>
> El lun., 5 ago. 2019 a las 9:53, <a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a><br>
> <mailto:<a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a>> (<<a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a><br>
> <mailto:<a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a>>>) escribió:<br>
> <br>
> Well, my first compile attempts had not been very good.<br>
> <br>
> I followed the instructions kindly provided by Michael Weghorn,<br>
> and downloaded and uncompress the source packages<br>
> libreoffice-6.3.0.3.tar.xz,<br>
> libreoffice-dictionaries-6.3.0.3.tar.xz,<br>
> libreoffice-help-6.3.0.3.tar.xz and<br>
> libreoffice-translations-6.3.0.3.tar.xz<br>
> <br>
> The first issue was that autogen requires the presence of<br>
> gstreamer1.0 AND of gstreamer0.10. gstreamer0.10 is deprecated,<br>
> but anyway I found and installed the required gstreamer0.10 deb<br>
> packages from elsewhere, but it still complained that they were<br>
> missing, so I added a --disable-gstreamer-0-10 parameter.<br>
> <br>
> Then a new error appeared:<br>
> <br>
> "configure: error: Wrong qmake for Qt5 found. Please specify the<br>
> root of your Qt5 installation by exporting QT5DIR before running<br>
> "configure".<br>
> Error running configure at ./autogen.sh line 302."<br>
> <br>
> However, the qt5-qmake and qt5-qmake-bin packages are installed<br>
> in my system!<br>
> <br>
> Since I was not able to stat compiling using Michael<br>
> instructions, I wondered what would happen if I followed instead<br>
> the steps recently published on the LibreOffice blog<br>
> (<a href="https://blog.documentfoundation.org/blog/2019/06/12/start-developing-libreoffice-download-the-source-code-and-build-on-linux/" rel="noreferrer" target="_blank">https://blog.documentfoundation.org/blog/2019/06/12/start-developing-libreoffice-download-the-source-code-and-build-on-linux/</a>)<br>
> It was a blind choice, since I have no idea what LibreOffice<br>
> version would I get if compiled (is there a way to get an<br>
> specific version?), or how easy would be to generate deb<br>
> packages afterwards.<br>
> <br>
> In that set of instructions I changed:<br>
> <br>
> --with-lang=hu en-US<br>
> <br>
> to<br>
> <br>
> --with-lang=es en-US<br>
> <br>
> in order to try to obtain a LibreOffice in Spanish language, not<br>
> in Hungarian.<br>
> <br>
> I also removed the following lines:<br>
> <br>
> --with-referenced-git=/home/linuxosfelhasznalonev/libreoffice/core<br>
> --with-external-tar=/home/linuxosfelhasznalonev/libreoffice/core/external/tarballs<br>
> <br>
> <br>
> As they point to hard paths on the disk of the article author. I<br>
> tried to reproduce those paths to match my own by creating core,<br>
> external and tarballs directories, but it didn't work, so I<br>
> merely removed those two lines.<br>
> <br>
> This time it began compiling, but after A LOT of hours and more<br>
> of 40 GB used, the make command always stops at this error:<br>
> <br>
> <br>
> "Error: a unit test failed, please do one of:<br>
> make CppunitTest_sc_filters_test CPPUNITTRACE="gdb --args"<br>
> # for interactive debugging on Linux<br>
> make CppunitTest_sc_filters_test VALGRIND=memcheck<br>
> # for memory checking<br>
> make CppunitTest_sc_filters_test DEBUGCPPUNIT=TRUE<br>
> # for exception catching<br>
> You can limit the execution to just one particular test by:<br>
> make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...<br>
> /home/linux/libreoffice/libreoffice/solenv/gbuild/CppunitTest.mk:113:<br>
> recipe for target<br>
> '/home/linux/libreoffice/libreoffice/workdir/CppunitTest/sc_filters_test.test'<br>
> failed<br>
> make[1]: ***<br>
> [/home/linux/libreoffice/libreoffice/workdir/CppunitTest/sc_filters_test.test]<br>
> Error 1<br>
> Makefile:167: recipe for target 'CppunitTest_sc_filters_test' failed<br>
> make: *** [CppunitTest_sc_filters_test] Error 2"<br>
> <br>
> So, I'm kind of stuck in both procedures. Does somebody knows<br>
> how to solve on one or both?<br>
> <br>
> Thanks in advance<br>
> <br>
> El vie., 26 jul. 2019 a las 10:01, <a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a><br>
> <mailto:<a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a>> (<<a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a><br>
> <mailto:<a href="mailto:dreamnext@gmail.com" target="_blank">dreamnext@gmail.com</a>>>) escribió:<br>
> <br>
> Hi! Greetings from the Escuelas Linux team. We are small<br>
> Linux distribution that can be downloaded from<br>
> <a href="https://sourceforge.net/projects/escuelaslinux/" rel="noreferrer" target="_blank">https://sourceforge.net/projects/escuelaslinux/</a>.<br>
> Some more references about our activity can be found by<br>
> doing an Internet search, or on own Facebook account,<br>
> escuelas.linux<br>
> <br>
> We still provide a 32-bit edition of our distro, because<br>
> among our users there are a lot of low-income public<br>
> schools, in which are still in use old computers with about<br>
> 512 MB to a 1 GB of RAM. That amount of RAM would make<br>
> running a Linux 64-bit system awfully slow, so we have to<br>
> accommodate to the needs and possibilities of what is<br>
> available in poor areas, those in which even having an old<br>
> computer is still somehow a luxury.<br>
> <br>
> We perfectly understand that TDF releasing 32-bit Linux<br>
> LibreOffice packages was not worth anymore, given the small<br>
> amount of downloads. Certainly some of those downloads were<br>
> made by us, as we only required one download of a given<br>
> LibreOffice version to have it installed in our distro and<br>
> be used in hundreds of computers. A lot of those computers<br>
> could not even be traceable, since there are no Internet<br>
> connection in poor or remote schools. But we believe that<br>
> even if we reported who and where are those schools, that<br>
> would be still a small amount to be worth the effort and<br>
> resources required to match the bigger amounts of downloads<br>
> that seems to be receiving the LibreOffice 32-bit Windows<br>
> counterpart.<br>
> <br>
> Given that TDF ended the provision of Linux 32-bit<br>
> distribution neutral binaries, but not the 32-bit<br>
> compatibility, we would like to step up to produce by<br>
> ourselves the 32-bit distribution neutral deb packages from<br>
> LibreOffice 6.3 and up. We are not aware of other distros or<br>
> volunteers releasing the most recent LibreOffice version to<br>
> date (6.3) as 32-bit distribution independent binaries.<br>
> <br>
> Recently, the official LibreOffice Blog published<br>
> instructions about how to compile LibreOffice on Linux.<br>
> However, we’d like to be able not only to compile<br>
> LibreOffice, but we would like to learn how to be able to<br>
> produce by ourselves the same set of 32-bit<br>
> distribution-independent deb packages that were compressed<br>
> as a .tar.gz, that is, the LibreOffice binaries<br>
> (LibreOffice_?.?.?_Linux_x86-_deb.tar.gz), the translated<br>
> user interface (the<br>
> LibreOffice_?.?.?_Linux_x86-_deb_langpack_??.tar.gz) and the<br>
> offline help<br>
> (LibreOffice_?.?.?_Linux_x86-_deb_helppack_??.tar.gz). As<br>
> for the user interface and the offline packages, our main<br>
> focus would be Spanish language.<br>
> <br>
> On the download section is always available the following<br>
> source code packages:<br>
> libreoffice-?.?.?.?.tar.xz<br>
> libreoffice-dictionaries-?.?.?.?.tar.xz<br>
> libreoffice-help-?.?.?.?.tar.xz<br>
> libreoffice-translations-?.?.?.?.tar.xz<br>
> <br>
> But, given our inexperience, we don’t know how to use this<br>
> source packages to produce the same set of 32-bit deb<br>
> packages as were previously provided by TDF. Since<br>
> LibreOffice is distributed in a lot of languages, we guess<br>
> that the user interface and offline packages are not created<br>
> manually one by one by hand, some useful scripts could have<br>
> been created to automate as far as possible those tasks.<br>
> <br>
> So, we respectfully ask for some pointers and steps required<br>
> to reach this goal. In this way, we might be able to<br>
> continue the production of the 32-bit deb packages, freeing<br>
> TDF of that burden as planned but, at the same time, we<br>
> could provide those packages for the parties that could be<br>
> still interested in them. We could not be able to support<br>
> rpm-based binaries though, someone else would have to step<br>
> up if there's a need for that.<br>
> <br>
> Please let us know if this request of help is feasible for<br>
> the Developer(s) that are responsible of the LibreOffice<br>
> packaging.<br>
> <br>
> <br>
> _______________________________________________<br>
> LibreOffice mailing list<br>
> <a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
> <br>
<br>
</blockquote></div>