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

error on using Datastructures.jl on Version 0.4.0-dev, Commit ff35d98 (0 days old master) #94

Closed
lobingera opened this issue May 14, 2015 · 3 comments

Comments

@lobingera
Copy link

lobi@orange4:~/juliarepo$ ../julia04/julia 
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.0-dev (2015-05-14 00:12 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit ff35d98 (0 days old master)
|__/                   |  x86_64-linux-gnu

julia> Pkg.status()
WARNING: unknown Clang commit c4d18994, metadata may be ahead of package cache
3 required packages:
 - Clang                         0.0.5+             master
 - Gtk                           0.8.0
 - Winston                       0.11.9
13 additional packages:
 - BinDeps                       0.3.12
 - Cairo                         0.2.26
 - Color                         0.4.5
 - Compat                        0.4.4
 - Cxx                           0.0.0-             master (unregistered)
 - DataStructures                0.3.9
 - Docile                        0.5.0
 - FixedPointNumbers             0.0.7
 - Graphics                      0.1.0
 - IniFile                       0.2.4
 - SHA                           0.0.4
 - Tk                            0.3.3
 - URIParser                     0.0.5

julia> using DataStructures
Warning: Method definition call(Type{IPv4}, AbstractString) in module Base at socket.jl:35 overwritten in module Compat at /home/lobi/.julia/v0.4/Compat/src/Compat.jl:41.
Warning: Method definition call(Type{IPv6}, AbstractString) in module Base at socket.jl:78 overwritten in module Compat at /home/lobi/.julia/v0.4/Compat/src/Compat.jl:42.
Warning: Method definition isless(T<:Base.IPAddr, T<:Base.IPAddr) in module Base at socket.jl:6 overwritten in module Compat at /home/lobi/.julia/v0.4/Compat/src/Compat.jl:47.
Warning: Method definition call(Type{Dict{K,V}}, Any) in module Base at dict.jl:406 overwritten in module Compat at /home/lobi/.julia/v0.4/Compat/src/Compat.jl:59.
ERROR: LoadError: LoadError: TypeError: apply_type: in Type, expected Type{T}, got Tuple{TypeVar,TypeVar}
 in include at ./boot.jl:252
 in include_from_node1 at ./loading.jl:134
 in reload_path at ./loading.jl:158
 in _require at ./loading.jl:70
 in require at ./loading.jl:56
 in include at ./boot.jl:252
 in include_from_node1 at ./loading.jl:134
 in reload_path at ./loading.jl:158
 in _require at ./loading.jl:70
 in require at ./loading.jl:54
while loading /home/lobi/.julia/v0.4/Compat/src/Compat.jl, in expression starting on line 60
while loading /home/lobi/.julia/v0.4/DataStructures/src/DataStructures.jl, in expression starting on line 3

@simonster
Copy link
Member

For some reason your Julia build is missing the build number, which will break Compat and presumably a lot of packages. If you built Julia with NO_GIT=1, then this may be JuliaLang/julia#10851.

@lobingera
Copy link
Author

Well, i didn't intentially build with NO_GIT=1. I was following the instructions in https://github.com/Keno/Cxx.jl to build a v0.4 with addtional Make.user.

Does this qualify for a julia issue?

@lobingera
Copy link
Author

@simonster:

I somehow managed by make distclean + make to get a Version 0.4.0-dev+4829 which now let's me start using DataStructures without error message.

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

2 participants