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

Unable to add Firebase.jl in Julia 1.7+ #27

Open
brunbjerg opened this issue Mar 11, 2023 · 1 comment · May be fixed by #28
Open

Unable to add Firebase.jl in Julia 1.7+ #27

brunbjerg opened this issue Mar 11, 2023 · 1 comment · May be fixed by #28

Comments

@brunbjerg
Copy link

I am unable to add Firebase.jl to my package environment on Julia 1.7+

I get the following stacktrace when trying to add it the package from GitHub.

If this package is no longer maintained, a hint on how to fix it in the source code would be much appreciate then I will try to make a
pull request if I can fix it.

julia> Pkg.add(url = "github.com/ashwani-rathee/Firebase.jl.git")
ERROR: Path `github.com/ashwani-rathee/Firebase.jl.git` does not exist.
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\Types.jl:68
  [2] handle_repo_add!(ctx::Pkg.Types.Context, pkg::Pkg.Types.PackageSpec)
    @ Pkg.Types C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\Types.jl:737
  [3] handle_repos_add!(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.Types C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\Types.jl:813
  [4] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
    @ Pkg.API C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\API.jl:255
  [5] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\API.jl:156
  [6] add(pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\API.jl:145
  [7] #add#24
    @ C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\API.jl:143 [inlined]
  [8] add
    @ C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\API.jl:143 [inlined]
  [9] add(; name::Nothing, uuid::Nothing, version::Nothing, url::String, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Pairs{Sy
   Installed GoogleCloud ───────── v0.8.1
   Installed JSON ──────────────── v0.21.3
   Installed HTTP ──────────────── v0.8.19
   Installed MbedTLS ───────────── v0.6.8
   Installed BinaryProvider ────── v0.5.10
   Installed BufferedStreams ───── v1.1.0
   Installed ANSIColoredPrinters ─ v0.0.1
   Installed Glob ──────────────── v1.3.0
   Installed Libz ──────────────── v1.0.1
   Installed Documenter ────────── v0.27.24
    Updating `C:\Users\brunb\.julia\environments\v1.9\Project.toml`
  [d5d4129f] + Firebase v0.0.1 `https://github.com/ashwani-rathee/Firebase.jl.git#main`
⌃ [104b5d7c] ↓ WebSockets v1.6.0 ⇒ v1.5.9
    Updating `C:\Users\brunb\.julia\environments\v1.9\Manifest.toml`
  [a4c015fc] + ANSIColoredPrinters v0.0.1
  [b99e7846] + BinaryProvider v0.5.10
  [d1d4a3ce] - BitFlags v0.1.7
  [e1450e63] + BufferedStreams v1.1.0
  [944b1d66] - CodecZlib v0.7.1
  [e30172f5] + Documenter v0.27.24
  [d5d4129f] + Firebase v0.0.1 `https://github.com/ashwani-rathee/Firebase.jl.git#main`
  [c27321d9] + Glob v1.3.0
⌅ [55e21f81] + GoogleCloud v0.8.1
⌅ [cd3eb016] ↓ HTTP v1.7.4 ⇒ v0.8.19
  [b5f81e59] + IOCapture v0.2.2
  [692b3bcd] - JLLWrappers v1.4.1
  [682c06a0] + JSON v0.21.3
  [2ec943e9] + Libz v1.0.1
  [e6f89c97] - LoggingExtras v1.0.0
⌅ [739be429] ↓ MbedTLS v1.1.7 ⇒ v0.6.8
  [99f44e22] + MsgPack v1.2.0
  [4d8831e6] - OpenSSL v1.3.3
  [69de0a69] + Parsers v2.5.8
  [66db9d55] + SnoopPrecompile v1.0.3
  [3bb67fe8] - TranscodingStreams v0.9.11
  [5c2747f8] - URIs v1.4.2
⌃ [104b5d7c] ↓ WebSockets v1.6.0 ⇒ v1.5.9
  [458c3c95] - OpenSSL_jll v1.1.20+0
  [8ba89e20] + Distributed
  [a63ad114] + Mmap
        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`    Building MbedTLS → `C:\Users\brunb\.julia\scratchspaces\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\2d94286a9c2f52c63a16146bb86fd6cdfbf677c6\build.log`
ERROR: Error building `MbedTLS`: 
ERROR: LoadError: Unable to open libLLVM!
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] (::BinaryProvider.var"#open_libllvm#124")()
    @ BinaryProvider C:\Users\brunb\.julia\packages\BinaryProvider\U2dKK\src\PlatformNames.jl:652
  [3] detect_cxx11_string_abi()
    @ BinaryProvider C:\Users\brunb\.julia\packages\BinaryProvider\U2dKK\src\PlatformNames.jl:655
  [4] detect_compiler_abi()
    @ BinaryProvider C:\Users\brunb\.julia\packages\BinaryProvider\U2dKK\src\PlatformNames.jl:668
  [5] top-level scope
    @ C:\Users\brunb\.julia\packages\BinaryProvider\U2dKK\src\PlatformNames.jl:685
  [6] include(mod::Module, _path::String)
    @ Base .\Base.jl:457
  [7] include(x::String)
    @ BinaryProvider C:\Users\brunb\.julia\packages\BinaryProvider\U2dKK\src\BinaryProvider.jl:1
  [8] top-level scope
    @ C:\Users\brunb\.julia\packages\BinaryProvider\U2dKK\src\BinaryProvider.jl:12
  [9] include
    @ .\Base.jl:457 [inlined]
 [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
    @ Base .\loading.jl:2004
 [11] top-level scope
    @ stdin:2
in expression starting at C:\Users\brunb\.julia\packages\BinaryProvider\U2dKK\src\PlatformNames.jl:685
in expression starting at C:\Users\brunb\.julia\packages\BinaryProvider\U2dKK\src\BinaryProvider.jl:1
in expression starting at stdin:2
ERROR: LoadError: Failed to precompile BinaryProvider [b99e7846-7c00-51b0-8f62-c81ae34c0232] to "C:\\Users\\brunb\\.julia\\compiled\\v1.9\\BinaryProvider\\jl_E74D.tmp". 
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base .\loading.jl:2254
  [3] compilecache
    @ .\loading.jl:2121 [inlined]
  [4] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1764
  [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1619
  [6] macro expansion
    @ .\loading.jl:1607 [inlined]
  [7] macro expansion
    @ .\lock.jl:267 [inlined]
  [8] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1570
  [9] include(fname::String)
    @ Base.MainInclude .\client.jl:478
 [10] top-level scope
    @ none:5
in expression starting at C:\Users\brunb\.julia\packages\MbedTLS\X4xar\deps\build.jl:1
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\Types.jl:68
  [2] (::Pkg.Operations.var"#67#74"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec, String})()
    @ Pkg.Operations C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\Operations.jl:1142
  [3] withenv(::Pkg.Operations.var"#67#74"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec, String}, ::Pair{String, String}, ::Vararg{Pair{String}})
    @ Base .\env.jl:197
  [4] (::Pkg.Operations.var"#117#122"{String, Bool, Bool, Bool, Pkg.Operations.var"#67#74"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec, String}, Pkg.Types.PackageSpec})()
    @ Pkg.Operations C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\Operations.jl:1785
  [5] with_temp_env(fn::Pkg.Operations.var"#117#122"{String, Bool, Bool, Bool, Pkg.Operations.var"#67#74"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec, String}, Pkg.Types.PackageSpec}, temp_env::String)
    @ Pkg.Operations C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\Operations.jl:1659
  [6] (::Pkg.Operations.var"#115#120"{Dict{String, Any}, Bool, Bool, Bool, Pkg.Operations.var"#67#74"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec, String}, Pkg.Types.Context, Pkg.Types.PackageSpec, String, Pkg.Types.Project, String})(tmp::String)
    @ Pkg.Operations C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\Operations.jl:1748
  [7] mktempdir(fn::Pkg.Operations.var"#115#120"{Dict{String, Any}, Bool, Bool, Bool, Pkg.Operations.var"#67#74"{Bool, Pkg.Types.Context, String, Pkg.Types.PackageSpec, String}, Pkg.Types.Context, Pkg.Types.PackageSpec, String, Pkg.Types.Project, String}, parent::String; prefix::String)
    @ Base.Filesystem .\file.jl:760
  [8] mktempdir(fn::Function, parent::String)
    @ Base.Filesystem .\file.jl:756
 [18] #add#24
    @ C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\API.jl:143 [inlined]
 [19] add    @ C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\API.jl:143 [inlined]
 [20] add(; name::Nothing, uuid::Nothing, version::Nothing, url::String, rev::Nothing, path::Nothing, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API C:\Users\brunb\AppData\Local\Programs\Julia-1.9.0-rc1\share\julia\stdlib\v1.9\Pkg\src\API.jl:173
 [21] top-level scope
    @ REPL[6]:1

@Kyjor
Copy link

Kyjor commented Aug 15, 2023

@rdboyes rdboyes linked a pull request Nov 29, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants