Skip to content

Deps fail with Cairo.jl #452

@RGerzaguet

Description

@RGerzaguet

Hello there,
I work on MacOS-X catalina. I have tried to install Gtk, after installing Cairo.
Cairo install without issue with 0.8 version (since 0.7, install on macos is fixed).
However, Gtk needs a Cairo with 0.6 max version, so I have a compat issue

(v1.1) pkg> add Gtk
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Cairo [159f3aea]:
 Cairo [159f3aea] log:
 ├─possible versions are: [0.5.3-0.5.6, 0.6.0, 0.7.0, 0.8.0] or uninstalled
 ├─restricted to versions 0.8.0 by an explicit requirement, leaving only versions 0.8.0
 └─restricted by compatibility requirements with Gtk [4c0ca9eb] to versions: [0.5.3-0.5.6, 0.6.0] — no versions left

May it be possible to push a compat for last Cairo version ?
Note that I cannot install Cairo 0.6 on my side (macos issue I assume ?)

> (v1.1) pkg> add Cairo#3d781a79f0ce9d40fac85c7586cb733f2a4beb17
>    Cloning git-repo `https://github.com/JuliaGraphics/Cairo.jl.git`
>   Updating git-repo `https://github.com/JuliaGraphics/Cairo.jl.git`
>  Resolving package versions...
>   Updating `~/.julia/environments/v1.1/Project.toml`
>   [159f3aea] + Cairo v0.6.0 #3d781a7 (https://github.com/JuliaGraphics/Cairo.jl.git)
>   Updating `~/.julia/environments/v1.1/Manifest.toml`
>   [159f3aea] + Cairo v0.6.0 #3d781a7 (https://github.com/JuliaGraphics/Cairo.jl.git)
>   [a2bd30eb] + Graphics v0.4.0
>   Building Cairo → `~/.julia/packages/Cairo/p68X8/deps/build.log`
> ┌ Error: Error building `Cairo`:
> │ WARNING: redefining constant DEBIAN_VERSION_REGEX
> │ WARNING: redefining constant have_sonames
> │ WARNING: redefining constant sonames
> │ WARNING: redefining constant EXTENSIONS
> │ ERROR: LoadError: KeyError: key "10.15" not found
> │ Stacktrace:
> │  [1] getindex at ./dict.jl:478 [inlined]
> │  [2] osx_version_string() at /Users/gerzaguet/.julia/packages/Homebrew/s09IX/src/API.jl:633
> │  [3] has_bottle(::String) at /Users/gerzaguet/.julia/packages/Homebrew/s09IX/src/API.jl:654
> │  [4] #translate_formula#71(::Bool, ::Function, ::String) at /Users/gerzaguet/.julia/packages/Homebrew/s09IX/src/translation.jl:135
> │  [5] #translate_formula at ./none:0 [inlined]
> │  [6] #add#29(::Bool, ::Bool, ::Function, ::String) at /Users/gerzaguet/.julia/packages/Homebrew/s09IX/src/API.jl:440
> │  [7] add(::String) at /Users/gerzaguet/.julia/packages/Homebrew/s09IX/src/API.jl:412
> │  [8] top-level scope at /Users/gerzaguet/.julia/packages/Cairo/p68X8/deps/build.jl:53
> │  [9] include at ./boot.jl:326 [inlined]
> │  [10] include_relative(::Module, ::String) at ./loading.jl:1038
> │  [11] include(::Module, ::String) at ./sysimg.jl:29
> │  [12] include(::String) at ./client.jl:403
> │  [13] top-level scope at none:0
> │ in expression starting at /Users/gerzaguet/.julia/packages/Cairo/p68X8/deps/build.jl:51
> └ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions