-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vtk is incompatible with expat 2.6 #321
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
…nda-forge-pinning 2024.03.15.08.29.55
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe:
This was used for disabling testing for cross-compiling.
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
arg, osmesa has had a major release since the last build, and it breaks with:
This was reported upstream in https://gitlab.freedesktop.org/mesa/mesa/-/issues/10270 but appears to be fixed and doesn't appear to be supposed to affect linux builds anyhow. I don't really understand how there's an issue because GLAPIENTRY and APIENTRY are both defined to be empty in GL/gl.h on linux. I don't know if the right |
deal with mesalib 24 later
Had to pin osmesa to get builds to pass, can revert the pin in a new PR after merge. |
alternatively we could remove expat from dependencies and comile VTK with |
Yeah, in general we shouldn't vendor dependencies on conda-forge, but that's a valid temporary workaround. We'd need to make sure to include the expat license in about.license_files. If expat is installed and dynamically linked, this would be a problem as it would still conflict just as much with existing expat installs, but if it's statically linked that should be okay temporarily. |
fwiw, rereading the arch issue, I think folks have been showing that the bundled expat works, but they don't seem to be proposing to actually do it in the package. My inclination is to go with this pin for now, and conda-forge/conda-forge-pinning-feedstock#5640 if we need it to avoid conflicts across conda-forge, and watch https://gitlab.kitware.com/vtk/vtk/-/issues/19258 for a patch we can backport. Any opinion from @conda-forge/vtk ? |
A fix was released upstream: https://gitlab.kitware.com/vtk/vtk/-/commit/db8f9efca220c9d16a30958e179abae3379d0011 . |
At a first glance, that does not seem ABI compatible with existing releases. |
OK, so looks like we need to keep pinning until the next vtk release? |
Yes, from what I see that is the case, unless there is some way (that I do not see) to make the fix ABI compatible. |
WDYT are the implications of that for conda-forge/conda-forge-pinning-feedstock#5640 ? Is vtk's compatibility enough that we need to hold everyone else back on conda-forge? EDIT: I guess it doesn't really hold anything back, just the build-time version. |
Until someone needs a specific feature available only on expat 2.6, that pin seems fine to me. In case anyone needs explicity expat 2.6, they can always override locally the pin in the recipe. |
Looks like the macOS builds are failing on xref: #326 |
expat 2.5 run_exports accepts
>=2.5,<3
, so expat 2.6 is being installed with current builds. I'll do a repodata patch PR separately.upstream issue: https://gitlab.kitware.com/vtk/vtk/-/issues/19258
test added from https://gitlab.archlinux.org/archlinux/packaging/packages/paraview/-/issues/4#note_166231