Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1965975 - libreoffice: FTBFS in Fedora rawhide
Summary: libreoffice: FTBFS in Fedora rawhide
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Stephan Bergmann
QA Contact: Fedora Extras Quality Assurance
: 1965974 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2021-05-31 09:52 UTC by Tomáš Hrnčiar
Modified: 2021-06-01 07:54 UTC (History)
7 users (show)

Fixed In Version: libreoffice-
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-06-01 04:15:51 UTC
Type: Bug

Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-05-31 09:52:16 UTC
Description of problem:
Package libreoffice fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):

Steps to Reproduce:
koji build --scratch f35 libreoffice-

Additional info:
This package is tracked by Koschei. See:

Comment 1 Miro Hrončok 2021-05-31 11:06:32 UTC
We planned to do the Python 3.10 rebuild this week and without a successful libreoffice build, we cannot merge the side tag if we want to avoid a broken compose.

Hence, marking as urgent. Please have a look at this as soon as possible, ideally this week.

Looks like the build failure is broken by hamcrest that was upgraded from version 1 to version 2:

Comment 2 Caolan McNamara 2021-05-31 12:11:10 UTC
*** Bug 1965974 has been marked as a duplicate of this bug. ***

Comment 3 Orion Poplawski 2021-05-31 18:50:45 UTC
The naive thing to try is to point to the new jar location: --with-hamcrest=%{_javadir}/hamcrest/hamcrest.jar

Hopefully there aren't any other API incompatibilities.

Comment 4 Stephan Bergmann 2021-05-31 19:56:07 UTC
(In reply to Orion Poplawski from comment #3)
> The naive thing to try is to point to the new jar location:
> --with-hamcrest=%{_javadir}/hamcrest/hamcrest.jar

ah, right, that would have been even easier than <>

> Hopefully there aren't any other API incompatibilities.

looks like that was the only issue indeed

Comment 5 Orion Poplawski 2021-05-31 20:29:33 UTC
Well, your patch is probably more flexible at handling different situations so it's all good :)

Comment 6 Fedora Update System 2021-06-01 04:05:27 UTC
FEDORA-2021-2a9891e7b5 has been submitted as an update to Fedora 35.

Comment 7 Fedora Update System 2021-06-01 04:15:51 UTC
FEDORA-2021-2a9891e7b5 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Miro Hrončok 2021-06-01 07:54:39 UTC
Thanks for the super fast fix!

Note You need to log in before you can comment on or make changes to this bug.