Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


On 08/08/2019 19.07, dreamnext@gmail.com wrote:
Thanks Michael for the head up about build-nocheck. I used it as a last
resort, because I am still unable to have 'make' finished without an
error if I don't add that parameter.

Eike is of course right that disabling unit tests is not a good idea in
the long run, in particular if you plan to provide the packages for
"production use", so once the build with disabled unit tests works, the
cause for the failing unit test(s) should be observed.

Unfortunately, there are some "flaky" unit tests, so it might be that
the problem isn't even your build setup by itself. One thing to try
might be to just temporarily disable the specific test that fails
(probably in 'sw/CppunitTest_sw_layoutwriter.mk' according to the output
you pasted previously).
As mentioned before, the more output might help to further narrow the
issue down.

With regard to the build problem you described:

On 08/08/2019 17.36, dreamnext@gmail.com wrote:> Now I'm on the stage of
trying to build distributable deb files. As suggested before, I added
the following lines to autogen.input

--with-distro=LibreOfficeLinux
--enable-release-build
--with-package-format=deb
--disable-dependency-tracking

[...]

However, something is still missing, because make build-nocheck now throws the following error:

/home/linux/libreoffice/libreoffice/configmgr/source/components.cxx:287: error: undefined 
reference to 'configmgr::dconf::writeModifications(configmgr::Components&, configmgr::Data&)'
/home/linux/libreoffice/libreoffice/configmgr/source/components.cxx:531: error: undefined 
reference to 'configmgr::dconf::readLayer(configmgr::Data&, int)'
/home/linux/libreoffice/libreoffice/configmgr/source/components.cxx:533: error: undefined 
reference to 'configmgr::dconf::readLayer(configmgr::Data&, int)'
collect2: error: ld returned 1 exit status
/home/linux/libreoffice/libreoffice/Library_merged.mk:11: recipe for target 
'/home/linux/libreoffice/libreoffice/instdir/program/libmergedlo.so' failed
make[1]: *** [/home/linux/libreoffice/libreoffice/instdir/program/libmergedlo.so] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:282: recipe for target 'build' failed
make: *** [build] Error 2

Any idea what could be missing to successfully build the .deb files?

The autogen param '--with-distro=LibreOfficeLinux' you added also
involves '--disable-dconf', and at a quick glance this looks like the
problem might be caused by artifacts from the previous build still lying
around.

Can you please try whether this goes away with a clean build (it might
be sufficient to just run 'make configmgr.clean' and then 'make' (or
'make build-nocheck')?

Attachment: signature.asc
Description: OpenPGP digital signature


Context


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.