JuliaGeo / GDAL.jl

Thin Julia wrapper for GDAL - Geospatial Data Abstraction Library
MIT License
90 stars 13 forks source link

GDAL build is broken #158

Closed juliohm closed 1 year ago

juliohm commented 1 year ago

Some recent update in libgeotiff_jll today broke the GDAL build:

(@v1.9) pkg> activate --temp
  Activating new project at `/tmp/jl_nXeWax`

(jl_nXeWax) pkg> add GDAL
   Resolving package versions...
    Updating `/tmp/jl_nXeWax/Project.toml`
  [add2ef01] + GDAL v1.6.0
    Updating `/tmp/jl_nXeWax/Manifest.toml`
  [fa961155] + CEnum v0.4.2
  [add2ef01] + GDAL v1.6.0
  [692b3bcd] + JLLWrappers v1.4.1
  [21216c6a] + Preferences v1.4.0
  [8ce61222] + Arrow_jll v10.0.0+1
  [6e34b625] + Bzip2_jll v1.0.8+0
  [2e619515] + Expat_jll v2.5.0+0
  [a7073274] + GDAL_jll v301.600.200+0
  [d604d12d] + GEOS_jll v3.11.2+0
⌅ [0234f1f7] + HDF5_jll v1.12.2+2
  [aacddb02] + JpegTurbo_jll v2.1.91+0
  [b39eb1a6] + Kerberos_krb5_jll v1.19.3+0
  [88015f11] + LERC_jll v3.0.0+1
  [dd4b983a] + LZO_jll v2.10.1+0
  [08be9ffa] + LibPQ_jll v14.3.0+1
  [94ce4f54] + Libiconv_jll v1.16.1+2
  [89763e89] + Libtiff_jll v4.5.1+1
  [d3a379c0] + LittleCMS_jll v2.12.0+0
  [5ced341a] + Lz4_jll v1.9.3+0
⌃ [7243133f] + NetCDF_jll v400.902.206+0
  [643b3616] + OpenJpeg_jll v2.4.0+0
⌅ [458c3c95] + OpenSSL_jll v1.1.21+0
  [58948b4f] + PROJ_jll v900.100.0+0
  [76ed43ae] + SQLite_jll v3.42.0+0
  [e0b8ae26] + Thrift_jll v0.16.0+0
  [02c8fc9c] + XML2_jll v2.10.3+0
  [ffd25f8a] + XZ_jll v5.4.3+0
  [3161d3a3] + Zstd_jll v1.5.5+0
⌅ [28df3c45] + boost_jll v1.76.0+1
  [06c338fa] + libgeotiff_jll v100.700.100+0
  [b53b4c65] + libpng_jll v1.6.38+0
  [fe1e1685] + snappy_jll v1.1.9+1
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.9.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v1.0.2+0
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.2+0
  [14a3606d] + MozillaCACerts_jll v2022.10.11
  [83775a58] + Zlib_jll v1.2.13+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
Precompiling project...
  ✗ libgeotiff_jll
  ✗ GDAL_jll
  ✗ GDAL
  0 dependencies successfully precompiled in 4 seconds. 33 already precompiled.
  3 dependencies errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the packages
visr commented 1 year ago

Looks like the upgrade from libtiff 4.4 to 4.5 was breaking at least on Windows. We probably need a new libgeotiff build, probably setting the compat to the minor version of libtiff.

visr commented 1 year ago

Fixed in the registry by https://github.com/JuliaRegistries/General/pull/86099.

Making new builds with libtiff 4.5 will take longer but is no longer urgent, but https://github.com/JuliaPackaging/Yggdrasil/pull/6929 and https://github.com/JuliaPackaging/Yggdrasil/pull/6930 are up.