Please let's identify and commit a proper workaround so it can be pulled up to the stable branch, currently libreoffice is not installable because gcc12-libs is not installable (see PR pkg/58783). It looks like the problem is not the gcc package itself but rather the -libs package.