WinRPM.jl icon indicating copy to clipboard operation
WinRPM.jl copied to clipboard

Pkg.build failing on 0.7 and Windows 7

Open tbeason opened this issue 6 years ago • 12 comments

Maybe this has already been documented, but I didn't see it anywhere. I'm on Julia 0.7 master branch and Windows 7.

julia> Pkg.build("WinRPM")
WARNING: Base.Pkg is deprecated, run `using Pkg` instead.
 in module Main
[ Info: Building WinRPM
┌ Warning: Deprecated syntax `type` at C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\bufferedinputstream.jl:15.
│ Use `mutable struct` instead.
└ @ nothing bufferedinputstream.jl:15
┌ Warning: Deprecated syntax `parametric method syntax BufferedInputStream{T}(source::T, bufsize::Integer = default_buffer_size)` around C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\bufferedinputstream.jl:36.
│ Use `BufferedInputStream(source::T, bufsize::Integer = default_buffer_size) where T` instead.
└ @ nothing bufferedinputstream.jl:36
┌ Warning: Deprecated syntax `parametric method syntax Base.show{T}(io::IO, stream::BufferedInputStream{T})` around C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\bufferedinputstream.jl:43.
│ Use `Base.show(io::IO, stream::BufferedInputStream{T}) where T` instead.
└ @ nothing bufferedinputstream.jl:43
WARNING: importing deprecated binding Base.Void into BufferedStreams.
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\bufferedinputstream.jl:207
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\bufferedinputstream.jl:207
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\bufferedinputstream.jl:207
┌ Warning: Deprecated syntax `parametric method syntax Base.seek{T}(stream::BufferedInputStream{T}, pos::Integer)` around C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\bufferedinputstream.jl:337.
│ Use `Base.seek(stream::BufferedInputStream{T}, pos::Integer) where T` instead.
└ @ nothing bufferedinputstream.jl:337
┌ Warning: Deprecated syntax `type` at C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\bufferedoutputstream.jl:21.
│ Use `mutable struct` instead.
└ @ nothing bufferedoutputstream.jl:21
┌ Warning: Deprecated syntax `parametric method syntax BufferedOutputStream{T}(sink::T, bufsize::Integer = default_buffer_size)` around C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\bufferedoutputstream.jl:31.
│ Use `BufferedOutputStream(sink::T, bufsize::Integer = default_buffer_size) where T` instead.
└ @ nothing bufferedoutputstream.jl:31
┌ Warning: Deprecated syntax `parametric method syntax Base.show{T}(io::IO, stream::BufferedOutputStream{T})` around C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\bufferedoutputstream.jl:38.
│ Use `Base.show(io::IO, stream::BufferedOutputStream{T}) where T` instead.
└ @ nothing bufferedoutputstream.jl:38
┌ Warning: Deprecated syntax `immutable` at C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\emptystream.jl:8.
│ Use `struct` instead.
└ @ nothing emptystream.jl:8
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\emptystream.jl:121
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\emptystream.jl:121
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\io.jl:16
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\BufferedStreams\src\io.jl:16
┌ Warning: Deprecated syntax `type` at C:\Users\tbeason\.julia\v0.7\Libz\src\lowlevel.jl:62.
│ Use `mutable struct` instead.
└ @ nothing lowlevel.jl:62
┌ Warning: `is_windows` is deprecated, use `Sys.iswindows` instead.
│   caller = top-level scope
└ @ Core :0
WARNING: importing deprecated binding Base.Void into Libz.
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\Libz\src\lowlevel.jl:62
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\Libz\src\lowlevel.jl:62
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\Libz\src\lowlevel.jl:62
WARNING: Base.Void is deprecated, use Nothing instead.
  likely near C:\Users\tbeason\.julia\v0.7\Libz\src\lowlevel.jl:62
ERROR: LoadError: LoadError: error compiling version: could not load library "zlib1"
The specified module could not be found.

Stacktrace:
 [1] top-level scope
 [2] include(::Module, ::String) at .\boot.jl:292
 [3] include_relative(::Module, ::String) at .\loading.jl:1012
 [4] include at .\sysimg.jl:26 [inlined]
 [5] include(::String) at C:\Users\tbeason\.julia\v0.7\Libz\src\Libz.jl:3
 [6] top-level scope
 [7] include(::Module, ::String) at .\boot.jl:292
 [8] include_relative(::Module, ::String) at .\loading.jl:1012
 [9] include(::Module, ::String) at .\sysimg.jl:26
 [10] top-level scope
 [11] eval at .\boot.jl:295 [inlined]
 [12] top-level scope at .\<missing>:3
in expression starting at C:\Users\tbeason\.julia\v0.7\Libz\src\lowlevel.jl:110
in expression starting at C:\Users\tbeason\.julia\v0.7\Libz\src\Libz.jl:11
ERROR: LoadError: Failed to precompile Libz to C:\Users\tbeason\.julia\lib\v0.7\Libz.ji.
Stacktrace:
 [1] error at .\error.jl:33 [inlined]
 [2] compilecache(::Base.PkgId) at .\loading.jl:1157
 [3] _require(::Base.PkgId) at .\loading.jl:920
 [4] require(::Module, ::Symbol) at .\loading.jl:820
 [5] include(::Module, ::String) at .\boot.jl:292
 [6] include_relative(::Module, ::String) at .\loading.jl:1012
 [7] include(::Module, ::String) at .\sysimg.jl:26
 [8] top-level scope
 [9] eval at .\boot.jl:295 [inlined]
 [10] top-level scope at .\<missing>:3
in expression starting at C:\Users\tbeason\.julia\v0.7\WinRPM\src\WinRPM.jl:12
┌ Error: ------------------------------------------------------------
│ # Build failed for WinRPM
│   exception =
│    LoadError: Failed to precompile WinRPM to C:\Users\tbeason\.julia\lib\v0.7\WinRPM.ji.
│    Stacktrace:
│     [1] error at .\error.jl:33 [inlined]
│     [2] compilecache(::Base.PkgId) at .\loading.jl:1157
│     [3] _require(::Base.PkgId) at .\loading.jl:949
│     [4] require(::Module, ::Symbol) at .\loading.jl:820
│     [5] include(::Module, ::String) at .\boot.jl:292
│     [6] include_relative(::Module, ::String) at .\loading.jl:1012
│     [7] include at .\sysimg.jl:26 [inlined]
│     [8] include(::String) at .\loading.jl:1046
│     [9] top-level scope
│     [10] eval at .\boot.jl:295 [inlined]
│     [11] eval at .\sysimg.jl:71 [inlined]
│     [12] evalfile(::String, ::Array{String,1}) at .\loading.jl:1041 (repeats 2 times)
│     [13] #2 at .\none:15 [inlined]
│     [14] cd(::getfield(, Symbol("##2#5")){String}, ::String) at .\file.jl:59
│     [15] (::getfield(, Symbol("##1#3")))(::IOStream) at .\none:14
│     [16] #open#318(::Base.Iterators.IndexValue{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(, Symbol("##1#3")), ::String, ::Vararg{String,N} where N) at .\iostream.jl:369
│     [17] open(::Function, ::String, ::String) at .\iostream.jl:367
│     [18] top-level scope
│     [19] eval at .\boot.jl:295 [inlined]
│     [20] eval(::Module, ::Expr) at .\sysimg.jl:71
│     [21] exec_options(::Base.JLOptions) at .\client.jl:309
│     [22] _start() at .\client.jl:447
│    in expression starting at C:\Users\tbeason\.julia\v0.7\WinRPM\deps\build.jl:1
└ @ Main none:18
┌ Warning: ------------------------------------------------------------
│ # Build error summary
│
│ WinRPM had build errors.
│
│  - packages with build errors remain installed in C:\Users\tbeason\.julia\v0.7
│  - build the package(s) and all dependencies with `Pkg.build("WinRPM")`
│  - build a single package by running its `deps/build.jl` script
└ @ Pkg.Entry entry.jl:651

tbeason avatar Feb 01 '18 16:02 tbeason