Bug 156302 - LibreOffice langpack installations cannot run on Apple Silicon, requires Rosetta
Summary: LibreOffice langpack installations cannot run on Apple Silicon, requires Rosetta
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: ARM macOS (All)
: medium normal
Assignee: Patrick (volunteer)
URL: https://www.reddit.com/r/libreoffice/...
Whiteboard: target:25.8.0 target:25.2.3.2
Keywords:
Depends on:
Blocks: Language-Help-Packs
  Show dependency treegraph
 
Reported: 2023-07-15 13:50 UTC by MacUser
Modified: 2025-04-24 13:03 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Rosetta required warning dialog from langpack install app on Apple silicon (186.74 KB, application/pdf)
2023-07-15 14:01 UTC, MacUser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MacUser 2023-07-15 13:50:36 UTC
Description:
Eventhough
 the Libreoffice application has correctly been installed on a Macosx 
Ventura 13.4 on an apple silicon M2 hardware, the langpacks even tagged 
for apple silicon hardware claim to install rosetta to emulate apple 
Intel

Steps to Reproduce:
1.unpack LibreOffice_7.4.7_MacOS_aarch64_langpack_xx.dmg (i.e. LibreOffice_7.4.7_MacOS_aarch64_langpack_fr.dmg)
2.expand the dmg archive with double click
3.launch LibreOffice Language Pack installation

Actual Results:
A window opens claiming installation of "Rosetta", not occuring in the 
main application Libreoffice.app installation (i.e. copy to Application 
folder) which is correctly launched

Expected Results:
Intermediate or Final Window informing about path selection or Window stating final success lang pack installation


Reproducible: Always


User Profile Reset: No

Additional Info:
No claim to install supplemental Rosetta Intel emulation
Comment 1 MacUser 2023-07-15 14:01:27 UTC
Created attachment 188382 [details]
Rosetta required warning dialog from langpack install app on Apple silicon
Comment 2 Stéphane Guillou (stragu) 2023-07-29 14:57:54 UTC
Thanks for the report.
There won't be further bugfix versions for LO 7.4, can you please test 7.5.5 to see if the issue is still there? https://www.libreoffice.org/download/download-libreoffice/

Thank you!
Comment 3 MacUser 2023-07-29 19:58:45 UTC
(In reply to Stéphane Guillou (stragu) from comment #2)
> Thanks for the report.
> There won't be further bugfix versions for LO 7.4, can you please test 7.5.5
> to see if the issue is still there?
> https://www.libreoffice.org/download/download-libreoffice/
> 
> Thank you!

Hello.

Still the same issue with LibreOffice_7.5.5_MacOS_aarch64_langpack_fr.dmg when trying to lauch the French customisation application "LibreOffice Language Pack.app".

Best Regards
Comment 4 QA Administrators 2023-07-30 03:16:26 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2024-05-17 03:20:45 UTC
Confirmed by other user on Reddit: https://www.reddit.com/r/libreoffice/comments/1833uv9/language_pack_for_apple_silicon_requires_rosetta_2/

@MacUser, do you still experience this with LO 24.2?

@Cloph, any thoughts?
Comment 6 Yannick P. 2024-08-11 12:54:03 UTC
Hello.
I confirm the issue occurs with
LibreOffice_24.2.5_MacOS_aarch64_langpack_fr.dmg
and an Apple M3.
(I can create a new bug report)
Comment 7 Stéphane Guillou (stragu) 2024-08-12 00:03:28 UTC
(In reply to Yannick P. from comment #6)
> (I can create a new bug report)
Thank you for confirming, but no need to create a new report if the issue is already tracked here.
Comment 8 Patrick (volunteer) 2025-04-12 21:54:50 UTC
I think I found a solution in the following Apple StackExchange post:

https://apple.stackexchange.com/questions/466284/why-is-a-macos-app-whose-executable-is-a-shell-script-launching-as-x86-64-on-an

The fix is in the following patch:

https://gerrit.libreoffice.org/c/core/+/184110

I only tested on my Silicon Mac loptop running macOS Sequoia so the fix probably needs to be tested on an Intel machine.
Comment 9 Patrick (volunteer) 2025-04-12 22:02:34 UTC
Note: to test this, I built signed .dmgs for the main installer and the French language pack. After installing the built main installer, I opened the French langpack .dmg and launched it.

Then, I opened the Activity Monitor application, searched for "libreoffice", and noted the "Type" column. Without the fix, the Type is "Intel" and with the fix, the Type is "Apple".

Also, just to be safe, I took sample of the running installer with the fix and noted that the architecture at the top of the sample was "ARM64E".
Comment 10 Commit Notification 2025-04-23 21:11:35 UTC
Patrick Luby committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/722073473b6d8e8553f501ff1d4a68d4dc21f866

tdf#156302 prioritize Silicon architectures before Intel

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 11 Commit Notification 2025-04-23 21:12:39 UTC
Patrick Luby committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/a1f1972a9308bbbdeded44d5704ed4a319be5c43

tdf#156302 prioritize Silicon architectures before Intel

It will be available in 25.2.4.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 Commit Notification 2025-04-23 21:14:43 UTC
Patrick Luby committed a patch related to this issue.
It has been pushed to "libreoffice-25-2-3":

https://git.libreoffice.org/core/commit/6aa4286101164840a79e475fb510041b423c43bc

tdf#156302 prioritize Silicon architectures before Intel

It will be available in 25.2.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 13 Patrick (volunteer) 2025-04-24 13:03:07 UTC
Downloaded the April 24 2025 master nightly build for Silicon Mac as well as its matching French language pack.

Installed the night build first. Then I ran the French language pack installer and confirmed that it shows "Apple" as its "Kind" in the Activity Monitor application. Installation succeeded and, after changingg my preferred language to French (Canada) in the System Preferences application, LibreOffice successfully displayed French menus, labels, etc.