Responding because I had promised to report back on the success/failure of
Make and Make Check:
The make worked, but make check failed...I'm not going to worry too much about
it, but for those who are interested here's exactly where it blew up and the
error messages I received:(I have no idea if they are related to meson/python
and/or the override I placed in my autogen.sh)--Jeff.....[UIT] svx_table[UIT]
librelogo[UIT] writer_testsOfficeConnection: connecting to:
uno:pipe,name=pytest046dc168-2ef8-11f0-891f-679c4b689683;urp;StarOffice.ComponentContextwarn:io.connector:1760866:1760866:io/source/connector/connector.cxx:93:
Connector : couldn't connect to pipe
"pytest046dc168-2ef8-11f0-891f-679c4b689683": 10NoConnectException:
sleeping...warn:desktop.app:1760908:1760908:unotools/source/ucbhelper/localfilehelper.cxx:86:
error removing directory
file:///home/jmelton/loblds/lo_dlybld/libreoffice/workdir/UITest/librelogo/user/user/extensionswarn:io.connector:1760866:1760866:io/source/connector/connector.cxx:93:
Connector : couldn't connect to pipe
"pytest046dc168-2ef8-11f0-891f-679c4b689683": 10NoConnectException:
sleeping...warn:io.connector:1760866:1760866:io/source/connector/connector.cxx:93:
Connector : couldn't connect to pipe
"pytest046dc168-2ef8-11f0-891f-679c4b689683": 10NoConnectException:
sleeping...warn:io.connector:1760866:1760866:io/source/connector/connector.cxx:93:
Connector : couldn't connect to pipe
"pytest046dc168-2ef8-11f0-891f-679c4b689683": 10NoConnectException:
sleeping...warn:io.connector:1760866:1760866:io/source/connector/connector.cxx:93:
Connector : couldn't connect to pipe
"pytest046dc168-2ef8-11f0-891f-679c4b689683": 10NoConnectException:
sleeping...warn:opencl:1760914:1760914:desktop/source/app/opencl.cxx:206:
Failed to initialize OpenCL for
testwarn:io.connector:1760866:1760866:io/source/connector/connector.cxx:93:
Connector : couldn't connect to pipe
"pytest046dc168-2ef8-11f0-891f-679c4b689683": 10NoConnectException:
sleeping...warn:io.connector:1760866:1760866:io/source/connector/connector.cxx:93:
Connector : couldn't connect to pipe
"pytest046dc168-2ef8-11f0-891f-679c4b689683": 10NoConnectException:
sleeping...test_compile_librelogo
(compile.LibreLogoCompileTest.test_compile_librelogo) ... *** stack smashing
detected ***: terminatedERRORExecution time for
compile.LibreLogoCompileTest.test_compile_librelogo: 2.447Binary URP bridge
already disposed at
/home/jmelton/loblds/lo_dlybld/libreoffice/binaryurp/source/bridge.cxx:1046test_LABEL
(run.LibreLogoTest.test_LABEL) ... ERRORtest_custom_lock
(run.LibreLogoTest.test_custom_lock) ... ERRORtest_librelogo
(run.LibreLogoTest.test_librelogo) ... ERROR
======================================================================ERROR:
test_compile_librelogo
(compile.LibreLogoCompileTest.test_compile_librelogo)----------------------------------------------------------------------Traceback
(most recent call last): File
"/home/jmelton/loblds/lo_dlybld/libreoffice/sw/qa/uitest/librelogo/compile.py",
line 34, in test_compile_librelogo xCompile = self.getScript("__compil__")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
"/home/jmelton/loblds/lo_dlybld/libreoffice/sw/qa/uitest/librelogo/compile.py",
line 28, in getScript xScript =
xScriptProvider.getScript(self.LIBRELOGO_PATH %command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^compile.com.sun.star.lang.DisposedException:
Binary URP bridge disposed during call at
/home/jmelton/loblds/lo_dlybld/libreoffice/binaryurp/source/bridge.cxx:613
======================================================================ERROR:
test_LABEL
(run.LibreLogoTest.test_LABEL)----------------------------------------------------------------------Traceback
(most recent call last): File
"/home/jmelton/loblds/lo_dlybld/libreoffice/uitest/uitest/framework.py", line
35, in setUp self.xUITest =
self.xContext.ServiceManager.createInstanceWithContext(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^uitest.framework.com.sun.star.beans.UnknownPropertyException:
cannot get value ServiceManager at
/home/jmelton/loblds/lo_dlybld/libreoffice/stoc/source/invocation/invocation.cxx:497
======================================================================ERROR:
test_custom_lock
(run.LibreLogoTest.test_custom_lock)----------------------------------------------------------------------Traceback
(most recent call last): File
"/home/jmelton/loblds/lo_dlybld/libreoffice/uitest/uitest/framework.py", line
35, in setUp self.xUITest =
self.xContext.ServiceManager.createInstanceWithContext(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^uitest.framework.com.sun.star.beans.UnknownPropertyException:
cannot get value ServiceManager at
/home/jmelton/loblds/lo_dlybld/libreoffice/stoc/source/invocation/invocation.cxx:497
======================================================================ERROR:
test_librelogo
(run.LibreLogoTest.test_librelogo)----------------------------------------------------------------------Traceback
(most recent call last): File
"/home/jmelton/loblds/lo_dlybld/libreoffice/uitest/uitest/framework.py", line
35, in setUp self.xUITest =
self.xContext.ServiceManager.createInstanceWithContext(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^uitest.framework.com.sun.star.beans.UnknownPropertyException:
cannot get value ServiceManager at
/home/jmelton/loblds/lo_dlybld/libreoffice/stoc/source/invocation/invocation.cxx:497
----------------------------------------------------------------------Ran 4
tests in 2.470s
FAILED (errors=4)Tests run: 4Tests failed: 0Tests errors: 4Tests skipped:
0Traceback (most recent call last): File
"/home/jmelton/loblds/lo_dlybld/libreoffice/uitest/test_main.py", line 144, in
<module> connection.tearDown() File
"/home/jmelton/loblds/lo_dlybld/libreoffice/uitest/libreoffice/connection.py",
line 190, in tearDown self.connection.tearDown() File
"/home/jmelton/loblds/lo_dlybld/libreoffice/uitest/libreoffice/connection.py",
line 129, in tearDown if
self.xContext:uno.com.sun.star.uno.RuntimeException: Binary URP bridge already
disposed at
/home/jmelton/loblds/lo_dlybld/libreoffice/binaryurp/source/bridge.cxx:1046/home/jmelton/loblds/lo_dlybld/libreoffice/instdir/program/python-core-3.11.12/lib/subprocess.py:1127:
ResourceWarning: subprocess 1760873 is still running _warn("subprocess %s is
still running" % self.pid,
Error: a unit test failed:
To rerun just this failed test without all others, use: make UITest_librelogo
Or to run just a specific test case method, use: make UITest_librelogo
UITEST_TEST_NAME="Module.ClassName.methodName"where Module - the name of the
python file (without the .py extension) Class - is the name in the "class
Class" declaration
Or to do interactive debugging, run two shells with: LANG=C
SAL_USE_VCLPLUGIN=gen make debugrun make gb_UITest_DEBUGRUN=T
UITest_librelogo
The SAL_USE_VCLPLUGIN part is unnecessary if you are running on a kde
desktop.(The default gtk3 backend has issues with some uitests).
Failing that, put a time.sleep(60)in the beginning of the method in the .py
file,and attach gdb to the running soffice process.
make[1]: ***
[/home/jmelton/loblds/lo_dlybld/libreoffice/solenv/gbuild/UITest.mk:63:
/home/jmelton/loblds/lo_dlybld/libreoffice/workdir/UITest/librelogo/done] Error
1make[1]: *** Waiting for unfinished jobs....^Cmake[1]: ***
[/home/jmelton/loblds/lo_dlybld/libreoffice/solenv/gbuild/CppunitTest.mk:128:
/home/jmelton/loblds/lo_dlybld/libreoffice/workdir/CppunitTest/vcl_pdfexport.test]
Interruptmake[1]: ***
[/home/jmelton/loblds/lo_dlybld/libreoffice/solenv/gbuild/UITest.mk:63:
/home/jmelton/loblds/lo_dlybld/libreoffice/workdir/UITest/calc_dialogs/done]
Interrupt^Cmake: *** [Makefile:301: build] Interrupt
On Sunday, May 11, 2025 at 04:10:49 PM CDT, Jeff Melton
<[email protected]> wrote:
Hi Jim and Andras, Thanks for the responses.
I've opted for Andras' suggestion first, as I don't need to modify my software
install; just a temporary override on the autogen.input. The autogen now works,
and I'm now in the middle of running the make and waiting for it to finish.
Provided the make and make check work, I'll call this temporarily resolved.
Will advise once this happens.
If there are going to be fixes made to the build to permanently resolve this
issue, please let me know when it is fixed so I can remove the
--enable-python=fully-internal override from the autogen.input.
Thanks again, everyone.Jeff
On Sunday, May 11, 2025 at 02:47:09 PM CDT, Jim Raykowski
<[email protected]> wrote:
The following worked for me.
sudo apt remove mesonpip3 install --user meson
Best,Jim Raykowski
On Sun, May 11, 2025 at 11:05 AM Andras Timar <[email protected]> wrote:
Hi Jeff,
I used --enable-python=fully-internal. That uses internal Python for the build.
It is a good workaround until somebody fixes the build.
Best regards,Andras Timar
On Sun, May 11, 2025 at 9:00 PM Jeff Melton <[email protected]> wrote:
Hi everyone -I've been successfully building libreoffice for a while now on my
Linux Mint setups with very few issues that I've been able to resolve
myself.Today (*May 10 2025) for the first time (Last successful build on this
was a week or so ago) I encountered the following partial output when running
./autogen.sh after a git pull -r:
....checking which TLS/SSL and cryptographic implementation to use...
NSSchecking which sane header to use... internalchecking which icu to use...
internalchecking whether to enable breakpad... nochecking which orcus to use...
internalchecking which graphite to use... internalchecking which harfbuzz to
use... internalchecking for meson.py... nochecking for meson...
/usr/bin/mesonchecking whether meson can be run with "/usr/bin/python
/usr/bin/meson"... usage: meson runpython [-h] [-c] script_file ...meson
runpython: error: the following arguments are required: script_file,
script_argsnoconfigure: error: meson incompatible with the specified python.
Try using a different python runtime or a plain release of meson by adding
PYTHON=/other/python.version and/or MESON=/path/to/meson.py to
autogen.inputError running configure at ./autogen.sh line 333.
..after which It failed.I have minimal autogen.input as follows:
--enable-dbgutil--without-doxygen
A few weeks ago I did install meson, which resolved a "missing meson" issue.
Now it seems to have issues with the version of python on my systemHere are the
versions installed:$ sudo apt list meson[sudo] password for Listing...
Donemeson/jammy,jammy,now 0.61.2-1 all [installed]$ /usr/bin/pythonPython
3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0] on linuxType "help",
"copyright", "credits" or "license" for more information.>>> quit()
Any ideas what I can do to resolve the issue?
Thanks!Jeff Melton