Bug 141615 - Documents fail to render properly with LibreOffice 7 on big endian
Summary: Documents fail to render properly with LibreOffice 7 on big endian
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.1.2 release
Hardware: PowerPC FreeBSD
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-11 00:49 UTC by chmeeedalf+lo
Modified: 2023-03-19 03:26 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of "bad" LO7 (221.74 KB, image/png)
2021-04-11 00:51 UTC, chmeeedalf+lo
Details
Screenshot of roughly same area as the "broken" LO7 (121.29 KB, image/png)
2021-04-11 00:53 UTC, chmeeedalf+lo
Details
Screenshot of same area with SAL_USE_VCLPLUGIN=gen (209.74 KB, image/png)
2021-04-11 18:32 UTC, chmeeedalf+lo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chmeeedalf+lo 2021-04-11 00:49:54 UTC
I have a .sxw written ~17 years ago that loads perfectly fine in LibreOffice 6, but with LO 7.1.1.2 and 7.1.2 the text is munged together.  I will attach screenshots, and will try to provide a clean document as the test case.
Comment 1 chmeeedalf+lo 2021-04-11 00:51:10 UTC
Created attachment 171091 [details]
Screenshot of "bad" LO7

This is LO 7.1.2.2 built from FreeBSD ports on powerpc64 (big endian), FreeBSD 14-CURRENT.
Comment 2 chmeeedalf+lo 2021-04-11 00:53:27 UTC
Created attachment 171092 [details]
Screenshot of roughly same area as the "broken" LO7

This is the screenshot of the working LO6 (6.4.7) built from FreeBSD ports on powerpc64 FreeBSD 14-CURRENT.  Built with the same options as LO7, which includes:

COINMP off
CUPS on
DOCS on
GNOME off
GTK3 off
JAVA off
KF5 off
LTO off
MARIADB off
MMEDIA on
PGSQL off
QT5 on
SDK off
TEST off
WEBDAV off


I'm guessing just the QT5 setting is significant here, since it's a rendering issue.
Comment 3 Julien Nabet 2021-04-11 18:22:52 UTC
Could you try this?
export SAL_USE_VCLPLUGIN=gen && soffice
then test your file.
Comment 4 chmeeedalf+lo 2021-04-11 18:31:54 UTC
(In reply to Julien Nabet from comment #3)
> Could you try this?
> export SAL_USE_VCLPLUGIN=gen && soffice
> then test your file.

Hi Julien,  I just tried this, and still saw similar corruption.  Instead of everything being a strange pale yellow, the background around the document is black, and the background of the document of the area I posted a screenshot of earlier is black.
Comment 5 chmeeedalf+lo 2021-04-11 18:32:46 UTC
Created attachment 171103 [details]
Screenshot of same area with SAL_USE_VCLPLUGIN=gen
Comment 6 chmeeedalf+lo 2021-04-11 19:00:08 UTC
On FreeBSD powerpc64 LibreOffice is configured with --disable-skia, otherwise it doesn't even compile.  It looks like at least a stub gets compiled, but I haven't looked at that code.
Comment 7 Julien Nabet 2021-04-11 20:59:22 UTC
I don't know to what correspond "build from ports", for example is it the same as  building from git sources directly?
Anyway, the best thing would be to build from master sources (see https://wiki.documentfoundation.org/Development/BuildingOnLinux#Cloning_and_building) so you got the most up-to-date.
I'd use "enable-dbgutil" option to have max details.
Of course, it needs time to build and space too.
Comment 8 chmeeedalf+lo 2021-04-16 16:45:38 UTC
(In reply to Julien Nabet from comment #7)
> I don't know to what correspond "build from ports", for example is it the
> same as  building from git sources directly?
> Anyway, the best thing would be to build from master sources (see
> https://wiki.documentfoundation.org/Development/
> BuildingOnLinux#Cloning_and_building) so you got the most up-to-date.
> I'd use "enable-dbgutil" option to have max details.
> Of course, it needs time to build and space too.

Ports is FreeBSD's third party package build framework, that applies patches and builds packages.  So it's equivalent to building from the version tarball (7.1.1.2 in this case), with applying needed patches.  For LibreOffice, the ports bits can be found at https://cgit.freebsd.org/ports/tree/editors/libreoffice with the necessary patches under the files/ directory.

I haven't forgotten about this, been running into problems building with dbgutil, due to requiring building all dependencies in-house, not allowing system dependencies.  Packages like nss are failing, which bring down the whole thing.  I'll continue trying.
Comment 9 Dieter 2022-08-19 07:21:31 UTC
A new major major release of LibreOffice is available since this bug was reported. Could you please try to  reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 10 QA Administrators 2023-02-16 03:26:06 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2023-03-19 03:26:03 UTC
Dear chmeeedalf+lo,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp