On Sat, 24 May 2025 at 17:10, Michael D. Setzer II via users <users@lists.fedoraproject.org> wrote:
Just updated machine from Fedora 41 to 42.
Running libreoffice --calc from command line get lots of these
messages?
warning: parent <office:styles> does not have any rules defined
(child: <style:style>)
warning: parent <office:styles> does not have any rules defined
(child: <style:style>)
warning: parent <office:styles> does not have any rules defined
(child: <style:style>)

$ rpm -qa | grep libreoffice | grep calc
libreoffice-calc-25.2.3.2-1.fc42.x86_64
libreoffice25.2-calc-25.2.3.2-2.x86_64

Compared files in opt directory with the Fedora versions, and a
number of files are not there?

$libreoffice --calc gives lots of the message
$libreoffice25.2 --calc gives none.

Didn't see this with Fedora 41?

Also, not sure why message and <office:styles> compared to
<style:style>

Looks like this isn't limited to Fedora, searching for that specific error indicates others are having the problem on Arch and other distros, too.

https://bugs.documentfoundation.org/show_bug.cgi?id=166138
https://bugzilla.redhat.com/show_bug.cgi?id=2368335

No obvious solution listed yet...

This will show any files in any Libreoffice package with 'sty' in the name:
$ dnf repoquery -l libreoffice\* | grep -i sty

Working back, there are styles in libreoffice-core (which I assume is a dependency of calc), libreoffice-sdk-doc, and libreoffice-xsltfilter (these appear to be spreadsheet specific, so potentially worth testing).

I'd probably spin up a Vagrant box, install ALL the libreoffice packages and see if that resolves the problem, then work back from there?