Conversation
|
I don't know about Cmake but we don't need this for Autotools. |
|
Given the PR Unidata/netcdf-c#3018 specifically notes fixing the autotools build, I'm unclear why you say the spack autotools build doesn't need this fix. |
|
And no, they didn't fix it. |
|
I haven't had a chance to try 4.9.3 via #69 yet, but are you saying that 4.9.3's inclusion of Unidata/netcdf-c#2907 and Unidata/netcdf-c#3018 is insufficient to solve the problem? I've narrowed the depends to only be applicable to the cmake side of things |
|
In many cases, the configure script of the package doesn't care what options the user specified on the command line: it just overrides them and continues, which makes it very hard to catch the edge cases. This also applies to the newly introduced |
|
Is the zarr w/ S3 support not handled in the autotools like it is in cmake? If you're pretty convinced the edge cases aren't sufficiently captured by the CMakeLists, would you prefer that this fix removes the 4.9.3 version bound? Or are you ok with how it is now? |
|
|
I will test the CMake side again with 4.9.3 when #69 is merged. For now, I will keep the version bound with the expectation that it was fixed. |
|
761e72a to
6c5b502
Compare
johnwparent
left a comment
There was a problem hiding this comment.
Is it feasible to patch this in the NetCDF-C CMake system? I'd rather correct their CMake usage than require an extra dependency that doesn't align with the expectations the variants provide.
|
In theory this is fixed in 9.3. I just need to test it still |
|
@bernhardkaindl @johnwparent I did and there is no curl dependency, so I believe |
6c5b502 to
124ca43
Compare
124ca43 to
b7916f4
Compare
|
@becker33 are we good to merge this? Been a couple weeks and users are requesting this land to unbreak some builds. |
|
It would be great to have this merged. It shows up in some weird situations when a built-against-system curl netcdf is pulled in with python dependencies, e.g., gdal and friends. The python stack then falls apart in totally bizarre ways |
Even though
netcdf-cis only supposed to depend oncurlwhen+dap, it doesn't correctly do this until 4.9.3Unidata/netcdf-c#3016
Unidata/netcdf-c#2907
Unidata/netcdf-c#3018
This looks to impact both autotools and cmake builds.
@skosukhin @WardF