-
Notifications
You must be signed in to change notification settings - Fork 28
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
FreeBSD precompilation fails #101
Comments
Cool package! So the error is coming from BinDeps, failing here. We can try to get this to work by adding an appropriate entry for FreeBSD to build.jl perhaps? Although I'm not sure what this entry should be. Is this only for CI, or do you intend to run on FreeBSD directly? Slightly longer term we should strive to get away from BinDeps and build NetCDF Artifacts, using BinaryBuilder + the new Pkg artifacts system that is added in julia 1.3. |
I don't use FreeBSD directly, but I thought you may want that NetCDF.jl runs on it. |
Yeah indeed, thanks for creating the issue! I think if someone using FreeBSD could help out here that would be the quickest. Otherwise I'd have to debug using CI and no FreeBSD experience. |
@giordano do you know whether this is a common error with FreeBSD & BinDeps? |
What is common is that FreeBSD is not much tested, hence errors are not frequently caught 😅 But often errors in FreeBSD are indication of something truly wrong which by chance doesn't trigger an error on other platforms |
Oh, right, sorry I didn't follow very well the thread (I was more thinking about BinaryProvider rather than BinDeps). @visr Maybe it would be better to build NetCDF with BinaryBuilder? Have you ever tried that? |
Nope I haven't tried yet, but I'd love to, once I get BB working on Windows. Now that there is a HDF5Builder it should be easier. |
Oh, it depends on HDF5? That's unfortunate, in Yggdrasil we have HDF5 only for few platforms (the most common ones): https://github.com/JuliaPackaging/Yggdrasil/blob/20a84ddd0a0128ee10a0797636544243e0aa9b8c/H/HDF5/build_tarballs.jl#L78-L84 😣 @milankl I think that for the time being you should give up testing your package for FreeBSD, there is currently no easy way to get all your dependencies on that platform. |
Yep it depends on libhdf5, libcurl and zlib. Too bad a FreeBSD HDF5 build is not yet available. We can keep this issue open for visibility though. |
FreeBSD builds are now available in the latest NetCDF_jll build. If you can, please try them out. I'll close the issue, but feel free to re-open if it doesn't work. Details in Alexander-Barth/NCDatasets.jl#116 (comment) |
I have a package, which fails the cirrus-ci tests on FreeBSD with Julia 1.0,1.2 as well as nightly due to its dependencies on NetCDF.jl, whereas Linux, osx, win pass (with Travis & appveyor).
The text was updated successfully, but these errors were encountered: