JuliaInterop / Cxx.jl

The Julia C++ Interface
Other
757 stars 108 forks source link

cannot Pkg.add("Cxx") on ubuntu 18.04 julia v"1.0.0" #393

Closed grizzlysmit closed 5 years ago

grizzlysmit commented 5 years ago

I get the following error:

julia> Pkg.add("Cxx") Resolving package versions... ERROR: Unsatisfiable requirements detected for package Cxx [a0b5b9ef]: Cxx [a0b5b9ef] log: ├─possible versions are: [0.0.1-0.0.2, 0.1.0-0.1.1, 0.2.0] or uninstalled ├─restricted to versions * by an explicit requirement, leaving only versions [0.0.1-0.0.2, 0.1.0-0.1.1, 0.2.0] └─restricted by julia compatibility requirements to versions: uninstalled — no versions left Stacktrace: [1] #propagate_constraints!#61(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1005 [2] propagate_constraints! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:946 [inlined] [3] #simplify_graph!#121(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1460 [4] simplify_graph! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:1460 [inlined] (repeats 2 times) [5] macro expansion at ./logging.jl:311 [inlined] [6] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:339 [7] #add_or_develop#58(::Array{Base.UUID,1}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1163 [8] #add_or_develop at ./none:0 [inlined] [9] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:64 [10] #add_or_develop at ./none:0 [inlined] [11] #add_or_develop#12 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:29 [inlined] [12] #add_or_develop at ./none:0 [inlined] [13] #add_or_develop#11(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:mode,),Tuple{Symbol}}}, ::Function, ::Array{String,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:28 [14] #add_or_develop at ./none:0 [inlined] [15] #add_or_develop#10 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:27 [inlined] [16] #add_or_develop at ./none:0 [inlined] [17] #add#18 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69 [inlined] [18] add(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69 [19] top-level scope at none:0

cdsousa commented 5 years ago

Unfortunately Cxx.jl does not (yet) support 1.0: https://github.com/Keno/Cxx.jl/issues/390

armstrtw commented 5 years ago

is this package still maintained?

cdsousa commented 5 years ago

It is not updated since May, but I prefer to think (hope) it has just been "put on pause". I guess, however, that it has a low priority in Keno's list of stuff to do (e.g., below the Julia debugger).

It would be great if someone else could help here, but people with deep knowledge of C++, Julia and Clang does not abound :frowning_face:

ldesousa commented 5 years ago

I get a similar error installing on Julia 1.0.2. This package is referenced in the main page of julialang.org, however, it indeed seems to be abandoned.