(dropping misc@ from CCs)
I've tried reproducing on a 7.2 snapshot on a fresh VM under FVWM
and was unable to do so - though couldn't install the full set of
packages from your list there.
Might be able to give it a spin on 7.1 later ..
On 2022/09/26 22:19, Cal Ledsham wrote:
> Dear Stuart,
> I tried the two things you suggested - the same libreoffice problems & same
> message occurred with a freshly-created default user.
> The pkg_info list you indicated as helpful is attached.
> I have cc'ed this to ports as you suggested.
> regards with gratitude,
> cal.
>
> PS the original email describing the problem is appended below for interested
> ports@ readers.
>
> ___
>
> From: owner-m...@openbsd.org on behalf of Stuart
> Henderson
> Sent: Monday, 26 September 2022 11:27 PM
> To: m...@openbsd.org
> Subject: Re: Libreoffice crashing on Thinkcentre m92p 7.1 FVWM - seems to be
> a python problem
>
> On 2022-09-25, Luke A. Call wrote:
> > Details in case it helps:
> > https://marc.info/?l=openbsd-misc&m=161280915705719&w=2
> > https://marc.info/?l=openbsd-bugs&m=164814366002554&w=2
>
> I think I tried to read that bugs@ report before but got totally bogged down
> in all the detail about how you use a special script for pkg_add etc
>
> The packages you talked about as being necessary were I think devhelp
> and gsettings-desktop-schemas
>
> libreoffice's chain of dependencies already includes gsettings-desktop-schemas
> and libreoffice is running fine here without devhelp, so there must be
> something
> other than just those involved
>
> It would be helpful to have a list of all packages installed on a
> machine where it is failing. (full output of "pkg_info -q").
>
> Also try to replicate with a newly created user i.e. so it is isolated from
> the contents of config files in your home directory.
>
> Please send reports about ports to ports@openbsd.org and/or the port
> maintainer. They are more likely to get seen there than on bugs@, and
> *much* more likely to get seen there than on misc.
>
>
> ___
>
> Original message:
>
> ___
>
> Dear OBSDer's -
> I am running 7.1 with out of the box FVWM. Since this Sunday morning
> libreoffice has crashed whenever I try to either open an existing file or
> create a new file in libreoffice writer. When opening it allows file
> selection but then crashes.
>
> (Below I have put the crash message ex launching terminal, the messages from
> a pkg_add -u, and a dmesg).
>
> I have tried the following remedies with the same result: opening different
> files, updating all packages with doas pkg_add -u (looked promising as there
> was a libreoffice update), rebooting a few times, syspatching again (first
> attempt at using libreoffice since applying patch 10_expat yesterday? or
> Friday?), and also opening the safe mode of libreoffice. The same result
> seems to occur. I tried to run an doas EXPORT PYTHONHOME
> [:]
> but have no idea what should be set as and and how the
> grammar should quite be.
>
> In accord with requested convention, there is a dmesg at the end of the file.
>
> Any help gratefully received.
>
> (Sorry if this is a stupid problem or if the information here is unhelpfully
> insufficient.)
>
> regards,
> Cal
>
> message in terminal screen from which libreoffice was invoked:
>
> cfl$ libreoffice
> Warning: failed to launch javaldx - java may not function correctly
> Could not find platform independent libraries
> Consider setting $PYTHONHOME to [:]
> Python path configuration:
> PYTHONHOME = (not set)
> PYTHONPATH = '/usr/local/lib/libreoffice/program/../program'
> program name = 'python3'
> isolated = 0
> environment = 1
> user site = 1
> import site = 1
> sys._base_executable = '/usr/local/bin/python3'
> sys.base_prefix = '/usr/local'
> sys.base_exec_prefix = '/usr/local'
> sys.platlibdir = 'lib'
> sys.executable = '/usr/local/bin/python3'
> sys.prefix = '/usr/local'
> sys.exec_prefix = '/usr/local'
> sys.path = [
>'/usr/local/lib/libreoffice/program/../program',
>'/usr/local/lib/python39.zip',
>'/usr/local/lib/python3.9',
>'/usr/local/lib/python3.9/lib-dynload',
> ]
> Fatal Python error: init_fs_encoding: failed to get the Python codec of the
> filesystem encoding
> Python runtime state: core initialized
> LookupError: no codec search functions registered: can't find encoding
>
> Current thread 0x00b1d90594e8 (most recent call first):
>
> pthread_mutex_destroy on mutex with waiters!
>
>
> ___@@
>
> The results of the pkg_add process - libreoffice was indeed updated:
>
> cfl$ doas pkg_add -u
> doas (cfl@cfl.modem) password:
> quirks-5.5 signed on 2022-09-24T12:39:42Z
> Collision in partial-webkitgtk4-2.36.8->webkitgtk4-2.36.8: the following
> files already exist
> /usr/local/include/webkitgtk-4.0/JavaScriptCore/JSBase.h from
> webkitgtk4-2.36.8 (same checksum)
> /usr/local/include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h fr