JuliaOpt / CoinOptServices.jl

Julia interface to COIN-OR Optimization Services https://projects.coin-or.org/OS
Other
16 stars 4 forks source link

Pkg.build("CoinOptServices") fails #48

Open lasaralanda opened 5 years ago

lasaralanda commented 5 years ago

I'm unable to properly install the package. The following error comes up

julia> Pkg.build("CoinOptServices") INFO: Building Ipopt WARNING: imported binding for srcdir overwritten in module anon INFO: Building LightXML INFO: Building WinRPM INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/4ca2f17a62cad158bac52286901f191ffe787bd00917b5e56cf450a33f155162-primary.xml.gz INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/ef6a61a904d07244266e4a7a420b7c917ed4712bec9c3fd3b4c12fe2ffb5d17e-primary.xml.gz INFO: Building Cbc INFO: Updating WinRPM package list INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml INFO: Building Clp INFO: Building CoinOptServices INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml INFO: Downloading http://download.opensuse.org/repositories/home:/kelman:/mingw-coinor/openSUSE_13.2/repodata/repomd.xml WARNING: encounted invalid data while parsing repomd ===============================================[ ERROR: CoinOptServices ]===============================================

LoadError: BoundsError: attempt to access 0-element Array{LibExpat.ETree,1} at index [1] while loading C:\Users\hp.julia\v0.6\CoinOptServices\deps\build.jl, in expression starting on line 14

======================================================================================================================== ERROR: UndefVarError: LibExpat not defined Stacktrace: [1] deserialize_module(::SerializationState{IOStream}) at .\serialize.jl:757 [2] handle_deserialize(::SerializationState{IOStream}, ::Int32) at .\serialize.jl:698 [3] deserialize(::SerializationState{IOStream}) at .\serialize.jl:637 [4] deserialize_datatype(::SerializationState{IOStream}, ::Bool) at .\serialize.jl:972 [5] handle_deserialize(::SerializationState{IOStream}, ::Int32) at .\serialize.jl:677 [6] deserialize(::SerializationState{IOStream}) at .\serialize.jl:637 [7] deserialize_array(::SerializationState{IOStream}) at .\serialize.jl:831 [8] handle_deserialize(::SerializationState{IOStream}, ::Int32) at .\serialize.jl:675 [9] deserialize(::SerializationState{IOStream}, ::DataType) at .\serialize.jl:1079 [10] handle_deserialize(::SerializationState{IOStream}, ::Int32) at .\serialize.jl:685 [11] deserialize(::SerializationState{IOStream}, ::DataType) at .\serialize.jl:1079 [12] handle_deserialize(::SerializationState{IOStream}, ::Int32) at .\serialize.jl:690 [13] (::Base.Pkg.Entry.##54#55{Dict{Any,Any}})(::IOStream) at .\pkg\entry.jl:641 [14] open(::Base.Pkg.Entry.##54#55{Dict{Any,Any}}, ::String, ::String) at .\iostream.jl:152 [15] build!(::Array{String,1}, ::Dict{Any,Any}, ::Set{Any}) at .\pkg\entry.jl:638 [16] build(::Array{String,1}) at .\pkg\entry.jl:652 [17] (::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#build,Tuple{Array{String,1}}})() at .\pkg\dir.jl:36 [18] cd(::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#build,Tuple{Array{String,1}}}, ::String) at .\file.jl:59 [19] #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{String,1}, ::Vararg{Array{String,1},N} where N) at .\pkg\dir.jl:36 [20] build(::String, ::Vararg{String,N} where N) at .\pkg\pkg.jl:254

julia>