Upstream has fixed the issue in the linked pull request, but libfmt-11 cannot be unmasked until a stable release is ready.
Created attachment 906942 [details] emerge --info and build log
How about restricting the libfmt version in ebuild for now, or backporting the patch?
The upstream patch seems incomplete. I had to patch a ton more files to get compilation to succeed. My hypothesis is that upstream builds with IOSS_DEBUG_OUTPUT defined, which includes the necessary header throughout more of the project. Without that definition (as seems to be the case when building for Gentoo?), a ton more includes need to be added throughout the project. It should probably be cleaned up a bit, but I do have a patch I've applied myself to get vtk to build. I'll upload it in a second.
Created attachment 912725 [details, diff] fix-libfmt-missing-join-include.patch his is my patch for building vtk against libfmt-11.0.2. Compared to upstream's patch, this adds the required fmt ranges.h include to a lot more places (pretty much anywhere that calls the libfmt join() function). With this I'm successfully able to build vtk-9.3.0-r3 against libfmt-11.0.2.
(In reply to Gabriel Marcano from comment #4) > Created attachment 912725 [details, diff] [details, diff] > fix-libfmt-missing-join-include.patch > > his is my patch for building vtk against libfmt-11.0.2. Compared to > upstream's patch, this adds the required fmt ranges.h include to a lot more > places (pretty much anywhere that calls the libfmt join() function). With > this I'm successfully able to build vtk-9.3.0-r3 against libfmt-11.0.2. Worked well here, thanks!
(In reply to Gabriel Marcano from comment #4) > Created attachment 912725 [details, diff] [details, diff] > fix-libfmt-missing-join-include.patch WFM. vtk builds ok with it and freecad 1.0 seems to be happy to. Though I have yet to use the software for anything (other than launching it).