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

another build error on 0.7 dev #19

Closed
kafisatz opened this issue Apr 4, 2018 · 6 comments · Fixed by #20
Closed

another build error on 0.7 dev #19

kafisatz opened this issue Apr 4, 2018 · 6 comments · Fixed by #20

Comments

@kafisatz
Copy link

kafisatz commented Apr 4, 2018

Thank you for fixing the is_file issue

I am still unable to build though, see below.
Any ideas?


   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.7.0-DEV.4690 (2018-03-23 22:25 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 78c7d87369* (11 days old master)
|__/                   |  x86_64-w64-mingw32

julia> Pkg.update();versioninfo()
WARNING: Base.Pkg is deprecated, run `using Pkg` instead
 in module Main
[ Info: Updating METADATA...
[ Info: Updating cache of PooledArrays...
[ Info: Updating cache of BinaryProvider...
[ Info: Updating CodecZlib master...
┌ Warning: Package FileIO: skipping update (dirty)...
└ @ Pkg.Entry entry.jl:431
[ Info: Updating WinRPM master...
[ Info: Updating JLD2 master...
[ Info: Updating OnlineStatsBase master...
[ Info: Updating PyCall master...
[ Info: Updating BinaryProvider master...
[ Info: Computing changes...
[ Info: Upgrading CSV: v0.2.3 => v0.2.4
[ Info: Building CodecZlib
┌ Warning: `rsearch(s::AbstractString, c::Char)` is deprecated, use `coalesce(findlast(isequal(c), s), 0)` instead.
│   caller = extract_platform_key(::String) at Prefix.jl:223
└ @ BinaryProvider Prefix.jl:223
┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.
│   caller = macro expansion at OutputCollector.jl:62 [inlined]
└ @ Core OutputCollector.jl:62
┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.
│   caller = wait(::BinaryProvider.OutputCollector) at OutputCollector.jl:158
└ @ BinaryProvider OutputCollector.jl:158
┌ Warning: `wait(t::Task)` is deprecated, use `fetch(t)` instead.
│   caller = wait(::BinaryProvider.OutputCollector) at OutputCollector.jl:159
└ @ BinaryProvider OutputCollector.jl:159
┌ Warning: `find` is deprecated, use `findall` instead.
│   caller = parse_7z_list(::String) at PlatformEngines.jl:366
└ @ BinaryProvider PlatformEngines.jl:366
┌ Warning: `contains(haystack, needle)` is deprecated, use `occursin(needle, haystack)` instead.
│   caller = #75 at <missing>:0 [inlined]
└ @ Core <missing>:0
┌ Warning: `contains(haystack, needle)` is deprecated, use `occursin(needle, haystack)` instead.
│   caller = #75 at <missing>:0 [inlined]
└ @ Core <missing>:0
┌ Error: ------------------------------------------------------------
│ # Build failed for CodecZlib
│   exception =
│    LoadError: MethodError: no method matching keys(::Base.Generator{Array{SubString{String},1},getfield(BinaryProvider, Symbol("##75#81"))})
│    Closest candidates are:
│      keys(::Cmd) at process.jl:838
│      keys(::Tuple) at tuple.jl:42
│      keys(::Tuple, ::Tuple...) at tuple.jl:48
│      ...
│    Stacktrace:
│     [1] pairs(::Base.Generator{Array{SubString{String},1},getfield(BinaryProvider, Symbol("##75#81"))}) at .\abstractdict.jl:138
│     [2] findall at .\array.jl:1969 [inlined]
│     [3] find(::Base.Generator{Array{SubString{String},1},getfield(BinaryProvider, Symbol("##75#81"))}) at .\deprecated.jl:32
│     [4] parse_7z_list(::String) at C:\Users\bernhard.konig\.julia\v0.7\BinaryProvider\src\PlatformEngines.jl:366
│     [5] #list_tarball_files#119(::Bool, ::Function, ::String) at C:\Users\bernhard.konig\.julia\v0.7\BinaryProvider\src\Prefix.jl:446
│     [6] list_tarball_files at C:\Users\bernhard.konig\.julia\v0.7\BinaryProvider\src\Prefix.jl:433 [inlined]
│     [7] #install#109(::BinaryProvider.Prefix, ::Bool, ::Bool, ::Bool, ::Function, ::String, ::String) at C:\Users\bernhard.konig\.julia\v0.7\BinaryProvider\src\Prefix.jl:302
│     [8] (::getfield(BinaryProvider, Symbol("#kw##install")))(::NamedTuple{(:prefix, :force, :verbose),Tuple{BinaryProvider.Prefix,Bool,Bool}}, ::typeof(BinaryProvider.install), ::String, ::String) at .\<missing>:0
│     [9] top-level scope at C:\Users\bernhard.konig\.julia\v0.7\CodecZlib\deps\build.jl:92
│     [10] include(::Module, ::String) at .\boot.jl:306
│     [11] include_relative(::Module, ::String) at .\loading.jl:1067
│     [12] include at .\sysimg.jl:29 [inlined]
│     [13] include(::String) at .\loading.jl:1101
│     [14] top-level scope
│     [15] eval at .\boot.jl:309 [inlined]
│     [16] eval at .\sysimg.jl:74 [inlined]
│     [17] evalfile(::String, ::Array{String,1}) at .\loading.jl:1096 (repeats 2 times)
│     [18] #6 at .\none:13 [inlined]
│     [19] cd(::getfield(Main, Symbol("##6#8")){String}, ::String) at .\file.jl:61
│     [20] (::getfield(Main, Symbol("##5#7")))(::IOStream) at .\none:12
│     [21] #open#321(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(Main, Symbol("##5#7")), ::String, ::Vararg{String,N} where N) at .\iostream.jl:369
│     [22] open(::Function, ::String, ::String) at .\iostream.jl:367
│     [23] top-level scope
│     [24] eval at .\boot.jl:309 [inlined]
│     [25] eval(::Module, ::Expr) at .\sysimg.jl:74
│     [26] exec_options(::Base.JLOptions) at .\client.jl:304
│     [27] _start() at .\client.jl:455
│    in expression starting at C:\Users\bernhard.konig\.julia\v0.7\CodecZlib\deps\build.jl:92
└ @ Main none:16
[ Info: Building SpecialFunctions
WARNING: importing deprecated binding Base.Associative into BinDeps.
WARNING: Base.Associative is deprecated, use AbstractDict instead.
  likely near C:\Users\bernhard.konig\.julia\v0.7\SpecialFunctions\deps\binaries.jl:44
in @install at C:\Users\bernhard.konig\.julia\v0.7\BinDeps\src\dependencies.jl
┌ Warning: ------------------------------------------------------------
│ # Build error summary
│
│ CodecZlib had build errors.
│
│  - packages with build errors remain installed in C:\Users\bernhard.konig\.julia\v0.7
│  - build the package(s) and all dependencies with `Pkg.build("CodecZlib")`
│  - build a single package by running its `deps/build.jl` script
└ @ Pkg.Entry entry.jl:649
Julia Version 0.7.0-DEV.4690
Commit 78c7d87369* (2018-03-23 22:25 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)
Environment:
  JULIA_BINDIR = C:\Julia-0.7.X\bin\
  JULIA_HOME = C:\Julia-0.6.X\bin\

julia>
@tbeason
Copy link

tbeason commented Apr 5, 2018

I'm also having this issue.

julia> versioninfo()
Julia Version 0.7.0-DEV.4031
Commit 5aa548b453* (2018-02-20 14:42 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)

@bicycle1885
Copy link
Member

I'm not sure, but I guess this comes from BinaryProvider.jl. I cannot debug it now because I don't have access to Windows machines. I've got in contact with the developer team.

@staticfloat
Copy link
Contributor

Let's see if JuliaPackaging/BinaryProvider.jl#61 fixes it.

@staticfloat
Copy link
Contributor

The latest master of BinaryProvider works for me to install this package now.

@bicycle1885
Copy link
Member

Great. I will close this issue once I confirm it works on AppVeyor after the next release of BinaryProvider.jl.

@kafisatz
Copy link
Author

kafisatz commented Apr 9, 2018

Thanks for fixing this.

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.

4 participants