You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution to issue cannot be found in the documentation.
I checked the documentation.
Issue
I'm not sure what exactly is going on, but dolfinx builds have started failing on Windows during cmake build with:
ninja: error: 'D:/bld/fenics-dolfinx-split_1736324192638/_h_env/Library/lib/liblzma.lib', needed by 'dolfinx/dolfinx.dll', missing and no known rule to make it
I don't entirely know where this is coming from, because dolfinx doesn't use liblzma. I think it's coming through scotch. The relevant bit of info I can find is that xz 5.2.6 has liblzma.lib, whereas liblzma-devel 5.6.3 has lzma.lib. I think that might mean that packages built against xz 5.2 are not actually compatible with 5.6, despite being allowed by run_exports. It's unclear to me if this is a general runtime problem (dlls have the same name change) or just a downstream build-time problem.
If it's a runtime problem, then I think the solution is a repodata patch to tighten the upper bound on packages depending onxz >=5.2.6,<6.0a0 to <5.6 instead. If it's build-only, then it's probably not a big deal and I can work around it. I think I may only be hitting this because dolfinx needs to pin back impi, which in turn means excluding the latest builds of scotch that use the latest liblzma-devel.
and it looks like liblzma 5.6 and xz 5.2 don't conflict, so you can instlal both in the same env. The liblzma splits might need a run_constrained on xz:
The quickest test I could find (https://github.com/minrk/junk/actions/runs/12671152678/job/35312289186) suggests that the dll name change doesn't break things at runtime. I don't really understand that, but linking on Windows is a mystery to me. So it's only the conflict that's really needed, and then I think I can deal with pinning down xz properly excluding newer liblzma.
Solution to issue cannot be found in the documentation.
Issue
I'm not sure what exactly is going on, but dolfinx builds have started failing on Windows during cmake build with:
I don't entirely know where this is coming from, because dolfinx doesn't use liblzma. I think it's coming through scotch. The relevant bit of info I can find is that xz 5.2.6 has
liblzma.lib
, whereas liblzma-devel 5.6.3 haslzma.lib
. I think that might mean that packages built againstxz 5.2
are not actually compatible with 5.6, despite being allowed by run_exports. It's unclear to me if this is a general runtime problem (dlls have the same name change) or just a downstream build-time problem.If it's a runtime problem, then I think the solution is a repodata patch to tighten the upper bound on packages depending on
xz >=5.2.6,<6.0a0
to<5.6
instead. If it's build-only, then it's probably not a big deal and I can work around it. I think I may only be hitting this because dolfinx needs to pin back impi, which in turn means excluding the latest builds of scotch that use the latest liblzma-devel.Installed packages
Environment info
The text was updated successfully, but these errors were encountered: