For anyone hitting this issue, I scavenged the script that Alexander was referring to over two years ago, it’s
What the error is saying that Dependecy
has a PackageSpec
argument which specifies the version number, but instead the syntax should be something like
Dependency("HDF5_jll"; compat="1.12.0") # this adds a compat bound in the generated JLL package _and_ uses the minimum compatible version as build version
Dependency("HDF5_jll", v"1.12.0") # this only specifies the version to use for the build, without saving a compat bound in the generated JLL package
The former is preferred to the latter because it’s always better to specific compat bounds when possible.