Skip to content
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

convert(::Type{Union{}}, ::String) is ambiguous #410

Open
Qiyamah opened this issue Dec 17, 2019 · 0 comments
Open

convert(::Type{Union{}}, ::String) is ambiguous #410

Qiyamah opened this issue Dec 17, 2019 · 0 comments

Comments

@Qiyamah
Copy link

Qiyamah commented Dec 17, 2019

WARNING: BinDeps.shlib_ext is deprecated, use Libdl.dlext instead.
  likely near /home/parallels/Projects/GraphViz.jl/deps/build.jl:40
┌ Warning: `Pkg.dir(pkgname, paths...)` is deprecated; instead, do `import Cairo; joinpath(dirname(pathof(Cairo)), "..", paths...)`.
└ @ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:673
ERROR: LoadError: MethodError: convert(::Type{Union{}}, ::String) is ambiguous. Candidates:
  convert(::Type{Union{}}, x) in Base at essentials.jl:166
  convert(::Type{T}, s::AbstractString) where T<:AbstractString in Base at strings/basic.jl:209
  convert(::Type{T}, arg) where T<:VecElement in Base at baseext.jl:8
Possible fix, define
  convert(::Type{Union{}}, ::AbstractString)
Stacktrace:
 [1] convert(::Type{Nothing}, ::String) at ./some.jl:34
 [2] pushfirst!(::Array{Nothing,1}, ::String) at ./array.jl:1103
 [3] generate_steps(::BinDeps.LibraryDependency, ::Autotools, ::Dict{Symbol,Any}) at /home/parallels/.julia/packages/BinDeps/eiJeV/src/dependencies.jl:620
 [4] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at /home/parallels/.julia/packages/BinDeps/eiJeV/src/dependencies.jl:944
 [5] satisfy!(::BinDeps.LibraryDependency) at /home/parallels/.julia/packages/BinDeps/eiJeV/src/dependencies.jl:922
 [6] top-level scope at /home/parallels/.julia/packages/BinDeps/eiJeV/src/dependencies.jl:977
 [7] include at ./boot.jl:328 [inlined]
 [8] include_relative(::Module, ::String) at ./loading.jl:1105
 [9] include(::Module, ::String) at ./Base.jl:31
 [10] exec_options(::Base.JLOptions) at ./client.jl:287
 [11] _start() at ./client.jl:460
in expression starting at /home/parallels/Projects/GraphViz.jl/deps/build.jl:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant