Description of problem: Package libreoffice fails to build from source in Fedora rawhide. Version-Release number of selected component (if applicable): 7.1.3.2-1.fc35 Steps to Reproduce: koji build --scratch f35 libreoffice-7.1.3.2-1.fc35.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/libreoffice
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: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/EIU7CNABRKL5EFZNCFIWQIK2AHIEKWBB/
*** Bug 1965974 has been marked as a duplicate of this bug. ***
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.
(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 <https://src.fedoraproject.org/rpms/libreoffice/blob/71a4281675c2ce631083448149f00969deae55d4/f/0001-Adapt-to-hamcrest-2.2-3.fc35.noarch.rpm.patch> > Hopefully there aren't any other API incompatibilities. looks like that was the only issue indeed
Well, your patch is probably more flexible at handling different situations so it's all good :)
FEDORA-2021-2a9891e7b5 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2a9891e7b5
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.
Thanks for the super fast fix!
FEDORA-2023-9a2ece530a has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.