On Fri, Aug 6, 2021 at 3:57 AM Miro Hrončok <mhroncok(a)redhat.com> wrote:
On 06. 08. 21 4:17, Richard Shaw wrote:
> On Thu, Aug 5, 2021 at 12:37 PM Richard Shaw <hobbes1069(a)gmail.com
> <mailto:hobbes1069@gmail.com>> wrote:
>
> On Thu, Aug 5, 2021 at 12:32 PM Miro Hrončok <mhroncok(a)redhat.com
> <mailto:mhroncok@redhat.com>> wrote:
>
> On 05. 08. 21 19:01, Richard Shaw wrote:
> > prusa-slicer - Expects openvdb to use IlmBase::Half
>
> That one should be fixed.
>
>
> Could very well be that my notes are stale. Lots of moving parts to
this
> update :)
>
>
> Well kinda... The patch fixes building for rawhide but it fails on f34.
Doesn't
> look like the "fix" is backwards compatible...
The patch is only applied on F35+. It is not the best solution, but it is
pragmatic.
Well an %if 0%{?fedora} > 34 fixed that, but there's a stranger issue I
still need to investigate as I've seen this in more than one package, but
specifically on prusa-slicer...
CMake detects Imath, has include and link commands during compilation (only
links with target sla_print_tests), but Imath isn't in the Requires of the
RPMs. It doesn't need OpenEXR anymore because OpenVDB doesn't need it, so
that part of the mystery is solved.
Here's a scratch build which hasn't finished but but I assume will show the
above:
https://kojipkgs.fedoraproject.org//work/tasks/5228/73385228/build.log
Similarly in openshadinglanguage (but slightly different) it detects both
OpenEXR 3 and Imath 3, it only links with Imath[1], but then Imath doesn't
end up in the Requires[2] of the RPMs.
Thanks,
Richard
[1]
https://kojipkgs.fedoraproject.org//packages/openshadinglanguage/1.11.14....
[2]
https://koji.fedoraproject.org/koji/rpminfo?rpmID=27306586