Opened 9 years ago

Closed 9 years ago

#5624 closed enhancement (fixed)

LibreOffice-4.3.1 build stops with "--disable-python" and no Python 3

Reported by: Arthur Radley Owned by: bdubbs@…
Priority: normal Milestone: 7.7
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

I don't install LO translations or Python 3. The --disable-python configure option has caused no problems for me until now. Building the new LO version in the book stops with the messaging below if --disable-python is used and Python 3 is not installed. I also tried LibreOffice-4.3.2.2 with the same result. I used the --enable-python=internal option to install LO. So, I think some unit tests of the new LO version require Python 3 and the Command Explanation about Python and translations is no longer accurate for all situations.

/sources/libreoffice-4.3.1.2/postprocess/qa/services.cxx:81:(anonymous namespace)::ServicesTest::test
forced failure
- Exception thrown while creating com.sun.star.mail.MailServiceProvider: unsatisfied query for interface of type com.sun.star.loader.XImplementationLoader!

services.cxx:81:Assertion
Test name: (anonymous namespace)::ServicesTest::test
forced failure
- Exception thrown while creating com.sun.star.mail.MailServiceProvider: unsatisfied query for interface of type com.sun.star.loader.XImplementationLoader!

Failures !!!
Run: 1   Failure total: 1   Failures: 1   Errors: 0
which: no gdb in (.:/sources/libreoffice-4.3.1.2/solenv/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/qt4/bin)
You need gdb in your path to show backtraces

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export CPPUNITTRACE="gdb --args"    # for interactive debugging on Linux
export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive debugging in Visual Studio
export VALGRIND=memcheck            # for memory checking

and retry using: make CppunitTest_services

/sources/libreoffice-4.3.1.2/solenv/gbuild/CppunitTest.mk:70: recipe for target '/sources/libreoffice-4.3.1.2/workdir/CppunitTest/services.test' failed
make[1]: *** [/sources/libreoffice-4.3.1.2/workdir/CppunitTest/services.test] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:224: recipe for target 'build' failed
make: *** [build] Error 2

Change History (5)

comment:1 by christopher, 9 years ago

This is caused by your own choice in not installing python.

The book instructions are correct and work correctly. It is unlikely that you will receive assistance with this as I believe that most, if not all of the current editors install python. In BLFS a recommended package means that it really should be installed otherwise you will receive unexpected results.

Your best cause of action for this is to post to the libreoffice mailing lists.

Christopher.

comment:2 by bdubbs@…, 9 years ago

I suppose that we should explain The Required/Recommended/Optional structures that we use in the book. The most likely place is Chapter 1, Conventions Used in this Book. At the same time, we need to explain when required dependencies are NOT listed (e.g. they are in LFS or they are required for a prequsite required package).

In any case, I think the LibreOffice Recommended section needs to be updated. We have OpenLDAP-2.4.40 (client only) and Python-3.4.1 (used to build the translations). The first seems odd. What client? Does LibreOffice have a server that I don't know about? The second implies that Python3 is not needed if translations are not needed. That appears to be untrue.

This ticket needs to be addressed as a part of #5580, Libreoffice-4.3.2.2.

comment:3 by Arthur Radley, 9 years ago

Thanks Christopher, but I didn't ask for assistance. And I am aware that the issue was caused by me not wanting to install Python 3. As I said, I installed LO with the --enable-python=internal configure option which downloaded Python 3 with the other downloads for building LO. I don't require Python 3 for anything else at this time.

Actually, I was trying to help you by pointing out that the book's comment about Python and not installing translations and using the --disable-python configure option is no longer universally accurate. If you think the book's comments are correct, that's okay with me. But I think I will trust my lying eyes this time. So long.

comment:4 by bdubbs@…, 9 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:5 by bdubbs@…, 9 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 14518.

Removed parenthetical comments from recommended dependencies and added definations for the dependency categories in the Convention section.

Note: See TracTickets for help on using tickets.