Re: hamcrest update to 2.2 in Fedora rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 31, 2021 at 1:12 PM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
>
> On 17. 05. 21 21:57, Mikolaj Izdebski wrote:
> > Hello,
> >
> > Next week I'm going to update package hamcrest in Fedora rawhide from
> > version 1.3 to version 2.2.
> >
> > The proposed update contains an API change that can affect packages
> > depending on hamcrest.  You may need to rebuild your packages to keep
> > working with updated hamcrest.
> >
> > The update has already been checked into dist-git and a Koji build has
> > already been done, but Bodhi update has not been submitted yet.  Bodhi
> > update is expected after a week, to comply with Updates Policy that
> > mandates a notification one week in advance before submitting an API
> > changing update.
> >
> >    Current NVR in rawhide: hamcrest-1.3-31.fc34
> >    Updated NVR: hamcrest-2.2-3.fc35
> >    Build link: https://koji.fedoraproject.org/koji/buildinfo?buildID=1748364
> >
> > Packages depending on hamcrest that are possibly affected by this update:
> >   * eclipse, maintained by lef jerboaa dbhole rgrunber jjohnstn
> > akurtakov ebaron oliver mbooth arobinso
> >   * freemarker, maintained by filiperosset
> >   * hamcrest, maintained by akurtakov mizdebsk jerboaa
> >   * hdf, maintained by sagitter orion
> >   * hdf5, maintained by deji sagitter orion ignatenkobrain
> >   * icedtea-web, maintained by jvanek dbhole omajid
> >   * jmock, maintained by orphan
> >   * openas2, maintained by sdgathman
> >   * py4j, maintained by raphgro
>
> Hey Mikolaj,
>
> libreoffice now fails to build because of this change and without building
> libreoffice, we might need to postpone the Python 3.10 rebuild. I'd rather
> avoid doing that. Would you please be able to help?

> The error is:
>
> checking for included Hamcrest... Not included
> checking for standalone hamcrest jar.... configure: error: junit does not
> contain hamcrest; please use a junit jar that includes hamcrest, install a
> hamcrest jar in the default location (/usr/share/java),
>                            specify its path with --with-hamcrest=..., or
> disable junit with --without-junit
>
>
> Seems like the configure script (or whatever that is) fails to find hamcrest.

That's because libreoffice hardcodes path to hamcrest JAR in the
configure script, instead of using one of the tools designed to locate
JAR files in the system. That is covered in Java Packaging Guidelines
[1].

> The bugzilla is https://bugzilla.redhat.com/show_bug.cgi?id=1965975

I could add a compat symlink to the hamcrest package, but it seems
that the issue was fixed on the libreoffice side.

--
Mikolaj Izdebski

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Java/#_hardcoded_paths


>
> Thanks,
> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok
>
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux