[Libreoffice-bugs] [Bug 134607] LO7RC1 - LANGPACK macOS - many versions fail to recognize LibreOffice7 installation as valid on Catalina

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 5 09:33:42 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134607

--- Comment #33 from Christian Lohmaier <cloph at documentfoundation.org> ---
did see this effect once now, but with different symptoms and also could not
reproduce after updating to 10.15.6

When it failed that one time for me, Catalina failed to index the new
LibreOffice.app (that I dragged to Desktop), and instead tried to install to
the 6.4.2 that I had in /Applications, so that failed as expected (what was not
expected of course is that it didn't offer the new one from Desktop)

manually running mdfind didn't include it, and even weirder running mdls on the
app folder directly did return nothing at all once, and after that just
undefined values (so again expected that the languagepack script would refuse
to install, but of course not expected that system tools fail to work as
expected).
After reboot the new copy I installed to Desktop did show up in mdfind, and was
offered in the langpack installer to pick from, but mdls (and hence the
installer) still failed.
Tried to extract again and order macOS to replace the existing copy and also
tried to delete the copy and install again, but that didn't change the mdls
problem - it was found by mdfind, but mdls still didn't return valid data.

I then updated to 10.15.6 and rebooted and from that point on I was no longer
able to recreate the effect, mdls always returned valid info, and the
languagepack installscript was happy/did work.

While I was "happy" at first that I could see a failing installer on one of the
systems I can lay my hands on, it again was extremely frustrating that it was
yet a different failure compared to what was described here, and clearly a bug
in macOS. Even more frustrating that I didn't have the problem anymore after
installing the Catalina update, but people in this bug also have it with
10.15.6, so also can not be dismissed as an apple bug/we can't just tell people
to update macOS and all will be fine :-((

I still have no clue at all how it could fail repeatedly/reproducibly on
systems where the mdfind/mdls commands return the expected result/Why it works
on some systems, but not on others.

The default user shell doesn't matter - applescript's "do shell command" is
always executed using /bin/sh (bourne shell), no matter what the user did
configure. And my Catalina installation is a pristine one with the zsh as
default and no development or other third party stuff installed. Only thing
that the installation did see was previous versions of LibreOffice, apart from
that it was a fresh install via macOS internet recovery without carrying any
data over.

tldr:
Since it is a real/independently confirmed problem, and the ratio of affected
users is unknown, but certainly not insignificant, I'll build new languagepacks
that skip that check completely.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200805/77605e52/attachment.htm>


More information about the Libreoffice-bugs mailing list