The real error in the log is:
:info:build ld: Undefined symbols:
:info:build Imf_3_1::Chromaticities::Chromaticities(Imath_2_3::Vec2<float> const&, Imath_2_3::Vec2<float> const&, Imath_2_3::Vec2<float> const&, Imath_2_3::Vec2<float> const&), referenced from:
:info:build _EXRLoader::getProfile() const in openexr-wrapper.o
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
#68044 contains no information about what the problem was, except that it occurred at configure time. Your issue occurred at build time so it is not the same.